[Bug target/82961] ICE in dwarf2out.c: deferred_asm_name != NULL

2018-11-22 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82961

Tom de Vries  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED
Summary|[7 Regression] ICE in   |ICE in dwarf2out.c:
   |dwarf2out.c:|deferred_asm_name != NULL
   |deferred_asm_name != NULL   |

--- Comment #15 from Tom de Vries  ---
Patch committed to trunk for gcc 8, backported to gcc-7-branch.

Marking resolved-fixed.

[Bug target/82961] ICE in dwarf2out.c: deferred_asm_name != NULL

2017-11-18 Thread tgingold at free dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82961

--- Comment #8 from Tristan Gingold  ---
Looks OK.

> On 18 Nov 2017, at 10:21, vries at gcc dot gnu.org  
> wrote:
> 
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82961
> 
> Tom de Vries  changed:
> 
>   What|Removed |Added
> 
> CC|sebastian.huber@embedded-br |tgingold at free dot fr
>   |ains.de |
> 
> --- Comment #7 from Tom de Vries  ---
> Could anybody test the tentative patch from comment 6?
> 
> I don't have a setup to build and test for the vms os.
> 
> Thanks,
> - Tom
> 
> -- 
> You are receiving this mail because:
> You are on the CC list for the bug.

[Bug target/82961] ICE in dwarf2out.c: deferred_asm_name != NULL

2017-11-18 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82961

Tom de Vries  changed:

   What|Removed |Added

 CC|sebastian.huber@embedded-br |tgingold at free dot fr
   |ains.de |

--- Comment #7 from Tom de Vries  ---
Could anybody test the tentative patch from comment 6?

I don't have a setup to build and test for the vms os.

Thanks,
- Tom

[Bug target/82961] ICE in dwarf2out.c: deferred_asm_name != NULL

2017-11-15 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82961

--- Comment #6 from Tom de Vries  ---
Created attachment 42614
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42614=edit
Tentative patch

[Bug target/82961] ICE in dwarf2out.c: deferred_asm_name != NULL

2017-11-15 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82961

Martin Liška  changed:

   What|Removed |Added

 CC||jakub at gcc dot gnu.org,
   ||rupp at gnat dot com,
   ||sebastian.huber@embedded-br
   ||ains.de
  Known to fail||8.0

--- Comment #5 from Martin Liška  ---
Confirmed, following simple test-case is sufficient:

$ cat ice.i
int a;

Also ICEs with merge base of GCC 7 branch.
I'm CCing VMS maintainers.

[Bug target/82961] ICE in dwarf2out.c: deferred_asm_name != NULL

2017-11-15 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82961

--- Comment #4 from Tom de Vries  ---
So, deferred_asm_name is cleared by dwarf2out_early_finish, which is then
checked by the assert in dwarf2out_finish.

vmsdbgout_finish calls dwarf2out_finish (which checks the assert), but
dwarf2out_early_finish is never called.

The vms debug hooks have vmsdbgout_finish but no vmsdbgout_early_finish:
...
const struct gcc_debug_hooks vmsdbg_debug_hooks
= {vmsdbgout_init,
   vmsdbgout_finish,
   debug_nothing_charstar, /* early_finish */
...

[Bug target/82961] ICE in dwarf2out.c: deferred_asm_name != NULL

2017-11-15 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82961

Tom de Vries  changed:

   What|Removed |Added

 Status|WAITING |UNCONFIRMED
 Ever confirmed|1   |0

[Bug target/82961] ICE in dwarf2out.c: deferred_asm_name != NULL

2017-11-15 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82961

--- Comment #3 from Tom de Vries  ---
Created attachment 42612
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42612=edit
lshrdi3.c

To reproduce:
...
$ gcc -mcpu=ev6 -mieee -mpointer-size=64 -g -O2 -fbuilding-libgcc
-fno-stack-protector -mpointer-size=64 -S lshrdi3.c
src/libgcc/libgcc2.c:427:1: internal compiler error: in dwarf2out_finish, at
dwarf2out.c:29826
 }
 ^
0xa64e1b dwarf2out_finish
src/gcc/dwarf2out.c:29826
0x1476ede vmsdbgout_finish
src/gcc/vmsdbgout.c:1569
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See  for instructions.
...

[Bug target/82961] ICE in dwarf2out.c: deferred_asm_name != NULL

2017-11-14 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82961

Martin Liška  changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING
   Last reconfirmed||2017-11-15
 CC||marxin at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #2 from Martin Liška  ---
Can you please provide pre-processed source file?

[Bug target/82961] ICE in dwarf2out.c: deferred_asm_name != NULL

2017-11-13 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82961

Tom de Vries  changed:

   What|Removed |Added

 Target||alpha-dec-vms

--- Comment #1 from Tom de Vries  ---
Configure line:
...
$ configure --enable-checking=yes,rtl --enable-languages=c --disable-tls
--disable-threads --target=alpha-dec-vms
...