[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

[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 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 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 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 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 @@

[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

[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 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

[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 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 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++/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 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++/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++/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 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 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 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

[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

[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 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++

[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

[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,

[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=edit Config log

[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 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 ---

[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 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 #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 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 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 (>__data.__lock,

[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 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:

[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 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 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

[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 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

[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 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 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:

[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 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 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

[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

[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:

[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 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 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

[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 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 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 target/104213] [12 Regression] bogus use-after-free in virtual dtor with -ffat-lto-objects on ARM

2022-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104213 --- Comment #9 from Andrew Pinski --- Try: val = build2 (MODIFY_EXPR, TREE_TYPE (val), DECL_RESULT (delete_dtor), val); tree stmt = build_stmt (0, RETURN_EXPR, val); suppress_warning (stmt,

[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 #8 from Marek Polacek --- I've tried diff --git a/gcc/cp/decl.cc b/gcc/cp/decl.cc index 22d3dd1e2ad..c2a0f0c24e2 100644 --- a/gcc/cp/decl.cc +++ b/gcc/cp/decl.cc @@ -17319,6 +17319,7 @@ finish_constructor_body (void)

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

2022-01-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104213 --- Comment #7 from Jakub Jelinek --- Now that you cite that, seems this error is because we go beyond what the EABI requires and make even the D0 dtor return this that nothing can really use. So one way to fix that would be to also make sure

[Bug target/100775] ICE: in df_exit_block_bitmap_verify, at df-scan.c:4164 with -mthumb -fzero-call-used-regs=used

2022-01-24 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100775 qinzhao at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever

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

2022-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104213 --- Comment #6 from Andrew Pinski --- > I'm not sure why a dtor would have a return type other than void or why it > would need to return the this pointer Because that is what is required by the ARM C++ EABI: >From the PDF on:

[Bug fortran/104212] ICE in transformational_result, at fortran/simplify.cc:466

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

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

2022-01-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104213 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

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

2022-01-24 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104213 Martin Sebor changed: What|Removed |Added Blocks||104075 CC|

[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 #3 from Marek Polacek --- -flto=auto -ffat-lto-objects is not needed.

[Bug fortran/93832] [9/10/11/12 Regression] ICE in gfc_convert_to_structure_constructor, at fortran/primary.c:3100

2022-01-24 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93832 --- Comment #9 from G. Steinmetz --- If modified a little, even a release version will suffice : $ cat z2.f90 program p type t character :: a integer :: b(t(1)) end type type(t) :: x = t('a', 2) end

[Bug fortran/93832] [9/10/11/12 Regression] ICE in gfc_convert_to_structure_constructor, at fortran/primary.c:3100

2022-01-24 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93832 --- Comment #8 from G. Steinmetz --- With the latest gcc snapshot and configured with --enable-checking=yes the testcase from comment#0 still produces an ICE : $ gfortran-12-20220123-chk -c z1.f90 z1.f90:7:28: 7 |type(t) :: z =

[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 Marek Polacek changed: What|Removed |Added Last reconfirmed||2022-01-24 Ever confirmed|0

[Bug tree-optimization/104203] [12 Regressions] huge compile-time regression 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 --- Comment #9 from Martin Sebor --- The underlying problem is that when the pointer_query class fails to determine the pointer provenance for an SSA variable it doesn't update the cache, matter how laborious the computation was. The next time

[Bug tree-optimization/104214] New: [12 regression] gcc.dg/vect/pr81196.c fails after r12-6844

2022-01-24 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104214 Bug ID: 104214 Summary: [12 regression] gcc.dg/vect/pr81196.c fails after r12-6844 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/104212] ICE in transformational_result, at fortran/simplify.cc:466

2022-01-24 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104212 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/30811] __FUNCTION__ allowed in function declaration (i.e. add -Wpredefined-identifier-outside-function)

2022-01-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30811 Eric Gallager changed: What|Removed |Added Summary|__FUNCTION__ allowed in |__FUNCTION__ allowed in

[Bug c++/77557] gcc doesn't warn about code (clang does), __PRETTY_FUNCTION__ used in struct in function

2022-01-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77557 Eric Gallager changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

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

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

[Bug fortran/104211] ICE in find_array_section, at fortran/expr.cc:1720

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

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

2022-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104213 Andrew Pinski changed: What|Removed |Added Summary|bogus use-after-free in |[12 Regression] bogus

[Bug c++/64063] [DR 1665] Incorrect "ambiguous template specialization" error

2022-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64063 Andrew Pinski changed: What|Removed |Added CC||fchelnokov at gmail dot com --- Comment

[Bug c++/104204] Ambiguity error for out of class definition of member function template in the presence of a member function of the same name

2022-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104204 --- Comment #3 from Andrew Pinski --- Dup of bug 64063 really. sorry about that. *** This bug has been marked as a duplicate of bug 64063 ***

[Bug c++/104213] bogus use-after-free in virtual dtor with -ffat-lto-objects on ARM

2022-01-24 Thread dtardon at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104213 --- Comment #1 from David Tardon --- Created attachment 52282 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52282=edit reproducer.s

[Bug c++/64063] [DR 1665] Incorrect "ambiguous template specialization" error

2022-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64063 Andrew Pinski changed: What|Removed |Added Resolution|DUPLICATE |--- Status|RESOLVED

[Bug c++/104213] New: bogus use-after-free in virtual dtor with -ffat-lto-objects on ARM

2022-01-24 Thread dtardon at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104213 Bug ID: 104213 Summary: bogus use-after-free in virtual dtor with -ffat-lto-objects on ARM Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[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 pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104209 --- Comment #2 from Andrew Pinski --- Here is the testcase: int a, b, c, d, e, f, g, h, i, j, k, l; void f1 (void) { __asm__ volatile ("" : [a] "+r" (a), [b] "+r" (b), [c] "+r" (c), [d] "+r" (d), [e]

[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 pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104209 Andrew Pinski changed: What|Removed |Added Keywords|testsuite-fail | Status|UNCONFIRMED

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

2022-01-24 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104207 Florian Weimer changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |fw at gcc dot gnu.org

[Bug fortran/104212] New: ICE in transformational_result, at fortran/simplify.cc:466

2022-01-24 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104212 Bug ID: 104212 Summary: ICE in transformational_result, at fortran/simplify.cc:466 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/104211] New: ICE in find_array_section, at fortran/expr.cc:1720

2022-01-24 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104211 Bug ID: 104211 Summary: ICE in find_array_section, at fortran/expr.cc:1720 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

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

2022-01-24 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104210 Bug ID: 104210 Summary: [11/12 Regression] ICE in gfc_zero_size_array, at fortran/arith.cc:1685 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug c/104209] New: ICE in lra_split_hard_reg_for, at lra-assigns.cc:1837

2022-01-24 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104209 Bug ID: 104209 Summary: ICE in lra_split_hard_reg_for, at lra-assigns.cc:1837 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

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

2022-01-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104194 Jakub Jelinek changed: What|Removed |Added Attachment #52277|0 |1 is obsolete|

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

2022-01-24 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104203 --- Comment #8 from hubicka at kam dot mff.cuni.cz --- > > bool > Since the pass issues a bunch other warnings (e.g., -Wstringop-overflow, > -Wuse-after-free, etc.) the gate doesn't seem right. But since #pragma GCC > diagnostic can re-enable

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

2022-01-24 Thread Jan Hubicka via Gcc-bugs
> > bool > Since the pass issues a bunch other warnings (e.g., -Wstringop-overflow, > -Wuse-after-free, etc.) the gate doesn't seem right. But since #pragma GCC > diagnostic can re-enable warnings disabled by -w (or turn them into errors) > any > gate that considers the global option setting

[Bug c++/104204] Ambiguity error for out of class definition of member function template in the presence of a member function of the same name

2022-01-24 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104204 --- Comment #2 from Fedor Chelnokov --- Are you sure that this is a duplicate? Bug 39270 is about explicit instantiation that is erroneously reported by GCC as specialization. And this bug is about rejection of real explicit specialization in

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

2022-01-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104172 --- Comment #11 from Jakub Jelinek --- Created attachment 52279 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52279=edit gcc12-pr104172.patch Variant patch that just removes the GCC 8.1 compatibility mangling aliases.

[Bug target/104189] enable 64-bit compare-and-swap on SPARC/Linux with V9

2022-01-24 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104189 --- Comment #6 from John Paul Adrian Glaubitz --- (In reply to Eric Botcazou from comment #5) > > The function init_sparc64_elf_hwcap(void) [1] unconditionally enables it > > with: > > > > cap |= (AV_SPARC_MUL32 | AV_SPARC_DIV32 |

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

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

[Bug target/104208] -mlong-double-64 should override a previous -mabi=ibmlongdouble

2022-01-24 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104208 Florian Weimer changed: What|Removed |Added Priority|P3 |P1 --- Comment #1 from Florian Weimer

[Bug target/104208] New: -mlong-double-64 should override a previous -mabi=ibmlongdouble

2022-01-24 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104208 Bug ID: 104208 Summary: -mlong-double-64 should override a previous -mabi=ibmlongdouble Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/30811] __FUNCTION__ allowed in function declaration

2022-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30811 Andrew Pinski changed: What|Removed |Added Keywords||accepts-invalid, diagnostic --- Comment

[Bug tree-optimization/104125] 531.deepsjeng_r regressed on Zen2 CPUs at -Ofast -march=native (without LTO) during GCC 12 development

2022-01-24 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104125 --- Comment #2 from Andrew Macleod --- Created attachment 52278 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52278=edit patch which undoes the original change I'm not suggesting we de-apply the original patch, but it cant be directly

[Bug target/104189] enable 64-bit compare-and-swap on SPARC/Linux with V9

2022-01-24 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104189 --- Comment #5 from Eric Botcazou --- > The function init_sparc64_elf_hwcap(void) [1] unconditionally enables it > with: > > cap |= (AV_SPARC_MUL32 | AV_SPARC_DIV32 | AV_SPARC_V8PLUS); > > So, I think it should be safe and enable V8+ on

[Bug c++/39270] Explicit instantiation rejected

2022-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39270 --- Comment #7 from Andrew Pinski --- *** Bug 104204 has been marked as a duplicate of this bug. ***

[Bug c++/104204] Ambiguity error for out of class definition of member function template in the presence of a member function of the same name

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

[Bug c++/39270] Explicit instantiation rejected

2022-01-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39270 Andrew Pinski changed: What|Removed |Added CC||redi at gcc dot gnu.org --- Comment #6

  1   2   3   >