[Bug fortran/102043] [9/10/11 Regression] Wrong array types used for negative stride accesses, gfortran.dg/vector_subscript_1.f90 FAILs

2022-04-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102043 Richard Biener changed: What|Removed |Added Known to work||12.0 Summary|[9/10/11/12

[Bug middle-end/105348] Overly aggressive -Warray-bounds after conditional

2022-04-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105348 Richard Biener changed: What|Removed |Added Keywords||diagnostic Blocks|

[Bug testsuite/105349] [12 regression] gcc.target/powerpc/bswap-brw.c fails after r12-8221

2022-04-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105349 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0

[Bug libgomp/105358] [12 Regression] scan* fails on targets without aligned memory allocators.

2022-04-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105358 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0

[Bug lto/105364] lto-wrapper generates URLs escape sequences despite -fdiagnostic-urls=never

2022-04-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105364 Richard Biener changed: What|Removed |Added CC||marxin at gcc dot gnu.org

[Bug lto/105364] lto-wrapper generates URLs escape sequences despite -fdiagnostic-urls=never

2022-04-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105364 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug analyzer/105366] [11/12 Regression] ICE: in cmp_cst, at analyzer/svalue.cc:309 with -O -fanalyzer

2022-04-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105366 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.4

[Bug analyzer/105365] [12 Regression] ICE: in cmp_cst, at analyzer/svalue.cc:309 with -fanalyzer

2022-04-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105365 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0

[Bug fortran/105372] The result of the merge function is different when it's type of parameters is the extensions type of derived type

2022-04-25 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105372 Andreas Schwab changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/105367] [12 Regression] ICE: SIGSEGV in contains_struct_check (tree.h:3570) with -Ofast -mveclibabi=acml

2022-04-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105367 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug fortran/105371] The result of the merge function is different when it's type of parameters is the extensions type of derived type

2022-04-25 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105371 --- Comment #1 from Andreas Schwab --- *** Bug 105372 has been marked as a duplicate of this bug. ***

[Bug target/105219] [12 Regression] SVE: Wrong code with -O3 -msve-vector-bits=128 -mtune=thunderx

2022-04-25 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105219 Tamar Christina changed: What|Removed |Added Assignee|tnfchris at gcc dot gnu.org|avieira at gcc dot gnu.org

[Bug tree-optimization/105368] [10/11/12 Regression] ICE: SIGSEGV in powi_lookup_cost (tree-ssa-math-opts.cc:1441) with -Ofast and __builtin_powf()

2022-04-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105368 --- Comment #1 from Richard Biener --- I can't reproduce but I also don't see how the code could crash there.

[Bug tree-optimization/105363] -ftree-slp-vectorize decreases performance significantly (x64)

2022-04-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105363 Richard Biener changed: What|Removed |Added Keywords||missed-optimization

[Bug rtl-optimization/105231] [12 Regression] ICE: in rtl_verify_bb_insns, at cfgrtl.cc:2797 (flow control insn inside a basic block) with custom flags since r12-4767-g81342e95827f77c0

2022-04-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105231 --- Comment #30 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:4f77738c3b44cb6b7bfe2a7ef823a5d9d75c0e79 commit r12-8239-g4f77738c3b44cb6b7bfe2a7ef823a5d9d75c0e79 Author: Richard Biener Date:

[Bug target/89125] Misoptimization of converting sin(x) and cos(x) into sincos(x,,)

2022-04-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89125 --- Comment #17 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:b6e22db8564827c82108e0b7fa1a84675379c12b commit r12-8240-gb6e22db8564827c82108e0b7fa1a84675379c12b Author: Steve Kargl Date:

[Bug target/89125] Misoptimization of converting sin(x) and cos(x) into sincos(x,,)

2022-04-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89125 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug rtl-optimization/105231] [12 Regression] ICE: in rtl_verify_bb_insns, at cfgrtl.cc:2797 (flow control insn inside a basic block) with custom flags since r12-4767-g81342e95827f77c0

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

[Bug target/105206] mis-optimization with -ffast-math and __builtin_powf

2022-04-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105206 Bug 105206 depends on bug 89125, which changed state. Bug 89125 Summary: Misoptimization of converting sin(x) and cos(x) into sincos(x,,) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89125 What|Removed |Added

[Bug c/105369] Improved diagnostics for code from statement expressions documentation [C component]

2022-04-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105369 --- Comment #4 from Jonathan Wakely --- The preprocessor can't tell if an expression has side effects. I have no idea how easy it would be (or if it's even possible) for the front end to tell that an expression was duplicated from a single

[Bug c++/105304] [10/11/12 Regression] ICE segfault using ad-hoc concept with -Wall since r10-7441-ga7ea3d2ced786c45

2022-04-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105304 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:c83b9c54d9dee2dce5d8268472a745b013d166cc commit r12-8257-gc83b9c54d9dee2dce5d8268472a745b013d166cc Author: Patrick Palka Date:

[Bug c++/105304] [10/11 Regression] ICE segfault using ad-hoc concept with -Wall since r10-7441-ga7ea3d2ced786c45

2022-04-25 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105304 Patrick Palka changed: What|Removed |Added Summary|[10/11/12 Regression] ICE |[10/11 Regression] ICE

[Bug c++/102629] [10/11/12 Regression] ICE: tree check in lookup_base, at cp/search.c:233 since r10-2194-g10acaf4db9f8b54b

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

[Bug c++/105289] [11/12 Regression] ICE on partial specialization

2022-04-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105289 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:288e4c64f6b4806358aabc9b99b2fba72bf04bf6 commit r12-8256-g288e4c64f6b4806358aabc9b99b2fba72bf04bf6 Author: Patrick Palka Date:

[Bug c++/86193] [DR455] Partial ordering of non-type template parameters with dependent types

2022-04-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86193 --- Comment #4 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:288e4c64f6b4806358aabc9b99b2fba72bf04bf6 commit r12-8256-g288e4c64f6b4806358aabc9b99b2fba72bf04bf6 Author: Patrick Palka Date:

[Bug c++/104624] [10/11/12 Regression] ICE in standard_conversion, at cp/call.cc:1213

2022-04-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104624 --- Comment #3 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:65735d21ac410463126114c572999682f987972c commit r12-8258-g65735d21ac410463126114c572999682f987972c Author: Jason Merrill Date:

[Bug c++/104624] [10/11/12 Regression] ICE in standard_conversion, at cp/call.cc:1213

2022-04-25 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104624 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/105338] [12 Regression] Regression: jump or cmove generated for pattern (x ? CST : 0)

2022-04-25 Thread denis.campredon at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105338 --- Comment #13 from denis.campredon at gmail dot com --- Thanks a lots. I have a question though: foo and bar are similar, foo produces a branchless code whereas bar uses a jump. int foo(int i) { return !i ? 0 : -2; } int bar(int i) {

[Bug middle-end/100810] [12 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r12-397-gda9e6e63d1ae22e530ec7baf59f6ed028bf05776

2022-04-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100810 --- Comment #14 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:ab91c10792cd3a1ba1495aa30a34ca17b043bafb commit r12-8241-gab91c10792cd3a1ba1495aa30a34ca17b043bafb Author: Richard Biener Date:

[Bug c++/98760] [modules] ICE in add_module_decl

2022-04-25 Thread boris at kolpackov dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98760 Boris Kolpackov changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c++/103524] [meta-bug] modules issue

2022-04-25 Thread boris at kolpackov dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 98760, which changed state. Bug 98760 Summary: [modules] ICE in add_module_decl https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98760 What|Removed |Added

[Bug tree-optimization/105368] [10/11/12 Regression] ICE: SIGSEGV in powi_lookup_cost (tree-ssa-math-opts.cc:1441) with -Ofast and __builtin_powf()

2022-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105368 --- Comment #5 from Andrew Pinski --- Might be easier to reproduce using ubsan too.

[Bug tree-optimization/105368] [10/11/12 Regression] ICE: SIGSEGV in powi_lookup_cost (tree-ssa-math-opts.cc:1441) with -Ofast and __builtin_powf()

2022-04-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105368 --- Comment #6 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:f0e170f72f8bfaa2a64e1d09ebdfd48f917420f1 commit r12-8242-gf0e170f72f8bfaa2a64e1d09ebdfd48f917420f1 Author: Richard Biener Date:

[Bug c++/105373] miscompile involving lambda coroutines and an object bitwise copied instead of via the copy constructor

2022-04-25 Thread avi at scylladb dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105373 --- Comment #1 from Avi Kivity --- I randomly looked at 023t.ssa (mainly because I recognized the acronym). _45 = frame_ptr_182(D)->__closure; _46 = _45->__this; frame_ptr_182(D)->D.2159984_4_7 =

[Bug libgomp/105358] [12 Regression] scan* fails on targets without aligned memory allocators.

2022-04-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105358 --- Comment #5 from Jakub Jelinek --- Or is the problem mainly in code like #define INLINE_ORDERED_TEAM_IDS_OFF \ ((offsetof (struct gomp_work_share, inline_ordered_team_ids) \ + __alignof__ (long long) - 1) & ~(__alignof__ (long

[Bug fortran/103662] [12 Regression] TBAA problem in Fortran FE triggering in gfortran.dg/unlimited_polymorphic_3.f03

2022-04-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103662 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/105368] [10/11/12 Regression] ICE: SIGSEGV in powi_lookup_cost (tree-ssa-math-opts.cc:1441) with -Ofast and __builtin_powf()

2022-04-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105368 Richard Biener changed: What|Removed |Added Last reconfirmed||2022-04-25

[Bug tree-optimization/105368] [10/11 Regression] ICE: SIGSEGV in powi_lookup_cost (tree-ssa-math-opts.cc:1441) with -Ofast and __builtin_powf()

2022-04-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105368 Richard Biener changed: What|Removed |Added Known to fail|12.0| Summary|[10/11/12

[Bug tree-optimization/105368] [10/11 Regression] ICE: SIGSEGV in powi_lookup_cost (tree-ssa-math-opts.cc:1441) with -Ofast and __builtin_powf()

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

[Bug libgomp/105358] [12 Regression] scan* fails on targets without aligned memory allocators.

2022-04-25 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105358 --- Comment #7 from Iain Sandoe --- (In reply to Jakub Jelinek from comment #5) > Or is the problem mainly in code like > #define INLINE_ORDERED_TEAM_IDS_OFF \ > ((offsetof (struct gomp_work_share, inline_ordered_team_ids) \ > +

[Bug c++/105373] miscompile involving lambda coroutines and an object bitwise copied instead of via the copy constructor

2022-04-25 Thread avi at scylladb dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105373 --- Comment #2 from Avi Kivity --- I see it in 006t.gimple too: try { _50 = frame_ptr->__closure; _51 = _50->__this;

[Bug libgomp/105358] [12 Regression] scan* fails on targets without aligned memory allocators.

2022-04-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105358 --- Comment #8 from Jakub Jelinek --- Created attachment 52865 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52865=edit gcc12-pr105358.patch So what about this? All the newly added comparisons should fold into true or false at compile

[Bug middle-end/104077] bogus/missing -Wdangling-pointer

2022-04-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104077 Bug 104077 depends on bug 104076, which changed state. Bug 104076 Summary: bogus -Wdangling-pointer on a conditional https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104076 What|Removed |Added

[Bug middle-end/104076] bogus -Wdangling-pointer on a conditional

2022-04-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104076 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/105368] [10/11/12 Regression] ICE: SIGSEGV in powi_lookup_cost (tree-ssa-math-opts.cc:1441) with -Ofast and __builtin_powf()

2022-04-25 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105368 --- Comment #3 from Zdenek Sojka --- I think the issue might be in the: > 1463 > 1464 /* Ignore the reciprocal when calculating the cost. */ > 1465 val = (n < 0) ? -n : n; expression, for the case n == LONG_MIN, but I am not a

[Bug target/104662] arm: ice in simd_valid_immediate

2022-04-25 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104662 Christophe Lyon changed: What|Removed |Added Last reconfirmed||2022-04-25

[Bug c++/105373] New: miscompile involving lambda coroutines and an object bitwise copied instead of via the copy constructor

2022-04-25 Thread avi at scylladb dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105373 Bug ID: 105373 Summary: miscompile involving lambda coroutines and an object bitwise copied instead of via the copy constructor Product: gcc Version: 11.3.1 Status:

[Bug rtl-optimization/102178] [12 Regression] SPECFP 2006 470.lbm regressions on AMD Zen CPUs after r12-897-gde56f95afaaa22

2022-04-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102178 --- Comment #32 from Richard Biener --- So the bad "head" can be fixed via diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index c74edd1aaef..8f9f26e0a82 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@

[Bug tree-optimization/105368] [10/11/12 Regression] ICE: SIGSEGV in powi_lookup_cost (tree-ssa-math-opts.cc:1441) with -Ofast and __builtin_powf()

2022-04-25 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105368 --- Comment #7 from Zdenek Sojka --- I can confirm the patch fixes the testcase for me.

[Bug middle-end/100810] [12 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r12-397-gda9e6e63d1ae22e530ec7baf59f6ed028bf05776

2022-04-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100810 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/105368] [10/11/12 Regression] ICE: SIGSEGV in powi_lookup_cost (tree-ssa-math-opts.cc:1441) with -Ofast and __builtin_powf()

2022-04-25 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105368 --- Comment #2 from Zdenek Sojka --- (gdb) disas Dump of assembler code for function powi_cost(long): 0x01538160 <+0>: push %r14 0x01538162 <+2>: mov$0x20,%ecx 0x01538167 <+7>: push

[Bug middle-end/104492] [12 Regression] Bogus dangling pointer warning at -O3

2022-04-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104492 --- Comment #9 from Richard Biener --- So IL wise the issue is that we go from : candidates(address-taken)[0].m_size = 2; candidates(address-taken)[0].m_data = "so"; _1 = std::end ((address-taken)); _2 = std::begin

[Bug tree-optimization/105367] [12 Regression] ICE: SIGSEGV in contains_struct_check (tree.h:3570) with -Ofast -mveclibabi=acml

2022-04-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105367 --- Comment #4 from Richard Biener --- (In reply to Jakub Jelinek from comment #3) > Created attachment 52864 [details] > gcc12-pr105367-2.patch > > Variant patch (smaller, just i386 backend). Advantage of the first one is > that > we can use

[Bug libgomp/105358] [12 Regression] scan* fails on targets without aligned memory allocators.

2022-04-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105358 --- Comment #4 from Jakub Jelinek --- Still trying to understand where the problem is. In work.c (gomp_init_work_share), there are 3 cases, one is ordered == 0, another one ordered == 1, another one bigger numbers. The first one doesn't care,

[Bug libgomp/105358] [12 Regression] scan* fails on targets without aligned memory allocators.

2022-04-25 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105358 --- Comment #3 from Iain Sandoe --- (In reply to Jakub Jelinek from comment #2) > Does > --- libgomp/libgomp.h.jj 2022-01-11 23:11:23.890269075 +0100 > +++ libgomp/libgomp.h 2022-04-25 11:20:09.744103064 +0200 > @@ -717,6 +717,13 @@ struct

[Bug fortran/103662] [12 Regression] TBAA problem in Fortran FE triggering in gfortran.dg/unlimited_polymorphic_3.f03

2022-04-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103662 --- Comment #22 from CVS Commits --- The master branch has been updated by Mikael Morin : https://gcc.gnu.org/g:6cc26f3037a18b9a958b4ac2a1363149a7fccd39 commit r12-8243-g6cc26f3037a18b9a958b4ac2a1363149a7fccd39 Author: Mikael Morin Date:

[Bug libgomp/105358] [12 Regression] scan* fails on targets without aligned memory allocators.

2022-04-25 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105358 --- Comment #6 from Iain Sandoe --- (In reply to Jakub Jelinek from comment #4) > Still trying to understand where the problem is. > In work.c (gomp_init_work_share), there are 3 cases, one is ordered == 0, > another one ordered == 1, another

[Bug fortran/105381] [12 Regression] Memory-hog since r12-8230

2022-04-25 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105381 anlauf at gcc dot gnu.org changed: What|Removed |Added Keywords||compile-time-hog Target

[Bug analyzer/105287] [12 Regression] ICE in analyzer get_region_for_local on C++ await cond_var

2022-04-25 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105287 --- Comment #5 from David Malcolm --- Thanks. FWIW I've filed PR 105382 to track the various other issues I'm seeing with -fanalyzer with coroutines (though given that we don't properly support C++ yet, that's relatively low priority for me).

[Bug target/105383] New: [11/12 Regression] ICE: in change_insns, at rtl-ssa/changes.cc:674 with -Os -fno-tree-dominator-opts -fno-tree-vrp -msseregparm -m32

2022-04-25 Thread zsojka at seznam dot cz via Gcc-bugs
bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r12-8242-20220425114659-gf0e170f72f8-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.1 20220425 (experimental) (GCC)

[Bug analyzer/105287] [12 Regression] ICE in analyzer get_region_for_local on C++ await cond_var

2022-04-25 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105287 --- Comment #6 from Iain Sandoe --- (In reply to David Malcolm from comment #5) > Thanks. FWIW I've filed PR 105382 to track the various other issues I'm > seeing with -fanalyzer with coroutines (though given that we don't properly > support

[Bug c++/105373] miscompile involving lambda coroutines and an object bitwise copied instead of via the copy constructor

2022-04-25 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105373 --- Comment #4 from Iain Sandoe --- I'm guessing that a reproducer is going to be hard to arrange (from the "complex piece of code") even though the failing point is well-defined?

[Bug tree-optimization/105384] compilation never (?) finishes with __builtin_yn{,f,l} at -O and above

2022-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105384 --- Comment #2 from Andrew Pinski --- Can you try the one that is downloaded via contrib/download_pre*.

[Bug tree-optimization/105385] New: ICE: Aborted (in do_mpfr_arg2): GNU MP: Cannot allocate memory (size=3458764513820540832) with __builtin_jn{,f,l}

2022-04-25 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105385 Bug ID: 105385 Summary: ICE: Aborted (in do_mpfr_arg2): GNU MP: Cannot allocate memory (size=3458764513820540832) with __builtin_jn{,f,l} Product: gcc Version:

[Bug tree-optimization/105384] compilation never (?) finishes with __builtin_yn{,f,l} at -O and above

2022-04-25 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105384 --- Comment #3 from Zdenek Sojka --- (In reply to Andrew Pinski from comment #2) > Can you try the one that is downloaded via contrib/download_pre*. The you for the comment. The versions I am using are: [ebuild R] dev-libs/gmp-6.2.1-r2

[Bug c++/105377] Likely a misleading clang warning -Wc++20-attribute-extensions

2022-04-25 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105377 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/105380] [PDT] ICE in gfc_conv_array_initializer, at fortran/trans-array.cc:6317 since r8-3056-g5bab4c9631c478b7

2022-04-25 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105380 Martin Liška changed: What|Removed |Added Last reconfirmed||2022-04-25 Summary|[PDT] ICE

[Bug target/105383] [11/12 Regression] ICE: in change_insns, at rtl-ssa/changes.cc:674 with -Os -fno-tree-dominator-opts -fno-tree-vrp -msseregparm -m32 since r11-6188-g0b76990a9d75d97b

2022-04-25 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105383 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org,

[Bug tree-optimization/104336] bogus -Wrestrict for std::string assignment with

2022-04-25 Thread mattias.ellert at physics dot uu.se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104336 Mattias Ellert changed: What|Removed |Added CC||mattias.ellert at physics dot uu.s

[Bug fortran/105381] New: [12 Regression] Memory-hog since r12-8230

2022-04-25 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105381 Bug ID: 105381 Summary: [12 Regression] Memory-hog since r12-8230 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug analyzer/105382] New: Support for coroutines in -fanalyzer

2022-04-25 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105382 Bug ID: 105382 Summary: Support for coroutines in -fanalyzer Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: analyzer

[Bug tree-optimization/105384] New: compilation never (?) finishes with __builtin_yn{,f,l} at -O and above

2022-04-25 Thread zsojka at seznam dot cz via Gcc-bugs
0220425114659-gf0e170f72f8-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.1 20220425 (experimental) (GCC)

[Bug tree-optimization/105384] compilation never (?) finishes with __builtin_yn{,f,l} at -O and above

2022-04-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105384 --- Comment #1 from Andrew Pinski --- What version of gmp, mpfr are you using?

[Bug tree-optimization/104336] bogus -Wrestrict for std::string assignment with

2022-04-25 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104336 Andrew Macleod changed: What|Removed |Added CC||amacleod at redhat dot com ---

[Bug fortran/105379] [12 Regression] ICE in gfc_compare_array_spec(): Array spec clobbered since r12-8235-gfa5cd7102da676dc

2022-04-25 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105379 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org

[Bug fortran/105381] [12 Regression] Memory-hog since r12-8230

2022-04-25 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105381 Martin Liška changed: What|Removed |Added Last reconfirmed||2022-04-25 CC|

[Bug tree-optimization/105384] compilation never (?) finishes with __builtin_yn{,f,l} at -O and above

2022-04-25 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105384 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/105385] ICE: Aborted (in do_mpfr_arg2): GNU MP: Cannot allocate memory (size=3458764513820540832) with __builtin_jn{, f, l}

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

[Bug middle-end/103993] -Wismatched-new-delete due to difference in inlining decisions

2022-04-25 Thread andre at kostur dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103993 andre at kostur dot net changed: What|Removed |Added CC||andre at kostur dot net ---

[Bug fortran/104717] [9/10/11/12 Regression] ICE: verify_ssa failed (Error: type mismatch between an SSA_NAME and its symbol)

2022-04-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104717 --- Comment #9 from CVS Commits --- The master branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:b2202431910e30d8505c94d1cb9341cac7080d10 commit r12-8252-gb2202431910e30d8505c94d1cb9341cac7080d10 Author: Jakub Jelinek Date:

[Bug fortran/105379] [12 Regression] ICE in gfc_compare_array_spec(): Array spec clobbered since r12-8235-gfa5cd7102da676dc

2022-04-25 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105379 --- Comment #3 from Mikael Morin --- Created attachment 52876 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52876=edit Draft patch This shows no testsuite regression. But there is something that I want to check before submitting it

[Bug fortran/105381] [12 Regression] Memory-hog since r12-8230

2022-04-25 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105381 --- Comment #1 from Mikael Morin --- Draft patch. diff --git a/gcc/fortran/trans-array.cc b/gcc/fortran/trans-array.cc index e4b6270ccf8..e0070aa080d 100644 --- a/gcc/fortran/trans-array.cc +++ b/gcc/fortran/trans-array.cc @@ -3698,7 +3698,8

[Bug fortran/105381] [12 Regression] Memory-hog since r12-8230

2022-04-25 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105381 Mikael Morin changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug preprocessor/105362] Improvement: diagnose undefined behavior in preprocessing directives

2022-04-25 Thread pavel.morozkin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105362 --- Comment #2 from Pavel M --- I do believe that evaluation of constant expressions in conditional inclusion is done according to the rules of constant expressions ("except that ...", see C11, 6.10.1/1). Hence, I expect the same diagnostics in

[Bug testsuite/105349] [12 regression] gcc.target/powerpc/bswap-brw.c fails after r12-8221

2022-04-25 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105349 Segher Boessenkool changed: What|Removed |Added Attachment #52871|0 |1 is obsolete|

[Bug libgomp/105358] [12 Regression] scan* fails on targets without aligned memory allocators.

2022-04-25 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105358 --- Comment #9 from Iain Sandoe --- (In reply to Jakub Jelinek from comment #8) > Created attachment 52865 [details] > gcc12-pr105358.patch > > So what about this? All the newly added comparisons should fold into true > or false at compile

[Bug tree-optimization/105329] Bogus restrict warning when assigning 1-char string literal to std::string

2022-04-25 Thread mattias.ellert at physics dot uu.se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105329 Mattias Ellert changed: What|Removed |Added CC||mattias.ellert at physics dot uu.s

[Bug rtl-optimization/105314] [12 Regression] ifcvt regression in noce_try_store_flag_mask

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

[Bug fortran/105379] New: [12 Regression] ICE in gfc_compare_array_spec(): Array spec clobbered

2022-04-25 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105379 Bug ID: 105379 Summary: [12 Regression] ICE in gfc_compare_array_spec(): Array spec clobbered Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/105377] Likely a misleading clang warning -Wc++20-attribute-extensions

2022-04-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105377 --- Comment #4 from Jonathan Wakely --- But we don['t want to use gnu++17 because we want the compiler to be built using portable ISO C++17. An unrecognized attribute is a portable ISO C++17 construct, it just doesn't do anything (except maybe

[Bug libstdc++/105375] std::packaged_task has no deduction guide.

2022-04-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105375 --- Comment #6 from Jonathan Wakely --- (In reply to raldone01 from comment #5) > Thank you for your reply. > What does that mean? As it says at the link in comment 4, "The following behavior-changing defect reports were applied retroactively

[Bug middle-end/105348] Overly aggressive -Warray-bounds after conditional

2022-04-25 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105348 --- Comment #3 from Thiago Macieira --- I understand. I'm just trying to avoid having to add code for a corner-case. People don't usually parse empty buffers, so it's usually fine to allow it to proceed and discover an EOF condition. Anyway,

[Bug analyzer/105365] [12 Regression] ICE: in cmp_cst, at analyzer/svalue.cc:309 with -fanalyzer since r12-2337-g33255ad3ac14e395

2022-04-25 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105365 David Malcolm changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #2 from David

[Bug analyzer/105366] [11/12 Regression] ICE: in cmp_cst, at analyzer/svalue.cc:309 with -O -fanalyzer since r11-4511-gf635f0ce87d687b1

2022-04-25 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105366 David Malcolm changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #2 from David

[Bug fortran/105380] ICE in gfc_conv_array_initializer, at fortran/trans-array.cc:6317

2022-04-25 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105380 G. Steinmetz changed: What|Removed |Added Keywords||ice-on-valid-code --- Comment #1 from

[Bug fortran/105380] New: ICE in gfc_conv_array_initializer, at fortran/trans-array.cc:6317

2022-04-25 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105380 Bug ID: 105380 Summary: ICE in gfc_conv_array_initializer, at fortran/trans-array.cc:6317 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/105375] std::packaged_task has no deduction guide.

2022-04-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105375 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |11.4 --- Comment #8 from Jonathan

[Bug target/89125] Misoptimization of converting sin(x) and cos(x) into sincos(x,,)

2022-04-25 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89125 --- Comment #19 from Steve Kargl --- On Mon, Apr 25, 2022 at 07:28:50AM +, rguenth at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89125 > > Richard Biener changed: > >What|Removed

[Bug libgomp/105358] [12 Regression] scan* fails on targets without aligned memory allocators.

2022-04-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105358 --- Comment #1 from Jakub Jelinek --- That change was completely intentional, to fix Solaris/x86 etc. If there is not an efficient aligned alloc, we don't want struct gomp_work_share to require 64-byte alignment (because normal allocator can't

[Bug libgomp/105358] [12 Regression] scan* fails on targets without aligned memory allocators.

2022-04-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105358 --- Comment #2 from Jakub Jelinek --- Does --- libgomp/libgomp.h.jj2022-01-11 23:11:23.890269075 +0100 +++ libgomp/libgomp.h 2022-04-25 11:20:09.744103064 +0200 @@ -717,6 +717,13 @@ struct gomp_team /* This barrier is used for most

  1   2   >