https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78651

ktkachov at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ktkachov at gcc dot gnu.org

--- Comment #8 from ktkachov at gcc dot gnu.org ---
(In reply to Jakub Jelinek from comment #7)
> Author: jakub
> Date: Mon Mar 19 20:48:39 2018
> New Revision: 258664
> 
> URL: https://gcc.gnu.org/viewcvs?rev=258664&root=gcc&view=rev
> Log:
>       PR sanitizer/78651
>       * dwarf2asm.c: Include fold-const.c.
>       (dw2_output_indirect_constant_1): Set DECL_INITIAL (decl) to ADDR_EXPR
>       of decl rather than decl itself.
> 
> Modified:
>     trunk/gcc/ChangeLog
>     trunk/gcc/dwarf2asm.c

After this commit I'm seeing some ICEs on aarch64:
        g++.dg/torture/stackalign/eh-inline-2.C
        g++.dg/torture/stackalign/eh-global-1.C
        g++.dg/torture/stackalign/eh-vararg-1.C
        g++.dg/torture/stackalign/eh-vararg-2.C
        g++.dg/torture/stackalign/eh-inline-1.C
        g++.dg/torture/stackalign/eh-alloca-1.C
        g++.dg/torture/pr49115.C

For example:
FAIL: g++.dg/torture/stackalign/eh-alloca-1.C   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  (internal compiler error)

The ICEs are of the form:
lto1: internal compiler error: in assemble_variable, at varasm.c:2297
0xe75449 assemble_variable(tree_node*, int, int, int)
        $SRC/gcc/varasm.c:2297
0x70bda6 dw2_output_indirect_constant_1
        $SRC/gcc/dwarf2asm.c:976
0x70bda6 dw2_output_indirect_constants()
        $SRC/gcc/dwarf2asm.c:999
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

Reply via email to