[Bug bootstrap/95582] New: [11 Regression] LTO lean + PGO bootstrap is broken in Ada

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 8 16:40:53 GMT 2020


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

            Bug ID: 95582
           Summary: [11 Regression] LTO lean + PGO bootstrap is broken in
                    Ada
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: rguenth at gcc dot gnu.org, rsandifo at gcc dot gnu.org
  Target Milestone: ---

Using:
../configure --enable-languages=c,c++,lto,ada --disable-multilib
--disable-libsanitizer --disable-werror --with-build-config=bootstrap-lto-lean
&& time nicem STAGE1_CFLAGS="-O2 -g" profiledbootstrap

I see the following ICE:

/home/mliska/Programming/gcc/objdir/./prev-gcc/lto1 -quiet -dumpbase
./gnatbind.ltrans2.ltrans -mtune=generic -march=x86-64 -g -g -g -O2 -O2 -O2
-Wextra -Wno-error=format-diag -Wpedantic -version -fno-openmp -fno-openacc
-fno-pie -fno-exceptions -fasynchronous-unwind-tables -fno-common -fprofile-use
-fltrans @/tmp/ccyXRzUi -o ./gnatbind.ltrans2.ltrans.s
GNU GIMPLE (GCC) version 11.0.0 20200608 (experimental) (x86_64-pc-linux-gnu)
        compiled by GNU C version 11.0.0 20200608 (experimental), GMP version
6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version none
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU GIMPLE (GCC) version 11.0.0 20200608 (experimental) (x86_64-pc-linux-gnu)
        compiled by GNU C version 11.0.0 20200608 (experimental), GMP version
6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version none
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
during GIMPLE pass: slp
../../gcc/ada/libgnat/s-os_lib.adb: In function
‘system__os_lib__normalize_pathname__missed_drive_letter’:
../../gcc/ada/libgnat/s-os_lib.adb:2133:7: internal compiler error: in
vect_init_pattern_stmt, at tree-vect-patterns.c:115
 2133 |       function Missed_Drive_Letter (Name : String) return Boolean is
      |       ^
0x774560 vect_init_pattern_stmt
        ../../gcc/tree-vect-patterns.c:115
0x1669c73 vect_set_pattern_stmt
        ../../gcc/tree-vect-patterns.c:133
0x1669c73 vect_mark_pattern_stmts
        ../../gcc/tree-vect-patterns.c:5248
0x1669c73 vect_pattern_recog_1
        ../../gcc/tree-vect-patterns.c:5364
0x1678d11 vect_pattern_recog(vec_info*)
        ../../gcc/tree-vect-patterns.c:5502
0xf0dc2a vect_slp_analyze_bb_1
        ../../gcc/tree-vect-slp.c:3097
0xf0dc2a vect_slp_bb_region
        ../../gcc/tree-vect-slp.c:3210
0xf0dc2a vect_slp_bb(basic_block_def*)
        ../../gcc/tree-vect-slp.c:3345
0xf0f91e execute
        ../../gcc/tree-vectorizer.c:1320


More information about the Gcc-bugs mailing list