[Bug c/99340] New: [10/11 Regression] -Werror=maybe-uninitialized warning with -fPIE, but not -fPIC
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99340 Bug ID: 99340 Summary: [10/11 Regression] -Werror=maybe-uninitialized warning with -fPIE, but not -fPIC Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- seen building the gsequencer package. the warning was not emitted with gcc-10 branch 20210110, but is emitted with 20210228, also emitted with trunk 20210220. $ cat ags_midi_buffer_util.i long ags_midi_buffer_util_seek_message_delta_time; int ags_midi_buffer_util_seek_message_i; int ags_midi_buffer_util_get_varlength() { return 0; } char ags_midi_buffer_util_seek_message() { long current_delta_time; for (; ags_midi_buffer_util_seek_message_i; ags_midi_buffer_util_seek_message_i++) { ags_midi_buffer_util_get_varlength(¤t_delta_time); ags_midi_buffer_util_seek_message_delta_time = current_delta_time; } return 0; } $ gcc -std=gnu99 -Wall -Werror=maybe-uninitialized -fstack-protector-strong -fPIE -O1 -c ags_midi_buffer_util.i ags_midi_buffer_util.i: In function 'ags_midi_buffer_util_seek_message': ags_midi_buffer_util.i:5:8: error: 'current_delta_time' may be used uninitialized in this function [-Werror=maybe-uninitialized] 5 | long current_delta_time; |^~ cc1: some warnings being treated as errors
[Bug c/99340] -Werror=maybe-uninitialized warning with -fPIE, but not -fPIC
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99340 --- Comment #3 from Matthias Klose --- Created attachment 50284 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50284&action=edit preprocessed source original test case before reducing gcc -std=gnu99 -Werror=uninitialized -Werror=maybe-uninitialized -Wall -Wno-unused-variable -Wno-unused-but-set-variable -Wformat -Wno-pointer-sign -Werror=format-security -fstack-protector-strong -fPIC -O2 -c ags_midi_buffer_util_orig.i
[Bug fortran/99345] New: [11 Regression] ICE in doloop_contained_procedure_code, at fortran/frontend-passes.c:2464
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99345 Bug ID: 99345 Summary: [11 Regression] ICE in doloop_contained_procedure_code, at fortran/frontend-passes.c:2464 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- seen with trunk 20210227, building the espresso package on x86_64-linux-gnu mpif90 -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -cpp -fallow-argument-mismatch -D__FFTW3 -D__MPI -D__S CALAPACK -I/<>//include -I/<>//FoX/finclude -I/<>//upflib -I/<>//Modules -I /<>//FFTXlib -I/<>//LAXlib -I/<>//UtilXlib -I/<>//FoX/finclude -I../../PW/src -I../../dft-d3 -I../../LR_Modules -c postahc.f90 f951: internal compiler error: in doloop_contained_procedure_code, at fortran/frontend-passes.c:2464 0xb9fcda doloop_contained_procedure_code ../../src/gcc/fortran/frontend-passes.c:2464 0x1afc7e5 gfc_code_walker(gfc_code**, int (*)(gfc_code**, int*, void*), int (*)(gfc_expr**, int*, void*), void*) ../../src/gcc/fortran/frontend-passes.c:5299 0x1afc91e gfc_code_walker(gfc_code**, int (*)(gfc_code**, int*, void*), int (*)(gfc_expr**, int*, void*), void*) ../../src/gcc/fortran/frontend-passes.c:5623 0x1b066c8 doloop_code ../../src/gcc/fortran/frontend-passes.c:2620 0x1afc7e5 gfc_code_walker(gfc_code**, int (*)(gfc_code**, int*, void*), int (*)(gfc_expr**, int*, void*), void*) ../../src/gcc/fortran/frontend-passes.c:5299 0x1afc91e gfc_code_walker(gfc_code**, int (*)(gfc_code**, int*, void*), int (*)(gfc_expr**, int*, void*), void*) ../../src/gcc/fortran/frontend-passes.c:5623 0x1afc91e gfc_code_walker(gfc_code**, int (*)(gfc_code**, int*, void*), int (*)(gfc_expr**, int*, void*), void*) ../../src/gcc/fortran/frontend-passes.c:5623 0x1afdd3b doloop_warn ../../src/gcc/fortran/frontend-passes.c:3052 0x1afdd96 gfc_run_passes(gfc_namespace*) ../../src/gcc/fortran/frontend-passes.c:156 0x1a2b069 gfc_resolve(gfc_namespace*) ../../src/gcc/fortran/resolve.c:17428 0x19ed811 gfc_resolve(gfc_namespace*) ../../src/gcc/fortran/resolve.c:17407 0x19ed811 resolve_all_program_units ../../src/gcc/fortran/parse.c:6290 0x19ed811 gfc_parse_file() ../../src/gcc/fortran/parse.c:6542 0x1a444c8 gfc_be_parse_file ../../src/gcc/fortran/f95-lang.c:212 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. full build log at https://people.debian.org/~doko/logs/20210228/filtered/gcc11/espresso_6.7-2_unstable_gcc11.log
[Bug fortran/99345] [11 Regression] ICE in doloop_contained_procedure_code, at fortran/frontend-passes.c:2464
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99345 --- Comment #2 from Matthias Klose --- Created attachment 50298 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50298&action=edit source
[Bug fortran/99345] [11 Regression] ICE in doloop_contained_procedure_code, at fortran/frontend-passes.c:2464
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99345 --- Comment #4 from Matthias Klose --- also seen with -fno-frontend-optimize
[Bug fortran/99345] [11 Regression] ICE in doloop_contained_procedure_code, at fortran/frontend-passes.c:2464
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99345 --- Comment #6 from Matthias Klose --- now at https://people.debian.org/~doko/tmp/espresso-test.tar.xz
[Bug fortran/99345] [11 Regression] ICE in doloop_contained_procedure_code, at fortran/frontend-passes.c:2464
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99345 --- Comment #8 from Matthias Klose --- updated the tarball to include the Modules dir
[Bug fortran/97927] gfortran: ICE in lookup_field_for_decl, at tree-nested.c:288
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97927 --- Comment #10 from Matthias Klose --- seen again with 20210227
[Bug fortran/97927] gfortran: ICE in lookup_field_for_decl, at tree-nested.c:288
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97927 --- Comment #11 from Matthias Klose --- 20210227 trunk
[Bug other/99445] New: [11 Regression] ICE in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99445 Bug ID: 99445 Summary: [11 Regression] ICE in Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- Created attachment 50322 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50322&action=edit preprocessed source, unreduced seen with trunk 20210227, building the broker package. $cat foo.ii template class decay; template struct implicit_conversions; template using implicit_conversions_t = typename implicit_conversions::type; template struct response_type; template using response_type_t = typename response_type::type; template response_type::type>...> response_type_t < typename Handle::signatures, typename implicit_conversions::type>::type... $ g++ -c -fchecking=2 --param=hash-table-verification-limit=1000 foo.ii hash table checking failed: equal operator returns true for a pair of values with a different hash value foo.ii: In substitution of ‘template using response_type_t = typename response_type::type [with Ts = typename Handle::signatures; Xs = {typename implicit_conversions::type>::type ...}]’: foo.ii:12:66: required from here foo.ii:7:7: internal compiler error: in hashtab_chk_error, at hash-table.c:137 7 | using response_type_t = typename response_type::type; | ^~~ 0x120e1f7 hashtab_chk_error() ../../src/gcc/hash-table.c:137 0x7863d0 hash_table::verify(spec_entry* const&, unsigned int) ../../src/gcc/hash-table.h:1033 0x7863d0 hash_table::find_with_hash(spec_entry* const&, unsigned int) ../../src/gcc/hash-table.h:918 0x14cdeff lookup_template_class_1 ../../src/gcc/cp/pt.c:9871 0x14fe6fe lookup_template_class(tree_node*, tree_node*, tree_node*, tree_node*, int, int) ../../src/gcc/cp/pt.c:10243 0x14fe6fe tsubst_aggr_type ../../src/gcc/cp/pt.c:13576 0x14e2f18 tsubst(tree_node*, tree_node*, int, tree_node*) ../../src/gcc/cp/pt.c:16037 0x15b98f7 tsubst_decl ../../src/gcc/cp/pt.c:14802 0x160ea6d instantiate_template_1 ../../src/gcc/cp/pt.c:21118 0x160e884 instantiate_template(tree_node*, tree_node*, int) ../../src/gcc/cp/pt.c:21177 0x14e3a38 instantiate_alias_template ../../src/gcc/cp/pt.c:21215 0x14e3a38 tsubst(tree_node*, tree_node*, int, tree_node*) ../../src/gcc/cp/pt.c:15444 0x14cf10d lookup_template_class_1 ../../src/gcc/cp/pt.c:9944 0x14cc186 lookup_template_class(tree_node*, tree_node*, tree_node*, tree_node*, int, int) ../../src/gcc/cp/pt.c:10243 0x14cc186 finish_template_type(tree_node*, tree_node*, int) ../../src/gcc/cp/semantics.c:3498 0x13e7bd3 cp_parser_template_id ../../src/gcc/cp/parser.c:17437 0x13ef262 cp_parser_class_name ../../src/gcc/cp/parser.c:24664 0x13e240f cp_parser_qualifying_entity ../../src/gcc/cp/parser.c:6994 0x13e240f cp_parser_nested_name_specifier_opt ../../src/gcc/cp/parser.c:6676 0x13ded32 cp_parser_nested_name_specifier ../../src/gcc/cp/parser.c:6920 Please submit a full bug report, with preprocessed source if appropriate.
[Bug other/98533] [8/9/10/11 Regression] ICE: 'verify_type' failed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98533 --- Comment #3 from Matthias Klose --- reconfirmed with 20210306, building the actiona package.
[Bug preprocessor/99446] New: [11 Regression] ICE in linemap_position_for_loc_and_offset, at libcpp/line-map.c:1005
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99446 Bug ID: 99446 Summary: [11 Regression] ICE in linemap_position_for_loc_and_offset, at libcpp/line-map.c:1005 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- Created attachment 50323 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50323&action=edit preprocessed source seen building the firefox-esr 78.8.0 package, using trunk 20210306. I have a compiler-generated ICE report, however even trying to re-run the command doesn't always generates the ICE report. make[3]: Entering directory '/packages/tmp/firefox-esr-78.8.0esr/build-browser/config/external/rlbox_lucet_sandbox' config/external/rlbox_lucet_sandbox/rlbox_lucet_thread_locals.o /usr/bin/g++ -o rlbox_lucet_thread_locals.o -c -I/packages/tmp/firefox-esr-78.8.0esr/build-browser/dist/stl_wrappers -I/packages/tmp/firefox-esr-78.8.0esr/build-browser/dist/system_wrappers -include /packages/tmp/firefox-esr-78.8.0esr/config/gcc_hidden.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DNDEBUG=1 -DTRIMMED=1 -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DSTATIC_EXPORTABLE_JS_API -I/packages/tmp/firefox-esr-78.8.0esr/config/external/rlbox_lucet_sandbox -I/packages/tmp/firefox-esr-78.8.0esr/build-browser/config/external/rlbox_lucet_sandbox -I/packages/tmp/firefox-esr-78.8.0esr/build-browser/dist/include -I/usr/include/nspr -I/usr/include/nss -I/usr/include/nspr -I/packages/tmp/firefox-esr-78.8.0esr/build-browser/dist/include/nss -fPIC -DMOZILLA_CLIENT -include /packages/tmp/firefox-esr-78.8.0esr/build-browser/mozilla-config.h -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++2a-compat -Wduplicated-cond -Wimplicit-fallthrough -Wunused-function -Wunused-variable -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=coverage-mismatch -Wno-error=free-nonheap-object -Wno-multistatement-macros -Wno-error=class-memaccess -Wno-error=deprecated-copy -Wformat -Wformat-overflow=2 -fno-sized-deallocation -fno-aligned-new -O2 -ffile-prefix-map=/packages/tmp/firefox-esr-78.8.0esr=. -fstack-protector-strong -Wformat -Werror=format-security -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -g -freorder-blocks -O2 -fomit-frame-pointer -funwind-tables -MD -MP -MF .deps/rlbox_lucet_thread_locals.o.pp /packages/tmp/firefox-esr-78.8.0esr/config/external/rlbox_lucet_sandbox/rlbox_lucet_thread_locals.cpp /packages/tmp/firefox-esr-78.8.0esr/config/external/rlbox_lucet_sandbox/rlbox_lucet_thread_locals.cpp:1: internal compiler error: in linemap_position_for_loc_and_offset, at libcpp/line-map.c:1005 1 | /* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ | 0x656a93 linemap_position_for_loc_and_offset(line_maps*, unsigned int, unsigned int) ../libcpp/../../src/libcpp/line-map.c:1005 0x18ebee1 cp_lexer_new_main ../../src/gcc/cp/parser.c:676 0x18ebee1 c_parse_file() ../../src/gcc/cp/parser.c:45227 0x18d4aba c_common_parse_file() ../../src/gcc/c-family/c-opts.c:1218 Please submit a full bug report, with preprocessed source if appropriate.
[Bug lto/99447] New: [11 Regression] ICE (segfault) in lookup_page_table_entry
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99447 Bug ID: 99447 Summary: [11 Regression] ICE (segfault) in lookup_page_table_entry Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org CC: marxin at gcc dot gnu.org Target Milestone: --- seen with trunk 20210306 on x86_64-linux-gnu building the guymager package with LTO. $ g++ -Wl,-z,relro -ggdb -rdynamic -Wl,-flto -Wl,-z,relro -Wl,-O3 -o guymager compileinfo.o aaff.o aewf.o config.o device.o dlgabort.o dlgacquire.o dlgdirsel.o dlgautoexit.o dlgmessage.o dlgwait.o error.o fifo.o file.o hash.o info.o infofield.o itemdelegate.o main.o mainwindow.o md5.o media.o qtutil.o runstats.o sha1.o sha256.o table.o thread.o threadcompress.o threadhash.o threadread.o threadscan.o threadwrite.o util.o moc_devicelistmodel.o moc_dlgabort.o moc_dlgacquire.o moc_dlgautoexit.o moc_dlgacquire_private.o moc_dlgdirsel.o moc_dlgdirsel_private.o moc_dlgmessage.o moc_dlgwait.o moc_info.o moc_infofield.o moc_itemdelegate.o moc_main_private.o moc_mainwindow.o moc_table.o moc_thread.o moc_threadcompress.o moc_threadhash.o moc_threadread.o moc_threadscan.o moc_threadwrite.o -lz -ldl -lguytools -lewf -lbfio /usr/lib/x86_64-linux-gnu/libQt5Widgets.so /usr/lib/x86_64-linux-gnu/libQt5Gui.so /usr/lib/x86_64-linux-gnu/libQt5DBus.so /usr/lib/x86_64-linux-gnu/libQt5Core.so -lGL -lpthread device.cpp: In member function ‘GetErrorText’: device.cpp:155:1: internal compiler error: Segmentation fault 155 | } | ^ 0xc52c79 crash_signal ../../src/gcc/toplev.c:327 0x7f3b6994fd5f ??? ./signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0 0x11ac4fb lookup_page_table_entry ../../src/gcc/ggc-page.c:630 0x11ac4fb ggc_set_mark(void const*) ../../src/gcc/ggc-page.c:1544 0x13bdefd gt_ggc_mx_basic_block_def(void*) /build/gcc-11-7yDrbQ/gcc-11-11-20210306/build/gcc/gtype-desc.c:1527 0x13bc981 gt_ggc_mx_gimple(void*) /build/gcc-11-7yDrbQ/gcc-11-11-20210306/build/gcc/gtype-desc.c:1238 0x11b188e gt_ggc_mx_cgraph_edge(void*) /build/gcc-11-7yDrbQ/gcc-11-11-20210306/build/gcc/gtype-desc.c:1403 0x11b15e1 gt_ggc_mx_symtab_node(void*) /build/gcc-11-7yDrbQ/gcc-11-11-20210306/build/gcc/gtype-desc.c:1349 0x11a903a gt_ggc_mx_lang_tree_node(void*) ./gtype-lto.h:284 0x11a904e gt_ggc_mx_lang_tree_node(void*) ./gtype-lto.h:280 0x11a9cde gt_ggc_mx_rtx_def(void*) /build/gcc-11-7yDrbQ/gcc-11-11-20210306/build/gcc/gtype-desc.c:722 0x11b435e void gt_ggc_mx(vec*) ../../src/gcc/vec.h:1353 0x11b435e gt_ggc_mx_vec_dw_attr_node_va_gc_(void*) ./gt-dwarf2out.h:275 0x11b435e gt_ggc_mx_die_struct(void*) ./gt-dwarf2out.h:45 0x11b4433 gt_ggc_mx_die_struct(void*) ./gt-dwarf2out.h:27 0x11b4433 gt_ggc_mx_die_struct(void*) ./gt-dwarf2out.h:47 0x11b4433 gt_ggc_mx_die_struct(void*) ./gt-dwarf2out.h:27 0x11b4433 gt_ggc_mx_die_struct(void*) ./gt-dwarf2out.h:47 0x11b4433 gt_ggc_mx_die_struct(void*) ./gt-dwarf2out.h:27 0x11b4433 gt_ggc_mx_die_struct(void*) ./gt-dwarf2out.h:47 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report.
[Bug lto/99447] [11 Regression] ICE (segfault) in lookup_page_table_entry
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99447 --- Comment #1 from Matthias Klose --- object files at https://people.debian.org/~doko/tmp/guymager-tst.tar.xz
[Bug lto/99448] New: ICE in read_cgraph_and_symbols, at lto/lto-common.c:2739
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99448 Bug ID: 99448 Summary: ICE in read_cgraph_and_symbols, at lto/lto-common.c:2739 Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org CC: marxin at gcc dot gnu.org Target Milestone: --- seen building the log4cxx 0.11.0 package with LTO, both gcc-10 branch 20210306 and trunk 20210306 on x86_64-linux-gnu g++ -g -O2 -ffile-prefix-map=/packages/tmp/log4cxx-0.11.0=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -flto=auto -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/testsuite customlogger/xlogger.o customlogger/xloggertestcase.o defaultinit/testcase1.o defaultinit/testcase2.o defaultinit/testcase3.o defaultinit/testcase4.o filter/andfiltertest.o filter/denyallfiltertest.o filter/levelmatchfiltertest.o filter/levelrangefiltertest.o filter/loggermatchfiltertest.o filter/mapfiltertest.o filter/stringmatchfiltertest.o helpers/absolutetimedateformattestcase.o helpers/cacheddateformattestcase.o helpers/charsetdecodertestcase.o helpers/charsetencodertestcase.o helpers/cyclicbuffertestcase.o helpers/datetimedateformattestcase.o helpers/inetaddresstestcase.o helpers/iso8601dateformattestcase.o helpers/localechanger.o helpers/messagebuffertest.o helpers/optionconvertertestcase.o helpers/propertiestestcase.o helpers/relativetimedateformattestcase.o helpers/stringtokenizertestcase.o helpers/stringhelpertestcase.o helpers/syslogwritertest.o helpers/threadtestcase.o helpers/timezonetestcase.o helpers/transcodertestcase.o net/smtpappendertestcase.o net/socketappendertestcase.o net/sockethubappendertestcase.o net/syslogappendertestcase.o net/telnetappendertestcase.o net/xmlsocketappendertestcase.o pattern/num343patternconverter.o pattern/patternparsertestcase.o rolling/filenamepatterntestcase.o rolling/filterbasedrollingtest.o rolling/manualrollingtest.o rolling/obsoletedailyrollingfileappendertest.o rolling/obsoleterollingfileappendertest.o rolling/sizebasedrollingtest.o rolling/timebasedrollingtest.o util/absolutetimefilter.o util/absolutedateandtimefilter.o util/binarycompare.o util/compare.o util/controlfilter.o util/filenamefilter.o util/utilfilter.o util/iso8601filter.o util/linenumberfilter.o util/relativetimefilter.o util/serializationtesthelper.o util/threadfilter.o util/transformer.o util/xmlfilenamefilter.o util/xmllineattributefilter.o util/xmltimestampfilter.o util/xmlthreadfilter.o varia/errorhandlertestcase.o varia/levelmatchfiltertestcase.o varia/levelrangefiltertestcase.o db/odbcappendertestcase.o xml/customleveltestcase.o xml/domtestcase.o xml/xlevel.o xml/xmllayouttestcase.o xml/xmllayouttest.o nt/nteventlogappendertestcase.o abts.o asyncappendertestcase.o encodingtest.o filetestcase.o hierarchytest.o hierarchythresholdtestcase.o jsonlayouttest.o l7dtestcase.o leveltestcase.o logunit.o loggertestcase.o minimumtestcase.o patternlayouttest.o vectorappender.o appenderskeletontestcase.o consoleappendertestcase.o fileappendertestcase.o rollingfileappendertestcase.o streamtestcase.o writerappendertestcase.o ndctestcase.o propertyconfiguratortest.o mdctestcase.o -L/usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libapr-1.so /usr/lib/x86_64-linux-gnu/libaprutil-1.so ../../../src/main/cpp/.libs/liblog4cxx.so -pthread lto1: internal compiler error: in read_cgraph_and_symbols, at lto/lto-common.c:2739 0x5c94c0 read_cgraph_and_symbols(unsigned int, char const**) ../../src/gcc/lto/lto-common.c:2739 0x1598166 lto_main() ../../src/gcc/lto/lto.c:625 Please submit a full bug report, with preprocessed source if appropriate.
[Bug lto/99449] New: lto1: fatal error: multiple prevailing defs for ‘_ZTIN4sdsl14rank_support_vILh1ELh1EEE’ with -msse3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99449 Bug ID: 99449 Summary: lto1: fatal error: multiple prevailing defs for ‘_ZTIN4sdsl14rank_support_vILh1ELh1EEE’ with -msse3 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org CC: marxin at gcc dot gnu.org Target Milestone: --- trunk 20210306 on x86_64-linux-gnu not sure how to report this ... seen building the vg package in Debian with -msse3 (according to the packaging, builds with -mavx2, -mavx, -msse4.1, -mssse3 succeed). g++ -flto=auto -Wl,-z,relro -Wl,-z,now -I/usr/include/fastahack -I/usr/include/smithwaterman -I/usr/include/vcflib -I/usr/include/smithwaterman -I/usr/include/fastahack -I/packages/tmp/vg-1.30.0+ds/include -isystem /packages/tmp/vg-1.30.0+ds/include -I. -I/packages/tmp/vg-1.30.0+ds/src -I/packages/tmp/vg-1.30.0+ds/src/unittest -I/packages/tmp/vg-1.30.0+ds/src/subcommand -I/packages/tmp/vg-1.30.0+ds/include/dynamic -pthread -isystem /usr/include/cairo -isystem /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /usr/include/pixman-1 -isystem /usr/include/uuid -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -Werror=return-type -std=c++14 -ggdb -g -g -O2 -ffile-prefix-map=/packages/tmp/vg-1.30.0+ds=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -O3 -msse3 -fopenmp -o test/build_graph test/build_graph.cpp -lvg -L/packages/tmp/vg-1.30.0+ds/lib /packages/tmp/vg-1.30.0+ds/lib/libvgio.a -lz -lvcflib -lgssw -lssw -lsublinearLS -lpthread -lncurses -lgcsa2 -lgbwtgraph -lgbwt -ldivsufsort -ldivsufsort64 -lraptor2 -lpinchesandcacti -l3edgeconnected -lsonlib -lfml -lstructures -lvw -lallreduce -lbdsg -lxg -lsdsl -lhandlegraph -lfastahack -lsmithwaterman -ldisorder -lvcflib -lsmithwaterman -ldisorder -lfastahack -lhts -ltabixpp -lcairo -lz -lgobject-2.0 -lffi -lglib-2.0 -pthread -lpcre -pthread -lpixman-1 -lfontconfig -luuid -lexpat -lfreetype -lbrotlidec -lbrotlicommon -lpng16 -lm -lz -lm -lz -lxcb-shm -lxcb-render -lXrender -lXext -lX11 -lpthread -lxcb -lXau -lXdmcp -ljansson -latomic -rdynamic -ldw -lelf "-lboost_program_options""" -ldl -llzma -lbz2 -ljemalloc -Wl,-Bstatic -lhts -ldeflate -lz -llzma -lprotobuf -lz -Wl,-Bdynamic lto1: fatal error: multiple prevailing defs for ‘_ZTIN4sdsl14rank_support_vILh1ELh1EEE’ compilation terminated. lto-wrapper: fatal error: g++ returned 1 exit status compilation terminated. /usr/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status the gcc-10 branch fails differently: src/subcommand/../algorithms/walk.hpp:22: warning: type ‘struct walk_t’ violates the C++ One Definition Rule [-Wodr] 22 | struct walk_t { | src/algorithms/prune.cpp:12: note: a different type is defined in another translation unit 12 | struct walk_t { | src/subcommand/../algorithms/walk.hpp:29: note: the first difference of corresponding definitions is field ‘path’ 29 | std::vector path; | src/algorithms/prune.cpp:20: note: a field with different name is defined in another translation unit 20 | pos_t begin; | lto1: internal compiler error: in lto_read_decls, at lto/lto-common.c:1956 Please submit a full bug report, with preprocessed source if appropriate.
[Bug lto/99450] New: ICE: unrecognizable insn with lto build
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99450 Bug ID: 99450 Summary: ICE: unrecognizable insn with lto build Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org CC: marxin at gcc dot gnu.org Target Milestone: --- seen with the gcc-10 branch 20210306 on x86_64-linux-gnu, building the emoslib 4.5.9 package. the package fails with other issues building with trunk. $ gfortran -Wl,-z,defs -Wl,--as-needed -flto=auto -Wl,-z,relro -Wl,--disable-new-dtags -g -O2 -ffile-prefix-map=/packages/tmp/emoslib-4.5.9=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fallow-argument-mismatch -ffixed-line-length-none -fcray-pointer -fno-second-underscore -Wuninitialized -Wunused-variable -Wno-maybe-uninitialized -DSHAREDMEMORY -fdefault-real-8 -fdefault-double-8 -fdefault-real-8 -fdefault-double-8 -O3 -DNDEBUG -funroll-all-loops -finline-functions -O2 CMakeFiles/bufr_0t2.dir/bufr_0t2.F.o -o ../../usr/bin/bufr_0t2 -Wl,-rpath,$ORIGIN/../lib libmy_exit.a ../../usr/lib/x86_64-linux-gnu/libemosR64.a /usr/lib/x86_64-linux-gnu/libeccodes.so.0 -lpng -laec -lm /usr/lib/x86_64-linux-gnu/libopenjp2.so -lpthread /usr/lib/x86_64-linux-gnu/libfftw3.so ../../libemos-dp/./bufrdc_wmo/buens4.F:268:57: warning: type of ‘bugbytesr4’ does not match original declaration [-Wlto-type-mismatch] ../../libemos-dp/./bufrdc_wmo/bugbytesR4.F:11:28: note: ‘bugbytesr4’ was previously declared here ../../libemos-dp/./bufrdc_wmo/bugbytesR4.F:11:28: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used ../../libemos-dp/./bufrdc_wmo/buens4.F:275:56: warning: type of ‘bugbytesr8’ does not match original declaration [-Wlto-type-mismatch] ../../libemos-dp/./bufrdc_wmo/bugbytesR8.F:11:28: note: ‘bugbytesr8’ was previously declared here ../../libemos-dp/./bufrdc_wmo/bugbytesR8.F:11:28: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used ../../libemos-dp/./pbio/pbbufr.F:90:57: warning: type of ‘bufrread’ does not match original declaration [-Wlto-type-mismatch] ../../libemos-dp/./pbio/pbio.c:1288:6: note: ‘bufrread_’ was previously declared here ../../libemos-dp/./pbio/pbio.c:1288:6: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used ../../libemos-dp/./bufrdc_wmo/bcmctc.F:13:21: warning: type of ‘bcmctc’ does not match original declaration [-Wlto-type-mismatch] ../../libemos-dp/./bufrdc_wmo/bcmctc.F:13:21: note: ‘bcmctc’ was previously declared here ../../libemos-dp/./bufrdc_wmo/bcmctc.F:13:21: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used ../../libemos-dp/./bufrdc_wmo/bcmwtc.F:12:21: warning: type of ‘bcmwtc’ does not match original declaration [-Wlto-type-mismatch] ../../libemos-dp/./bufrdc_wmo/bcmwtc.F:12:21: note: ‘bcmwtc’ was previously declared here ../../libemos-dp/./bufrdc_wmo/bcmwtc.F:12:21: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used ../../libemos-dp/./bufrdc_wmo/bcmroot.F:11:22: warning: type of ‘bcmroot’ does not match original declaration [-Wlto-type-mismatch] ../../libemos-dp/./bufrdc_wmo/bcmroot.F:11:22: note: ‘bcmroot’ was previously declared here ../../libemos-dp/./bufrdc_wmo/bcmroot.F:11:22: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used ../../libemos-dp/./bufrdc_wmo/bcomctc.F:13:22: warning: type of ‘bcomctc’ does not match original declaration [-Wlto-type-mismatch] ../../libemos-dp/./bufrdc_wmo/bcomctc.F:13:22: note: ‘bcomctc’ was previously declared here ../../libemos-dp/./bufrdc_wmo/bcomctc.F:13:22: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used ../../libemos-dp/./bufrdc_wmo/bcomroot.F:12:23: warning: type of ‘bcomroot’ does not match original declaration [-Wlto-type-mismatch] ../../libemos-dp/./bufrdc_wmo/bcomroot.F:12:23: note: ‘bcomroot’ was previously declared here ../../libemos-dp/./bufrdc_wmo/bcomroot.F:12:23: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used ../../libemos-dp/./bufrdc_wmo/bcomtabloadc.F:12:28: warning: type of ‘bcomtabloadc’ does not match original declaration [-Wlto-type-mismatch] ../../libemos-dp/./bufrdc_wmo/bcomtabloadc.F:12:28: note: ‘bcomtabloadc’ was previously declared here ../../libemos-dp/./bufrdc_wmo/bcomtabloadc.F:12:28: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used ../../libemos-dp/./bufrdc_wmo/bcomdefc.F:12:23: warning: type of ‘bcomdefc’ does not match original declaration [-Wlto-type-mismatch] ../../libemos-dp/./bufrdc_wmo/bcomdefc.F:12:23: note: ‘bcomdefc’ was previously declared here ../../libemos-dp/./bufrdc_wmo/bcomdefc.F:12:23: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used ./tools/bufrtools_wmo/bufr_0t2.F:138:47: warning: type of ‘pbopen’ does not match original declaration [-Wlto-type-mismatch] ../../libemos-dp/./pbio/pbio.c:84:6: note: type mismat
[Bug c++/99445] [11 Regression] ICE in hashtab_chk_error, at hash-table.c:137 since r11-7011-g6e0a231a4aa2407b
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99445 --- Comment #3 from Matthias Klose --- > Can you please reduce it to a valid test-case? the run took 40 hours. I'll see when I can repeat it.
[Bug lto/99448] ICE in read_cgraph_and_symbols, at lto/lto-common.c:2739
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99448 --- Comment #2 from Matthias Klose --- the compiler is configured with --enable-default-pie. so this one sometimes fails with different reasons when retrying: lto1: error: filter/andfiltertest.o: file too short lto1: fatal error: errors during merging of translation units compilation terminated. lto-wrapper: fatal error: g++ returned 1 exit status compilation terminated. /usr/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status and doesn't fail now when just retrying the link command manually now ... these flags are passed to the upstream build system: CFLAGS=-g -O2 -ffile-prefix-map=/packages/tmp/log4cxx-0.11.0=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 CXXFLAGS=-g -O2 -ffile-prefix-map=/packages/tmp/log4cxx-0.11.0=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security LDFLAGS=-flto=auto -Wl,-z,relro
[Bug lto/99447] [11 Regression] ICE (segfault) in lookup_page_table_entry
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99447 --- Comment #5 from Matthias Klose --- I'm able to reduce the amount of object files involved in this ICE. But then trying to rebuild the package with -save-temps makes the ICE disappear.
[Bug target/99487] New: [10 Regression] ICE during RTL pass: final in expand_function_start on hppa-linux-gnu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99487 Bug ID: 99487 Summary: [10 Regression] ICE during RTL pass: final in expand_function_start on hppa-linux-gnu Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- seen with the gcc-10 branch 20210306, not with current trunk on hppa-linux-gnu during RTL pass: final ../../src/gcc/function.c: In function 'void expand_function_start(tree)': ../../src/gcc/function.c:5213:1: internal compiler error: Segmentation fault 5213 | } | ^ 0x151e263 crash_signal ../../src/gcc/toplev.c:328 0xc60858 hash_table::find_slot_with_hash(char const* const&, unsigned int, insert_option) ../../src/gcc/hash-table.h:982 xg++: internal compiler error: Segmentation fault signal terminated program cc1plus Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[5]: *** [Makefile:1117: function.o] Error 4 make[5]: *** Waiting for unfinished jobs /tmp/ccoUqSSr.s: Assembler messages: /tmp/ccoUqSSr.s:113281: Internal error (Segmentation fault). Please report this bug. make[5]: *** [Makefile:1117: fold-const.o] Error 1
[Bug target/99487] [10 Regression] ICE during RTL pass: final in expand_function_start on hppa-linux-gnu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99487 --- Comment #2 from Matthias Klose --- complete build log at https://buildd.debian.org/status/fetch.php?pkg=gcc-10&arch=hppa&ver=10.2.1-21&stamp=1615045917&raw=1 /<>/build/./prev-gcc/xg++ -B/<>/build/./prev-gcc/ -B/usr/hppa-linux-gnu/bin/ -nostdinc++ -B/<>/build/prev-hppa-linux-gnu/libstdc++-v3/src/.libs -B/<>/build/prev-hppa-linux-gnu/libstdc++-v3/libsupc++/.libs -I /<>/build/prev-hppa-linux-gnu/libstdc++-v3/include/hppa-linux-gnu -I/<>/build/prev-hppa-linux-gnu/libst dc++-v3/include -I/<>/src/libstdc++-v3/libsupc++ -L/<>/build/prev-hppa-linux-gnu/libstdc++-v3/src/.libs -L/<>/build/prev-hppa-linux-gnu/libstdc++-v3/libsupc++/.libs -fno-PIE -c -g -O2 -fno-checking -DIN_GCC -fno-ex ceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-error=format-diag -Wmissi ng-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H - I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I../../src/gcc/../libdecnu mber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o function.o -MT function.o -MMD -MP -MF ./.deps/function.TPo ../../src/gcc/function.c [...] during RTL pass: final ../../src/gcc/function.c: In function 'void expand_function_start(tree)': ../../src/gcc/function.c:5213:1: internal compiler error: Segmentation fault 5213 | } | ^ 0x151e263 crash_signal ../../src/gcc/toplev.c:328 0xc60858 hash_table::find_slot_with_hash(char const* const&, unsigned int, insert_option) ../../src/gcc/hash-table.h:982 xg++: internal compiler error: Segmentation fault signal terminated program cc1plus Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[5]: *** [Makefile:1117: function.o] Error 4 make[5]: *** Waiting for unfinished jobs /tmp/ccoUqSSr.s: Assembler messages: /tmp/ccoUqSSr.s:113281: Internal error (Segmentation fault). Please report this bug. make[5]: *** [Makefile:1117: fold-const.o] Error 1 rm gcc.pod lto-dump.pod gdc.pod gfortran.pod make[5]: Leaving directory '/<>/build/gcc' make[4]: *** [Makefile:4835: all-stage2-gcc] Error 2 make[4]: Leaving directory '/<>/build' make[3]: *** [Makefile:24097: stage2-bubble] Error 2 make[3]: Leaving directory '/<>/build' make[2]: *** [Makefile:24301: bootstrap] Error 2 make[2]: Leaving directory '/<>/build'
[Bug target/99488] New: dwz: /usr/lib/gcc/mips64el-linux-gnuabi64/11/go1: Found two copies of .debug_line_str section
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99488 Bug ID: 99488 Summary: dwz: /usr/lib/gcc/mips64el-linux-gnuabi64/11/go1: Found two copies of .debug_line_str section Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- seen with trunk 20210306 on mips64el-linux-gnu, trying to run dwz on the unstripped go1 binary. according to https://buildd.debian.org/status/fetch.php?pkg=gcc-11&arch=mips64el&ver=11-20210306-1&stamp=1615188915&raw=1 running dwz on the other binaries cc1, cc1plus, ... doesn't show this issue.
[Bug target/99488] dwz: /usr/lib/gcc/mips64el-linux-gnuabi64/11/go1: Found two copies of .debug_line_str section
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99488 Matthias Klose changed: What|Removed |Added CC||syq at debian dot org Known to work||10.2.1 Target||mips64el-linux-gnu Known to fail||11.0 --- Comment #1 from Matthias Klose --- doko, odd, don't know how that happens, something must have missed merging the sections together. doko, Since this is mips there might be some confusion about section types/flags. I would look to see if those sections have different types/flags and then try to work back who created which with those. e.g. both gas and gcc can create a .debug_line_str section.
[Bug preprocessor/61474] ICE (segfault) in preprocessor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61474 Matthias Klose changed: What|Removed |Added CC||doko at debian dot org --- Comment #2 from Matthias Klose --- seen with trunk 20210306 $ gcc-11 -E a.c # 0 "a.c" # 0 "" # 0 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 0 "" 2 # 1 "a.c" # 1 "b.h" 1 # 1 "c.h" 1 # 1 "b.h" 2 In file included from a.c:1: b.h:1: internal compiler error: Segmentation fault 1 | # 1 "c.h" 1 | 0xd041a0 crash_signal ../../src/gcc/toplev.c:327 0x11e616c open_file ../libcpp/../../src/libcpp/files.c:225 0x165a9ba read_file ../libcpp/../../src/libcpp/files.c:770 0x11e62dc _cpp_stack_file ../libcpp/../../src/libcpp/files.c:942 0x1684cd2 do_include_common ../libcpp/../../src/libcpp/directives.c:853 0x120a24f _cpp_handle_directive ../libcpp/../../src/libcpp/directives.c:541 0x1204fa4 _cpp_lex_token ../libcpp/../../src/libcpp/lex.c:2809 0x120927f cpp_get_token_1 ../libcpp/../../src/libcpp/macro.c:2839 0x16841c3 cpp_get_token_with_location(cpp_reader*, unsigned int*) ../libcpp/../../src/libcpp/macro.c:3108 0x16841c3 scan_translation_unit ../../src/gcc/c-family/c-ppoutput.c:320 0x16841c3 preprocess_file(cpp_reader*) ../../src/gcc/c-family/c-ppoutput.c:102 0x167e491 c_common_init() ../../src/gcc/c-family/c-opts.c:1195 0x163fb1b lang_dependent_init ../../src/gcc/toplev.c:1889 0x163fb1b do_compile ../../src/gcc/toplev.c:2186 Please submit a full bug report, with preprocessed source if appropriate.
[Bug target/99488] dwz: /usr/lib/gcc/mips64el-linux-gnuabi64/11/go1: Found two copies of .debug_line_str section
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99488 --- Comment #5 from Matthias Klose --- Created attachment 50387 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50387&action=edit readelf -Wa output
[Bug target/99488] dwz: /usr/lib/gcc/mips64el-linux-gnuabi64/11/go1: Found two copies of .debug_line_str section
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99488 --- Comment #6 from Matthias Klose --- https://people.debian.org/~doko/tmp/go1-mips64el.xz
[Bug target/99663] New: [11 Regression] ICE in extract_constrain_insn, at recog.c:2670 on s390x-linux-gnu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99663 Bug ID: 99663 Summary: [11 Regression] ICE in extract_constrain_insn, at recog.c:2670 on s390x-linux-gnu Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- trunk 20210319 ftbfs on s390x-linux-gnu, with ../../../src/libgcc/../libdecnumber/decNumber.c: In function ‘decQuantizeOp.constprop.isra’: ../../../src/libgcc/../libdecnumber/decNumber.c:5966:3: error: insn does not satisfy its constraints: 5966 | } /* decQuantizeOp */ | ^ (insn 252 250 253 26 (set (reg:DI 2 %r2) (plus:DI (reg/v/f:DI 24 %f8 [orig:101 res ] [101]) (const_int 10 [0xa]))) 1471 {*la_64} (nil)) during RTL pass: postreload ../../../src/libgcc/../libdecnumber/decNumber.c:5966:3: internal compiler error: in extract_constrain_insn, at recog.c:2670 0x218b329 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) ../../src/gcc/rtl-error.c:108 0x218b4b5 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) ../../src/gcc/rtl-error.c:118 0x20d66a1 extract_constrain_insn(rtx_insn*) ../../src/gcc/recog.c:2670 0x2047e77 reload_cse_simplify_operands ../../src/gcc/postreload.c:407 0x2045e61 reload_cse_simplify ../../src/gcc/postreload.c:132 0x2046ff1 reload_cse_regs_1 ../../src/gcc/postreload.c:238 0x204555b reload_cse_regs ../../src/gcc/postreload.c:66 0x2056935 execute ../../src/gcc/postreload.c:2358 Please submit a full bug report, with preprocessed source if appropriate. make[5]: *** [Makefile:646: decNumber.o] Error 1 make[5]: *** Waiting for unfinished jobs make[5]: Leaving directory '/<>/build/s390x-linux-gnu/libgcc' make[4]: *** [Makefile:20021: all-stage1-target-libgcc] Error 2 make[4]: Leaving directory '/<>/build' make[3]: *** [Makefile:27139: stage1-bubble] Error 2 make[3]: Leaving directory '/<>/build' make[2]: *** [Makefile:28089: profiledbootstrap-lean] Error 2 make[2]: Leaving directory '/<>/build' gcc configured with --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++ --with-gcc-major-version-only --enable-shared --enable-linker-build-id --without-included-gettext --enable-threads=posix --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libquadmath --disable-libquadmath-support --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch=z13 --with-tune=z15 --enable-s390-excess-float-precision --with-long-double-128 --enable-multilib --enable-checking=yes,extra,rtl --build=s390x-linux-gnu --host=s390x-linux-gnu --target=s390x-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
[Bug target/99663] [11 Regression] ICE in extract_constrain_insn, at recog.c:2670 on s390x-linux-gnu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99663 --- Comment #1 from Matthias Klose --- also seen with --with-arch=z196
[Bug target/99663] [11 Regression] ICE in extract_constrain_insn, at recog.c:2670 on s390x-linux-gnu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99663 --- Comment #3 from Matthias Klose --- trying to reproduce, it ICEs at a different place... $ cat decNumber.i typedef struct { int exponent; unsigned short lsu[]; } decNumber; char __decd2utable[] = {}; decNumber *decExpOp_rhs; void decExpOp() { decNumber buft[0]; decNumber allocbuft; decNumber *t = buft; int t_0; if (decExpOp_rhs) t = &allocbuft; for (;;) { unsigned short varbuff[0]; unsigned short *msu1, *source = t->lsu + (9 ? __decd2utable[t_0] : 3); for (; source >= t->lsu; source--, msu1--) *msu1 = *source; for (; msu1 >= varbuff;) ; if (t->exponent) break; } } $ build/gcc/xgcc -Bbuild/gcc/ -c -mtune=z15 -march=z13 -mzarch -O1 decNumber.i during RTL pass: reload decNumber.i: In function ‘decExpOp’: decNumber.i:24:1: internal compiler error: in lra_set_insn_recog_data, at lra.c:1004 24 | } | ^ 0x1ea6333 lra_set_insn_recog_data(rtx_insn*) ../../src/gcc/lra.c:1004 0x1ea2063 lra_get_insn_recog_data ../../src/gcc/lra-int.h:487 0x1ea9f99 lra_update_insn_regno_info(rtx_insn*) ../../src/gcc/lra.c:1625 0x1eab8b7 lra_push_insn_1 ../../src/gcc/lra.c:1780 0x1eab905 lra_push_insn(rtx_insn*) ../../src/gcc/lra.c:1788 0x1eabad9 push_insns ../../src/gcc/lra.c:1831 0x1eabd81 lra_process_new_insns(rtx_insn*, rtx_insn*, rtx_insn*, char const*) ../../src/gcc/lra.c:1871 0x1ed2bab curr_insn_transform ../../src/gcc/lra-constraints.c:4669 0x1ed5c17 lra_constraints(bool) ../../src/gcc/lra-constraints.c:5163 0x1eaddb3 lra(_IO_FILE*) ../../src/gcc/lra.c:2336 0x1e13ec3 do_reload ../../src/gcc/ira.c:5834 0x1e145f1 execute ../../src/gcc/ira.c:6020 Please submit a full bug report, with preprocessed source if appropriate.
[Bug target/99663] [11 Regression] ICE in extract_constrain_insn, at recog.c:2670 on s390x-linux-gnu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99663 --- Comment #4 from Matthias Klose --- Created attachment 50433 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50433&action=edit preprocessed source
[Bug target/99663] [11 Regression] ICE in extract_constrain_insn, at recog.c:2670 on s390x-linux-gnu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99663 --- Comment #5 from Matthias Klose --- and the reduction for the original ICE: typedef struct { int exponent; unsigned short lsu[]; } decNumber; decNumber decDivideOp_lhs; short decDivideOp_varbuff; void decDivideOp(decNumber *rhs) { short *msu1; int exponent; unsigned short *source; for (; source >= decDivideOp_lhs.lsu; source--, msu1--) *msu1 = *source; for (;;) if (exponent) if (decDivideOp_varbuff) exponent = rhs->exponent; } $ build/gcc/xgcc -Bbuild/gcc/ -c -mtune=z15 -march=z13 -mzarch -O2 -fno-stack-protector -fPIC decNumber.i decNumber.i: In function ‘decDivideOp’: decNumber.i:17:1: error: insn does not satisfy its constraints: 17 | } | ^ (insn 7 6 2 2 (set (reg:DI 3 %r3 [69]) (plus:DI (reg:DI 0 %r0 [77]) (const_int 4 [0x4]))) "decNumber.i":11:17 1471 {*la_64} (nil)) during RTL pass: reload decNumber.i:17:1: internal compiler error: in extract_constrain_insn, at recog.c:2670 0x218b329 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) ../../src/gcc/rtl-error.c:108 0x218b4b5 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) ../../src/gcc/rtl-error.c:118 0x20d66a1 extract_constrain_insn(rtx_insn*) ../../src/gcc/recog.c:2670 0x1ead125 check_rtl ../../src/gcc/lra.c:2087 0x1eae299 lra(_IO_FILE*) ../../src/gcc/lra.c:2505 0x1e13ec3 do_reload ../../src/gcc/ira.c:5834 0x1e145f1 execute ../../src/gcc/ira.c:6020 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report.
[Bug target/99663] [11 Regression] ICE in extract_constrain_insn, at recog.c:2670 on s390x-linux-gnu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99663 Matthias Klose changed: What|Removed |Added CC||vmakarov at gcc dot gnu.org --- Comment #7 from Matthias Klose --- introduced by a4670f58ebff805e35268542aac35f9791980954
[Bug target/99663] [11 Regression] ICE in extract_constrain_insn, at recog.c:2670 on s390x-linux-gnu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99663 Matthias Klose changed: What|Removed |Added Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #11 from Matthias Klose --- fixed
[Bug ipa/99447] [11 Regression] ICE (segfault) in lookup_page_table_entry
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99447 --- Comment #21 from Matthias Klose --- building with trunk 20210330 using these parameters didn't succeed: make[1]: Entering directory '/packages/tmp/guymager-0.8.12' g++ -c -pipe -g -O2 -ffile-prefix-map=/packages/tmp/guymager-0.8.12=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security --param ggc-min-expand=0 ggc-min-heapsize=0 -fmessage-length=0 -fno-strict-aliasing -flto -g -ffile-prefix-map=/packages/tmp/guymager-0.8.12=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security --param ggc-min-expand=0 --param ggc-min-heapsize=0 -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -ggdb -std=gnu++1y -Wall -Wextra -D_REENTRANT -fPIC -DSPLASH_DIR='"/usr/share/guymager"' -DLANGUAGE_DIR='"/usr/share/guymager"' -DLANGUAGE_DIR_QT='"/usr/share/qt5/translations"' -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -I/usr/include/libguytools2 -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtDBus -I/usr/include/x86_64-linux-gnu/qt5/QtCore -Imoc -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o aaff.o aaff.cpp g++: warning: ggc-min-heapsize=0: linker input file unused because linking not done g++: error: ggc-min-heapsize=0: linker input file not found: No such file or directory make[1]: *** [Makefile:897: aaff.o] Error 1
[Bug ipa/99447] [11 Regression] ICE (segfault) in lookup_page_table_entry
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99447 Matthias Klose changed: What|Removed |Added Resolution|--- |WORKSFORME Status|WAITING |RESOLVED --- Comment #28 from Matthias Klose --- also retried with trunk 20210331, and the two extra --param settings. Can't reproduce it anymore.
[Bug pch/98527] [11 Regression] ICE in handle_pragma_pop_options
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98527 Matthias Klose changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|--- |WORKSFORME --- Comment #4 from Matthias Klose --- can't reproduce this anymore with trunk 20210404.
[Bug target/100092] [10 Regression] nvptx offloading on aarch64 fails to specify -foffload-abi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100092 Matthias Klose changed: What|Removed |Added CC||doko at debian dot org --- Comment #2 from Matthias Klose --- there's more needed, see PR96265.
[Bug target/97323] [10/11 Regression] ICE 'verify_type' failed on arm-linux-gnueabihf
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97323 --- Comment #4 from Matthias Klose --- this started with a regression hunt in-between with GCC 9 and GCC 10. However the test case with a compiler configured with the extra and rtl checking already produces this ICE with 2018-01-01 and 2019-01-01 builds.
[Bug target/97323] [10/11 Regression] ICE 'verify_type' failed on arm-linux-gnueabihf
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97323 --- Comment #6 from Matthias Klose --- this is triggered by: 2015-05-19 Jan Hubicka * tree.c (verify_type_variant): Fix #undef. (gimple_canonical_types_compatible_p): Move here from lto.c (verify_type): Verify TYPE_CANONICAL compatibility. * tree.h (gimple_canonical_types_compatible_p): Declare.
[Bug target/97323] [10/11 Regression] ICE 'verify_type' failed on arm-linux-gnueabihf
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97323 --- Comment #7 from Matthias Klose --- commit 872d5034baa1007606d405e37937908602fbbe51
[Bug target/97528] New: [10/11 Regression] ICE in decompose_automod_address, at rtlanal.c:6298 (arm-linux-gnueabihf)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97528 Bug ID: 97528 Summary: [10/11 Regression] ICE in decompose_automod_address, at rtlanal.c:6298 (arm-linux-gnueabihf) Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- seen on the gcc-10 branch 2020-10-11 and trunk, building firefox. $ cat intrapred_neon.i typedef __simd64_int16_t a; typedef __simd64_uint16_t b; unsigned short c; int d; b e; void f() { unsigned short *dst = &c; int g = d, bw = 4; b dc = e; for (int h = 0; h < bw; h++) { unsigned short *i = dst; b j = dc; __builtin_neon_vst1v4hi((__builtin_neon_hi *)i, (a)j); dst += g; } } $ gcc -o intrapred_neon.o -c -O1 -mfpu=neon intrapred_neon.i during RTL pass: reload /home/glandium/firefox-esr-78.4.0esr/third_party/aom/aom_dsp/arm/intrapred_neon.c: In function 'aom_highbd_dc_predictor_4x4_neon': /home/glandium/firefox-esr-78.4.0esr/third_party/aom/aom_dsp/arm/intrapred_neon.c:589:188: internal compiler error: in decompose_automod_address, at rtlanal.c:6298 0x6cda45 decompose_automod_address ../../src/gcc/rtlanal.c:6298 0x6cda45 decompose_address(address_info*, rtx_def**, machine_mode, unsigned char, rtx_code) ../../src/gcc/rtlanal.c:6463 0x6cdb19 decompose_mem_address(address_info*, rtx_def*) ../../src/gcc/rtlanal.c:6486 0x59a67b process_address_1 ../../src/gcc/lra-constraints.c:3374 0x59c4cd process_address ../../src/gcc/lra-constraints.c:3648 0x59c4cd curr_insn_transform ../../src/gcc/lra-constraints.c:3963 0x5a088f lra_constraints(bool) ../../src/gcc/lra-constraints.c:5036 0x58e7a5 lra(_IO_FILE*) ../../src/gcc/lra.c:2443 0x54f331 do_reload ../../src/gcc/ira.c:5527 0x54f331 execute ../../src/gcc/ira.c:5713 Please submit a full bug report, with preprocessed source if appropriate. gcc-10 was configured with --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb --enable-checking=yes,extra,rtl --enable-default-pie gcc trunk was configure with --enable-checking=yes
[Bug target/97534] New: [10/11 Regression] ICE in decompose, at rtl.h:2280 (arm-linux-gnueabihf)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97534 Bug ID: 97534 Summary: [10/11 Regression] ICE in decompose, at rtl.h:2280 (arm-linux-gnueabihf) Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- seen building mariadb with the gcc-10 branch and trunk, not seen without -g, or with -O0: $ cat btr0cu.ii struct a { int b; void c(int d) { __atomic_fetch_sub(&b, d, int()); } }; class e { a f; int g = 1 << 31; void h() { f.c(g); } public: void i() { e j; j.h(); } } k; void l() { k.i(); } $ g++ -std=gnu++11 -c -g -O2 btr0cu.ii during RTL pass: vartrack btr0cu.ii: In function 'void l()': btr0cu.ii:15:19: internal compiler error: in decompose, at rtl.h:2280 15 | void l() { k.i(); } | ^ 0x8d359d wi::int_traits >::decompose(long long*, unsigned int, std::pair const&) ../../src/gcc/rtl.h:2280 0x8d36ab wide_int_ref_storage::wide_int_ref_storage >(std::pair const&) ../../src/gcc/wide-int.h:1024 0x8d36ab generic_wide_int >::generic_wide_int >(std::pair const&) ../../src/gcc/wide-int.h:782 0x8d36ab poly_int<1u, generic_wide_int > >::poly_int >(std::pair const&) ../../src/gcc/poly-int.h:670 0x8d36ab wi::to_poly_wide(rtx_def const*, machine_mode) ../../src/gcc/rtl.h:2365 0x8d36ab neg_poly_int_rtx ../../src/gcc/simplify-rtx.c:64 0x8daa91 simplify_binary_operation_1 ../../src/gcc/simplify-rtx.c:2728 0x8dfa79 simplify_binary_operation(rtx_code, machine_mode, rtx_def*, rtx_def*) ../../src/gcc/simplify-rtx.c:2342 0x8dfaef simplify_gen_binary(rtx_code, machine_mode, rtx_def*, rtx_def*) ../../src/gcc/simplify-rtx.c:189 0xb7294d reverse_op ../../src/gcc/var-tracking.c:5942 0xb7294d add_stores ../../src/gcc/var-tracking.c:6225 0xb6cca9 add_with_sets ../../src/gcc/var-tracking.c:6648 0x51b913 cselib_record_sets ../../src/gcc/cselib.c:2904 0x51c6cf cselib_process_insn(rtx_insn*) ../../src/gcc/cselib.c:3066 0xb7c5d5 vt_initialize ../../src/gcc/var-tracking.c:10252 0xb82185 variable_tracking_main_1 ../../src/gcc/var-tracking.c:10481 0xb822df variable_tracking_main() ../../src/gcc/var-tracking.c:10534 0xb822df execute ../../src/gcc/var-tracking.c:10571 Please submit a full bug report, with preprocessed source if appropriate. gcc-10 was configured with --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb --enable-checking=yes,extra,rtl --enable-default-pie gcc trunk was configured with --enable-checking=yes
[Bug target/97634] New: [10/11 Regression] ICE 'verify_gimple' failed on arm-linux-gnueabihf
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97634 Bug ID: 97634 Summary: [10/11 Regression] ICE 'verify_gimple' failed on arm-linux-gnueabihf Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- seen building webkit2gtk with current gcc-10 branch and trunk on arm-linux-gnueabihf: $ cat foo.ii class ResourceResponseBase { enum class Tainting { Opaque, Opaqueredirect }; void sanitizeHTTPHeaderFieldsAccordingToTainting(); Tainting m_tainting : 2; }; void ResourceResponseBase::sanitizeHTTPHeaderFieldsAccordingToTainting() { switch (m_tainting) case Tainting::Opaque: case Tainting::Opaqueredirect:; } $ g++ -c -Wall -std=c++17 foo.ii foo.ii: In member function 'void ResourceResponseBase::sanitizeHTTPHeaderFieldsAccordingToTainting()': foo.ii:6:6: error: type precision mismatch in switch statement 6 | void ResourceResponseBase::sanitizeHTTPHeaderFieldsAccordingToTainting() { | ^~~~ switch (_1) , case 0: , case 1: > foo.ii:6:6: internal compiler error: 'verify_gimple' failed 0x965511 verify_gimple_in_seq(gimple*) ../../src/gcc/tree-cfg.c:5113 0x6e8acb gimplify_body(tree_node*, bool) ../../src/gcc/gimplify.c:14998 0x6e8d2b gimplify_function_tree(tree_node*) ../../src/gcc/gimplify.c:15069 0x546c1f cgraph_node::analyze() ../../src/gcc/cgraphunit.c:671 0x5493c5 analyze_functions ../../src/gcc/cgraphunit.c:1234 0x54a24f symbol_table::finalize_compilation_unit() ../../src/gcc/cgraphunit.c:2994 Please submit a full bug report, with preprocessed source if appropriate. configured with --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb --enable-checking=yes,extra,rtl --enable-default-pie
[Bug rtl-optimization/97714] New: ICE in notice_source_line, at final.c:3237
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97714 Bug ID: 97714 Summary: ICE in notice_source_line, at final.c:3237 Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- seen with the gcc-10 branch and the trunk on x86_64-linux-gnu, I don't know if it's a regression (it doesn't fail with --enable-checking=release). $ cat testcase.c void function() { if (0) { #line 0 "can be anything" }} $ gcc -c -g -O1 testcase.c during RTL pass: final can be anything: In function ‘function’: can be anything: internal compiler error: in notice_source_line, at final.c:3237 0x6408a3 notice_source_line ../../src/gcc/final.c:3237 0xc667cd final_scan_insn_1 ../../src/gcc/final.c:2420 0xc67b4b final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*) ../../src/gcc/final.c:3152 0xc67c56 final_1 ../../src/gcc/final.c:2020 0xc689c6 rest_of_handle_final ../../src/gcc/final.c:4658 0xc689c6 execute ../../src/gcc/final.c:4736 Please submit a full bug report, with preprocessed source if appropriate. compiler configured with --enable-checking=yes,extra,rtl
[Bug other/97742] New: endless loop with code reduced by creduce/cvise
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97742 Bug ID: 97742 Summary: endless loop with code reduced by creduce/cvise Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- Created attachment 49514 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49514&action=edit preprocessed source seen with the gcc-10 branch, seen while reducing via cvise/creduce $ g++ -c -std=c++17 -fconcepts -Wall search_collection_test.ii In file included from search_collection_test.ii:689: /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:1148:13: error: expected primary-expression before ‘namespace’ /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:1150:11: error: expected ‘;’ before ‘namespace’ /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:1165:12: error: expected primary-expression before ‘namespace’ In file included from search_collection_test.ii:689: /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:1187:11: error: expected ‘;’ before ‘namespace’ /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:1191:13: error: expected primary-expression before ‘namespace’ [...] the compiler continues to emit error messages, doesn't terminate. compiler configured with --enable-checking=yes,extra,rtl
[Bug c++/97745] New: [10 Regression] ICE in tsubst_decl, at cp/pt.c:14666
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97745 Bug ID: 97745 Summary: [10 Regression] ICE in tsubst_decl, at cp/pt.c:14666 Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- https://bugs.debian.org/973698 seen with the gcc-10 branch, compiler configured with --enable-checking=yes,extra,rtl gives an error on the gcc-9 branch and trunk. $ cat search_collection_test.ii template b aa; template auto ab() -> decltype(aa); # 1 "" 3 template concept d = __is_base_of(c, br); template struct bz; struct { template auto operator()(cb e, cc... g) -> decltype(e(g...)); } bw; template using ce = decltype(bw(ab(), ab...)); namespace ch { struct cx; } template concept da = d, ch::cx>; template concept db = da; struct { template bz operator()(cd); } dc; struct h { template requires db friend operator|(f, bz); }; template struct bz : h {}; struct { template auto operator()(cd e) { return dc(e); } } dm; class { count() { count | dm([*this](auto) {}) } }; $ g++ -c -std=c++17 -fconcepts -Wall search_collection_test.ii : In instantiation of ‘::count():: [with auto:1 = int (::* (*)())()]’: :5:47: required by substitution of ‘template decltype (e(._anon_0::operator()::g ...))::operator()(cb, cc ...) [with cb = ::count()::; cc = {int (::* (*)())()}]’ :8:23: required from ‘int operator|(f, bz) [with f = int (::*)(); cy = ::count()::]’ :27:32: required from here :27:28: internal compiler error: in tsubst_decl, at cp/pt.c:14666 0x6656de tsubst_decl ../../src/gcc/cp/pt.c:14666 0xc21587 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) ../../src/gcc/cp/pt.c:18002 0xc1e8e8 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) ../../src/gcc/cp/pt.c:18219 0xc1c831 instantiate_decl(tree_node*, bool, bool) ../../src/gcc/cp/pt.c:25824 0xb5084a maybe_instantiate_decl ../../src/gcc/cp/decl2.c:5370 0xb52f40 maybe_instantiate_decl ../../src/gcc/cp/decl2.c: 0xb52f40 mark_used(tree_node*, int) ../../src/gcc/cp/decl2.c:5581 0xaa4322 build_over_call ../../src/gcc/cp/call.c:9093 0xaa91b1 build_op_call_1 ../../src/gcc/cp/call.c:4872 0xaa91b1 build_op_call(tree_node*, vec**, int) ../../src/gcc/cp/call.c:4901 0xc64f8e finish_call_expr(tree_node*, vec**, bool, bool, int) ../../src/gcc/cp/semantics.c:2689 0xc2ec88 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool) ../../src/gcc/cp/pt.c:20115 0xc30cf4 tsubst(tree_node*, tree_node*, int, tree_node*) ../../src/gcc/cp/pt.c:15946 0xc3b54a tsubst_function_type ../../src/gcc/cp/pt.c:14932 0xc308f0 tsubst(tree_node*, tree_node*, int, tree_node*) ../../src/gcc/cp/pt.c:15753 0xc3f3cc tsubst_function_decl ../../src/gcc/cp/pt.c:13787 0xc28c3f tsubst_decl ../../src/gcc/cp/pt.c:14230 0xc39569 instantiate_template_1 ../../src/gcc/cp/pt.c:20871 0xc48ecb instantiate_template(tree_node*, tree_node*, int) ../../src/gcc/cp/pt.c:20928 0xc48ecb fn_type_unification(tree_node*, tree_node*, tree_node*, tree_node* const*, unsigned int, tree_node*, unification_kind_t, int, conversion**, bool, bool) ../../src/gcc/cp/pt.c:21372 Please submit a full bug report, with preprocessed source if appropriate. $ g++-9 -c -std=c++17 -fconcepts -Wall search_collection_test.ii : In member function ‘int::count()’: :27:11: error: invalid use of non-static member function ‘int::count()’ :26:3: note: declared here : At global scope: :29:2: error: abstract declarator ‘’ used as declaration :15:33: error: ‘bz::operator()(cd) [with cd = ::count()::]’, declared using local type ‘::count()::’, is used but never defined [-fpermissive] $ /usr/lib/gcc-snapshot/bin/g++ -c -std=c++17 -fconcepts -Wall search_collection_test.ii : In member function 'int::count()': :27:11: error: invalid use of non-static member function 'int::count()' :26:3: note: declared here : At global scope: :29:2: error: abstract declarator '' used as declaration :15:33: error: 'bz::operator()(cd) [with cd = ::count()::]', declared using local type '::count()::', is used but never defined [-fpermissive]
[Bug target/97827] New: [11 Regression] bootstrap error building the amdgcn-amdhsa offload compiler
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97827 Bug ID: 97827 Summary: [11 Regression] bootstrap error building the amdgcn-amdhsa offload compiler Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- builds fine with trunk 20201112, fails with trunk 20201113. newlib 3.3.0 is used. [...] /tmp/ccpzv56q.s:1129:2: error: changed section flags for .rodata.cst8, expected: 0x12 .section.rodata.cst8 ^ /tmp/ccpzv56q.s:1129:2: error: changed section entsize for .rodata.cst8, expected: 8 .section.rodata.cst8 ^ make[10]: *** [Makefile:980: lib_a-wcstod.o] Error 1 make[10]: *** Waiting for unfinished jobs /tmp/ccDmKs3n.s:4450:2: error: changed section flags for .rodata.cst8, expected: 0x12 .section.rodata.cst8 ^ /tmp/ccDmKs3n.s:4450:2: error: changed section entsize for .rodata.cst8, expected: 8 .section.rodata.cst8 ^ /tmp/ccDmKs3n.s:4643:2: error: changed section flags for .rodata.cst8, expected: 0x12 .section.rodata.cst8 ^ /tmp/ccDmKs3n.s:4643:2: error: changed section entsize for .rodata.cst8, expected: 8 .section.rodata.cst8 ^ make[10]: *** [Makefile:944: lib_a-strtod.o] Error 1 make[10]: Leaving directory '/packages/gcc/11/gcc-11-11-20201113/build-gcn/amdgcn-amdhsa/gfx900/newlib/libc/stdlib'
[Bug target/97827] [11 Regression] bootstrap error building the amdgcn-amdhsa offload compiler
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97827 --- Comment #1 from Matthias Klose --- my bad, this is not a regression. Seen when building the offload compiler with LLVM 11 instead of LLVM 10 or 9
[Bug ada/97859] New: [11 Regression] bootstrap error building a gnat cross compiler targeting ppc64le on x86_64-linux-gnu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97859 Bug ID: 97859 Summary: [11 Regression] bootstrap error building a gnat cross compiler targeting ppc64le on x86_64-linux-gnu Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- seen with trunk 20201114: [...] /usr/powerpc64le-linux-gnu/bin/ld: a-nbnbin.o: in function `ada__numerics__big_numbers__big_integers__ from_string': /packages/cross/11/gcc-cross/gcc/build/gcc/ada/rts/a-nbnbin.adb:242: undefined reference to `system__v al_llli__impl__value_integer' collect2: error: ld returned 1 exit status make[7]: *** [gcc-interface/Makefile:674: gnatlib-shared-default] Error 1
[Bug ada/97859] [11 Regression] bootstrap error building a gnat cross compiler targeting ppc64le on x86_64-linux-gnu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97859 --- Comment #1 from Matthias Klose --- targeting aarch64-linux-gnu with the same version works
[Bug target/97866] New: [11 Regression] bootstrap error in libasan building a s390x-linux-gnu cross compiler
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97866 Bug ID: 97866 Summary: [11 Regression] bootstrap error in libasan building a s390x-linux-gnu cross compiler Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- seen with trunk 20201114 while the error message says it's not reproducible, the build stops 10 times with the same result. during RTL pass: reload ../../../../src/libsanitizer/asan/asan_fake_stack.cpp: In member function 'void __asan::FakeStack::For EachFakeFrame(__sanitizer::RangeIteratorCallback, void*)': ../../../../src/libsanitizer/asan/asan_fake_stack.cpp:171:1: internal compiler error: Segmentation fault 171 | } | ^ 0xbde03f crash_signal ../../src/gcc/toplev.c:330 0x7f3f99181cbf ??? ./signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0 0xb550ad profile_count::initialized_p() const ../../src/gcc/profile-count.h:785 0xb550ad profile_count::to_frequency(function*) const ../../src/gcc/profile-count.c:269 0xa7cf6a get_insn_freq ../../src/gcc/lra.c:1555 0xa7f707 lra_update_insn_regno_info(rtx_insn*) ../../src/gcc/lra.c:1627 0xa7f7cd lra_update_insn_regno_info(rtx_insn*) ../../src/gcc/lra.c:1623 0xa7f7cd lra_push_insn_1 ../../src/gcc/lra.c:1780 0xa806d4 lra_push_insn(rtx_insn*) ../../src/gcc/lra.c:1788 0xa806d4 push_insns ../../src/gcc/lra.c:1831 0xa806d4 push_insns ../../src/gcc/lra.c:1823 0xa806d4 lra_process_new_insns(rtx_insn*, rtx_insn*, rtx_insn*, char const*) ../../src/gcc/lra.c:1925 0xa90c42 curr_insn_transform ../../src/gcc/lra-constraints.c:4635 0xa92655 lra_constraints(bool) ../../src/gcc/lra-constraints.c:5129 0xa80e82 lra(_IO_FILE*) ../../src/gcc/lra.c:2323 0xa3ff01 do_reload ../../src/gcc/ira.c:5800 0xa3ff01 execute ../../src/gcc/ira.c:5986 Please submit a full bug report, with preprocessed source if appropriate. The bug is not reproducible, so it is likely a hardware or OS problem. make[6]: *** [Makefile:653: asan_fake_stack.lo] Error 1 make[6]: Leaving directory '/packages/cross/11/gcc-cross/gcc/build/s390x-linux-gnu/libsanitizer/asan' make[5]: *** [Makefile:528: all-recursive] Error 1
[Bug ada/97859] [11 Regression] bootstrap error building a gnat cross compiler targeting ppc64le on x86_64-linux-gnu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97859 --- Comment #2 from Matthias Klose --- targeting powerpc-linux-gnu also works
[Bug target/97866] [11 Regression] bootstrap error in libasan building a s390x-linux-gnu cross compiler
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97866 Matthias Klose changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED --- Comment #4 from Matthias Klose --- yes, that's fixed on the trunk
[Bug ada/97859] [11 Regression] bootstrap error building a gnat cross compiler targeting ppc64le on x86_64-linux-gnu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97859 --- Comment #4 from Matthias Klose --- hmm, that file doesn't exist for the cross build. $ find -name 's-val*.o' ./build/gcc/ada/libgnat/s-valint.o ./build/gcc/ada/libgnat/s-valuti.o ./build/gcc/ada/libgnat/s-valuns.o ./build/gcc/ada/rts/s-valdec.o ./build/gcc/ada/rts/s-valueu.o ./build/gcc/ada/rts/s-valboo.o ./build/gcc/ada/rts/s-valuei.o ./build/gcc/ada/rts/s-vallli.o ./build/gcc/ada/rts/s-valint.o ./build/gcc/ada/rts/s-valuti.o ./build/gcc/ada/rts/s-valwch.o ./build/gcc/ada/rts/s-valuns.o ./build/gcc/ada/rts/s-valrea.o ./build/gcc/ada/rts/s-valcha.o ./build/gcc/ada/rts/s-valllu.o ./build/gcc/ada/rts/s-valenu.o ./build/gcc/ada/rts/s-vallld.o but it's build in a native build. $ build/gcc/xgcc -v Using built-in specs. COLLECT_GCC=build/gcc/xgcc OFFLOAD_TARGET_NAMES=nvptx-none Target: powerpc64le-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 11-20201117-1' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --without-target-system-zlib --enable-secureplt --with-cpu=power8 --enable-targets=powerpcle-linux --disable-multilib --enable-multiarch --disable-werror --with-long-double-128 --enable-offload-targets=nvptx-none=/packages/cross/11/gcc-cross/gcc/debian/tmp-nvptx/usr --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=powerpc64le-linux-gnu --program-prefix=powerpc64le-linux-gnu- --includedir=/usr/powerpc64le-linux-gnu/include Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 11.0.0 20201117 (experimental) [master revision c2cf58f0e3a:4924d184b2a:a5f9c27bfc4417224e332392bb81a2d733b2b5bf] (Debian 11-20201117-1)
[Bug ada/97859] [11 Regression] bootstrap error building a gnat cross compiler targeting ppc64le on x86_64-linux-gnu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97859 --- Comment #5 from Matthias Klose --- target_cpu is powerpc64le Makefile.rtl: ifeq ($(strip $(filter-out powerpc64,$(target_cpu))),) ifneq ($(strip $(MULTISUBDIR)),/ppc) LIBGNAT_TARGET_PAIRS += $(GNATRTL_128BIT_PAIRS) EXTRA_GNATRTL_NONTASKING_OBJS += $(GNATRTL_128BIT_OBJS) else SO_OPTS += -m32 endif else ifeq ($(strip $(MULTISUBDIR)),/ppc64) SO_OPTS += -m64 LIBGNAT_TARGET_PAIRS += $(GNATRTL_128BIT_PAIRS) EXTRA_GNATRTL_NONTASKING_OBJS += $(GNATRTL_128BIT_OBJS) endif endif endif looks like this logic makes the assumption that any power architecture is always mutilib'd, which is only true for powerpc-linux-gnu and powerpc64-linux-gnu, but not powerpc64le-linux-gnu. I didn't check where else this assumption is made.
[Bug ada/97859] [11 Regression] bootstrap error building a gnat cross compiler targeting ppc64le on x86_64-linux-gnu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97859 --- Comment #7 from Matthias Klose --- patch posted at https://gcc.gnu.org/pipermail/gcc-patches/2020-November/559485.html the build succeeds
[Bug ada/97859] [11 Regression] bootstrap error building a gnat cross compiler targeting ppc64le on x86_64-linux-gnu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97859 Matthias Klose changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING |RESOLVED
[Bug other/97892] New: ICE in tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in c_expr_sizeof_expr, at c/c-typeck.c:2946
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97892 Bug ID: 97892 Summary: ICE in tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in c_expr_sizeof_expr, at c/c-typeck.c:2946 Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- seen with the gcc-10 branch and the trunk, gcc configured with --enable-checking=yes,extra,rtl gcc-9 configured here with --enable-checking=release, so I don't know if that's a regression. $ cat qq.i int m(int a) { return sizeof((char[a])); }; $ gcc-9 -c qq.i qq.i: In function ‘m’: qq.i:1:39: error: expected expression before ‘)’ token 1 | int m(int a) { return sizeof((char[a])); }; | ^ $ gcc-10 -c qq.i qq.i: In function ‘m’: qq.i:1:39: error: expected expression before ‘)’ token 1 | int m(int a) { return sizeof((char[a])); }; | ^ qq.i:1:39: internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in c_expr_sizeof_expr, at c/c-typeck.c:2946 0x7602ef tree_class_check_failed(tree_node const*, tree_code_class, char const*, int, char const*) ../../src/gcc/tree.c:9780 0x5c2697 tree_class_check(tree_node*, tree_code_class, char const*, int, char const*) ../../src/gcc/tree.h:3417 0x5c2697 c_expr_sizeof_expr(unsigned int, c_expr) ../../src/gcc/c/c-typeck.c:2946 0xa274b7 c_parser_sizeof_expression ../../src/gcc/c/c-parser.c:8348 0xa274b7 c_parser_unary_expression ../../src/gcc/c/c-parser.c:8245 0xa280fd c_parser_cast_expression ../../src/gcc/c/c-parser.c:8115 0xa28389 c_parser_binary_expression ../../src/gcc/c/c-parser.c:7918 0xa29365 c_parser_conditional_expression ../../src/gcc/c/c-parser.c:7652 0xa29980 c_parser_expr_no_commas ../../src/gcc/c/c-parser.c:7569 0xa29be1 c_parser_expression ../../src/gcc/c/c-parser.c:10644 0xa2a387 c_parser_expression_conv ../../src/gcc/c/c-parser.c:10677 0xa20861 c_parser_statement_after_labels ../../src/gcc/c/c-parser.c:6212 0xa21d11 c_parser_compound_statement_nostart ../../src/gcc/c/c-parser.c:5805 0xa407c4 c_parser_compound_statement ../../src/gcc/c/c-parser.c:5617 0xa42281 c_parser_declaration_or_fndef ../../src/gcc/c/c-parser.c:2505 0xa4a3f3 c_parser_external_declaration ../../src/gcc/c/c-parser.c:1745 0xa4aef1 c_parser_translation_unit ../../src/gcc/c/c-parser.c:1618 0xa4aef1 c_parse_file() ../../src/gcc/c/c-parser.c:21752 0xaa21fb c_common_parse_file() ../../src/gcc/c-family/c-opts.c:1190 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report.
[Bug fortran/97927] New: gfortran: ICE in lookup_field_for_decl, at tree-nested.c:288
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97927 Bug ID: 97927 Summary: gfortran: ICE in lookup_field_for_decl, at tree-nested.c:288 Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- [forwarded from https://bugs.debian.org/975219] seen building elkcode-6.3.2 on x86_74-linux-gnu gcc-10 branch, compiler configured with -enable-checking=yes,extra,rtl, didn't check the trunk yet. I can reproduce this locally, replacing mpif90 with gfortran. I'm failing to construct a test case outside the build directory. $ cd src; gfortran -c -fopenmp exxengy.f90 exxengy.f90:6:18: 6 | subroutine exxengy | ^ internal compiler error: in lookup_field_for_decl, at tree-nested.c:288 0x71106d lookup_field_for_decl ../../src/gcc/tree-nested.c:288 0x111523e convert_local_reference_stmt ../../src/gcc/tree-nested.c:2408 0xd82a5a walk_gimple_stmt(gimple_stmt_iterator*, tree_node* (*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*), walk_stmt_info*) ../../src/gcc/gimple-walk.c:578 0xd82c20 walk_gimple_seq_mod(gimple**, tree_node* (*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*), walk_stmt_info*) ../../src/gcc/gimple-walk.c:51 0xd82b11 walk_gimple_stmt(gimple_stmt_iterator*, tree_node* (*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*), walk_stmt_info*) ../../src/gcc/gimple-walk.c:686 0xd82c20 walk_gimple_seq_mod(gimple**, tree_node* (*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*), walk_stmt_info*) ../../src/gcc/gimple-walk.c:51 0xd82b11 walk_gimple_stmt(gimple_stmt_iterator*, tree_node* (*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*), walk_stmt_info*) ../../src/gcc/gimple-walk.c:686 0xd82c20 walk_gimple_seq_mod(gimple**, tree_node* (*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*), walk_stmt_info*) ../../src/gcc/gimple-walk.c:51 0xd82b51 walk_gimple_stmt(gimple_stmt_iterator*, tree_node* (*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*), walk_stmt_info*) ../../src/gcc/gimple-walk.c:641 0xd82c20 walk_gimple_seq_mod(gimple**, tree_node* (*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*), walk_stmt_info*) ../../src/gcc/gimple-walk.c:51 0xd82b51 walk_gimple_stmt(gimple_stmt_iterator*, tree_node* (*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*), walk_stmt_info*) ../../src/gcc/gimple-walk.c:641 0xd82c20 walk_gimple_seq_mod(gimple**, tree_node* (*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*), walk_stmt_info*) ../../src/gcc/gimple-walk.c:51 0xd82b11 walk_gimple_stmt(gimple_stmt_iterator*, tree_node* (*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*), walk_stmt_info*) ../../src/gcc/gimple-walk.c:686 0xd82c20 walk_gimple_seq_mod(gimple**, tree_node* (*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*), walk_stmt_info*) ../../src/gcc/gimple-walk.c:51 0x110d154 walk_body ../../src/gcc/tree-nested.c:713 0x110d154 walk_function ../../src/gcc/tree-nested.c:724 0x110d154 walk_all_functions ../../src/gcc/tree-nested.c:789 0x111360a lower_nested_functions(tree_node*) ../../src/gcc/tree-nested.c:3580 0xbe8e4c cgraph_node::analyze() ../../src/gcc/cgraphunit.c:676 0xbec017 analyze_functions ../../src/gcc/cgraphunit.c:1227 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report.
[Bug fortran/97927] gfortran: ICE in lookup_field_for_decl, at tree-nested.c:288
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97927 --- Comment #2 from Matthias Klose --- Created attachment 49605 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49605&action=edit test case that's my unsuccessful extraction attempt
[Bug fortran/97927] gfortran: ICE in lookup_field_for_decl, at tree-nested.c:288
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97927 --- Comment #4 from Matthias Klose --- Dominique, are your compilers configured with --enable-checking=yes,extra,rtl ?
[Bug fortran/97927] gfortran: ICE in lookup_field_for_decl, at tree-nested.c:288
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97927 --- Comment #6 from Matthias Klose --- just checked with today's trunk and --enable-checking=yes,extra,rtl working there.
[Bug c++/97962] New: [10/11] ICE in build_over_call, at cp/call.c:8976
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97962 Bug ID: 97962 Summary: [10/11] ICE in build_over_call, at cp/call.c:8976 Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- Created attachment 49616 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49616&action=edit preprocessed source seen with the gcc-10 branch and the trunk, compiler configured with --enable-checking=yes,extra,rtl works with gcc-9, configured with --enable-checking=release. $ g++ -c -std=c++17 pool-prj-mgr-app_win_download.ii pool-prj-mgr-app_win_download.ii: In instantiation of ‘struct __result_of_memfun_deref’: pool-prj-mgr-app_win_download.ii:13:60: required from ‘struct conditional<__result_of_memfun_deref >’ pool-prj-mgr-app_win_download.ii:27:75: required from ‘struct __result_of_memfun’ pool-prj-mgr-app_win_download.ii:32:8: required from ‘struct __result_of_impl’ pool-prj-mgr-app_win_download.ii:44:8: recursively required by substitution of ‘template struct __is_invocable_impl<_Result, _Ret, __void_t > [with _Result = __invoke_result; _Ret = void]’ pool-prj-mgr-app_win_download.ii:44:8: required from ‘struct __is_invocable’ pool-prj-mgr-app_win_download.ii:62:41: required from ‘thread::thread(_Callable, _Args ...) [with _Callable = void (PoolProjectManagerAppWindow::*)(Trans_NS___cxx11_basic_string); _Args = {PoolProjectManagerAppWindow*, ustring, Trans_NS___cxx11_basic_string}]’ pool-prj-mgr-app_win_download.ii:68:57: required from here pool-prj-mgr-app_win_download.ii:17:55: internal compiler error: in build_over_call, at cp/call.c:8976 17 | static __result_of_success _S_test; | ^~~~ 0x5de01a build_over_call ../../src/gcc/cp/call.c:8976 0xaa30fe build_new_method_call_1 ../../src/gcc/cp/call.c:10385 0xaa429e build_new_method_call(tree_node*, tree_node*, vec**, tree_node*, int, tree_node**, int) ../../src/gcc/cp/call.c:10460 0xaa429e build_special_member_call(tree_node*, tree_node*, vec**, tree_node*, int, int) ../../src/gcc/cp/call.c:9861 0xa94458 build_temp ../../src/gcc/cp/call.c:7128 0xa94458 convert_like_real_1 ../../src/gcc/cp/call.c:7705 0xa95b3d perform_implicit_conversion_flags(tree_node*, tree_node*, int, int) ../../src/gcc/cp/call.c:11921 0xca79f5 convert_arguments ../../src/gcc/cp/typeck.c:4197 0xca79f5 cp_build_function_call_vec(tree_node*, vec**, int, tree_node*) ../../src/gcc/cp/typeck.c:4031 0xb4c4d0 build_offset_ref_call_from_tree(tree_node*, vec**, int) ../../src/gcc/cp/decl2.c:5276 0xc28b46 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool) ../../src/gcc/cp/pt.c:20073 0xc2b204 tsubst(tree_node*, tree_node*, int, tree_node*) ../../src/gcc/cp/pt.c:15946 0xc2db88 tsubst_template_args(tree_node*, tree_node*, int, tree_node*) ../../src/gcc/cp/pt.c:13193 0xc3331b tsubst_aggr_type ../../src/gcc/cp/pt.c:13396 0xc22b01 tsubst_decl ../../src/gcc/cp/pt.c:14604 0xc33a29 instantiate_template_1 ../../src/gcc/cp/pt.c:20871 0xc340ba instantiate_template(tree_node*, tree_node*, int) ../../src/gcc/cp/pt.c:20928 0xc340ba finish_template_variable(tree_node*, int) ../../src/gcc/cp/pt.c:10167 0xc3420a lookup_and_finish_template_variable(tree_node*, tree_node*, int) ../../src/gcc/cp/pt.c:10180 0xc28af8 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool) ../../src/gcc/cp/pt.c:19306 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report.
[Bug tree-optimization/97990] New: ICE: ‘verify_type’ failed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97990 Bug ID: 97990 Summary: ICE: ‘verify_type’ failed Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- Created attachment 49626 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49626&action=edit preprocessed source seen with the gcc-10 branch and the trunk on x86_64-linux-gnu,, -Wall is needed to trigger the ICE. compiler configured with --enable-checking=yes,extra,rtl $ g++ -Wall -O2 -flto -c lambda.ii :303:1: error: type variant with ‘TYPE_ALIAS_SET_KNOWN_P’ unit-size align:16 warn_if_not_align:0 symtab:0 alias-set 2 canonical-type 0x7f28b07af498 precision:16 min max > sizes-gimplified type_6 HI size unit-size align:16 warn_if_not_align:0 symtab:0 alias-set 2 canonical-type 0x7f28b0900c78 nunits:1> unit-size align:16 warn_if_not_align:0 symtab:0 alias-set 2 canonical-type 0x7f28b07af498 precision:16 min max > sizes-gimplified type_6 HI size unit-size align:16 warn_if_not_align:0 symtab:0 alias-set 2 canonical-type 0x7f28b0900c78 nunits:1> during IPA pass: *free_lang_data :303:1: internal compiler error: ‘verify_type’ failed 0x151a060 verify_type(tree_node const*) ../../src/gcc/tree.c:14727 0x151cf5b free_lang_data ../../src/gcc/tree.c:6357 0x151cf5b execute ../../src/gcc/tree.c:6402 Please submit a full bug report, with preprocessed source if appropriate.
[Bug other/98027] New: CET support is documented to be explicitly enabled, however it's enabled by default
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98027 Bug ID: 98027 Summary: CET support is documented to be explicitly enabled, however it's enabled by default Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- CET support is documented to be explicitly enabled, however it's enabled by default. install.texi reads: @item --enable-cet @itemx --disable-cet Enable building target run-time libraries with control-flow instrumentation, see @option{-fcf-protection} option. When @code{--enable-cet} is specified target libraries are configured to add @option{-fcf-protection} and, if needed, other target specific options to a set of building options. The option is disabled by default. When @code{--enable-cet=auto} is used, it is enabled on Linux/x86 if target binutils supports @code{Intel CET} instructions and disabled otherwise. In this case the target libraries are configured to get additional @option{-fcf-protection} option. however it's still enabled when no --enable-/--disable-cet configure options is given. Please either update the documentation or the behavior. Seems to be the case for the gcc-10 branch as well. unreleated question: when do you configure with -fcf-protection -mshstk, and when just with -fcf-protection?
[Bug target/98032] New: [9 Regression] ICE (segfault) on arm-linux-gnueabihf
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98032 Bug ID: 98032 Summary: [9 Regression] ICE (segfault) on arm-linux-gnueabihf Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- Created attachment 49635 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49635&action=edit preprocessed source seen with the gcc-9 branch 20201126 on arm-linux-gnueabihf, gives a correct error message with the gcc-10 branch and the trunk. worked with the 9.3.0 release. Also attaching the unreduced test case (which is valid code), therefor tagging with ice-on-valid and ice-on-invalid. gcc is configured with --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb --enable-default-pie $ cat vcldemo.ii class Thread { public: virtual ~Thread(); virtual void join(); }; class SimpleReferenceObject { protected: virtual ~SimpleReferenceObject(); }; class Trans_NS_salhelper_Thread : SimpleReferenceObject, Thread { public: using Thread::join; }; class RenderThread : Trans_NS_salhelper_Thread { RenderThread() { join() } }; $ g++-9 -c -std=c++17 -O0 -Wall -fstack-protector-strong vcldemo.ii vcldemo.ii: In constructor 'RenderThread::RenderThread()': vcldemo.ii:15:25: internal compiler error: Segmentation fault 15 | RenderThread() { join() } | ^ Please submit a full bug report, with preprocessed source if appropriate. $ g++-10 -c -std=c++17 -O0 -Wall vcldemo.ii vcldemo.ii: In constructor 'RenderThread::RenderThread()': vcldemo.ii:15:26: error: expected ';' before '}' token 15 | RenderThread() { join() } | ^~ | ;
[Bug target/98032] [9 Regression] ICE (segfault) on arm-linux-gnueabihf
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98032 --- Comment #1 from Matthias Klose --- also works with the gcc-9 branch 20200911
[Bug go/98041] New: [11 Regression] libgo doesn't build on mipsel-linux-gnu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98041 Bug ID: 98041 Summary: [11 Regression] libgo doesn't build on mipsel-linux-gnu Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go Assignee: ian at airs dot com Reporter: doko at debian dot org CC: cmang at google dot com Target Milestone: --- seen with trunk 20201127 on mipsel-linux-gnu: cpugen.go:2:7: error: redefinition of 'CacheLinePadSize' 2 | const CacheLinePadSize = 32 | ^ ../../../../src/libgo/go/internal/cpu/cpu_mips64x.go:9:7: note: previous definition of 'CacheLinePad Size' was here 9 | const CacheLinePadSize = 32 | ^ make[10]: *** [Makefile:2962: internal/cpu.lo] Error 1 make[10]: Leaving directory '/<>/build/mipsel-linux-gnu/64/libgo' make[9]: *** [Makefile:2292: all-recursive] Error 1 make[9]: Leaving directory '/<>/build/mipsel-linux-gnu/64/libgo' make[8]: *** [Makefile:1184: all] Error 2 make[8]: Leaving directory '/<>/build/mipsel-linux-gnu/64/libgo' make[7]: *** [Makefile:3203: multi-do] Error 1 make[7]: Leaving directory '/<>/build/mipsel-linux-gnu/libgo' make[6]: *** [Makefile:3156: all-multi] Error 2
[Bug target/98045] New: [11 Regression] ICE in compute_fn_summary, at ipa-fnsummary.c:3138 on powerpc64le-linux-gnu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98045 Bug ID: 98045 Summary: [11 Regression] ICE in compute_fn_summary, at ipa-fnsummary.c:3138 on powerpc64le-linux-gnu Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- seen with trunk 20201128, building powerpc64le-linux-gnu, compiler configured with a profiled bootstrap configured with --enable-default-pie --enable-secureplt --with-cpu=power8 --enable-targets=powerpcle-linux --disable-multilib --enable-multiarch --disable-werror --with-long-double-128 --enable-offload-targets=nvptx-none=/<>/debian/tmp-nvptx/usr --without-cuda-driver --enable-checking=yes,extra,rtl during IPA pass: icf ../../src/gcc/range-op.cc:3734:1: internal compiler error: in compute_fn_summary, at ipa-fnsummary.c:3138 3734 | } // namespace selftest | ^ 0x10b335cf compute_fn_summary(cgraph_node*, bool) ../../src/gcc/ipa-fnsummary.c:3138 0x10b9fa2b ipa_merge_profiles(cgraph_node*, cgraph_node*, bool) ../../src/gcc/ipa-utils.c:750 0x11d9ca63 ipa_icf::sem_function::merge(ipa_icf::sem_item*) ../../src/gcc/ipa-icf.c:1272 0x11da36bf ipa_icf::sem_item_optimizer::merge_classes(unsigned int, unsigned int) ../../src/gcc/ipa-icf.c:3420 0x11daf377 ipa_icf::sem_item_optimizer::execute() ../../src/gcc/ipa-icf.c:2460 0x11db397f ipa_icf_driver ../../src/gcc/ipa-icf.c:3584 0x11db397f ipa_icf::pass_ipa_icf::execute(function*) ../../src/gcc/ipa-icf.c:3631 Please submit a full bug report, with preprocessed source if appropriate. [...] make[5]: Leaving directory '/<>/build/gcc' make[4]: *** [Makefile:5022: all-stagefeedback-gcc] Error 2 make[4]: Leaving directory '/<>/build' make[3]: *** [Makefile:26981: stagefeedback-bubble] Error 2 make[3]: Leaving directory '/<>/build' make[2]: *** [Makefile:27012: profiledbootstrap-lean] Error 2 make[2]: Leaving directory '/<>/build' make[1]: *** [debian/rules2:1246: stamps/05-build-stamp] Error 2
[Bug target/98045] [11 Regression] ICE in compute_fn_summary, at ipa-fnsummary.c:3138 on powerpc64le-linux-gnu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98045 Matthias Klose changed: What|Removed |Added Target|powerpc64le-linux-gnu |powerpc64le-linux-gnu ||aarch64-linux-gnu --- Comment #1 from Matthias Klose --- also seen on aarch64-linux-gnu
[Bug target/98045] [11 Regression] ICE in compute_fn_summary, at ipa-fnsummary.c:3138 on powerpc64le-linux-gnu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98045 --- Comment #2 from Matthias Klose --- Created attachment 49643 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49643&action=edit preprocessed source
[Bug target/98045] [11 Regression] ICE in compute_fn_summary, at ipa-fnsummary.c:3138 on powerpc64le-linux-gnu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98045 --- Comment #3 from Matthias Klose --- Created attachment 49644 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49644&action=edit range-op.gcda
[Bug ada/98134] New: [11 Regression] bootstrap error building gnat on mips64el-linux-gnu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98134 Bug ID: 98134 Summary: [11 Regression] bootstrap error building gnat on mips64el-linux-gnu Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- seen with trunk 20201203 on mips64el-linux-gnu /<>/build/./gcc/xgcc -B/<>/build/./gcc/ -B/usr/lib/gcc-snapshot/mips64el-l inux-gnuabi64/bin/ -B/usr/lib/gcc-snapshot/mips64el-linux-gnuabi64/lib/ -isystem /usr/lib/gcc-snapsh ot/mips64el-linux-gnuabi64/include -isystem /usr/lib/gcc-snapshot/mips64el-linux-gnuabi64/sys-includ e -fchecking=1 -c -g -O2 -fPIC -W -Wall -gnatpg -nostdinc a-nallfl.ads -o a-nallfl.o a-nallfl.ads:48:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:48:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:48:13: warning: profile of "Sin" doesn't match the builtin it binds a-nallfl.ads:51:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:51:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:51:13: warning: profile of "Cos" doesn't match the builtin it binds a-nallfl.ads:54:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:54:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:54:13: warning: profile of "Tan" doesn't match the builtin it binds a-nallfl.ads:57:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:57:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:57:13: warning: profile of "Exp" doesn't match the builtin it binds a-nallfl.ads:60:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:60:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:60:13: warning: profile of "Sqrt" doesn't match the builtin it binds a-nallfl.ads:63:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:63:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:63:13: warning: profile of "Log" doesn't match the builtin it binds a-nallfl.ads:66:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:66:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:66:13: warning: profile of "Acos" doesn't match the builtin it binds a-nallfl.ads:69:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:69:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:69:13: warning: profile of "Asin" doesn't match the builtin it binds a-nallfl.ads:72:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:72:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:72:13: warning: profile of "Atan" doesn't match the builtin it binds a-nallfl.ads:75:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:75:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:75:13: warning: profile of "Sinh" doesn't match the builtin it binds a-nallfl.ads:78:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:78:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:78:13: warning: profile of "Cosh" doesn't match the builtin it binds a-nallfl.ads:81:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:81:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:81:13: warning: profile of "Tanh" doesn't match the builtin it binds a-nallfl.ads:84:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:84:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:84:13: warning: profile of "Pow" doesn't match the builtin it binds make[9]: *** [../gcc-interface/Makefile:302: a-nallfl.o] Error 1 make[9]: Leaving directory '/<>/build/gcc/ada/rts' make[8]: *** [gcc-interface/Makefile:620: gnatlib] Error 2 make[8]: Leaving directory '/<>/build/gcc/ada' make[7]: *** [gcc-interface/Makefile:655: gnatlib-shared-default] Error 2 make[7]: Leaving directory '/<>/build/gcc/ada' make[4]: *** [Makefile:107: gnatlib-shared] Error 2 make[4]: Leaving directory '/<>/build/mips64el-linux-gnuabi64/libada' make[3]: *** [Makefile:22363: all-target-libada] Error 2 gcc is configured with --enable-languages=c,ada,c++,go,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-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libsanitizer --disable-libquadmath --disable-li
[Bug go/98153] New: [11 Regression] libgo ftbfs on i686-gnu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98153 Bug ID: 98153 Summary: [11 Regression] libgo ftbfs on i686-gnu Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go Assignee: ian at airs dot com Reporter: doko at debian dot org CC: cmang at google dot com Target Milestone: --- trunk 20201204 ftbfs on i686-gnu: ../../../src/libgo/go/syscall/socket_bsd.go:97:25: error: reference to undefined name 'AF_LINK' 97 | sa.raw.Family = AF_LINK | ^ Makefile:2957: recipe for target 'syscall.lo' failed make[6]: *** [syscall.lo] Error 1 make[6]: Leaving directory '/<>/build/i686-gnu/libgo' Makefile:2287: recipe for target 'all-recursive' failed make[5]: *** [all-recursive] Error 1
[Bug lto/98155] New: [11 Regression] ICE during GIMPLE pass: slp, in vect_init_pattern_stmt
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98155 Bug ID: 98155 Summary: [11 Regression] ICE during GIMPLE pass: slp, in vect_init_pattern_stmt Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org CC: marxin at gcc dot gnu.org Target Milestone: --- 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
[Bug lto/98155] [11 Regression] ICE during GIMPLE pass: slp, in vect_init_pattern_stmt
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98155 --- Comment #2 from Matthias Klose --- 3e2ae3ee285a57455d5a23bd352a68c289130186
[Bug lto/98155] [11 Regression] ICE during GIMPLE pass: slp, in vect_init_pattern_stmt
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98155 --- Comment #3 from Matthias Klose --- ... building with make profiledbootstrap-lean
[Bug bootstrap/97314] bootstrap failure on i686-linux-gnu with --enable-checking=yes,extra,rtl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97314 --- Comment #4 from Matthias Klose --- 8441545d4f2afb9e9342e0dac378eafd03f00462 now builds insn-extract.o without rtl checking unconditionally.
[Bug rtl-optimization/98144] REE needs 6GB DF memory when compiling insn-extract.c with RTL checking enabled
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98144 Matthias Klose changed: What|Removed |Added CC||doko at debian dot org --- Comment #3 from Matthias Klose --- 8441545d4f2afb9e9342e0dac378eafd03f00462 now builds insn-extract.o without rtl checking unconditionally.
[Bug bootstrap/98188] New: [11 Regression] ICE in decompose, at wide-int.h:984
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98188 Bug ID: 98188 Summary: [11 Regression] ICE in decompose, at wide-int.h:984 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- seen with 20201207 trunk, plus the patch from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95582#c6 configuration is the one from PR95582. This looks like PR96967, but this is resolved as fixed. during GIMPLE pass: phiopt ../../src/gcc/ada/bindo-builders.adb: In function 'bindo__builders__library_graph_builders__create_with_edges': ../../src/gcc/ada/bindo-builders.adb:625:7: internal compiler error: in decompose, at wide-int.h:984 625 | procedure Create_With_Edges (U_Id : Unit_Id) is | ^ 0x73dd20 wi::int_traits >::decompose(long*, unsigned int, generic_wide_int const&) ../../src/gcc/wide-int.h:984 0x10367aa wi::int_traits >::decompose(long*, unsigned int, generic_wide_int const&) ../../src/gcc/wide-int.h:1853 0x10367aa wide_int_ref_storage::wide_int_ref_storage >(generic_wide_int const&, unsigned int) ../../src/gcc/wide-int.h:1034 0x10367aa generic_wide_int >::generic_wide_int >(generic_wide_int const&, unsigned int) ../../src/gcc/wide-int.h:790 0x10367aa bool wi::eq_p >, generic_wide_int >(generic_wide_int > const&, generic_wide_int const&) ../../src/gcc/wide-int.h:1857 0x1032c54 bool wi::ne_p >, generic_wide_int >(generic_wide_int > const&, generic_wide_int const&) ../../src/gcc/wide-int.h:1894 0x1032c54 wi::binary_traits >, generic_wide_int, wi::int_traits > >::precision_type, wi::int_traits >::precision_type>::predicate_result operator!= >, generic_wide_int >(generic_wide_int > const&, generic_wide_int const&) ../../src/gcc/wide-int.h:3292 0x1032c54 two_value_replacement ../../src/gcc/tree-ssa-phiopt.c:669 0x1035d3d tree_ssa_phiopt_worker ../../src/gcc/tree-ssa-phiopt.c:340 Please submit a full bug report, with preprocessed source if appropriate.
[Bug ada/98227] New: [11 Regression] ICE: tree check: expected tree that contains 'decl common' structure, have 'constructor' in get_section, at varasm.c:297 on riscv64-linux-gnu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98227 Bug ID: 98227 Summary: [11 Regression] ICE: tree check: expected tree that contains 'decl common' structure, have 'constructor' in get_section, at varasm.c:297 on riscv64-linux-gnu Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- trunk 20201210 ftbfs on riscv64-linux-gnu mkdir -p ada/libgnat/ /<>/build/./prev-gcc/xgcc -B/<>/build/./prev-gcc/ -B/usr/lib/gcc-snapshot/riscv64-linux-gnu/bin/ - B/usr/lib/gcc-snapshot/riscv64-linux-gnu/bin/ -B/usr/lib/gcc-snapshot/riscv64-linux-gnu/lib/ -isystem /usr/lib/gcc-snapshot/ riscv64-linux-gnu/include -isystem /usr/lib/gcc-snapshot/riscv64-linux-gnu/sys-include -fno-checking -c -g -O2 -fno-checki ng -gtoggle -fprofile-generate -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada/generated -Iada -Iada/gcc-interface -I../../ src/gcc/ada -I../../src/gcc/ada/gcc-interface -Iada/libgnat -I../../src/gcc/ada/libgnat ../../src/gcc/ada/libgnat/a-elchha.a db -o ada/libgnat/a-elchha.o +===GNAT BUG DETECTED==+ | 11.0.0 20201210 (experimental) [master revision 79c1b9fb44c:3f67ba38dca:8c60696b699e0b22cc12ae628473f0a23f90c82e] (riscv64 -linux-gnu) GCC error:| | tree check: expected tree that contains 'decl common' structure, | | have 'constructor' in get_section, at varasm.c:297 | | Error detected around ../../src/gcc/ada/libgnat/a-elchha.adb:118:7 | | Please submit a bug report; see https://gcc.gnu.org/bugs/ . | | Use a subject line meaningful to you and us to track the bug.| | Include the entire contents of this bug box in the report. | | Include the exact command that you entered. | | Also include sources listed below. | +==+ Please include these source files with error report Note that list may not be accurate in some cases, so please double check that the problem can still be reproduced with the set of files listed. Consider also -gnatd.n switch (see debug.adb). ../../src/gcc/ada/gcc-interface/system.ads ../../src/gcc/ada/libgnat/a-elchha.adb ../../src/gcc/ada/libgnat/a-elchha.ads ../../src/gcc/ada/libgnat/a-except.ads ../../src/gcc/ada/libgnat/ada.ads ../../src/gcc/ada/libgnat/s-parame.ads ../../src/gcc/ada/libgnat/s-stalib.ads ../../src/gcc/ada/libgnat/a-unccon.ads ../../src/gcc/ada/libgnat/s-traent.ads ../../src/gcc/ada/libgnat/s-soflin.ads ../../src/gcc/ada/libgnat/s-secsta.ads ../../src/gcc/ada/libgnat/s-stoele.ads ../../src/gcc/ada/libgnat/s-stache.ads raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:407 make[5]: *** [../../src/gcc/ada/gcc-interface/Make-lang.in:139: ada/libgnat/a-elchha.o] Error 1 make[5]: *** Waiting for unfinished jobs rm gfdl.pod gcc.pod gfortran.pod gcov-dump.pod gcov-tool.pod fsf-funding.pod gpl.pod cpp.pod gcov.pod lto-dump.pod gccgo.pod gdc.pod make[5]: Leaving directory '/<>/build/gcc' make[4]: *** [Makefile:4904: all-stageprofile-gcc] Error 2 make[4]: Leaving directory '/<>/build' make[3]: *** [Makefile:25239: stageprofile-bubble] Error 2 make[3]: Leaving directory '/<>/build' make[2]: *** [Makefile:25504: profiledbootstrap-lean] Error 2 make[2]: Leaving directory '/<>/build' that's a profiled bootstrap configured with: --enable-languages=c,ada,c++,go,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-libitm --disable-libsanitizer --disable-libquadmath --disable-libquadmath-support --enable-plugin --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --disable-multilib --with-arch=rv64imafdc --with-abi=lp64d --enable-checking=yes --build=riscv64-linux-gnu --host=riscv64-linux-gnu --target=riscv64-linux-gnu
[Bug ada/98228] New: [11 Regression] ICE: Assert_Failure atree.adb:931: Error detected at s-gearop.adb:382:34 [a-ngrear.adb:313:7 [a-nllrar.ads:18:1]] on s390x-linux-gnu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98228 Bug ID: 98228 Summary: [11 Regression] ICE: Assert_Failure atree.adb:931: Error detected at s-gearop.adb:382:34 [a-ngrear.adb:313:7 [a-nllrar.ads:18:1]] on s390x-linux-gnu Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- seen with trunk 20201210 on s390x-linux-gnu /<>/build/./gcc/xgcc -B/<>/build/./gcc/ -B/ usr/lib/gcc-snapshot/s390x-linux-gnu/bin/ -B/usr/lib/gcc-snapshot/s390x-linux-gnu/lib/ -isystem /usr/lib/gcc-snapshot/s390x- linux-gnu/include -isystem /usr/lib/gcc-snapshot/s390x-linux-gnu/sys-include -c -g -O2 -fPIC -W -Wall -gnatpg -nostdinc a-nllrar.ads -o a-nllrar.o +===GNAT BUG DETECTED==+ | 11.0.0 20201210 (experimental) [master revision 79c1b9fb44c:3f67ba38dca:8c60696b699e0b22cc12ae628473f0a23f90c82e] (s390x-l inux-gnu) | | Assert_Failure atree.adb:931 | | Error detected at s-gearop.adb:382:34 [a-ngrear.adb:313:7 [a-nllrar.ads:18:1]]| | Please submit a bug report; see https://gcc.gnu.org/bugs/ . | | Use a subject line meaningful to you and us to track the bug.| | Include the entire contents of this bug box in the report. | | Include the exact command that you entered. | | Also include sources listed below. | +==+ Please include these source files with error report Note that list may not be accurate in some cases, so please double check that the problem can still be reproduced with the set of files listed. Consider also -gnatd.n switch (see debug.adb). system.ads a-nllrar.ads a-numeri.ads ada.ads a-ngrear.ads s-exctab.ads s-stalib.ads a-unccon.ads a-ngrear.adb a-contai.ads a-cgaaso.ads s-gearop.ads s-secsta.ads s-parame.ads s-stoele.ads s-fatllf.ads s-fatgen.ads a-except.ads s-traent.ads s-gearop.adb s-exnllf.ads compilation abandoned make[9]: *** [../gcc-interface/Makefile:302: a-nllrar.o] Error 1 make[9]: *** Waiting for unfinished jobs gcc configured with: --enable-languages=c,ada,c++,go,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-libquadmath --disable-libquadmath-support --enable-plugin --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch=z13 --with-tune=z15 --with-long-double-128 --enable-multilib --enable-checking=yes,extra,rtl --build=s390x-linux-gnu --host=s390x-linux-gnu --target=s390x-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2 building the profiledbootstrap-lean target
[Bug ada/98228] [11 Regression] ICE: Assert_Failure atree.adb:931: Error detected at s-gearop.adb:382:34 [a-ngrear.adb:313:7 [a-nllrar.ads:18:1]] on s390x-linux-gnu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98228 --- Comment #2 from Matthias Klose --- you have: --enable-languages=c,c++,objc,fortran,obj-c++,go,d --enable-checking=release --disable-werror --with-gxx-include-dir=/usr/include/c++/11 --enable-ssp --disable-libssp --disable-libvtv --disable-cet --disable-libcc1 --disable-plugin --with-system-zlib --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --with-default-libstdcxx-abi=gcc4-compatible --enable-libphobos --enable-version-specific-runtime-libs --with-gcc-major-version-only --enable-linker-build-id --enable-linux-futex --enable-gnu-indirect-function --program-suffix=-11 --without-system-libunwind --with-tune=zEC12 --with-arch=z196 --with-long-double-128 --enable-decimal-float --build=s390x-suse-linux --host=s390x-suse-linux so apparently some additional flags: --enable-libstdcxx-allocator=new --with-default-libstdcxx-abi=gcc4-compatible --enable-gnu-indirect-function and a different base line: --with-tune=zEC12 --with-arch=z196
[Bug ada/98228] [11 Regression] ICE: Assert_Failure atree.adb:931: Error detected at s-gearop.adb:382:34 [a-ngrear.adb:313:7 [a-nllrar.ads:18:1]] on s390x-linux-gnu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98228 --- Comment #3 from Matthias Klose --- I still see this with 20201212, 54f75d8fb3f:a415eda93e0:cc9b9c0b68233d38a26f7acd68cc5f9a8fc4d994
[Bug target/98259] New: [11 Regression] error: 'void verify_insn_chain()' causes a section type conflict with 'void init_rtl_bb_info(basic_block)'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98259 Bug ID: 98259 Summary: [11 Regression] error: 'void verify_insn_chain()' causes a section type conflict with 'void init_rtl_bb_info(basic_block)' Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- seen with 20201212 with a profiled bootstrap on arm-linux-gnueabihf: ../../src/gcc/symtab.c: In static member function 'static void symtab_node::verify_symtab_nodes()': ../../src/gcc/symtab.c:1349:1: error: 'void symtab_node::verify()' causes a section type conflict with 'void symbol_table::sym tab_initialize_asm_name_hash()' 1349 | symtab_node::verify (void) | ^~~ ../../src/gcc/symtab.c:259:1: note: 'void symbol_table::symtab_initialize_asm_name_hash()' was declared here 259 | symbol_table::symtab_initialize_asm_name_hash (void) | ^~~~ make[5]: *** [Makefile:1123: symtab.o] Error 1 make[5]: *** Waiting for unfinished jobs ../../src/gcc/cfgrtl.c: In function 'void cfg_layout_finalize()': ../../src/gcc/cfgrtl.c:4057:1: error: 'void verify_insn_chain()' causes a section type conflict with 'void init_rtl_bb_info(basic_block)' 4057 | verify_insn_chain (void) | ^ ../../src/gcc/cfgrtl.c:5134:1: note: 'void init_rtl_bb_info(basic_block)' was declared here 5134 | init_rtl_bb_info (basic_block bb) | ^~~~ make[5]: *** [Makefile:1123: cfgrtl.o] Error 1 gcc is configured with: --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++ --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-libitm --disable-libquadmath --disable-libquadmath-support --enable-plugin --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --enable-multilib --disable-sjlj-exceptions --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb --disable-werror --enable-multilib --enable-checking=yes --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf build target: profiledbootstrap-lean
[Bug middle-end/98227] [11 Regression] ICE: tree check: expected tree that contains 'decl common' structure, have 'constructor' in get_section, at varasm.c:297 on riscv64-linux-gnu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98227 Matthias Klose changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Matthias Klose --- yes, the bootstrap works now.
[Bug target/98259] [11 Regression] error: 'void verify_insn_chain()' causes a section type conflict with 'void init_rtl_bb_info(basic_block)'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98259 --- Comment #1 from Matthias Klose --- a normal bootstrap works
[Bug bootstrap/98324] New: [11 Regression] bootstrap broken with a LTO build configured with --enable-default-pie
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98324 Bug ID: 98324 Summary: [11 Regression] bootstrap broken with a LTO build configured with --enable-default-pie Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- seen with the trunk after the c++modules merge: configured with: --enable-default-pie --enable-checking=yes,extra,rtl --with-build-config=bootstrap-lto-lean /packages/gcc/11/gcc-11-11-20201216/build/./gcc/xg++ -B/packages/gcc/11/gcc-11-11-20201216/build/./gcc/ -nostdinc++ -nostdinc++ -I/packages/gcc/11/gcc-11-11-20201216/build/x86_64-linux-gnu/libstdc++-v3/include/x86_64-linux-gnu -I/packages/gcc/11/gcc-11-11-20201216/build/x86_64-linux-gnu/libstdc++-v3/include -I/packages/gcc/11/gcc-11-11-20201216/src/libstdc++-v3/libsupc++ -I/packages/gcc/11/gcc-11-11-20201216/src/libstdc++-v3/include/backward -I/packages/gcc/11/gcc-11-11-20201216/src/libstdc++-v3/testsuite/util -L/packages/gcc/11/gcc-11-11-20201216/build/x86_64-linux-gnu/libstdc++-v3/src -L/packages/gcc/11/gcc-11-11-20201216/build/x86_64-linux-gnu/libstdc++-v3/src/.libs -L/packages/gcc/11/gcc-11-11-20201216/build/x86_64-linux-gnu/libstdc++-v3/libsupc++/.libs -B/packages/gcc/11/gcc-11-11-20201216/build/x86_64-linux-gnu/libstdc++-v3/src/.libs -B/packages/gcc/11/gcc-11-11-20201216/build/x86_64-linux-gnu/libstdc++-v3/libsupc++/.libs -B/usr/x86_64-linux-gnu/bin/ -B/usr/x86_64-linux-gnu/lib/ -isystem /usr/x86_64-linux-gnu/include -isystem /usr/x86_64-linux-gnu/sys-include -isystem /packages/gcc/11/gcc-11-11-20201216/build/sys-include -o g++-mapper-server server.o resolver.o ../libcody/libcody.a ../gcc/version.o ../libiberty/libiberty.a /usr/bin/x86_64-linux-gnu-ld: /tmp/cco6ffKB.ltrans0.ltrans.o: relocation R_X86_64_32S against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE collect2: error: ld returned 1 exit status make: *** [Makefile:83: g++-mapper-server] Error 1
[Bug bootstrap/97314] New: bootstrap failure on i686-linux-gnu with --enable-checking=yes,extra,rtl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97314 Bug ID: 97314 Summary: bootstrap failure on i686-linux-gnu with --enable-checking=yes,extra,rtl Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- seen with the gcc-10 branch 20201003, while originally building that for another architecture. The build succeeds on another 32bit arch (arm-linux-gnueabihf) and on 64bit archs, but fails on i686-linux-gnu. The build is also configured with --enable-default-pie and other hardening options turned on by default, built with make -j2. virtual memory exhausted: Operation not permitted make[5]: *** [Makefile:1117: insn-extract.o] Error 1 make[5]: *** Waiting for unfinished jobs rm gcc.pod gfortran.pod cpp.pod gccbrig.pod gccgo.pod gdc.pod make[5]: Leaving directory '/<>/build/gcc' make[4]: *** [Makefile:4878: all-stage3-gcc] Error 2 make[4]: Leaving directory '/<>/build' make[3]: *** [Makefile:27347: stage3-bubble] Error 2 make[3]: Leaving directory '/<>/build' make[2]: *** [Makefile:27411: bootstrap] Error 2 make[2]: Leaving directory '/<>/build'
[Bug target/97323] New: [10/11 Regression] ICE 'verify_type' failed on arm-linux-gnueabihf
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97323 Bug ID: 97323 Summary: [10/11 Regression] ICE 'verify_type' failed on arm-linux-gnueabihf Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- seen on the gcc-10 branch and trunk 20201003 on arm-linux-gnueabihf. Omitting -g works around the issue. $ cat signal.i typedef int a __attribute__((aligned(2))); a b[1]; $ gcc -c -g -O0 signal.i signal.i:2:1: error: 'TYPE_CANONICAL' is not compatible 2 | a b[1]; | ^ unit-size align:32 warn_if_not_align:0 symtab:-144899760 alias-set -1 canonical-type 0xf7a4f3c0 precision:32 min max pointer_to_this > SI size unit-size align:32 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0xf751d7e0 domain unit-size align:32 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0xf7a4f060 precision:32 min max > SI size unit-size align:32 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0xf751d6c0 precision:32 min max >> signal.i:2:1: error: 'TYPE_MODE' of 'TYPE_CANONICAL' is not compatible unit-size align:32 warn_if_not_align:0 symtab:-144899760 alias-set -1 canonical-type 0xf7a4f3c0 precision:32 min max pointer_to_this > SI size unit-size align:32 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0xf751d7e0 domain unit-size align:32 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0xf7a4f060 precision:32 min max > SI size unit-size align:32 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0xf751d6c0 precision:32 min max >> unit-size user align:16 warn_if_not_align:0 symtab:-144899808 alias-set -1 canonical-type 0xf7a4f3c0 precision:32 min max > no-force-blk BLK size unit-size user align:16 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0xf751d7e0 domain unit-size align:32 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0xf7a4f060 precision:32 min max > SI size unit-size align:32 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0xf751d6c0 precision:32 min max >> signal.i:2:1: internal compiler error: 'verify_type' failed 0x980721 verify_type(tree_node const*) ../../src/gcc/tree.c:14727 0x3969e3 gen_type_die_with_usage ../../src/gcc/dwarf2out.c:25498 0x397fe9 gen_type_die ../../src/gcc/dwarf2out.c:25728 0x393fd5 gen_decl_die ../../src/gcc/dwarf2out.c:26399 0x394aed dwarf2out_decl ../../src/gcc/dwarf2out.c:26908 0x394f8f dwarf2out_early_global_decl ../../src/gcc/dwarf2out.c:26565 0x1c59b1 finish_decl(tree_node*, unsigned int, tree_node*, tree_node*, tree_node*) ../../src/gcc/c/c-decl.c:5453 0x223611 c_parser_declaration_or_fndef ../../src/gcc/c/c-parser.c:2336 0x22bbdf c_parser_external_declaration ../../src/gcc/c/c-parser.c:1745 0x22c451 c_parser_translation_unit ../../src/gcc/c/c-parser.c:1618 0x22c451 c_parse_file() ../../src/gcc/c/c-parser.c:21752 0x279abd c_common_parse_file() ../../src/gcc/c-family/c-opts.c:1190 Please submit a full bug report, with preprocessed source if appropriate. gcc is configured with --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb --enable-checking=yes,extra,rtl --enable-default-pie a gcc configured with --enable-checking=release doesn't show this, however segfaults in an unreproducible way in other places.
[Bug go/98402] New: [11 Regression] libgo build broken on arm-linux-gnueabi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98402 Bug ID: 98402 Summary: [11 Regression] libgo build broken on arm-linux-gnueabi Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go Assignee: ian at airs dot com Reporter: doko at debian dot org CC: cmang at google dot com Target Milestone: --- seen with trunk 20201219 on arm-linux-gnueabihf: runtime_sysinfo.go:800:29: error: floating-point exponent too large to represent 800 | const ___FLT32_NORM_MAX__ = 3.4028234663852886e+3832 | ^ runtime_sysinfo.go:4593:24: error: floating-point exponent too large to represent 4593 | const ___FLT32_MAX__ = 3.4028234663852886e+3832 |^ make[6]: *** [Makefile:2967: runtime.lo] Error 1 make[6]: *** Waiting for unfinished jobs configured with: --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=arm-linux-gnueabihf- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --disable-libquadmath-support --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --enable-multilib --disable-sjlj-exceptions --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb --disable-werror --enable-multilib --enable-checking=yes --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf make target is profiledbootstrap-lean
[Bug go/98402] [11 Regression] libgo build broken on arm-linux-gnueabi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98402 --- Comment #2 from Matthias Klose --- 4.1.0, no change since July.
[Bug target/97827] bootstrap error building the amdgcn-amdhsa offload compiler with LLVM 11
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97827 --- Comment #12 from Matthias Klose --- Fyi, this is still seen with LLVM 11.0.1 rc2
[Bug bootstrap/98324] [11 Regression] bootstrap broken with a LTO build configured with --enable-default-pie
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98324 --- Comment #4 from Matthias Klose --- that's working now.
[Bug target/97827] bootstrap error building the amdgcn-amdhsa offload compiler with LLVM 11
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97827 --- Comment #14 from Matthias Klose --- [...] /tmp/ccQFzQVM.s:1082:2: error: changed section flags for .rodata.cst8, expected: 0x12 .section.rodata.cst8 ^ /tmp/ccQFzQVM.s:1082:2: error: changed section entsize for .rodata.cst8, expected: 8 .section.rodata.cst8 ^ make[10]: *** [Makefile:980: lib_a-wcstod.o] Error 1
[Bug target/95381] [11 Regression]: Bootstrap on m68k fails with ICE: in operator[], at vec.h:867
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95381 Matthias Klose changed: What|Removed |Added CC||doko at debian dot org --- Comment #15 from Matthias Klose --- Jeff, this is a two-step build: First a build using the configure options in comment #9, then a second build using the just built compiler for the jit build with CONFARGS_JIT := \ $(filter-out --enable-languages=% \ --enable-libstdcxx-debug %bootstrap,\ $(CONFARGS)) \ --enable-languages=c++,jit \ --enable-host-shared \ --disable-bootstrap So maybe you can work around that by doing a bootstrap build for the second build, but that wouldn't solve the problem of having a miscompiled build from the first build?
[Bug go/98496] New: [11 Regression] bootstrap broken in libgo on i686-gnu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98496 Bug ID: 98496 Summary: [11 Regression] bootstrap broken in libgo on i686-gnu Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go Assignee: ian at airs dot com Reporter: doko at debian dot org CC: cmang at google dot com Target Milestone: --- seen with trunk 20210101 ../../../src/libgo/go/runtime/os_gccgo.go:43:12: error: reference to undefined name 'startupRandomData' 43 | if startupRandomData != nil { |^ ../../../src/libgo/go/runtime/os_gccgo.go:44:30: error: reference to undefined name 'startupRandomData' 44 | n := copy(r, startupRandomData) | ^ Makefile:2962: recipe for target 'runtime.lo' failed
[Bug go/98496] [11 Regression] bootstrap broken in libgo on i686-gnu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98496 Matthias Klose changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|FIXED |--- --- Comment #2 from Matthias Klose --- now fails with: ../../../src/libgo/go/crypto/x509/root_unix.go:52:17: error: reference to undefined name 'certDirectories' 52 | dirs := certDirectories | ^ ../../../src/libgo/go/crypto/x509/root_unix.go:61:9: error: range clause must have array, slice, string, map, or channel type 61 | for _, directory := range dirs { | ^ ../../../src/libgo/go/crypto/x509/root_unix.go:61:13: error: invalid type for range clause 61 | for _, directory := range dirs { | ^ Makefile:2962: recipe for target 'crypto/x509.lo' failed make[6]: *** [crypto/x509.lo] Error 1
[Bug go/98504] New: [11 Regression] bootstrap broken in libgo on ia64-linux-gnu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98504 Bug ID: 98504 Summary: [11 Regression] bootstrap broken in libgo on ia64-linux-gnu Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go Assignee: ian at airs dot com Reporter: doko at debian dot org CC: cmang at google dot com Target Milestone: --- seen with trunk 20210102 on ia64-linux-gnu: go1: internal compiler error: Segmentation fault 0x4126cfcf crash_signal ../../src/gcc/toplev.c:327 0x42de14df std::__cxx11::basic_string, std::allocator >::substr(unsigned long, unsigned long) const /<>/build/ia64-linux-gnu/libstdc++-v3/include/bits/basic_string.h:907 0x4036e3ff Gogo::special_name_pos(std::__cxx11::basic_string, std::allocator > const&) ../../src/gcc/go/gofrontend/names.cc:1193 0x4023783f should_export ../../src/gcc/go/gofrontend/export.cc:464 0x4023c99f Export::export_globals(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&, std::map, std::allocator >, Package*, std::less, std::allocator > >, std::allocator, std::allocator > const, Package*> > > const&, std::map, std::allocator >, Package*, std::less, std::allocator > >, std::allocator, std::allocator > const, Package*> > > const&, std::__cxx11::basic_string, std::allocator > const&, Import_init_set const&, Bindings const*, std::unordered_set, std::equal_to, std::allocator >*) ../../src/gcc/go/gofrontend/export.cc:573 0x403ae35f Gogo::do_exports() /<>/build/prev-ia64-linux-gnu/libstdc++-v3/include/bits/basic_string.h:907 0x4035dbef Gogo::do_exports() ../../src/gcc/go/gofrontend/gogo.cc:5201 0x4035dbef go_parse_input_files(char const**, unsigned int, bool, bool) ../../src/gcc/go/gofrontend/go.cc:157 0x402f4aff go_langhook_parse_file ../../src/gcc/go/go-lang.c:352 Please submit a full bug report, with preprocessed source if appropriate. configured with: --enable-languages=c,c++,go,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-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libssp --disable-libitm --disable-libsanitizer --enable-plugin --with-system-zlib --disable-libphobos --enable-objc-gc=auto --enable-multiarch --disable-werror --with-system-libunwind --enable-checking=yes --build=ia64-linux-gnu --host=ia64-linux-gnu --target=ia64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=1