[Bug testsuite/102944] Many gcc.dg/Wstringop-overflow-*.c failures

2021-11-03 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102944 --- Comment #4 from Hongtao.liu --- > I'm seeing it on 64-bit sparc, and there are also reports for > s390x-ibm-linux-gnu and m68k-unknown-linux-gnu. It may be a > coincidance, but those are all big-endian targets. There seems to be a miss

[Bug tree-optimization/103076] New: slp vectorizer failed to try smaller lenth.

2021-11-03 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103076 Bug ID: 103076 Summary: slp vectorizer failed to try smaller lenth. Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug rtl-optimization/103075] New: [12 Regression] ICE in exact_int_to_float_conversion_p, at simplify-rtx.c:905

2021-11-03 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103075 Bug ID: 103075 Summary: [12 Regression] ICE in exact_int_to_float_conversion_p, at simplify-rtx.c:905 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

[Bug target/103074] New: [11/12 Regression] ICE in lra_assign, at lra-assigns.c:1649

2021-11-03 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103074 Bug ID: 103074 Summary: [11/12 Regression] ICE in lra_assign, at lra-assigns.c:1649 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug ipa/103073] [12 Regression] ICE in insert_access, at ipa-modref-tree.h:578

2021-11-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103073 --- Comment #1 from Andrew Pinski --- >I'm not sure about the component. It is the correct one.

[Bug ipa/103073] [12 Regression] ICE in insert_access, at ipa-modref-tree.h:578

2021-11-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103073 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug ipa/103073] New: [12 Regression] ICE in insert_access, at ipa-modref-tree.h:578

2021-11-03 Thread vsevolod.livinskij at frtk dot ru via Gcc-bugs
0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /testing/gcc/gcc_src_master/configure --enable-multilib --prefix=/testing/gcc/bin_master --disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20211103 (62af7d9402f551fa708125fafed2950d8912b25e) (GCC)

[Bug middle-end/103071] Missed optimization for symmetric subset: (a & b) == a || (a & b) == b

2021-11-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103071 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug middle-end/85614] Documentation: -fdump-tree should mention "original"

2021-11-03 Thread greenrecyclebin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85614 --- Comment #3 from Daniel Le --- Created attachment 51733 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51733=edit List -fdump-tree pass options that are no longer discoverable Here's the code again without any formatting issues that

[Bug middle-end/85614] Documentation: -fdump-tree should mention "original"

2021-11-03 Thread greenrecyclebin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85614 --- Comment #2 from Daniel Le --- (In reply to Daniel Le from comment #1) > $ for i in $(!!); do \ > > if g++ -fdump-"$i" -S -o /dev/null a.cpp; then \ > > echo "$i: works."; \ > > else \ > > echo

[Bug tree-optimization/103072] New: Folding common switch code

2021-11-03 Thread llvm at rifkin dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103072 Bug ID: 103072 Summary: Folding common switch code Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug middle-end/85614] Documentation: -fdump-tree should mention "original"

2021-11-03 Thread greenrecyclebin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85614 Daniel Le Duc Khoi Nguyen changed: What|Removed |Added CC||greenrecyclebin at gmail dot

[Bug c++/96780] debuginfo for std::move and std::forward isn't useful

2021-11-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96780 --- Comment #5 from Jonathan Wakely --- Yes, from a very quick test, it does exactly what I want. As discussed on IRC, we might not want to do this folding at -O0 (although I'd personally be happy with it unconditionally).

[Bug rtl-optimization/103071] New: Missed optimization for symmetric subset: (a & b) == a || (a & b) == b

2021-11-03 Thread steinar+gcc at gunderson dot no via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103071 Bug ID: 103071 Summary: Missed optimization for symmetric subset: (a & b) == a || (a & b) == b Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity:

[Bug middle-end/103070] [12 regression] ICE in gimple_call_static_chain_flags, at gimple.c:1669

2021-11-03 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103070 Rainer Orth changed: What|Removed |Added Target Milestone|--- |12.0

[Bug middle-end/103070] New: [12 regression] ICE in gimple_call_static_chain_flags, at gimple.c:1669

2021-11-03 Thread ro at gcc dot gnu.org via Gcc-bugs
(c33a5cc9e7f1475108892abb147f9382ecbaec12) and 20211103 (600dcd74b8e614c996b492d97878660faf484094), gnat.dg/lto21.adb started to FAIL: +FAIL: gnat.dg/lto21.adb (internal compiler error) +FAIL: gnat.dg/lto21.adb (test for excess errors) Seen on Solaris 11/SPARC and x86 (32 and 64-bit). during

[Bug c++/96780] debuginfo for std::move and std::forward isn't useful

2021-11-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96780 --- Comment #4 from Patrick Palka --- Created attachment 51732 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51732=edit rough patch that folds calls to std::move/forward Does the attached rough patch help?

[Bug target/103069] cmpxchg isn't optimized

2021-11-03 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103069 --- Comment #1 from Thiago Macieira --- (the assembly doesn't match the source code, but we got your point) Another possible improvement for the __atomic_fetch_{and,nand,or} functions is that it can check whether the fetched value is already

[Bug fortran/35276] Doc should described how to compile mixed-language programs

2021-11-03 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35276 sandra at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |sandra at gcc dot

[Bug fortran/52274] [Meta-bug] Fortran translation related issues: Typos and more

2021-11-03 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52274 --- Comment #4 from Eric Gallager --- *** Bug 52279 has been marked as a duplicate of this bug. ***

[Bug fortran/52279] Fortran translation issues

2021-11-03 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52279 Eric Gallager changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/52274] [Meta-bug] Fortran translation related issues: Typos and more

2021-11-03 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52274 Eric Gallager changed: What|Removed |Added Depends on|52279 |38573, 52232, 52234, 52245,

[Bug fortran/35276] Doc should described how to compile mixed-language programs

2021-11-03 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35276 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org,

[Bug c++/103067] Tautological compare warning not appearing if the self-comparison is on object members

2021-11-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103067 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/70796] [DR 1030] Initialization order with braced-init-lists still broken

2021-11-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70796 --- Comment #6 from Jakub Jelinek --- cp_gimplify_expr uses for CALL_EXPR_REVERSE_ARGS and CALL_EXPR_ORDERED_ARGS (and for !CALL_EXPR_OPERATOR_SYNTAX method calls) gimplify_arg, but that clearly isn't enough once there are any TREE_SIDE_EFFECTS

[Bug c++/101906] Constant evaluation failure in concepts

2021-11-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101906 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED CC|

[Bug target/103069] New: cmpxchg isn't optimized

2021-11-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103069 Bug ID: 103069 Summary: cmpxchg isn't optimized Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug c++/67491] [meta-bug] concepts issues

2021-11-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 82110, which changed state. Bug 82110 Summary: Concept for default constructing works with new T, not with new T[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82110 What|Removed

[Bug c++/82110] Concept for default constructing works with new T, not with new T[1]

2021-11-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82110 Patrick Palka changed: What|Removed |Added Target Milestone|--- |12.0 Resolution|---

[Bug c++/102479] segfault when deducing class template arguments for tuple with libc++-14

2021-11-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102479 Patrick Palka changed: What|Removed |Added CC||kimhappy at hanyang dot ac.kr ---

[Bug c++/98475] Class template argument deduction for alias templates fails

2021-11-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98475 Patrick Palka changed: What|Removed |Added Resolution|--- |DUPLICATE CC|

[Bug c++/70796] [DR 1030] Initialization order with braced-init-lists still broken

2021-11-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70796 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5

[Bug c++/101219] [12 Regression] ice in perform_or_defer_access_check since r12-1804-g65870e75616ee435

2021-11-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101219 Patrick Palka changed: What|Removed |Added Target Milestone|--- |12.0 CC|

[Bug libgomp/103068] New: gomp_mutex_lock_slow isn't optimized

2021-11-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103068 Bug ID: 103068 Summary: gomp_mutex_lock_slow isn't optimized Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgomp

[Bug c++/100102] [9 Regression] ICE in tsubst, at cp/pt.c:15310

2021-11-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100102 Patrick Palka changed: What|Removed |Added CC||henrik.nortamo at csc dot fi ---

[Bug c++/100737] g++ segfaults in template substitution

2021-11-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100737 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org

[Bug c++/100739] Definition of function template doesn't match declaration

2021-11-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100739 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment

[Bug c++/102876] GCC fails to use constant initialization even when it knows the value to initialize

2021-11-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102876 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug c++/103067] Tautological compare warning not appearing if the self-comparison is on object members

2021-11-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103067 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic --- Comment #2 from

[Bug c++/100557] [concepts] Internal compiler error: Error reporting routines re-entered.

2021-11-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100557 Patrick Palka changed: What|Removed |Added Blocks||67491 Ever confirmed|0

[Bug c++/103067] Tautological compare warning not appearing if the self-comparison is on object members

2021-11-03 Thread crillion at tiscali dot it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103067 --- Comment #1 from crillion at tiscali dot it --- in object_member the comparison operator signature is bool operator==(const object_member& rhs) const

[Bug c++/103067] New: Tautological compare warning not appearing if the self-comparison is on object members

2021-11-03 Thread crillion at tiscali dot it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103067 Bug ID: 103067 Summary: Tautological compare warning not appearing if the self-comparison is on object members Product: gcc Version: 11.2.0 Status: UNCONFIRMED

[Bug rtl-optimization/102842] [10/11/12 Regression] ICE in cselib_record_set at -O2 or greater

2021-11-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102842 --- Comment #16 from CVS Commits --- The releases/gcc-10 branch has been updated by Vladimir Makarov : https://gcc.gnu.org/g:b7faffdb05aea6448b62b5d3b13009fc68dd103b commit r10-10251-gb7faffdb05aea6448b62b5d3b13009fc68dd103b Author: Vladimir

[Bug rtl-optimization/102842] [10/11/12 Regression] ICE in cselib_record_set at -O2 or greater

2021-11-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102842 --- Comment #15 from CVS Commits --- The releases/gcc-11 branch has been updated by Vladimir Makarov : https://gcc.gnu.org/g:41bea618a77dca8c1c13a3d7b883976a25d83373 commit r11-9202-g41bea618a77dca8c1c13a3d7b883976a25d83373 Author: Vladimir

[Bug target/103066] New: __sync_val_compare_and_swap/__sync_bool_compare_and_swap aren't optimized

2021-11-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103066 Bug ID: 103066 Summary: __sync_val_compare_and_swap/__sync_bool_compare_and_sw ap aren't optimized Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug libgcc/103004] [12 regression] r12-4416 breaks backtrace on PPC64 Big-endian

2021-11-03 Thread dje at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103004 David Edelsohn changed: What|Removed |Added CC||dje at gcc dot gnu.org Ever

[Bug tree-optimization/103062] [12 Regression] ICE: SIGSEGV in gimple_simplify_CONVERT_EXPR with -O2 -fno-tree-forwprop since r12-4694-gcb153222404e2e14

2021-11-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103062 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug ipa/103058] [12 Regression] ICE in gimple_call_static_chain_flags, at gimple.c:1669 when building 527.cam4_r

2021-11-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103058 --- Comment #3 from Andrew Pinski --- (In reply to Martin Liška from comment #2) > It's a fortran benchmark where I was able to reduce it to 4 object files: > radae.fppized.o quicksort.fppized.o radlw.fppized.o radsw.fppized.o Hmm, this would

[Bug tree-optimization/103063] [9/10/11/12 Regression] Wrong code while using -O3 since r7-2373-g69b806f6a60efcf1

2021-11-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103063 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.5 Summary|Wrong code

[Bug target/103065] New: [meta] atomic operations aren't optimized

2021-11-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103065 Bug ID: 103065 Summary: [meta] atomic operations aren't optimized Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: meta-bug Severity: normal Priority:

[Bug tree-optimization/103063] Wrong code while using -O3

2021-11-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103063 Martin Liška changed: What|Removed |Added CC||amker at gcc dot gnu.org,

[Bug tree-optimization/102988] ICE with -fharden-conditional-branches and C++ and pass by reference return value

2021-11-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102988 Andrew Pinski changed: What|Removed |Added CC||zsojka at seznam dot cz --- Comment #3

[Bug middle-end/103064] ICE: verify_ssa failed: RESULT_DECL should be read only when DECL_BY_REFERENCE is set with -fharden-conditional-branches

2021-11-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103064 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug ipa/103058] [12 Regression] ICE in gimple_call_static_chain_flags, at gimple.c:1669 when building 527.cam4_r

2021-11-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103058 --- Comment #2 from Martin Liška --- It's a fortran benchmark where I was able to reduce it to 4 object files: radae.fppized.o quicksort.fppized.o radlw.fppized.o radsw.fppized.o

[Bug middle-end/103064] New: ICE: verify_ssa failed: RESULT_DECL should be read only when DECL_BY_REFERENCE is set with -fharden-conditional-branches

2021-11-03 Thread zsojka at seznam dot cz via Gcc-bugs
e-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.0 20211103 (experimental) (GCC)

[Bug libstdc++/66742] abort on sorting list with custom allocator that is not stateless

2021-11-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66742 --- Comment #19 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:1e7a269856fd67aff78ac874bec96d31a54b2fd9 commit r12-4873-g1e7a269856fd67aff78ac874bec96d31a54b2fd9 Author: Jonathan Wakely

[Bug libstdc++/102962] shared locks / mutexes differ between linux and windows

2021-11-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102962 --- Comment #4 from Jonathan Wakely --- FWIW, POSIX says this for its equivalent of lock_shared: If the Thread Execution Scheduling option is not supported, it is implementation-defined whether the calling thread acquires the lock when a

[Bug libstdc++/102962] shared locks / mutexes differ between linux and windows

2021-11-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102962 --- Comment #3 from Jonathan Wakely --- (In reply to Marco Mengelkoch from comment #2) > I would understand if just the order is different or if one is much faster > than the other. We have two completely different implementations of

[Bug c/103056] attribute access "none" is not ignored as it should

2021-11-03 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103056 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug libstdc++/59675] -D_GLIBCXX_DEBUG asserts to stdout (it should stderr)

2021-11-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59675 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |12.0 Keywords|

[Bug tree-optimization/103063] New: Wrong code while using -O3

2021-11-03 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103063 Bug ID: 103063 Summary: Wrong code while using -O3 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug tree-optimization/103062] New: [12 Regression] ICE: SIGSEGV in gimple_simplify_CONVERT_EXPR with -O2 -fno-tree-forwprop

2021-11-03 Thread zsojka at seznam dot cz via Gcc-bugs
--disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r12-4872-20211103145922-g600dcd74b8e-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.0 20211103 (experimental) (GCC)

[Bug c++/102670] Erroneous "missing template arguments" message for wrapper of ADL function template

2021-11-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102670 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org

[Bug c/103031] [12 Regression] Missing static initializer folding with -frounding-math

2021-11-03 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103031 Joseph S. Myers changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c/103031] [12 Regression] Missing static initializer folding with -frounding-math

2021-11-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103031 --- Comment #3 from CVS Commits --- The master branch has been updated by Joseph Myers : https://gcc.gnu.org/g:600dcd74b8e614c996b492d97878660faf484094 commit r12-4872-g600dcd74b8e614c996b492d97878660faf484094 Author: Joseph Myers Date:

[Bug ipa/103055] [12 Regression] ICE: in get_ssa_name_flags, at ipa-modref.c:1660 with --param=modref-max-depth=0 since r12-4852-g18f0873d1e595dc2

2021-11-03 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103055 --- Comment #2 from hubicka at kam dot mff.cuni.cz --- > Confirmed, started with r12-4852-g18f0873d1e595dc2. Depth=0 means that we do no analysis at all and the assert test that some analysis was done. I suppose we could ignore depth 0 and

[Bug ipa/103058] [12 Regression] ICE in gimple_call_static_chain_flags, at gimple.c:1669 when building 527.cam4_r

2021-11-03 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103058 --- Comment #1 from hubicka at kam dot mff.cuni.cz --- > One can see it with -O2 -flto=auto -march=znver2: > > radsw.fppized.f90:39:19: internal compiler error: in > gimple_call_static_chain_flags, at gimple.c:1669 >39 | subroutine

[Bug tree-optimization/102943] [12 Regression] Jump threader compile-time hog with 521.wrf_r

2021-11-03 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102943 --- Comment #14 from rguenther at suse dot de --- On Wed, 3 Nov 2021, amacleod at redhat dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102943 > > --- Comment #13 from Andrew Macleod --- > > > > > > > > This is a large CFG,

[Bug tree-optimization/103061] [12 Regression] 527.cam4_r miscompiled with -O2 -march=znver1 since r12-4790-g4b3a325f07acebf4

2021-11-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103061 --- Comment #2 from Martin Liška --- There's dump file diff (search for 'dbgcnt'): https://gist.github.com/marxin/7eadc43d12fdefac6f5b8151a47a8684

[Bug tree-optimization/102943] [12 Regression] Jump threader compile-time hog with 521.wrf_r

2021-11-03 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102943 --- Comment #13 from Andrew Macleod --- > > > > This is a large CFG, so a linear search of a BB, is bound to be slow. > > Indeed, vec should never have gotten ::contains () ... I'd have > used a regular bitmap, not sbitmap, because we do >

[Bug tree-optimization/103061] [12 Regression] 527.cam4_r miscompiled with -O2 -march=znver1 since r12-4790-g4b3a325f07acebf4

2021-11-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103061 --- Comment #1 from Martin Liška --- The following file is miscompiled: gfortran -c -o m_MergeSorts.fppized.o -I. -Iinclude -Inetcdf/include -O2 -march=native -g -std=legacy m_MergeSorts.fppized.f90 where first bad debug counter value is:

[Bug testsuite/103051] [12 regression] new test case gcc.dg/vect/tsvc/vect-tsvc-s112.c fails in r12-4840

2021-11-03 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103051 --- Comment #3 from seurer at gcc dot gnu.org --- vect_hw_misalign is one way though it is used in the dg-final instead of dg-skip. There are lots of examples in other vect tests.

[Bug tree-optimization/103061] [12 Regression] 527.cam4_r miscompiled with -O2 -march=znver1 since r12-4790-g4b3a325f07acebf4

2021-11-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103061 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Blocks|

[Bug tree-optimization/103061] New: [12 Regression] 527.cam4_r miscompiled with -O2 -march=znver1 since r12-4790-g4b3a325f07acebf4

2021-11-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103061 Bug ID: 103061 Summary: [12 Regression] 527.cam4_r miscompiled with -O2 -march=znver1 since r12-4790-g4b3a325f07acebf4 Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c++/103060] New: Argument initialization side-effects missing: delegating from base constructor to inherited constructor from virtual base

2021-11-03 Thread hstong at ca dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103060 Bug ID: 103060 Summary: Argument initialization side-effects missing: delegating from base constructor to inherited constructor from virtual base Product: gcc

[Bug middle-end/102970] [11 Regression] stable_sort uninitialized value with -funroll-loops -fno-tree-vectorize since r11-2963-gd6a05b494b4b714e

2021-11-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102970 Richard Biener changed: What|Removed |Added Summary|[11/12 Regression] |[11 Regression] stable_sort

[Bug middle-end/102970] [11/12 Regression] stable_sort uninitialized value with -funroll-loops -fno-tree-vectorize since r11-2963-gd6a05b494b4b714e

2021-11-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102970 --- Comment #6 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:1967fd8f2197f2b0334ab0fbc26abc3d9efe56c9 commit r12-4865-g1967fd8f2197f2b0334ab0fbc26abc3d9efe56c9 Author: Richard Biener Date:

[Bug target/102986] [12 Regression] ICE: in expand_shift_1, at expmed.c:2671 with a negative shift of a vector

2021-11-03 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102986 Roger Sayle changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug middle-end/103059] [10 regression][VAX] ICE in postreload with the ASHIFT form of scaled indexed addressing

2021-11-03 Thread macro at orcam dot me.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103059 Maciej W. Rozycki changed: What|Removed |Added Last reconfirmed||2021-11-03

[Bug middle-end/103059] New: [10 regression][VAX] ICE in postreload with the ASHIFT form of scaled indexed addressing

2021-11-03 Thread macro at orcam dot me.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103059 Bug ID: 103059 Summary: [10 regression][VAX] ICE in postreload with the ASHIFT form of scaled indexed addressing Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c++/103057] Internal compiler error: Error reporting routines re-entered

2021-11-03 Thread plasmahh at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103057 --- Comment #3 from Dennis Lubert --- Yes, the original testcase is valid code that compiles fine with -w

[Bug c++/70796] [DR 1030] Initialization order with braced-init-lists still broken

2021-11-03 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70796 Jason Merrill changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug ipa/103058] ICE in gimple_call_static_chain_flags, at gimple.c:1669 when building 527.cam4_r

2021-11-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103058 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Target Milestone|---

[Bug ipa/103058] New: ICE in gimple_call_static_chain_flags, at gimple.c:1669 when building 527.cam4_r

2021-11-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103058 Bug ID: 103058 Summary: ICE in gimple_call_static_chain_flags, at gimple.c:1669 when building 527.cam4_r Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug fortran/103054] [f18] Gfortran accepts invalid and rejects valid co_reduce argument keyword name

2021-11-03 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103054 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug tree-optimization/103033] [12 regression] c-c++-common/auto-init-4.c ICEs starting with r12-4829

2021-11-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103033 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/103033] [12 regression] c-c++-common/auto-init-4.c ICEs starting with r12-4829

2021-11-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103033 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:c081d0a3b0291297f04a05c833d2ffa8de3a7a1a commit r12-4859-gc081d0a3b0291297f04a05c833d2ffa8de3a7a1a Author: Richard Biener Date:

[Bug tree-optimization/103037] [11/12 Regression] Wrong code with -O2 since r11-6100-gd41b097350d3c5d0

2021-11-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103037 --- Comment #7 from Richard Biener --- So we value number iftmp.0_15 to _3 and things start to go downhill when we PHI translate _25 / iftmp.0_10 5 -> 7 as _24 / _3 since there's too much sharing of the PRE IL used for PHI translation and the

[Bug target/103028] ICE in extract_constrain_insn, at recog.c:2670

2021-11-03 Thread krebbel at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103028 --- Comment #2 from Andreas Krebbel --- IF-convert generates the compare *after* reload. The operands get checked for validity only by invoking the predicates. That means everything which is accepted by TARGET_LEGITIMATE_CONSTANT_P is ok for a

[Bug c++/70792] Incorrect sequence point warning with uniform initializer syntax

2021-11-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70792 --- Comment #13 from Jonathan Wakely --- Thanks!

[Bug c++/70796] [DR 1030] Initialization order with braced-init-lists still broken

2021-11-03 Thread matthijsvanduin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70796 Matthijs van Duin changed: What|Removed |Added CC||matthijsvanduin at gmail dot com

[Bug driver/100937] configure: Add --enable-default-semantic-interposition

2021-11-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100937 --- Comment #9 from Jonathan Wakely --- (In reply to frankhb1989 from comment #7) > GCC and the GNU toolchain are not ELF-specific. Nor are they responsible to > the authority of the specification. That seems like nonsense to me. The toolchain

[Bug c++/70792] Incorrect sequence point warning with uniform initializer syntax

2021-11-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70792 --- Comment #11 from Jonathan Wakely --- (In reply to Matthijs van Duin from comment #10) > I'm assuming this means a new bug should be opened > about the wrong code generation? Yes please. This one is too confusing now.

[Bug c++/65866] Wrong warning when using list-initialization: operation on 'b' may be undefined [-Wsequence-point]

2021-11-03 Thread matthijsvanduin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65866 Matthijs van Duin changed: What|Removed |Added CC||matthijsvanduin at gmail dot com

[Bug ipa/103055] [12 Regression] ICE: in get_ssa_name_flags, at ipa-modref.c:1660 with --param=modref-max-depth=0 since r12-4852-g18f0873d1e595dc2

2021-11-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103055 Martin Liška changed: What|Removed |Added Last reconfirmed||2021-11-03 Priority|P3

[Bug middle-end/102970] [11/12 Regression] stable_sort uninitialized value with -funroll-loops -fno-tree-vectorize since r11-2963-gd6a05b494b4b714e

2021-11-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102970 --- Comment #5 from Richard Biener --- So it looks like while we copy the array to an allocated array successfully the call movl$10, %edx movq%rbp, %rsi leaq32(%rsp), %rdi movq%r12, 8(%rsp)

[Bug ipa/103055] New: [12 Regression] ICE: in get_ssa_name_flags, at ipa-modref.c:1660 with --param=modref-max-depth=0

2021-11-03 Thread zsojka at seznam dot cz via Gcc-bugs
el: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.0 20211103 (experimental) (GCC)

[Bug testsuite/103051] [12 regression] new test case gcc.dg/vect/tsvc/vect-tsvc-s112.c fails in r12-4840

2021-11-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103051 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Ever

[Bug testsuite/103051] [12 regression] new test case gcc.dg/vect/tsvc/vect-tsvc-s112.c fails in r12-4840

2021-11-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103051 --- Comment #1 from Martin Liška --- Mine.

[Bug ipa/103052] [9/10/11/12 Regression] Function is found to be pure looping but has a call to a noreturn function in it

2021-11-03 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103052 Jan Hubicka changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

  1   2   >