[Bug target/95435] bad builtin memcpy performance with znver1/znver2 and 32bit
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95435 --- Comment #4 from Jan --- Sorry bad wording on my site. I meant the code is getting slower with znver2.
[Bug target/95435] bad builtin memcpy performance with znver1/znver2 and 32bit
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95435 --- Comment #2 from Jan --- Created attachment 48643 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48643=edit source code
[Bug target/95435] bad builtin memcpy performance with znver1/znver2 and 32bit
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95435 --- Comment #1 from Jan --- Created attachment 48642 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48642=edit gcc -g -m32 -march=skylake -O1 -s testmem_modified.c -o tm32
[Bug target/95435] New: bad builtin memcpy performance with znver1/znver2 and 32bit
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95435 Bug ID: 95435 Summary: bad builtin memcpy performance with znver1/znver2 and 32bit Product: gcc Version: 10.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jan at jki dot io Target Milestone: --- Created attachment 48641 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48641=edit gcc -g -m32 -march=znver2 -O1 -s testmem_modified.c -o tm32 Hi, I have found a regression with znver2 and 32bit compiles regarding builtin memcpy. Test program is this one: https://github.com/level1wendell/memcpy_sse results: gcc -g -m32 -march=znver2 -O1 -s testmem_modified.c -o tm32 32 MB = 2.462717 ms gcc -g -m32 -march=skylake -O1 -s testmem_modified.c -o tm32 32 MB = 1.135762 ms gcc -fno-builtin-memcpy -g -m32 -march=znver2 -O1 -s testmem_modified.c -o tm32 32 MB = 1.138656 ms I have attached the generated assembler code for the first 2 cases.
[Bug lto/92406] New: [10 Regression] ICE in ipa_call_summary at ipa-fnsummary.h:253 with lto and pgo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92406 Bug ID: 92406 Summary: [10 Regression] ICE in ipa_call_summary at ipa-fnsummary.h:253 with lto and pgo Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: jan at jki dot io CC: marxin at gcc dot gnu.org Target Milestone: --- Created attachment 47192 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47192=edit preprocessed source Latest trunk This is a profiled python build version 3.7.4 Only happens with PGO and LTO enabled. /usr/libexec/gcc/x86_64-pc-linux-gnu/10.0.0-pre/lto-wrapper -fresolution=-lm.res -flinker-output=dyn Modules/getbuildinfo.o Parser/acceler.o Parser/grammar1.o Parser/listnode.o P arser/node.o Parser/parser.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Parser/myreadline.o Parser/parsetok.o Parser/tokenizer.o Objects/a bstract.o Objects/accu.o Objects/boolobject.o Objects/bytes_methods.o Objects/bytearrayobject.o Objects/bytesobject.o Objects/call.o Objects/cellobject.o Objects/classobject.o Object s/codeobject.o Objects/complexobject.o Objects/descrobject.o Objects/enumobject.o Objects/exceptions.o Objects/genobject.o Objects/fileobject.o Objects/floatobject.o Objects/frameobj ect.o Objects/funcobject.o Objects/iterobject.o Objects/listobject.o Objects/longobject.o Objects/dictobject.o Objects/odictobject.o Objects/memoryobject.o Objects/methodobject.o Obj ects/moduleobject.o Objects/namespaceobject.o Objects/object.o Objects/obmalloc.o Objects/capsule.o Objects/rangeobject.o Objects/setobject.o Objects/sliceobject.o Objects/structseq. o Objects/tupleobject.o Objects/typeobject.o Objects/unicodeobject.o Objects/unicodectype.o Objects/weakrefobject.o Python/_warnings.o Python/Python-ast.o Python/asdl.o Python/ast.o Python/ast_opt.o Python/ast_unparse.o Python/bltinmodule.o Python/ceval.o Python/compile.o Python/codecs.o Python/dynamic_annotations.o Python/errors.o Python/frozenmain.o Python/fut ure.o Python/getargs.o Python/getcompiler.o Python/getcopyright.o Python/getplatform.o Python/getversion.o Python/graminit.o Python/import.o Python/importdl.o Python/marshal.o Python /modsupport.o Python/mysnprintf.o Python/mystrtoul.o Python/pathconfig.o Python/peephole.o Python/pyarena.o Python/pyctype.o Python/pyfpe.o Python/pyhash.o Python/pylifecycle.o Pytho n/pymath.o Python/pystate.o Python/context.o Python/hamt.o Python/pythonrun.o Python/pytime.o Python/bootstrap_hash.o Python/structmember.o Python/symtable.o Python/sysmodule.o Pytho n/thread.o Python/traceback.o Python/getopt.o Python/pystrcmp.o Python/pystrtod.o Python/pystrhex.o Python/dtoa.o Python/formatter_unicode.o Python/fileutils.o Python/dynload_shlib.o Modules/config.o Modules/getpath.o Modules/main.o Modules/gcmodule.o Modules/posixmodule.o Modules/errnomodule.o Modules/pwdmodule.o Modules/_sre.o Modules/_codecsmodule.o Modules/_ weakref.o Modules/_functoolsmodule.o Modules/_operator.o Modules/_collectionsmodule.o Modules/_abc.o Modules/itertoolsmodule.o Modules/atexitmodule.o Modules/signalmodule.o Modules/_ stat.o Modules/timemodule.o Modules/_threadmodule.o Modules/_localemodule.o Modules/_iomodule.o Modules/iobase.o Modules/fileio.o Modules/bytesio.o Modules/bufferedio.o Modules/texti o.o Modules/stringio.o Modules/zipimport.o Modules/faulthandler.o Modules/_tracemalloc.o Modules/hashtable.o Modules/symtablemodule.o Modules/xxsubtype.o Python/frozen.o /usr/libexec/gcc/x86_64-pc-linux-gnu/10.0.0-pre/lto-wrapper -fresolution=-lm.res -flinker-output=dyn Modules/getbuildinfo.o Parser/acceler.o Parser/grammar1.o Parser/listnode.o P arser/node.o Parser/parser.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Parser/myreadline.o Parser/parsetok.o Parser/tokenizer.o Objects/a bstract.o Objects/accu.o Objects/boolobject.o Objects/bytes_methods.o Objects/bytearrayobject.o Objects/bytesobject.o Objects/call.o Objects/cellobject.o Objects/classobject.o Object s/codeobject.o Objects/complexobject.o Objects/descrobject.o Objects/enumobject.o Objects/exceptions.o Objects/genobject.o Objects/fileobject.o Objects/floatobject.o Objects/frameobj ect.o Objects/funcobject.o Objects/iterobject.o Objects/listobject.o Objects/longobject.o Objects/dictobject.o Objects/odictobject.o Objects/memoryobject.o Objects/methodobject.o Obj ects/moduleobject.o Objects/namespaceobject.o Objects/object.o Objects/obmalloc.o Objects/capsule.o Objects/rangeobject.o Objects/setobject.o Objects/sliceobject.o Objects/structseq. o Objects/tupleobject.o Objects/typeobject.o Objects/unicodeobject.o Objects/unicodectype.o Objects/weakrefobject.o Python/_warnings.o Python/Python-ast.o Python/asdl.o Python/ast.o Python/ast_opt.o Python/ast_unparse.o Python/bltinmodule.o Python/ceval.o Pyt
[Bug bootstrap/92301] New: bootstrap internal compiler error: Aborted free(): invalid next size (fast)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92301 Bug ID: 92301 Summary: bootstrap internal compiler error: Aborted free(): invalid next size (fast) Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: jan at jki dot io Target Milestone: --- gcc bootstrapped with -O3 seems to be broken at the moment. flags are: "-march=skylake -g1 -O2" latest trunk If I compile with -O2 it works COLLECT_GCC_OPTIONS='-B' '/var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/build/./gcc/' '-B' '/usr/x86_64-pc-linux-gnu/bin/' '-B' '/usr/x86_64-pc-linux-gnu/lib/' '-isystem' '/usr/ /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/build/./gcc/cc1 -fpreprocessed conftest.i -quiet -dumpbase conftest.c -march=skylake -auxbase conftest -g -g1 -O2 -O3 -version -fn GNU C17 (Gentoo 10.0.0_pre) version 10.0.0-pre 20191031 (experimental) (x86_64-pc-linux-gnu) compiled by GNU C version 10.0.0-pre 20191031 (experimental), GMP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.21-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU C17 (Gentoo 10.0.0_pre) version 10.0.0-pre 20191031 (experimental) (x86_64-pc-linux-gnu) compiled by GNU C version 10.0.0-pre 20191031 (experimental), GMP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.21-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: fa416f315144141f16c1f6d6e3d5dca9 free(): invalid next size (fast) during RTL pass: ree conftest.c: In function 'main': conftest.c:16:1: internal compiler error: Aborted 16 | } | ^ 0x7fa14496770f ??? /var/tmp/portage/sys-libs/glibc-2.30/work/glibc-2.30/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0 0x7fa14496766a __GI_raise ../sysdeps/unix/sysv/linux/raise.c:51 0x7fa14491855b __GI_abort /var/tmp/portage/sys-libs/glibc-2.30/work/glibc-2.30/stdlib/abort.c:79 0x7fa1449a682c __libc_message ../sysdeps/posix/libc_fatal.c:181 0x7fa1449ae519 malloc_printerr /var/tmp/portage/sys-libs/glibc-2.30/work/glibc-2.30/malloc/malloc.c:5341 0x7fa144939c20 _int_free /var/tmp/portage/sys-libs/glibc-2.30/work/glibc-2.30/malloc/malloc.c:4252 0x7fa144939c20 __GI___libc_free /var/tmp/portage/sys-libs/glibc-2.30/work/glibc-2.30/malloc/malloc.c:3127 0x7fa1449495eb __libc_start_main ../csu/libc-start.c:308 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report.
[Bug lto/92259] ICE with lto and auto-profile cp/mangle.c:1641 write_closure_type_name
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92259 --- Comment #1 from Jan --- Created attachment 47121 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47121=edit gcov file
[Bug lto/92259] New: ICE with lto and auto-profile cp/mangle.c:1641 write_closure_type_name
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92259 Bug ID: 92259 Summary: ICE with lto and auto-profile cp/mangle.c:1641 write_closure_type_name Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: jan at jki dot io CC: marxin at gcc dot gnu.org Target Milestone: --- Created attachment 47120 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47120=edit preprocessed source COLLECT_GCC_OPTIONS='-D' 'HAVE_CONFIG_H' '-I' '.' '-I' '/var/tmp/portage/media-libs/harfbuzz-2.6.2/work/harfbuzz-2.6.2/src' '-I' '..' '-pthread' '-I' '/usr/include/glib-2.0' '-I' '/usr/lib64/glib-2.0/include' '-I' '/usr/include/freetype2' '-I' '/usr/include/harfbuzz' '-I' '/usr/include/glib-2.0' '-I' '/usr/lib64/glib-2.0/include' '-D' 'HB_NDEBUG' '-fno-rtt i' '-pipe' '-march=skylake' '-O1' '-g' '-v' '-save-temps' '-fPIC' '-flto' '-fauto-profile=/usr/src/gcov/media-libs/harfbuzz.gcov' '-fno-strict-aliasing' '-std=c++14' '-fno-excepti ons' '-fno-threadsafe-statics' '-fvisibility-inlines-hidden' '-c' '-shared-libgcc' /usr/libexec/gcc/x86_64-pc-linux-gnu/10.0.0-pre/cc1plus -fpreprocessed hb-ot-layout.ii -quiet -dumpbase hb-ot-layout.cc -march=skylake -auxbase hb-ot-layout -g -O1 -std=c++14 -version -fno-rtti -fPIC -flto -fauto-profile=/usr/src/gcov/media-libs/harfbuzz.gcov -fno-strict-aliasing -fno-exceptions -fno-threadsafe-statics -fvisibility-inlines-hidden -o h b-ot-layout.s GNU C++14 (Gentoo 10.0.0_pre) version 10.0.0-pre 20191028 (experimental) (x86_64-pc-linux-gnu) compiled by GNU C version 10.0.0-pre 20191028 (experimental), GMP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.21-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU C++14 (Gentoo 10.0.0_pre) version 10.0.0-pre 20191028 (experimental) (x86_64-pc-linux-gnu) compiled by GNU C version 10.0.0-pre 20191028 (experimental), GMP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.21-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 437eac8c0b7590909de6c19d5daad7d0 during GIMPLE pass: einline ‘ In file included from /var/tmp/portage/media-libs/harfbuzz-2.6.2/work/harfbuzz-2.6.2/src/hb.hh:608, from /var/tmp/portage/media-libs/harfbuzz-2.6.2/work/harfbuzz-2.6.2/src/hb-ot-layout.cc:31: in pp_format, at pretty-print.c:1394 372 | hb_map_iter_t (const Iter& it, Proj f_) : it (it), f (f_) {} | ^ 0xe9cb30 pp_format(pretty_printer*, text_info*) /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/pretty-print.c:1394 0xe9dc54 pp_format_verbatim(pretty_printer*, text_info*) /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/pretty-print.c:1452 0xe9dc33 pp_verbatim(pretty_printer*, char const*, ...) /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/pretty-print.c:1672 0x5f28d1 print_instantiation_full_context /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/cp/error.c:3491 0x5f28d1 maybe_print_instantiation_context /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/cp/error.c:3639 0x14a382d default_tree_diagnostic_starter /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/tree-diagnostic.c:48 0x13cdf4b diagnostic_report_diagnostic(diagnostic_context*, diagnostic_info*) /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/diagnostic.c:1058 0x13cdbfd diagnostic_impl /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/diagnostic.c:1201 0xe97cb4 internal_error(char const*, ...) /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/diagnostic.c:1582 0x8e25fd crash_signal /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/toplev.c:326 0x7f8fbf3e9b8f ??? /var/tmp/portage/sys-libs/glibc-2.30/work/glibc-2.30/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0 0x605ead write_closure_type_name /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/cp/mangle.c:1641 0x605ead write_unqualified_name /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/cp/mangle.c:1407 0xf2c4cd write_local_name /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/cp/mangle.c:2004 0xf2c4cd write_name /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/cp/mangle.c:962 0xf2ef6f write_class_enum_type /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/cp/mangle.c:2755 0xf2ef6f write_type /var/tmp/portage/sy
[Bug tree-optimization/92228] New: ICE in vectorizable_reduction, at tree-vect-loop.c:5730
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92228 Bug ID: 92228 Summary: ICE in vectorizable_reduction, at tree-vect-loop.c:5730 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jan at jki dot io Target Milestone: --- Created attachment 47115 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47115=edit preprocessed source gcc is version 10 and commit e1ad18d892a13ce7a39d088c01ed7f32f7ba COLLECT_GCC_OPTIONS='-D' 'ZEND_ENABLE_STATIC_TSRMLS_CACHE=1' '-I' 'ext/opcache/' '-I' '/var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli/ext/opcache/' '-D' 'PHP_ATOM_INC' '-I' '/var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli/include' '-I' '/var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli/main' '-I' '/var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli' '-I' '/var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli/ext/date/lib' '-I' '/usr/include/libxml2' '-I' '/usr/include/freetype2' '-I' '/usr/include/harfbuzz' '-I' '/usr/include/glib-2.0' '-I' '/usr/lib64/glib-2.0/include' '-I' '/var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli/ext/mbstring/libmbfl' '-I' '/var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli/ext/mbstring/libmbfl/mbfl' '-I' '/usr/include/pspell' '-I' '/var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli/ext/zip/lib' '-I' '/var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli/TSRM' '-I' '/var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli/Zend' '-D' '_REENTRANT' '-pthread' '-I' '/usr/include' '-pipe' '-march=skylake' '-O3' '-g' '-v' '-save-temps' '-fuse-ld=bfd' '-fvisibility=hidden' '-pthread' '-D' 'ZTS' '-D' 'ZEND_SIGNALS' '-c' /usr/libexec/gcc/x86_64-pc-linux-gnu/10.0.0-pre/cc1 -fpreprocessed dfa_pass.i -quiet -dumpbase dfa_pass.c -march=skylake -auxbase dfa_pass -g -O3 -version -fuse-ld=bfd -fvisibility=hidden -o dfa_pass.s GNU C17 (Gentoo 10.0.0_pre) version 10.0.0-pre 20191025 (experimental) (x86_64-pc-linux-gnu) compiled by GNU C version 10.0.0-pre 20191025 (experimental), GMP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.21-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU C17 (Gentoo 10.0.0_pre) version 10.0.0-pre 20191025 (experimental) (x86_64-pc-linux-gnu) compiled by GNU C version 10.0.0-pre 20191025 (experimental), GMP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.21-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 214bc0594d89b21e03201165e89f3352 during GIMPLE pass: vect /var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli/ext/opcache/Optimizer/dfa_pass.c: In function ‘zend_ssa_unlink_block.part.0’: /var/tmp/portage/dev-lang/php-7.3.11/work/sapis-build/cli/ext/opcache/Optimizer/dfa_pass.c:654:13: internal compiler error: in vectorizable_reduction, at tree-vect-loop.c:5730 654 | static void zend_ssa_unlink_block(zend_op_array *op_array, zend_ssa *ssa, zend_basic_block *block, int block_num) | ^ 0x92e9e4 vectorizable_reduction(_stmt_vec_info*, _slp_tree*, _slp_instance*, vec*) /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/tree-vect-loop.c:5730 0x138f144 vect_analyze_loop_operations /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/tree-vect-loop.c:1560 0x138f144 vect_analyze_loop_2 /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/tree-vect-loop.c:2079 0x138f144 vect_analyze_loop(loop*, _loop_vec_info*, vec_info_shared*) /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/tree-vect-loop.c:2367 0x139cc5e try_vectorize_loop_1 /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/tree-vectorizer.c:886 0x139c824 vectorize_loops() /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/tree-vectorizer.c:1114 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://bugs.gentoo.org/> for instructions.
[Bug tree-optimization/92111] [10 Regression] ICE during GIMPLE pass: dom
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92111 --- Comment #8 from Jan --- gcc is version 10.0.0 git revision e04a052b62e09874b0d61a217a5eb5b6eae5cdc5 CFLAGS=-pipe -march=native -O2 -fno-semantic-interposition -flto -v -save-temps /usr/libexec/gcc/x86_64-pc-linux-gnu/10.0.0-pre/lto1 -march=skylake -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mmovbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mno-lwp -mfma -mno-fma4 -mno-xop -mbmi -msgx -mbmi2 -mno-pconfig -mno-wbnoinvd - mno-tbm -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mrtm -mhle -mrdrnd -mf16c -mfsgsbase -mrdseed -mprfchw -madx -mfxsr -mxsave -mxsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mclflushopt -mxsavec -mxsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-avx5124fmaps -mno-avx5124vnniw -mno-clwb -mno-mw aitx -mno-clzero -mno-pku -mno-rdpid -mno-gfni -mno-shstk -mno-avx512vbmi2 -mno-avx512vnni -mno-vaes -mno-vpclmulqdq -mno-avx512bitalg -mno-movdiri -mno-movdir64b -mno-waitpkg -mno-cldemote -mno-ptwrite -mno-avx512bf16 -mno-enqcmd -mno-avx512vp2intersect -quiet -dumpdir ./ -dumpbase libQt5Gui.so.5.12.5.ltrans12 -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-ss e4a -mcx16 -msahf -mmovbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mno-lwp -mfma -mno-fma4 -mno-xop -mbmi -msgx -mbmi2 -mno-pconfig -mno-wbnoinvd -mno-tbm -mavx -mavx2 -msse4.2 -mlzcnt -mrtm -mhle -mrdrnd -mf16c -mfsgsbase -mrdseed -mprfchw -madx -mfxsr -mxsave -mxsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mclflushopt -mxsavec -mxsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-avx5124fmaps -mno-avx5124vnniw -mno-clwb -mno-mwaitx -mno-clzero -mno-pku -mno-rdpid -mno-gfni -mno-shstk -mno-avx512vbmi2 -mno-avx512vnni -mno-vaes -mno-vpclmulqdq -mno-avx512bitalg -mno-movdiri -mno-movdir64b -mno-waitpkg -mno-cldemote -mno-ptwrite -mno-avx512bf16 -mno-enqc md -mno-avx512vp2intersect -mtune=skylake -msse4.1 -auxbase-strip libQt5Gui.so.5.12.5.ltrans12.ltrans.o -O2 -O2 -version -fno-openmp -fno-openacc -fPIC -fno-semantic-interposition -fuse-ld=gold -fltrans @/var/tmp/portage/dev-qt/qtgui-5.12.5/temp/ccDJPKT5 -o libQt5Gui.so.5.12.5.ltrans12.s GNU GIMPLE (Gentoo 10.0.0_pre) version 10.0.0-pre 20191023 (experimental) (x86_64-pc-linux-gnu) compiled by GNU C version 10.0.0-pre 20191023 (experimental), GMP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.21-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU GIMPLE (Gentoo 10.0.0_pre) version 10.0.0-pre 20191023 (experimental) (x86_64-pc-linux-gnu) compiled by GNU C version 10.0.0-pre 20191023 (experimental), GMP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.21-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 during GIMPLE pass: dom vulkan/qvulkanwindow.cpp: In member function ‘createTransientImage’: vulkan/qvulkanwindow.cpp:1289:6: internal compiler error: Segmentation fault 1289 | bool QVulkanWindowPrivate::createTransientImage(VkFormat format, | ^ 0x7c0679 crash_signal /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/toplev.c:326 0x7f7fdda1770f ??? /var/tmp/portage/sys-libs/glibc-2.30/work/glibc-2.30/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0 0x11175e1 top_bit_of /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/wide-int.cc:423 0x11175e1 wi::sub_large(long*, long const*, unsigned int, long const*, unsigned int, unsigned int, signop, wi::overflow_type*) /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/wide-int.cc:1553 0x122e8f9 wi::binary_traits, generic_wide_int, wi::int_traits >::precision_type, wi::int_traits >::precision_type>::result_type wi::sub, generic_wide_int >(generic_wide_int const&, generic_wide_int const&) /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/wide-int.h:2537 0x122e8f9 operator_cast::fold_range(tree_node*, value_range_base const&, value_range_base const&) const /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/range-op.cc:1578 0x10d81f8 range_fold_unary_expr(value_range_base*, tree_code, tree_node*, value_range_base const*, tree_node*) /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/tree-vrp.c:1956 0x110c1fd vr_values::extract_range_from_unary_expr(value_range*, tree_code, tree_node*, tree_node*) /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/vr-values.c:934 0x1109287 vr_values::extract_range_from_assignment(value_range*, gassign*) /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/vr-values.c:1471 0x1109287 vr_values::vrp_visit_assignment_or_call(gimple*, tree_node**, value_range*)
[Bug tree-optimization/92111] [10 Regression] ICE during GIMPLE pass: dom
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92111 --- Comment #6 from Jan --- -fno-semantic-interposition with -flto seems to be the culprit if I drop either compile works fine. minimum cflags for error: -march=native -O2 -flto -fno-semantic-interposition
[Bug tree-optimization/92111] [10 Regression] ICE during GIMPLE pass: dom
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92111 Jan changed: What|Removed |Added Attachment #47043|0 |1 is obsolete|| --- Comment #4 from Jan --- Created attachment 47057 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47057=edit preprocessed source wrong initial tarball
[Bug tree-optimization/92111] ICE during GIMPLE pass: dom
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92111 --- Comment #1 from Jan --- Only happens with lto
[Bug tree-optimization/92111] New: ICE during GIMPLE pass: dom
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92111 Bug ID: 92111 Summary: ICE during GIMPLE pass: dom Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jan at jki dot io Target Milestone: --- Created attachment 47043 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47043=edit preprocessed source during GIMPLE pass: dom ^[[01m^[[Kvulkan/qvulkanwindow.cpp:^[[m^[[K In member function ‘^[[01m^[[KcreateTransientImage^[[m^[[K’: ^[[01m^[[Kvulkan/qvulkanwindow.cpp:1289:6:^[[m^[[K ^[[01;31m^[[Kinternal compiler error: ^[[m^[[KSegmentation fault 1289 | bool QVulkanWindowPrivate::createTransientImage(VkFormat format, | ^[[01;31m^[[K^^[[m^[[K 0x7be519 crash_signal /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/toplev.c:326 0x7f5760f34b8f ??? /var/tmp/portage/sys-libs/glibc-2.30/work/glibc-2.30/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0 0x110d221 top_bit_of /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/wide-int.cc:423 0x110d221 wi::sub_large(long*, long const*, unsigned int, long const*, unsigned int, unsigned int, signop, wi::overflow_type*) /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/wide-int.cc:1553 0x12241db wi::binary_traits, generic_wide_int, wi::int_traits >::precision_type, wi::int_tr /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/wide-int.h:2537 0x12241db operator_cast::fold_range(tree_node*, value_range_base const&, value_range_base const&) const /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/range-op.cc:1578 0x10ce178 range_fold_unary_expr(value_range_base*, tree_code, tree_node*, value_range_base const*, tree_node*) /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/tree-vrp.c:1938 0x1101dfd vr_values::extract_range_from_unary_expr(value_range*, tree_code, tree_node*, tree_node*) /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/vr-values.c:934 0x10fef07 vr_values::extract_range_from_assignment(value_range*, gassign*) /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/vr-values.c:1471 0x10fef07 vr_values::vrp_visit_assignment_or_call(gimple*, tree_node**, value_range*) /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/vr-values.c:2090 0x10fef07 vr_values::extract_range_from_stmt(gimple*, edge_def**, tree_node**, value_range*) /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/vr-values.c:2822 0x11e84f3 evrp_range_analyzer::record_ranges_from_stmt(gimple*, bool) /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/gimple-ssa-evrp-analyze.c:307 0x10b003a record_temporary_equivalences_from_stmts_at_dest /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/tree-ssa-threadedge.c:293 0x10af2a0 thread_through_normal_block /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/tree-ssa-threadedge.c:1062 0x10ae64d thread_across_edge /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/tree-ssa-threadedge.c:1260 0x10ae1d8 thread_outgoing_edges(basic_block_def*, gcond*, const_and_copies*, avail_exprs_stack*, evrp_range_analyzer*, tree_node* (*)(gimple*, gimple*, avail_exprs_stack*, basic_b /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/tree-ssa-threadedge.c:1464 0x101d0a5 dom_opt_dom_walker::after_dom_children(basic_block_def*) /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/tree-ssa-dom.c:1549 0x11dc081 dom_walker::walk(basic_block_def*) /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/domwalk.c:352 0x10179cf execute /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/tree-ssa-dom.c:724 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://bugs.gentoo.org/> for instructions. lto-wrapper: fatal error: x86_64-pc-linux-gnu-g++ returned 1 exit status compilation terminated.
[Bug ipa/92109] New: ICE in modify_call_stmt, at ipa-param-manipulation.c:1586
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92109 Bug ID: 92109 Summary: ICE in modify_call_stmt, at ipa-param-manipulation.c:1586 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: jan at jki dot io CC: marxin at gcc dot gnu.org Target Milestone: --- ICE while compiling kjsembed with lto and -O3 /usr/libexec/gcc/x86_64-pc-linux-gnu/10.0.0-pre/lto1 -march=skylake -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mmovbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mno-lwp -mfma -mno-fma4 -mno-xop -mbmi -msgx -mbmi2 -mno-pconfig -mno-wbnoinvd -mno-tbm -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mrtm -mhle -mrdrnd -mf16c -mfsgsbase -mrdseed -mprfchw -madx -mfxsr -mxsave -mxsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mclflushopt -mxsavec -mxsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-avx5124fmaps -mno-avx5124vnniw -mno-clwb -mno-mwaitx -mno-clzero -mno-pku -mno-rdpid -mno-gfni -mno-shstk -mno-avx512vbmi2 -mno-avx512vnni -mno-vaes -mno-vpclmulqdq -mno-avx512bitalg -mno-movdiri -mno-movdir64b -mno-waitpkg -mno-cldemote -mno-ptwrite -mno-avx512bf16 -mno-enqcmd -mno-avx512vp2intersect -quiet -dumpdir bin/ -dumpbase libKF5JsEmbed.so.5.63.0.ltrans6 -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mmovbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mno-lwp -mfma -mno-fma4 -mno-xop -mbmi -msgx -mbmi2 -mno-pconfig -mno-wbnoinvd -mno-tbm -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mrtm -mhle -mrdrnd -mf16c -mfsgsbase -mrdseed -mprfchw -madx -mfxsr -mxsave -mxsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mclflushopt -mxsavec -mxsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-avx5124fmaps -mno-avx5124vnniw -mno-clwb -mno-mwaitx -mno-clzero -mno-pku -mno-rdpid -mno-gfni -mno-shstk -mno-avx512vbmi2 -mno-avx512vnni -mno-vaes -mno-vpclmulqdq -mno-avx512bitalg -mno-movdiri -mno-movdir64b -mno-waitpkg -mno-cldemote -mno-ptwrite -mno-avx512bf16 -mno-enqcmd -mno-avx512vp2intersect -mtune=skylake -mfpmath=sse -mtls-dialect=gnu2 -auxbase-strip libKF5JsEmbed.so.5.63.0.ltrans6.ltrans.o -g -g -g -O3 -O3 -O3 -Wextra -Wcast-align -Werror=return-type -Wpedantic -version -fdiagnostics-color=always -fno-openmp -fno-openacc -fno-common -fPIC -fno-exceptions -fltrans @/tmp/cc3qb0GE -o libKF5JsEmbed.so.5.63.0.ltrans6.s GNU GIMPLE (Gentoo 10.0.0_pre) version 10.0.0-pre 20191015 (experimental) (x86_64-pc-linux-gnu) compiled by GNU C version 10.0.0-pre 20191015 (experimental), GMP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.21-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 during IPA pass: materialize-all-clones In function ‘throwError.constprop.isra’: lto1: internal compiler error: in modify_call_stmt, at ipa-param-manipulation.c:1586 0x6c35a5 ipa_param_body_adjustments::modify_call_stmt(gcall**) /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/ipa-param-manipulation.c:1586 0xfc8c2f remap_gimple_stmt /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/tree-inline.c:1921 0xfc67fc copy_bb /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/tree-inline.c:1996 0xfc67fc copy_cfg_body /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/tree-inline.c:2983 0xfc67fc copy_body /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/tree-inline.c:3231 0x13512a9 tree_function_versioning(tree_node*, tree_node*, vec*, ipa_param_adjustments*, bool, bitmap_head*, basic_block_def*) /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/tree-inline.c:6274 0xe0b6cd cgraph_materialize_clone /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/cgraphclones.c:1020 0xe0b6cd symbol_table::materialize_all_clones() /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/cgraphclones.c:1107 0x1318b8c execute /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/ipa.c:1396 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://bugs.gentoo.org/> for instructions. lto-wrapper: fatal error: /usr/x86_64-pc-linux-gnu/gcc-bin/10.0.0-pre/x86_64-pc-linux-gnu-g++ returned 1 exit status compilation terminated.
[Bug middle-end/92063] [10 Regression] ICE in operation_could_trap_p, at tree-eh.c:2528 when compiling Python's Python/_warnings.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92063 --- Comment #8 from Jan --- Fix works for me
[Bug middle-end/92063] [10 Regression] ICE in operation_could_trap_p, at tree-eh.c:2528 when compiling Python's Python/_warnings.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92063 --- Comment #4 from Jan --- Created attachment 47019 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47019=edit preprocessed source
[Bug target/77918] S390: Floating point comparisons don't raise invalid for unordered operands.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77918 --- Comment #12 from Jan --- ups wrong bug sry
[Bug target/77918] S390: Floating point comparisons don't raise invalid for unordered operands.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77918 Jan changed: What|Removed |Added CC||jan at jki dot io --- Comment #10 from Jan --- Created attachment 47018 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47018=edit preprocessed source
[Bug middle-end/92063] [10 Regression] ICE in operation_could_trap_p, at tree-eh.c:2528 when compiling Python's Python/_warnings.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92063 Jan changed: What|Removed |Added CC||jan at jki dot io --- Comment #3 from Jan --- Same problem here is the backtrace: COLLECT_GCC_OPTIONS='-pthread' '-c' '-Wsign-compare' '-D' 'NDEBUG' '-v' '-save-temps' '-pipe' '-march=native' '-O3' '-fwrapv' '-std=c99' '-Wextra' '-Wno-unused-result' '-Wno-unuse d-parameter' '-Wno-missing-field-initializers' '-Wno-cast-function-type' '-Werror=implicit-function-declaration' '-I' '.' '-I' './Include' '-I' '/usr/include/ncursesw' '-fPIC' '-D ' 'Py_BUILD_CORE' '-o' 'Python/_warnings.o' /usr/libexec/gcc/x86_64-pc-linux-gnu/10.0.0-pre/cc1 -fpreprocessed _warnings.i -march=skylake-avx512 -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mm ovbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mno-lwp -mfma -mno-fma4 -mno-xop -mbmi -mno-sgx -mbmi2 -mno-pconfig -mno-wbnoinvd -mno-tbm -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mrt m -mhle -mrdrnd -mf16c -mfsgsbase -mrdseed -mprfchw -madx -mfxsr -mxsave -mxsaveopt -mavx512f -mno-avx512er -mavx512cd -mno-avx512pf -mno-prefetchwt1 -mclflushopt -mxsavec -mxsave s -mavx512dq -mavx512bw -mavx512vl -mno-avx512ifma -mno-avx512vbmi -mno-avx5124fmaps -mno-avx5124vnniw -mclwb -mno-mwaitx -mno-clzero -mno-pku -mno-rdpid -mno-gfni -mno-shstk -mno -avx512vbmi2 -mno-avx512vnni -mno-vaes -mno-vpclmulqdq -mno-avx512bitalg -mno-movdiri -mno-movdir64b -mno-waitpkg -mno-cldemote -mno-ptwrite -mno-avx512bf16 -mno-enqcmd -mno-avx51 2vp2intersect --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=14080 -mtune=skylake-avx512 -quiet -dumpbase _warnings.c -auxbase-strip Python/_warnings .o -O3 -Wsign-compare -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wno-cast-function-type -Werror=implicit-function-declaration -std=c99 -vers ion -fwrapv -fPIC -o _warnings.s GNU C99 (Gentoo 10.0.0_pre) version 10.0.0-pre 20191011 (experimental) (x86_64-pc-linux-gnu) compiled by GNU C version 10.0.0-pre 20191011 (experimental), GMP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.21-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU C99 (Gentoo 10.0.0_pre) version 10.0.0-pre 20191011 (experimental) (x86_64-pc-linux-gnu) compiled by GNU C version 10.0.0-pre 20191011 (experimental), GMP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.21-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 0221118538dfe651be51fb82b7b0281e Python/_warnings.c: In function ‘setup_context’: Python/_warnings.c:753:13: internal compiler error: in operation_could_trap_p, at tree-eh.c:2528 753 | ascii_lower(PyUnicode_READ(kind, data, len-1)) == 'c') | ^ 0x8859dd operation_could_trap_p(tree_code, bool, bool, tree_node*) /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/tree-eh.c:2528 0x8859dd operation_could_trap_p(tree_code, bool, bool, tree_node*) /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/tree-eh.c:2518 0x8859dd tree_could_trap_p(tree_node*) /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/tree-eh.c:2635 0xf419c1 simple_operand_p_2 /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/fold-const.c:4451 0xf3dfdf fold_truth_andor /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/fold-const.c:8290 0xf32048 fold_binary_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*) /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/fold-const.c:10606 0xf30f29 fold_build2_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*) /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/fold-const.c:12382 0xe75b80 c_fully_fold_internal /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/c/c-fold.c:535 0xe75a8d c_fully_fold_internal /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/c/c-fold.c:513 0xe75a8d c_fully_fold_internal /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/c/c-fold.c:513 0xe74fcc c_fully_fold(tree_node*, bool, bool*, bool) /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/c/c-fold.c:125 0x133862b c_parser_condition /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/c/c-parser.c:5677 0x13385ae c_parser_paren_condition /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc-10.0.0_pre/gcc/c/c-parser.c:5695 0xe724c1 c_parser_if_statement /var/tmp/portage/sys-devel/gcc-10.0.0_pre/work/gcc
[Bug c/88051] New: internal compiler error: in add_clobbers, at config/i386/sync.md:1762
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88051 Bug ID: 88051 Summary: internal compiler error: in add_clobbers, at config/i386/sync.md:1762 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: jan at jki dot io Target Milestone: --- Created attachment 45015 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45015=edit preprocessed source happens with ffmpeg 4.1 ICE seems to be related to -m32 with -march=skylake-avx512 x86_64-pc-linux-gnu-gcc -m32 -I. -Isrc/ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DZLIB_CONST -DHAVE_AV_CONFIG_H -DBUILDING_avcodec -march=skylake-avx512 -std=c11 -fPIC -pthread -I/usr/include/bs2b -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include -I/usr/include/opus -I/usr/include/opus -D_REENTRANT -pthread -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/alsa -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-bool-operation -pipe -g -fuse-linker-plugin -O2 -Werror=format-security -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=vla -Wformat -fdiagnostics-color=auto -Wno-maybe-uninitialized -D_REENTRANT -I/usr/include/SDL2 -mfpmath=both -MMD -MF libavcodec/ffv1enc.d -MT libavcodec/ffv1enc.o -save-temps -c -o libavcodec/ffv1enc.o src/libavcodec/ffv1enc.c during RTL pass: combine src/libavcodec/ffv1enc.c: In function ‘encode_init’: src/libavcodec/ffv1enc.c:919:1: internal compiler error: in add_clobbers, at config/i386/sync.md:1762 919 | } | ^ 0x12616da add_clobbers(rtx_def*, int) /var/tmp/portage/sys-devel/gcc-9.0.0_pre/work/gcc-9.0.0-/gcc/config/i386/sync.md:1762 0x1057fe0 recog_for_combine_1 /var/tmp/portage/sys-devel/gcc-9.0.0_pre/work/gcc-9.0.0-/gcc/combine.c:11451 0x1057fe0 recog_for_combine /var/tmp/portage/sys-devel/gcc-9.0.0_pre/work/gcc-9.0.0-/gcc/combine.c:11651 0x104f29d try_combine /var/tmp/portage/sys-devel/gcc-9.0.0_pre/work/gcc-9.0.0-/gcc/combine.c:4132 0x128d1e9 combine_instructions /var/tmp/portage/sys-devel/gcc-9.0.0_pre/work/gcc-9.0.0-/gcc/combine.c:1301 0x128d1e9 rest_of_handle_combine /var/tmp/portage/sys-devel/gcc-9.0.0_pre/work/gcc-9.0.0-/gcc/combine.c:14993 0x128d1e9 execute /var/tmp/portage/sys-devel/gcc-9.0.0_pre/work/gcc-9.0.0-/gcc/combine.c:15038 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report.
[Bug lto/85759] ICE output_profile_summary, at lto-cgraph.c:706 using -profile-use
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85759 --- Comment #12 from Jan --- And yes I use a gentoo system. But I'm using the gcc patches from clear linux but this bug doesn't seem relate to that.
[Bug lto/85759] ICE output_profile_summary, at lto-cgraph.c:706 using -profile-use
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85759 --- Comment #11 from Jan --- I can reproduce it with vanilla gcc 8.1.0 no patches applied.
[Bug lto/85759] ICE output_profile_summary, at lto-cgraph.c:706 using -profile-use
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85759 --- Comment #9 from Jan --- I'm using the clear linux gcc version well atleast the patches. Maybe thats the culprit. https://clearlinux.org/ But it should be easy to run that in a container. I reverted some of the patches and rebuild gcc. I will report if that solved the problem an what patch made the problems.
[Bug lto/85759] ICE output_profile_summary, at lto-cgraph.c:706 using -profile-use
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85759 --- Comment #7 from Jan --- I added the option same ICE.
[Bug lto/85759] ICE output_profile_summary, at lto-cgraph.c:706 using -profile-use
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85759 --- Comment #4 from Jan --- Created attachment 44127 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44127=edit preproccessed source and gcda
[Bug lto/85759] New: ICE output_profile_summary, at lto-cgraph.c:706 using -profile-use
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85759 Bug ID: 85759 Summary: ICE output_profile_summary, at lto-cgraph.c:706 using -profile-use Product: gcc Version: 8.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: jan at jki dot io CC: marxin at gcc dot gnu.org Target Milestone: --- GCC is build from the latest gcc-8-branch The bash source is version 4.4. /usr/libexec/gcc/x86_64-pc-linux-gnu/8.1.0/cc1 -fpreprocessed alias.i -march=skylake-avx512 -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mmovbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mno-lwp -mfma -mno-fma4 -mno-xop -mbmi -mno-sgx -mbmi2 -mno-pconfig -mno-wbnoinvd -mno-tbm -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mrtm -mhle -mrdrnd -mf16c -mfsgsbase -mrdseed -mprfchw -madx -mfxsr -mxsave -mxsaveopt -mavx512f -mno-avx512er -mavx512cd -mno-avx512pf -mno-prefetchwt1 -mclflushopt -mxsavec -mxsaves -mavx512dq -mavx512bw -mavx512vl -mno-avx512ifma -mno-avx512vbmi -mno-avx5124fmaps -mno-avx5124vnniw -mclwb -mno-mwaitx -mno-clzero -mno-pku -mno-rdpid -mno-gfni -mno-shstk -mno-avx512vbmi2 -mno-avx512vnni -mno-vaes -mno-vpclmulqdq -mno-avx512bitalg -mno-movdiri -mno-movdir64b --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=14080 -mtune=skylake-avx512 -quiet -dumpbase alias.c -mfpmath=sse -auxbase alias -g -O3 -Wno-error=coverage-mismatch -Wno-error=coverage-mismatch -Wno-error=coverage-mismatch -Wno-error=coverage-mismatch -Wno-parentheses -Wno-format-security -version -fuse-linker-plugin -fno-math-errno -ffunction-sections -fdata-sections -fno-trapping-math -fomit-frame-pointer -ftree-vectorize -funroll-loops -flto=20 -fno-fat-lto-objects -fno-semantic-interposition -fstack-check=no -fgraphite-identity -floop-interchange -floop-nest-optimize -fprofile-use=/var/tmp/portage/pgo/bash -fprofile-use=/var/tmp/portage/pgo/bash -fprofile-use=/var/tmp/portage/pgo/bash -fprofile-use=/var/tmp/portage/pgo/bash -fprofile-correction -fno-strict-aliasing --param inline-unit-growth=5 --param max-unroll-times=2 -o alias.s GNU C17 (Gentoo 8.1.0) version 8.1.0 (x86_64-pc-linux-gnu) compiled by GNU C version 8.1.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU C17 (Gentoo 8.1.0) version 8.1.0 (x86_64-pc-linux-gnu) compiled by GNU C version 8.1.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: fe6289a7bf97d1a8c7459afa30475c0b during IPA pass: pure-const ./alias.def:242:1: internal compiler error: in output_profile_summary, at lto-cgraph.c:706 } ^ 0x746fb8 output_profile_summary /var/tmp/portage/sys-devel/gcc-8.1.0/work/gcc-8.1.0/gcc/lto-cgraph.c:706 0x746fb8 output_symtab() /var/tmp/portage/sys-devel/gcc-8.1.0/work/gcc-8.1.0/gcc/lto-cgraph.c:1009 0x754e42 lto_output() /var/tmp/portage/sys-devel/gcc-8.1.0/work/gcc-8.1.0/gcc/lto-streamer-out.c:2463 0x7950df write_lto /var/tmp/portage/sys-devel/gcc-8.1.0/work/gcc-8.1.0/gcc/passes.c:2610 0x7960d1 ipa_write_summaries_1 /var/tmp/portage/sys-devel/gcc-8.1.0/work/gcc-8.1.0/gcc/passes.c:2674 0x7960d1 ipa_write_summaries() /var/tmp/portage/sys-devel/gcc-8.1.0/work/gcc-8.1.0/gcc/passes.c:2734 0x62b293 ipa_passes /var/tmp/portage/sys-devel/gcc-8.1.0/work/gcc-8.1.0/gcc/cgraphunit.c:2468 0x62b293 symbol_table::compile() /var/tmp/portage/sys-devel/gcc-8.1.0/work/gcc-8.1.0/gcc/cgraphunit.c:2558 0xe19303 symbol_table::finalize_compilation_unit() /var/tmp/portage/sys-devel/gcc-8.1.0/work/gcc-8.1.0/gcc/cgraphunit.c:2717 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://bugs.gentoo.org/> for instructions. make: *** [Makefile:119: alias.o] Error 1