[Bug ipa/95558] [9/10/11/12 Regression] Invalid IPA optimizations based on weak definition

2021-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95558 Andrew Pinski changed: What|Removed |Added Known to fail||4.7.1 Known to work|

[Bug other/102440] Uinteger Opt/Param but the underlying type is signed

2021-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102440 Andrew Pinski changed: What|Removed |Added Component|middle-end |other --- Comment #2 from Andrew

[Bug c++/102326] ICE in tree_to_uhwi, at tree.c:4520

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

[Bug debug/99334] Generated DWARF unwind table issue while on instructions where rbp is pointing to callers stack frame

2021-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99334 --- Comment #16 from Andrew Pinski --- (In reply to AJ D from comment #15) > Is it fixed in GCC-9.4? > > Didn't find PR99334 in > https://gcc.gnu.org/bugzilla/buglist. > cgi?bug_status=RESOLVED=FIXED_milestone=9.4 > > If not, which GCC9.*

[Bug debug/99334] Generated DWARF unwind table issue while on instructions where rbp is pointing to callers stack frame

2021-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99334 Andrew Pinski changed: What|Removed |Added Known to work||10.3.0, 11.1.0, 8.5.0,

[Bug target/102326] ICE in tree_to_uhwi, at tree.c:4520

2021-09-21 Thread pc.wang at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102326 Pengcheng Wang changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug debug/99334] Generated DWARF unwind table issue while on instructions where rbp is pointing to callers stack frame

2021-09-21 Thread aatsnps at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99334 --- Comment #15 from AJ D --- Is it fixed in GCC-9.4? Didn't find PR99334 in https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED=FIXED_milestone=9.4 If not, which GCC9.* release can we expect a fix for it?

[Bug middle-end/102440] Uinteger Opt/Param but the underlying type is signed

2021-09-21 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102440 Kewen Lin changed: What|Removed |Added CC||segher at gcc dot gnu.org

[Bug tree-optimization/102440] New: Uinteger Opt/Param but the underlying type is signed

2021-09-21 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102440 Bug ID: 102440 Summary: Uinteger Opt/Param but the underlying type is signed Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/102438] [x86-64] Failure to optimize out spill in vector code when a cast is used

2021-09-21 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102438 --- Comment #4 from Hongtao.liu --- (In reply to Hongtao.liu from comment #3) > currently the i386 backend doesn't support V1DFmode, and it's treated as a > DImode (an equal-size integer type) and passed by stack. typo, moved through stack.

[Bug target/102438] [x86-64] Failure to optimize out spill in vector code when a cast is used

2021-09-21 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102438 --- Comment #3 from Hongtao.liu --- currently the i386 backend doesn't support V1DFmode, and it's treated as a DImode (an equal-size integer type) and passed by stack. Shall we support V1DFmode?

[Bug target/102404] Loop vectorized with 32 byte vectors actually uses 16 byte vectors

2021-09-21 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102404 --- Comment #6 from Hongtao.liu --- (In reply to Hongtao.liu from comment #5) > (In reply to Freddie Witherden from comment #4) > > Created attachment 51485 [details] > > Clang assembly. > > It seems to be because the current GCC loop

[Bug target/102404] Loop vectorized with 32 byte vectors actually uses 16 byte vectors

2021-09-21 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102404 --- Comment #5 from Hongtao.liu --- (In reply to Freddie Witherden from comment #4) > Created attachment 51485 [details] > Clang assembly. It seems to be because the current GCC loop vectorizer does not support different vector sizes, and here

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-09-21 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 --- Comment #22 from Segher Boessenkool --- Backported to 11 and 10. Not doing GCC 9; the problem is older than that, and the backport wouldn't be completely trivial. Paul, please close if everything is okay now?

[Bug target/102347] "fatal error: target specific builtin not available" with MMA and LTO

2021-09-21 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102347 --- Comment #7 from Peter Bergner --- (In reply to Martin Liška from comment #6) > Quickly looking at the rs6000 code, it fails here: > > #1 0x11a0993c in rs6000_invalid_builtin > (fncode=MMA_BUILTIN_DISASSEMBLE_ACC_INTERNAL) at >

[Bug c++/102434] [11/12 Regression] ICE in output_constructor_regular_field, at varasm.c:5514

2021-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102434 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.3

[Bug c++/102434] [11/12 Regression] ICE in output_constructor_regular_field, at varasm.c:5514

2021-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102434 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-09-21

[Bug c++/102439] New: deprecated attributes do not work on struct/class if type is auto deduced

2021-09-21 Thread spaun2002 at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102439 Bug ID: 102439 Summary: deprecated attributes do not work on struct/class if type is auto deduced Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-09-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 --- Comment #21 from CVS Commits --- The releases/gcc-10 branch has been updated by Segher Boessenkool : https://gcc.gnu.org/g:14b7e8ace8236bd341a182dc3ef044fe98de5525 commit r10-10144-g14b7e8ace8236bd341a182dc3ef044fe98de5525 Author: Segher

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-09-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 --- Comment #20 from CVS Commits --- The releases/gcc-10 branch has been updated by Segher Boessenkool : https://gcc.gnu.org/g:5a989ccd3cbc31cb0e5fecd9423fc1577f3694b0 commit r10-10143-g5a989ccd3cbc31cb0e5fecd9423fc1577f3694b0 Author: Segher

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-09-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 --- Comment #19 from CVS Commits --- The releases/gcc-11 branch has been updated by Segher Boessenkool : https://gcc.gnu.org/g:da0a5628d47ee59320dac9787f3232b0911fbc14 commit r11-9022-gda0a5628d47ee59320dac9787f3232b0911fbc14 Author: Segher

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-09-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 --- Comment #18 from CVS Commits --- The releases/gcc-11 branch has been updated by Segher Boessenkool : https://gcc.gnu.org/g:5210f05c6eba12561914cb0fdf7aec149b28f179 commit r11-9021-g5210f05c6eba12561914cb0fdf7aec149b28f179 Author: Segher

[Bug target/102438] [x86-64] Failure to optimize out spill in vector code when a cast is used

2021-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102438 --- Comment #2 from Andrew Pinski --- There might be a dup of this bug too.

[Bug target/102438] [x86-64] Failure to optimize out spill in vector code when a cast is used

2021-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102438 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-09-21

[Bug target/102438] New: [x86-64] Failure to optimize out random extra store+load in vector code when memcpy is used

2021-09-21 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102438 Bug ID: 102438 Summary: [x86-64] Failure to optimize out random extra store+load in vector code when memcpy is used Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c++/102049] Extend attribute deprecated to allow optional 2nd argument

2021-09-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102049 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug fortran/102371] Error for type spec in FORALL statement

2021-09-21 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102371 --- Comment #3 from Steve Kargl --- On Tue, Sep 21, 2021 at 08:05:02PM +, anlauf at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102371 > > anlauf at gcc dot gnu.org changed: > >What|Removed

[Bug driver/102437] [11/12 Regression] gcc-11 and later started recognising -R option

2021-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102437 --- Comment #2 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #1) > common.opt lists -R since r0-104214-g6d721f6786362871895a36e4f26f09ded82d55ec > so for quite a while as a driver option. I think r11-635-g6232d02b4fce4c67d398

[Bug driver/102437] [11/12 Regression] gcc-11 and later started recognising -R option

2021-09-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102437 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug driver/102437] [11/12 Regression] gcc-11 and later started recognising -R option

2021-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102437 Andrew Pinski changed: What|Removed |Added Keywords||accepts-invalid Summary|[11

[Bug driver/102437] New: [11 Regression] gcc-11 and later started recognising -R option

2021-09-21 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102437 Bug ID: 102437 Summary: [11 Regression] gcc-11 and later started recognising -R option Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal

[Bug preprocessor/102432] [11/12 Regression] ICE in _cpp_lex_direct with function like macro without arguments within "pragma omp" statement

2021-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102432 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug preprocessor/102432] [11/12 Regression] ICE in _cpp_lex_direct, at libcpp/lex.c:2949

2021-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102432 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.3 See Also|

[Bug lto/102426] [12 regression] Fix for PR 49664 breaks Solaris bootstrap with gld

2021-09-21 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102426 --- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #2 from Andrew Pinski --- > It seems like only this feature which libtool gets wrong. > > There are other places where lt_cv_prog_gnu_ld/with_gnu_ld is checked. > So it

[Bug tree-optimization/102436] New: [11/12 Regression] Lost Load/Store Motion

2021-09-21 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102436 Bug ID: 102436 Summary: [11/12 Regression] Lost Load/Store Motion Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/78219] [F08] specifying the kind of a FORALL index in the header

2021-09-21 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78219 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||longb at cray dot com ---

[Bug fortran/102371] Error for type spec in FORALL statement

2021-09-21 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102371 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug fortran/78219] [F08] specifying the kind of a FORALL index in the header

2021-09-21 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78219 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug c/54192] -fno-trapping-math by default?

2021-09-21 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54192 --- Comment #8 from joseph at codesourcery dot com --- On Tue, 21 Sep 2021, rguenther at suse dot de via Gcc-bugs wrote: > Yes, as said in other contexts GCC happily _removes_ traps if trapping > is the only side-effect. _Unless_ you also have

[Bug c++/102419] [11/12 Regression][concepts] [regression] return-type-requirement of "Y" does not check that T::type actually exists

2021-09-21 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102419 --- Comment #4 from Arthur O'Dwyer --- > IMHO Clang/MSVC are clearly misbehaving here -- when evaluating the > concept-id X, they appear to be substituting {int} into X's > constraint-expression instead of into the normal form of X's >

[Bug tree-optimization/102435] New: gcc 9: aarch64 -ftree-loop-vectorize results in wrong code

2021-09-21 Thread dimitry--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102435 Bug ID: 102435 Summary: gcc 9: aarch64 -ftree-loop-vectorize results in wrong code Product: gcc Version: 9.4.1 Status: UNCONFIRMED Severity: normal

[Bug c++/102432] [11/12 Regression] ICE in _cpp_lex_direct, at libcpp/lex.c:2949

2021-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102432 --- Comment #1 from Andrew Pinski --- I just saw a related bug which is much older and dates from around 4.4 time frame.

[Bug c++/102434] New: [11/12 Regression] ICE in output_constructor_regular_field, at varasm.c:5514

2021-09-21 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102434 Bug ID: 102434 Summary: [11/12 Regression] ICE in output_constructor_regular_field, at varasm.c:5514 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug fortran/85130] Substrings out of range are not rejected

2021-09-21 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85130 anlauf at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |9.5 Resolution|---

[Bug c++/102433] New: [11/12 Regression] ICE in ~saved_token_sentinel, at cp/parser.c:1293

2021-09-21 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102433 Bug ID: 102433 Summary: [11/12 Regression] ICE in ~saved_token_sentinel, at cp/parser.c:1293 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/85130] Substrings out of range are not rejected

2021-09-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85130 --- Comment #10 from CVS Commits --- The releases/gcc-9 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:0fabf86a52c46db19026a956cf386da46fa4d0be commit r9-9738-g0fabf86a52c46db19026a956cf386da46fa4d0be Author: Harald Anlauf

[Bug c++/102432] New: [11/12 Regression] ICE in _cpp_lex_direct, at libcpp/lex.c:2949

2021-09-21 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102432 Bug ID: 102432 Summary: [11/12 Regression] ICE in _cpp_lex_direct, at libcpp/lex.c:2949 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/102431] New: [12 Regression] ICE in lower_gimple_bind, at gimple-low.c:439

2021-09-21 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102431 Bug ID: 102431 Summary: [12 Regression] ICE in lower_gimple_bind, at gimple-low.c:439 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/102430] New: ICE in fold_convert_loc, at fold-const.c:2554

2021-09-21 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102430 Bug ID: 102430 Summary: ICE in fold_convert_loc, at fold-const.c:2554 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/85130] Substrings out of range are not rejected

2021-09-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85130 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:a1591a283767168982ff60414ee01aaa1400fbf8 commit r10-10142-ga1591a283767168982ff60414ee01aaa1400fbf8 Author: Harald Anlauf

[Bug fortran/101330] [openmp]ICE in free_expr0(): Bad expr type

2021-09-21 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101330 --- Comment #3 from G. Steinmetz --- A better test case : $ cat z2.f90 !$omp task affinity (iterator(j=1:2:)) !$omp task affinity (iterator(j=1:2::)) !$omp task affinity (iterator(j=1:-2:)) !$omp task depend (iterator(j=1:2:)) !$omp task

[Bug fortran/102287] optional allocatable array arguments (intent out) of derived types with allocatable components are not properly passed to subroutines.

2021-09-21 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102287 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug fortran/102287] optional allocatable array arguments (intent out) of derived types with allocatable components are not properly passed to subroutines.

2021-09-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102287 --- Comment #7 from CVS Commits --- The releases/gcc-9 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:4210c6c62f6938cd70d768b1bd1ea98d13e3b805 commit r9-9737-g4210c6c62f6938cd70d768b1bd1ea98d13e3b805 Author: Harald Anlauf

[Bug c++/94673] [concepts] What is the return type of local parameters of requires expressions?

2021-09-21 Thread gcc-bugs at marehr dot dialup.fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94673 gcc-bugs at marehr dot dialup.fu-berlin.de changed: What|Removed |Added Resolution|--- |WORKSFORME

[Bug fortran/102287] optional allocatable array arguments (intent out) of derived types with allocatable components are not properly passed to subroutines.

2021-09-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102287 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:216a4be1cc18119a83df562f7abb3dcebd9ce512 commit r10-10141-g216a4be1cc18119a83df562f7abb3dcebd9ce512 Author: Harald Anlauf

[Bug fortran/102366] [10/11/12 Regression] large arrays no longer become static

2021-09-21 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102366 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED

[Bug fortran/102366] [10/11/12 Regression] large arrays no longer become static

2021-09-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102366 --- Comment #17 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:d3db5b1d23cbe4e4569e688a6dbc8b5b2c38588e commit r10-10140-gd3db5b1d23cbe4e4569e688a6dbc8b5b2c38588e Author: Harald

[Bug fortran/102366] [10/11/12 Regression] large arrays no longer become static

2021-09-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102366 --- Comment #16 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:7fbab3afca910c055676ebc566bf87c4d5a7372f commit r11-9020-g7fbab3afca910c055676ebc566bf87c4d5a7372f Author: Harald Anlauf

[Bug middle-end/102415] [12 Regression] ICE in bb_seq_addr, at gimple.h:1786

2021-09-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102415 --- Comment #1 from Jakub Jelinek --- Created attachment 51491 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51491=edit gcc12-pr102415.patch Untested fix.

[Bug target/102429] New: nvptx: ICE with expand_GOMP_SIMT_XCHG_BFLY : in expand_insn, at optabs.c:7947

2021-09-21 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102429 Bug ID: 102429 Summary: nvptx: ICE with expand_GOMP_SIMT_XCHG_BFLY : in expand_insn, at optabs.c:7947 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

[Bug d/102428] New: d: Set TREE_NOTHROW for nothrow functions and library calls

2021-09-21 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102428 Bug ID: 102428 Summary: d: Set TREE_NOTHROW for nothrow functions and library calls Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/81157] If constexpr does not support Short-circuit evaluation

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

[Bug c++/94673] [concepts] What is the return type of local parameters of requires expressions?

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

[Bug lto/102426] [12 regression] Fix for PR 49664 breaks Solaris bootstrap with gld

2021-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102426 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-09-21 Keywords|

[Bug middle-end/102427] -Woverflow only works in constant expressions

2021-09-21 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102427 Martin Sebor changed: What|Removed |Added Severity|normal |enhancement Keywords|

[Bug target/102024] [12 Regression] zero width bitfields and ABIs

2021-09-21 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102024 --- Comment #15 from Bill Schmidt --- Jakub, could you add a note with a section ID in https://gcc.gnu.org/gcc-12/changes.html as was done for the similar case in GCC 10? This allowed us to specify a URL in the informational diagnostic, like

[Bug c/102427] -Woverflow only works in constant expressions

2021-09-21 Thread david at westcontrol dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102427 --- Comment #2 from David Brown --- Runtime detection is good - compile-time detection is much, much better when it is possible. (IMHO, of course.)

[Bug c/102427] -Woverflow only works in constant expressions

2021-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102427 --- Comment #1 from Andrew Pinski --- You can use -fsanitize=undefined to detect overflow at runtime.

[Bug c/102427] New: -Woverflow only works in constant expressions

2021-09-21 Thread david at westcontrol dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102427 Bug ID: 102427 Summary: -Woverflow only works in constant expressions Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug lto/102426] [12 regression] Fix for PR 49664 breaks Solaris bootstrap with gld

2021-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102426 --- Comment #1 from Andrew Pinski --- So libtool has been broken for over 15 years for this option and we are only noticing now. G.

[Bug c++/102419] [11/12 Regression][concepts] [regression] return-type-requirement of "Y" does not check that T::type actually exists

2021-09-21 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102419 --- Comment #3 from Patrick Palka --- And similarly for: template concept Y = true; template concept X = Y; static_assert(!X); GCC rejects and Clang/MSVC accept. IMHO Clang/MSVC are clearly misbehaving here -- when evaluating the

[Bug c++/101597] [12 Regression] ICE in pretty-printer formatting an OBJ_TYPE_REF since r12-2132-ga110855667782dac

2021-09-21 Thread philip.herron at embecosm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101597 Philip Herron changed: What|Removed |Added CC||philip.herron at embecosm dot com ---

[Bug c++/102419] [11/12 Regression][concepts] [regression] return-type-requirement of "Y" does not check that T::type actually exists

2021-09-21 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102419 --- Comment #2 from Patrick Palka --- Note that you can make GCC effectively behave like Clang/MSVC here changing Y's constraint-expression to trivially depend on its template parameter: template concept Y = requires { typename U; };

[Bug c++/102419] [11/12 Regression][concepts] [regression] return-type-requirement of "Y" does not check that T::type actually exists

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

[Bug libstdc++/102425] std::error_code() does not compare equal to std::error_condition()

2021-09-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102425 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2021-09-21

[Bug libstdc++/95989] Segmentation fault compiling with static libraries and using jthread::request_stop

2021-09-21 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95989 Eric Botcazou changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org ---

[Bug lto/102426] [12 regression] Fix for PR 49664 breaks Solaris bootstrap with gld

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

[Bug lto/102426] New: [12 regression] Fix for PR 49664 breaks Solaris bootstrap with gld

2021-09-21 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102426 Bug ID: 102426 Summary: [12 regression] Fix for PR 49664 breaks Solaris bootstrap with gld Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/102425] New: std::error_code() does not compare equal to std::error_condition()

2021-09-21 Thread pdimov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102425 Bug ID: 102425 Summary: std::error_code() does not compare equal to std::error_condition() Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/102424] New: OpenACC 'reduction' with outer 'loop seq', inner 'loop gang'

2021-09-21 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102424 Bug ID: 102424 Summary: OpenACC 'reduction' with outer 'loop seq', inner 'loop gang' Product: gcc Version: unknown Status: UNCONFIRMED Keywords: openacc

[Bug target/102255] target uses STABS by default

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

[Bug target/102256] target uses STABS by default

2021-09-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102256 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/102423] False accept of virtual methods with deduced return type

2021-09-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102423 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug other/102408] [OpenACC] omp-oacc-neuter-broadcast.cc: random() not available on all platforms

2021-09-21 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102408 Thomas Schwinge changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug other/102408] [OpenACC] omp-oacc-neuter-broadcast.cc: random() not available on all platforms

2021-09-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102408 --- Comment #2 from CVS Commits --- The master branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:e87789f197e47259c94349821d3446f7d959e08f commit r12-3726-ge87789f197e47259c94349821d3446f7d959e08f Author: Thomas Schwinge

[Bug rtl-optimization/93007] [10/11/12 regression] pr77698.c testcase fails due to block commoning

2021-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93007 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Target|

[Bug tree-optimization/94335] [10/11/12 Regression] False positive -Wstringop-overflow warning with -O2

2021-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94335 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/102421] [12 Regression] ICE with -march=armv8.2-a+sve -O3

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

[Bug target/102421] [12 Regression] ICE with -march=armv8.2-a+sve -O3

2021-09-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102421 --- Comment #13 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:55b989de7679a486ad674fb154408de26ac96467 commit r12-3724-g55b989de7679a486ad674fb154408de26ac96467 Author: Richard Biener Date:

[Bug tree-optimization/94335] [10/11/12 Regression] False positive -Wstringop-overflow warning with -O2

2021-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94335 --- Comment #12 from Andrew Pinski --- The warning for the one in comment #0 is gone on the trunk The warning for the testcase in comment #6 is gone in GCC 11.1.0.

[Bug tree-optimization/86613] missing -Warray-bounds on a wide string access due to ccp folding

2021-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86613 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/102421] [12 Regression] ICE with -march=armv8.2-a+sve -O3

2021-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102421 --- Comment #12 from Andrew Pinski --- (In reply to Andrew Pinski from comment #11) > (In reply to Richard Biener from comment #10) > > Going to use the following for g++.dg/vect/ > > > > /* { dg-do compile } */ > > /* { dg-additional-options

[Bug target/102421] [12 Regression] ICE with -march=armv8.2-a+sve -O3

2021-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102421 --- Comment #11 from Andrew Pinski --- (In reply to Richard Biener from comment #10) > Going to use the following for g++.dg/vect/ > > /* { dg-do compile } */ > /* { dg-additional-options "-O3" } */ > /* { dg-additional-options

[Bug tree-optimization/84050] [9/10/11/12 Regression] missing -Warray-bounds accessing a struct array member

2021-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84050 Andrew Pinski changed: What|Removed |Added CC||marco.morandini at polimi dot it ---

[Bug tree-optimization/102422] Missing -Warray-bounds

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

[Bug tree-optimization/84050] [9/10/11/12 Regression] missing -Warray-bounds accessing a struct array member

2021-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84050 --- Comment #10 from Andrew Pinski --- reduced testcase: static int b[3] = { 1, 2, 3 }; int fstatic_array (void) { return b[7]; // missing -Warray-bounds }

[Bug target/102421] [12 Regression] ICE with -march=armv8.2-a+sve -O3

2021-09-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102421 --- Comment #10 from Richard Biener --- Going to use the following for g++.dg/vect/ /* { dg-do compile } */ /* { dg-additional-options "-O3" } */ /* { dg-additional-options "-march=armv8.2-a+sve" { target aarch64-*-* } } */

[Bug target/102421] [12 Regression] ICE with -march=armv8.2-a+sve -O3

2021-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102421 --- Comment #9 from Andrew Pinski --- Unincluded testcase: #include template struct BasicVector { ValueType& operator[](int i) { return x_[i]; } ValueType operator[](int i) const { return x_[i]; } ValueType x_[3]; }; typedef int

[Bug tree-optimization/102422] Missing -Warray-bounds

2021-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102422 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic Component|c

[Bug target/102421] [12 Regression] ICE with -march=armv8.2-a+sve -O3

2021-09-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102421 --- Comment #8 from Richard Biener --- On x86 get_group_load_store_type ends up with VMAT_ELEMENTWISE because /* As a last resort, trying using a gather load or scatter store. ??? Although the code can handle all group sizes

  1   2   >