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

            Bug ID: 61448
           Summary: ice on profiledbootstrap with -o2 -flto
                    -fuse-linker-plugin
           Product: gcc
           Version: 4.8.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hete2 at gmx dot de

On my System:

uname -m = x86_64
uname -r = 3.5.0-23-generic
uname -s = Linux
uname -v = #35~precise1-Ubuntu SMP Fri Jan 25 17:13:26 UTC 2013
on a  Intel i3-2120 CPU @ 3.30GHz

configuring gcc-4.8.3 with 
--enable-checking=release --with-arch=native
an building with 
make -j 2 BOOT_CFLAGS='-O2 -flto -fuse-linker-plugin' profiledbootstrap

i got the following error:

../../gcc/optabs.c: In Funktion »emit_indirect_jump«:
../../gcc/optabs.c:4478:0: interner Compiler-Fehler: Speicherzugriffsfehler
 emit_indirect_jump (rtx loc)
 ^
0x94b33d crash_signal
    ../../gcc/toplev.c:332
0x74c2f6 can_refer_decl_in_current_unit_p
    ../../gcc/gimple-fold.c:70
0x74c6a7 canonicalize_constructor_val(tree_node*, tree_node*)
    ../../gcc/gimple-fold.c:172
0x7535e0 fold_ctor_reference
    ../../gcc/gimple-fold.c:2952
0x7534dc fold_nonarray_ctor_reference
    ../../gcc/gimple-fold.c:2933
0x75375e fold_ctor_reference
    ../../gcc/gimple-fold.c:2978
0x7530c6 fold_array_ctor_reference
    ../../gcc/gimple-fold.c:2867
0x75373d fold_ctor_reference
    ../../gcc/gimple-fold.c:2975
0x753b23 fold_const_aggregate_ref_1(tree_node*, tree_node* (*)(tree_node*))
    ../../gcc/gimple-fold.c:3077
0x753c08 fold_const_aggregate_ref(tree_node*)
    ../../gcc/gimple-fold.c:3099
0x74cb1a maybe_fold_reference
    ../../gcc/gimple-fold.c:277
0x74cae6 maybe_fold_reference
    ../../gcc/gimple-fold.c:269
0x74cda9 fold_gimple_assign
    ../../gcc/gimple-fold.c:343
0x74efaf fold_stmt_1
    ../../gcc/gimple-fold.c:1190
0x74f4c7 fold_stmt(gimple_stmt_iterator*)
    ../../gcc/gimple-fold.c:1318
0xa767a8 substitute_and_fold(tree_node* (*)(tree_node*), bool
(*)(gimple_stmt_iterator*), bool)
    ../../gcc/tree-ssa-propagate.c:1186
0xb24315 vrp_finalize
    ../../gcc/tree-vrp.c:9212
0xb24461 execute_vrp
    ../../gcc/tree-vrp.c:9308
Bitte senden Sie einen vollständigen Fehlerbericht auf Englisch ein;
bearbeiten Sie die Quellen zunächst mit einem Präprozessor, wenn es
dienlich ist.
Please include the complete backtrace with any bug report.
Siehe <http://gcc.gnu.org/bugs.html> für nähere Anweisungen.
lto-wrapper: /home/hete/gcc/gcc-4.8.3/Build3/./prev-gcc/xg++ gab Ende-Status 1
zurück
/usr/bin/ld: lto-wrapper failed

Normal bootstrapping works.

Gcc 4.9.0 hasn't this error, but i have to add -ffat-lto-objects to the
boot-cflags.

Reply via email to