[Bug c++/101715] [11 Regression] ICE with noexcept and canonical types differ for identical types

2022-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101715 --- Comment #21 from CVS Commits --- The releases/gcc-11 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:9f2201bf48e828a7072616fff9dbd64367dcea30 commit r11-9508-g9f2201bf48e828a7072616fff9dbd64367dcea30 Author: Marek Polacek

[Bug c++/101715] [11 Regression] ICE with noexcept and canonical types differ for identical types

2022-01-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101715 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/104213] [12 Regression] bogus use-after-free in virtual dtor with -ffat-lto-objects on ARM

2022-01-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104213 --- Comment #10 from Marek Polacek --- I did but it didn't work either. So I think we need to properly propagate the suppression bits. Something like this: diff --git a/gcc/gimplify.cc b/gcc/gimplify.cc index bf2f60cce9a..0d266241b8c 100644 -

[Bug tree-optimization/101831] [11/12 Regression] Spurious maybe-uninitialized warning on std::array::size

2022-01-24 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101831 Martin Sebor changed: What|Removed |Added Known to fail||11.2.0, 12.0 Summary|Spurious

[Bug target/104213] [12 Regression] bogus use-after-free in virtual dtor with -ffat-lto-objects on ARM

2022-01-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104213 --- Comment #11 from Marek Polacek --- Obviously the 6131 if (COMPARISON_CLASS_P (*from_p)) 6132 copy_warning (assign, *from_p); doesn't work because we are not dealing with a comparison here.

[Bug debug/104194] No way to distinguish IEEE and IBM long double in debug info

2022-01-24 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104194 --- Comment #5 from Segher Boessenkool --- Abusing complex fp, what a dastardly plan! :-)

[Bug tree-optimization/104215] New: bogus -Wuse-after-free=3 due to forwprop moving a pointer test after realloc

2022-01-24 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104215 Bug ID: 104215 Summary: bogus -Wuse-after-free=3 due to forwprop moving a pointer test after realloc Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: n

[Bug ipa/103819] [10/11/12 Regression] ICE in redirect_callee, at cgraph.c:1389 with __attribute__((flatten)) and -O2 since r11-7940-ge7fd3b783238d034

2022-01-24 Thread dani at danielbertalan dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103819 --- Comment #3 from Daniel Bertalan --- Here's an even smaller test case (https://gcc.godbolt.org/z/ee9GceMx3): === template struct Optional { ~Optional() { if (m_has_value) value(); } T value(); bool m_has_

[Bug fortran/59104] Wrong result with SIZE specification expression

2022-01-24 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59104 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org L

[Bug ipa/104187] Call site specific attribute to control inliner

2022-01-24 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104187 --- Comment #4 from joseph at codesourcery dot com --- Right now, all the C front end does with statement attributes is parses them and then passes them to c_warn_unused_attributes; it doesn't have any other handling for such attributes.

[Bug c/104205] Signed overflow in case label reports confusing warning with -Wpedantic

2022-01-24 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104205 --- Comment #5 from joseph at codesourcery dot com --- Printing an expression within the diagnostic message is generally problematic, but it might be good to change the caret location to point to the expression rather than the keyword "case" (

[Bug preprocessor/104030] [12 Regression] -Wbidi-chars should not warn about UCNs

2022-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104030 --- Comment #8 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:ae36f839632ddb67a53c26e9c7e73b0f56c4c11b commit r12-6850-gae36f839632ddb67a53c26e9c7e73b0f56c4c11b Author: Marek Polacek Date: We

[Bug preprocessor/104030] [12 Regression] -Wbidi-chars should not warn about UCNs

2022-01-24 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104030 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/104203] [12 Regressions] huge compile-time regression in pointer_query since r12-6606-g9d6a0f388eb048f8

2022-01-24 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104203 Martin Sebor changed: What|Removed |Added Summary|[12 Regressions] huge |[12 Regressions] huge

[Bug target/104172] [9/10/11/12 Regression] ppc64le mangling ICE with -flto -ffat-lto-objects

2022-01-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104172 --- Comment #12 from Jason Merrill --- I'm persuaded by your argument that we don't need to care about compatibility with the 8.1 handling of these types, which weren't yet really usable, so we can go with the simpler patch. But I'd like to hea

[Bug target/104172] [9/10/11/12 Regression] ppc64le mangling ICE with -flto -ffat-lto-objects

2022-01-24 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104172 --- Comment #13 from Bill Schmidt --- We discussed this with Jakub today, and we concur.

[Bug driver/104216] New: -w overrides #pragma GCC diagnostic which overrides -Werror

2022-01-24 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104216 Bug ID: 104216 Summary: -w overrides #pragma GCC diagnostic which overrides -Werror Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal P

[Bug target/103069] cmpxchg isn't optimized

2022-01-24 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103069 H.J. Lu changed: What|Removed |Added Status|RESOLVED|REOPENED Ever confirmed|0

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

2022-01-24 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103065 Bug 103065 depends on bug 103069, which changed state. Bug 103069 Summary: cmpxchg isn't optimized https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103069 What|Removed |Added ---

[Bug bootstrap/104217] New: gcc-12-20220123 failure to build on Cygwin due to lack of secure_getenv

2022-01-24 Thread mckelvey at maskull dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104217 Bug ID: 104217 Summary: gcc-12-20220123 failure to build on Cygwin due to lack of secure_getenv Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug driver/104216] -w overrides #pragma GCC diagnostic which overrides -Werror

2022-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104216 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/103069] cmpxchg isn't optimized

2022-01-24 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103069 --- Comment #7 from H.J. Lu --- nptl/pthread_mutex_unlock.c in glibc has: do { newval = oldval & PTHREAD_MUTEX_PRIO_CEILING_MASK; } while (!atomic_compare_exchange_weak_release (&mutex->__data.__lock,

[Bug target/103069] cmpxchg isn't optimized

2022-01-24 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103069 --- Comment #8 from H.J. Lu --- nptl/pthread_create.c has do pd->nextevent = __nptl_last_event; while (atomic_compare_and_exchange_bool_acq (&__nptl_last_event,

[Bug bootstrap/104217] gcc-12-20220123 failure to build on Cygwin due to lack of secure_getenv

2022-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104217 --- Comment #1 from Andrew Pinski --- Hmm, there is a check for it in configure I don't know why it is being it is being checked as true.

[Bug bootstrap/104217] gcc-12-20220123 failure to build on Cygwin due to lack of secure_getenv

2022-01-24 Thread mckelvey at maskull dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104217 --- Comment #2 from James McKelvey --- Builds with gcc-11-20220122.

[Bug bootstrap/104217] gcc-12-20220123 failure to build on Cygwin due to lack of secure_getenv

2022-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104217 --- Comment #3 from Andrew Pinski --- >checking for secure_getenv... yes Can you attach /home/McKelvey/gcc-12-20220123/x86_64-pc-cygwin/libstdc++-v3/config.log ?

[Bug target/103069] cmpxchg isn't optimized

2022-01-24 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103069 H.J. Lu changed: What|Removed |Added Status|REOPENED|NEW --- Comment #9 from H.J. Lu --- nptl/npt

[Bug bootstrap/104217] gcc-12-20220123 failure to build on Cygwin due to lack of secure_getenv

2022-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104217 --- Comment #4 from Andrew Pinski --- Hmm: https://sourceware.org/legacy-ml/cygwin-patches/2019-q1/msg6.html

[Bug bootstrap/104217] gcc-12-20220123 failure to build on Cygwin due to lack of secure_getenv

2022-01-24 Thread mckelvey at maskull dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104217 --- Comment #5 from James McKelvey --- Created attachment 52284 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52284&action=edit Config log

[Bug target/103069] cmpxchg isn't optimized

2022-01-24 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103069 --- Comment #10 from Thiago Macieira --- (In reply to H.J. Lu from comment #9) > nptl/nptl_setxid.c in glibc has > > do > { > flags = THREAD_GETMEM (self, cancelhandling); > newval = THREAD_ATOMIC_CMPXCHG_VAL (self, cance

[Bug libstdc++/104217] [12 Regression] gcc-12-20220123 failure to build on Cygwin due to lack of secure_getenv

2022-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104217 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0 Summary|gcc-12-20220123

[Bug libstdc++/104217] [12 Regression] gcc-12-20220123 failure to build on Cygwin due to lack of secure_getenv

2022-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104217 --- Comment #6 from Andrew Pinski --- so the cygwin libraries include secure_getenv but the header file defines it only when __GNU_VISIBLE is true. Someone who knows cygwin headers can better help here than me really. But I think libstdc++ check

[Bug target/104172] [9/10/11/12 Regression] ppc64le mangling ICE with -flto -ffat-lto-objects

2022-01-24 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104172 --- Comment #14 from Segher Boessenkool --- I already approved the patch.

[Bug tree-optimization/102131] [12 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r12-3136

2022-01-24 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102131 Hongtao.liu changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment #13

[Bug libstdc++/104218] New: 23_containers/vector/ext_pointer/types tests rely on GCC overload-resolution bug

2022-01-24 Thread brooks at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104218 Bug ID: 104218 Summary: 23_containers/vector/ext_pointer/types tests rely on GCC overload-resolution bug Product: gcc Version: unknown Status: UNCONFIRMED Seve

[Bug target/103433] ICE in convert_move, at expr.c:219

2022-01-24 Thread ilyply2006 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103433 --- Comment #2 from jin xia --- Is there any status update for this issue? Thank you

[Bug target/103433] ICE in convert_move, at expr.c:219

2022-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103433 --- Comment #3 from Andrew Pinski --- This looks like undefined code so even gcc should not ICE, the code will never do the right thing for what you want to do.

[Bug c++/103057] [11/12 Regression] Internal compiler error: Error reporting routines re-entered since r11-291-g0f50f6daa140186a

2022-01-24 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103057 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug c++/80871] Template partial ordering considered non-ambiguous with deduced and non-deduced parameter packs

2022-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80871 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-01-25 Known to fail|

[Bug c++/89564] decltype resolution ignores SFINAE

2022-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89564 --- Comment #1 from Andrew Pinski --- clang also goes into an recursive template instantiation exceeded maximum depth

[Bug c++/78291] overload resolution prefers non-member operator to member operator when should be ambiguous

2022-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78291 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/104218] 23_containers/vector/ext_pointer/types tests rely on GCC overload-resolution bug

2022-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104218 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/101138] Ambiguous code (with operator==) compiled without error

2022-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101138 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW See Also|

[Bug target/104172] [9/10/11/12 Regression] ppc64le mangling ICE with -flto -ffat-lto-objects

2022-01-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104172 --- Comment #15 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:f4ee27d3262fc4fc3e5d3535f195fdcf87d7ec77 commit r12-6853-gf4ee27d3262fc4fc3e5d3535f195fdcf87d7ec77 Author: Jakub Jelinek Date:

[Bug regression/103997] [12 Regression] gcc.target/i386/pr88531-??.c scan-assembler-times FAILs

2022-01-24 Thread admin at levyhsu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103997 --- Comment #11 from Levy Hsu --- Hi Avieira The baseline was one commit before. (ffc7f200adbdf47f14b3594d9b21855c19cf797a) I'm experiencing some issue on local Vtune so I can't say which function or front/backend was affected. objdump shows so

[Bug tree-optimization/102583] [x86] Failure to optimize 32-byte integer vector conversion to 16-byte float vector properly when converting upper part with -mavx2

2022-01-24 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102583 --- Comment #2 from Hongtao.liu --- Simplify _4 = VEC_PERM_EXPR <_1, _1, { 4, 5, 6, 7, 4, 5, 6, 7 }>; _5 = BIT_FIELD_REF <_4, 128, 0>; to _5 = BIT_FIELD_REF <_1, 128, 128>; in match.pd?

[Bug middle-end/103641] [11/12 regression] Severe compile time regression in SLP vectorize step

2022-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103641 --- Comment #24 from Richard Biener --- Another note, a quick look at synth_mult shows that it should support vector modes just fine but we are passing it the scalar mode. We do know the vector type that's going to be used so we should better p

[Bug middle-end/103641] [11/12 regression] Severe compile time regression in SLP vectorize step

2022-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103641 --- Comment #25 from Richard Biener --- diff --git a/gcc/tree-vect-patterns.cc b/gcc/tree-vect-patterns.cc index bea04992160..856b8bd222e 100644 --- a/gcc/tree-vect-patterns.cc +++ b/gcc/tree-vect-patterns.cc @@ -3050,13 +3050,13 @@ vect_synth_m

[Bug c++/104206] [12 regression] test case c-c++-common/pr72747-2.c fails in r12-6821

2022-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104206 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug libgcc/104207] [12 Regression] Crash in _Unwind_Find_FDE if object lacks unwind information

2022-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104207 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug rtl-optimization/104209] [9/10/11/12 Regression] gcc.dg/torture/pr20314-2.c ICE with -m32 -fPIC in lra_split_hard_reg_for

2022-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104209 Richard Biener changed: What|Removed |Added Target Milestone|--- |9.5

[Bug fortran/104210] [11/12 Regression] ICE in gfc_zero_size_array, at fortran/arith.cc:1685

2022-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104210 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Target Milestone|---

[Bug target/104213] [12 Regression] bogus use-after-free in virtual dtor with -ffat-lto-objects on ARM

2022-01-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104213 Richard Biener changed: What|Removed |Added Priority|P3 |P1

<    1   2   3