[Bug middle-end/96680] [11 Regression][OpenMP][LTO] Declare variant + ICE in lto_fixup_prevailing_decls, at lto/lto-common.c:2595
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96680 Richard Biener changed: What|Removed |Added Priority|P3 |P1 --- Comment #4 from Richard Biener ---
[Bug middle-end/96680] [11 Regression][OpenMP][LTO] Declare variant + ICE in lto_fixup_prevailing_decls, at lto/lto-common.c:2595
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96680 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.0
[Bug middle-end/96680] [11 Regression][OpenMP][LTO] Declare variant + ICE in lto_fixup_prevailing_decls, at lto/lto-common.c:2595
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96680 --- Comment #3 from Tobias Burnus --- Some regression hunting: * Fails with r11-652-g79ea774f9a9d36d986152d93f9eae4a9ba36b37b * Works on OG10 = devel/omp/gcc-10 and presumably GCC 10. My bet is that the following commit causes the issue, but that trunk version fails to build here: r11-382-g7a50e7087567cffb21e81fff566546b8a8dac270 (2020-05-14) Namely: openmp: cgraph support for late declare variant resolution
[Bug middle-end/96680] [11 Regression][OpenMP][LTO] Declare variant + ICE in lto_fixup_prevailing_decls, at lto/lto-common.c:2595
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96680 --- Comment #2 from Tobias Burnus --- Created attachment 49075 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49075=edit C testcase - de-macro-fied version sollve_vv's 5.0/declare_variant/test_declare_variant.c
[Bug middle-end/96680] [11 Regression][OpenMP][LTO] Declare variant + ICE in lto_fixup_prevailing_decls, at lto/lto-common.c:2595
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96680 --- Comment #1 from Tobias Burnus --- In the debugger, the first call to lto_fixup_prevailing_decls is for main._omp_fn.0 and the second - and failing - one is for (gdb) p debug_tree(t)