Bug 98155 - [11 Regression] ICE during GIMPLE pass: slp, in vect_init_pattern_stmt
Summary: [11 Regression] ICE during GIMPLE pass: slp, in vect_init_pattern_stmt
Status: RESOLVED DUPLICATE of bug 95582
Alias: None
Product: gcc
Classification: Unclassified
Component: tree-optimization (show other bugs)
Version: 11.0
: P3 normal
Target Milestone: 11.0
Assignee: Not yet assigned to anyone
URL:
Keywords: build, ice-on-valid-code
Depends on:
Blocks:
 
Reported: 2020-12-05 14:52 UTC by Matthias Klose
Modified: 2020-12-07 10:05 UTC (History)
2 users (show)

See Also:
Host:
Target: x86_64-*-* s390x-*-*
Build:
Known to work: 10.2.1
Known to fail: 11.0
Last reconfirmed: 2020-12-06 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Klose 2020-12-05 14:52:39 UTC
seen with profiled-bootstrap + LTO enabled build, at least on x86_64-linux-gnu and s390x-linux-gnu:

during GIMPLE pass: slp
../../src/gcc/ada/bindo-graphs.adb: In function 'bindo__graphs__library_graphs__is_spec_with_elaborate_body':
../../src/gcc/ada/bindo-graphs.adb:3469:7: internal compiler error: in vect_init_pattern_stmt, at tree-vect-patterns.c:115
 3469 |       function Is_Spec_With_Elaborate_Body
      |       ^
0x94821e vect_init_pattern_stmt
        ../../src/gcc/tree-vect-patterns.c:115
0x1a51783 vect_set_pattern_stmt
        ../../src/gcc/tree-vect-patterns.c:133
0x1a51783 vect_mark_pattern_stmts
        ../../src/gcc/tree-vect-patterns.c:5352
0x1a51783 vect_pattern_recog_1
        ../../src/gcc/tree-vect-patterns.c:5468
0x1a60ae1 vect_pattern_recog(vec_info*)
        ../../src/gcc/tree-vect-patterns.c:5608
0x94821e vect_init_pattern_stmt
        ../../src/gcc/tree-vect-patterns.c:115
0x1a51783 vect_set_pattern_stmt
        ../../src/gcc/tree-vect-patterns.c:133
0x1a51783 vect_mark_pattern_stmts
        ../../src/gcc/tree-vect-patterns.c:5352
0x1a51783 vect_pattern_recog_1
        ../../src/gcc/tree-vect-patterns.c:5468
0x1a60ae1 vect_pattern_recog(vec_info*)
        ../../src/gcc/tree-vect-patterns.c:5608
0x11443e2 vect_slp_analyze_bb_1
        ../../src/gcc/tree-vect-slp.c:4242
0x11443e2 vect_slp_region
        ../../src/gcc/tree-vect-slp.c:4347
0x1145de7 vect_slp_bbs
        ../../src/gcc/tree-vect-slp.c:4495
0x11461f4 vect_slp_function(function*)
        ../../src/gcc/tree-vect-slp.c:4581
0x1147b32 execute
        ../../src/gcc/tree-vectorizer.c:1436
Please submit a full bug report,
with preprocessed source if appropriate.

s390x:
during GIMPLE pass: slp
../../src/gcc/ada/bindo-augmentors.adb: In function 'bindo__augmentors__library_graph_augmentors__visit_vertex':
../../src/gcc/ada/bindo-augmentors.adb:206:7: internal compiler error: in vect_init_pattern_stmt, at tree-vect-patterns.c:115
  206 |       procedure Visit_Vertex
      |       ^
0x23b330f vect_init_pattern_stmt
        ../../src/gcc/tree-vect-patterns.c:115
0x23b3739 vect_set_pattern_stmt
        ../../src/gcc/tree-vect-patterns.c:133
0x23b3739 vect_mark_pattern_stmts
        ../../src/gcc/tree-vect-patterns.c:5352
0x23b3739 vect_pattern_recog_1
        ../../src/gcc/tree-vect-patterns.c:5468
0x23c5fa3 vect_pattern_recog(vec_info*)
        ../../src/gcc/tree-vect-patterns.c:5608
0x1bafd87 vect_slp_analyze_bb_1
        ../../src/gcc/tree-vect-slp.c:4242
0x1bafd87 vect_slp_region
        ../../src/gcc/tree-vect-slp.c:4347
0x1bb1863 vect_slp_bbs
        ../../src/gcc/tree-vect-slp.c:4495
0x1bb1cf5 vect_slp_function(function*)
        ../../src/gcc/tree-vect-slp.c:4581
0x1bb3867 execute
        ../../src/gcc/tree-vectorizer.c:1436
Please submit a full bug report,
with preprocessed source if appropriate.

GCC configured with:

         --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++
         --prefix=/usr/lib/gcc-snapshot
         --with-gcc-major-version-only
         --program-prefix=
         --enable-shared
         --enable-linker-build-id
         --disable-nls
         --enable-bootstrap
         --enable-clocale=gnu
         --enable-libstdcxx-debug
         --enable-libstdcxx-time=yes
         --with-default-libstdcxx-abi=new
         --enable-gnu-unique-object
         --disable-vtable-verify
         --enable-plugin
         --with-system-zlib
         --enable-libphobos-checking=release
         --with-target-system-zlib=auto
         --enable-objc-gc=auto
         --enable-multiarch
         --disable-werror
         --enable-cet
         --with-arch-32=i686
         --with-abi=m64
         --with-multilib-list=m32,m64,mx32
         --enable-multilib
         --with-tune=generic
         --without-cuda-driver
         --enable-checking=yes,extra,rtl
         --build=x86_64-linux-gnu
         --host=x86_64-linux-gnu
         --target=x86_64-linux-gnu
         --with-build-config=bootstrap-lto-lean
         --enable-link-serialization=2
Comment 1 Martin Liška 2020-12-06 09:35:09 UTC
Which GCC revision are you testing Matthias?
Comment 2 Matthias Klose 2020-12-06 09:53:01 UTC
3e2ae3ee285a57455d5a23bd352a68c289130186
Comment 3 Matthias Klose 2020-12-06 10:22:49 UTC
... building with make profiledbootstrap-lean
Comment 4 Martin Liška 2020-12-06 14:51:32 UTC
I was unable to reproduce that with g:bd0f0243869b3941a256ca0ea9c8aca141412f7e for PGO lto-lean configuration on multiple platforms.
Comment 5 Richard Biener 2020-12-07 07:55:31 UTC
Isn't this PR95582?
Comment 6 Martin Liška 2020-12-07 10:05:48 UTC
(In reply to Richard Biener from comment #5)
> Isn't this PR95582?

Oh, yes, that must be a duplicate. I have a WIP patch attached to PR95582 in our gcc11 package.

*** This bug has been marked as a duplicate of bug 95582 ***