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

2021-11-02 Thread damian at sourceryinstitute dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103054 Bug ID: 103054 Summary: [f18] Gfortran accepts invalid and rejects valid co_reduce argument keyword name Product: gcc Version: 11.2.0 Status: UNCONFIRMED

[Bug middle-end/103053] Unexpected ".global __divti3" emitted for unsigned 128 bit division

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

[Bug middle-end/103053] Unexpected ".global __divti3" emitted for unsigned 128 bit division

2021-11-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103053 --- Comment #1 from Andrew Pinski --- >.globl __divti3 > even though there is no call to that function. Yes it does no harm to emit it though.

[Bug c/103053] New: Unexpected ".global __divti3" emitted for unsigned 128 bit division

2021-11-02 Thread simonb at vmware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103053 Bug ID: 103053 Summary: Unexpected ".global __divti3" emitted for unsigned 128 bit division Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity: normal

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

2021-11-02 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102049 --- Comment #4 from Eric Gallager --- (In reply to Marek Polacek from comment #3) > Closing due to not enough interest. > > My patch was: > https://gcc.gnu.org/pipermail/gcc-patches/2021-September/580179.html Wait, I was interested!

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

2021-11-02 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100937 Eric Gallager changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/103029] [12 regression] gcc.dg/vect/pr82436.c ICEs on r12-4818

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

[Bug tree-optimization/103041] [12 regression] gcc.dg/vect/slp-reduc-10a.c etc. FAIL

2021-11-02 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103041 luoxhu at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug d/103044] d: Use __builtin_clear_padding for zeroing objects before set.

2021-11-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103044 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug d/103040] [12 Regression] gdc.dg/torture/pr101273.d FAILs

2021-11-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103040 --- Comment #18 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:62af7d9402f551fa708125fafed2950d8912b25e commit r12-4857-g62af7d9402f551fa708125fafed2950d8912b25e Author: Jan Hubicka Date: Wed

[Bug target/103015] [pentium4][solaris] Segmentation fault loading pointer to TLS

2021-11-02 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103015 --- Comment #8 from Iain Buclaw --- (In reply to Iain Buclaw from comment #6) > Not that there's a regressing commit anywhere, just a change exposed a > problem with Solaris. First commit it started occurring with -O2 -ftree-vectorize is

[Bug c++/103048] Mandatory copy elision used for catch-by-value

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

[Bug ipa/103052] [9/10/11/12 Regression] Function call omitted at -O1 optimization level.

2021-11-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103052 Andrew Pinski changed: What|Removed |Added Known to fail||10.3.0, 11.2.0 --- Comment #6 from

[Bug ipa/103052] [9/10/11/12 Regression] Function call omitted at -O1 optimization level.

2021-11-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103052 Andrew Pinski changed: What|Removed |Added Component|middle-end |ipa Status|UNCONFIRMED

[Bug middle-end/103052] [9/10/11/12 Regression] Function call omitted at -O1 optimization level.

2021-11-02 Thread tor at ccxvii dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103052 --- Comment #4 from Tor Andersson --- I can make it succeed with -O1 if I add the -fipa-pure-const flag, if that can help tracking down. $ gcc -O1 xxx.c && ./a.out FAIL: should NOT get here :( $ gcc -O1 -fno-ipa-pure-const xxx.c && ./a.out

[Bug middle-end/103052] [9/10/11/12 Regression] Function call omitted at -O1 optimization level.

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

[Bug middle-end/103052] Function call omitted at -O1 optimization level.

2021-11-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103052 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code Component|c

[Bug c/103052] Function call omitted at -O1 optimization level.

2021-11-02 Thread tor at ccxvii dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103052 --- Comment #2 from Tor Andersson --- Same problem with gcc-11. $ gcc-11 -O1 xxx.c && ./a.out FAIL: should NOT get here :( $ gcc-11 -v Using built-in specs. COLLECT_GCC=/usr/bin/gcc-11

[Bug c/103052] Function call omitted at -O1 optimization level.

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

[Bug c/103052] New: Function call omitted at -O1 optimization level.

2021-11-02 Thread tor at ccxvii dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103052 Bug ID: 103052 Summary: Function call omitted at -O1 optimization level. Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity: normal Priority: P3

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

2021-11-02 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103051 Bug ID: 103051 Summary: [12 regression] new test case gcc.dg/vect/tsvc/vect-tsvc-s112.c fails in r12-4840 Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug d/103040] [12 Regression] gdc.dg/torture/pr101273.d FAILs

2021-11-02 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103040 --- Comment #17 from hubicka at kam dot mff.cuni.cz --- > Great, I will take a look now (I was travelling that is why i did not > started earlier) Found it - there is a thinko in way NOT_RETURNED flag is handled in the call statement analysis.

[Bug d/103040] [12 Regression] gdc.dg/torture/pr101273.d FAILs

2021-11-02 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103040 --- Comment #16 from hubicka at kam dot mff.cuni.cz --- > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103040 > > --- Comment #15 from Iain Buclaw --- > Got it. The difference between D and C++ is a matter of early inlining. > > The C++

Re: [Bug d/103040] [12 Regression] gdc.dg/torture/pr101273.d FAILs

2021-11-02 Thread Jan Hubicka via Gcc-bugs
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103040 > > --- Comment #15 from Iain Buclaw --- > Got it. The difference between D and C++ is a matter of early inlining. > > The C++ example Jakub posted fails in the same way that D does if you compile > with: -O1 -fno-inline Great, I will take a

[Bug d/103040] [12 Regression] gdc.dg/torture/pr101273.d FAILs

2021-11-02 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103040 --- Comment #15 from Iain Buclaw --- Got it. The difference between D and C++ is a matter of early inlining. The C++ example Jakub posted fails in the same way that D does if you compile with: -O1 -fno-inline

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

2021-11-02 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 Resolution|--- |WONTFIX Status|ASSIGNED

[Bug tree-optimization/103050] [12 Regression] 520.omnetpp_r miscompiled after r12-4787-gb8ef019ab938471f

2021-11-02 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103050 Martin Liška changed: What|Removed |Added Priority|P3 |P1 Target Milestone|---

[Bug tree-optimization/103050] [12 Regression] 520.omnetpp_r miscompiled after r12-4787-gb8ef019ab938471f

2021-11-02 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103050 --- Comment #10 from Martin Liška --- Alternatively, one can see the memory corruption during LTO bootstrap in Go library build: $ ../configure --enable-languages=c,c++,lto,go --disable-multilib --disable-libsanitizer

[Bug d/103040] [12 Regression] gdc.dg/torture/pr101273.d FAILs

2021-11-02 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103040 --- Comment #14 from Iain Buclaw --- (In reply to hubicka from comment #13) > > See above comments from Iain, even if that pre-initialization is removed it > > is > > still miscompiled. And, the testcase fails not because of the padding bits

[Bug c++/97376] Function type to function pointer type adjustment for non-type template parameter does not work when using decltype(auto)

2021-11-02 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97376 Patrick Palka changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/103050] [12 Regression] 520.omnetpp_r miscompiled after r12-4787-gb8ef019ab938471f

2021-11-02 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103050 --- Comment #9 from Martin Liška --- ... where mod_ref_flags are: (gdb) p modref_flags $15 = 247 and (gdb) p modref_flags $18 = 22

[Bug tree-optimization/103050] [12 Regression] 520.omnetpp_r miscompiled after r12-4787-gb8ef019ab938471f

2021-11-02 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103050 --- Comment #8 from Martin Liška --- So the only 2 transform happen here: (gdb) bt #0 gimple_call_retslot_flags (stmt=0x74543b40) at /home/marxin/Programming/gcc/gcc/gimple.c:1644 #1 0x00ff6128 in handle_rhs_call

[Bug tree-optimization/103050] [12 Regression] 520.omnetpp_r miscompiled after r12-4787-gb8ef019ab938471f

2021-11-02 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103050 --- Comment #7 from Martin Liška --- $ grep dbgcnt omn* omnetpp_r.ltrans0.ltrans.140t.pre:***dbgcnt: lower limit 1296 reached for ipa_mod_ref_pta.*** omnetpp_r.ltrans0.ltrans.140t.pre:***dbgcnt: upper limit 1296 reached for ipa_mod_ref_pta.***

[Bug d/103040] [12 Regression] gdc.dg/torture/pr101273.d FAILs

2021-11-02 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103040 --- Comment #13 from hubicka at kam dot mff.cuni.cz --- > See above comments from Iain, even if that pre-initialization is removed it is > still miscompiled. And, the testcase fails not because of the padding bits > not > being zero, but

Re: [Bug d/103040] [12 Regression] gdc.dg/torture/pr101273.d FAILs

2021-11-02 Thread Jan Hubicka via Gcc-bugs
> See above comments from Iain, even if that pre-initialization is removed it is > still miscompiled. And, the testcase fails not because of the padding bits > not > being zero, but because the address of self stored into one of the fields > isn't > there or modref thinks it can't be changed or

[Bug c++/101764] ICE for constexpr if within fold expression within lambda expression within a template

2021-11-02 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101764 Patrick Palka changed: What|Removed |Added CC||c.de-claverie at pm dot me --- Comment

[Bug c++/96815] internal compiler error: in tsubst_pack_expansion, at cp/pt.c:12928

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

[Bug tree-optimization/103050] [12 Regression] 520.omnetpp_r miscompiled after r12-4787-gb8ef019ab938471f

2021-11-02 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103050 --- Comment #6 from Martin Liška --- I was able to track that to ltrans0, where one needs 2 optimizations to happen: -fdbg-cnt=ipa_mod_ref_pta:1296-1296:1482-1482 then optimized dump differs (good vs. bad) in: void recordScalar (struct

[Bug d/103040] [12 Regression] gdc.dg/torture/pr101273.d FAILs

2021-11-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103040 --- Comment #12 from Jakub Jelinek --- (In reply to Jan Hubicka from comment #11) > Sorry for the breakage. > > Looking at Jakub's comment: > SR.11_24 = 0; > _12 = SR.11_24; > MEM [(unsigned char * {ref-all})] = _12; > nrvo =

[Bug middle-end/103030] floating point to int inconsistency

2021-11-02 Thread c25devbiz at aol dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103030 --- Comment #4 from c25devbiz at aol dot com --- it works with -mpc64 so the default was set to the highest, but I guess should have been limited by the target

[Bug tree-optimization/103041] [12 regression] gcc.dg/vect/slp-reduc-10a.c etc. FAIL

2021-11-02 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103041 --- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #1 from luoxhu at gcc dot gnu.org --- > Could you please verify whether it is caused by r12-4818 instead of r12-4819? > r12-4819 is a NFC patch which seems more unlikely,

[Bug tree-optimization/103050] [12 Regression] 520.omnetpp_r miscompiled after r12-4787-gb8ef019ab938471f

2021-11-02 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103050 --- Comment #5 from Martin Liška --- This one is real: Running simulation... ** Event #1 T=0 Elapsed: 0.000s (0m 00s) 0% completed ev/sec=0 ** Event #2160226 T=0.003 Elapsed: 0.000s (0m 00s) 100% completed ev/sec=0 Simulation

[Bug tree-optimization/103050] [12 Regression] 520.omnetpp_r miscompiled after r12-4787-gb8ef019ab938471f

2021-11-02 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103050 --- Comment #4 from Martin Liška --- (In reply to Martin Liška from comment #3) > First valgrind error happens here: > > Loading NED files from a SPEC directory 13 > ==22550== Conditional jump or move depends on uninitialised value(s) >

[Bug tree-optimization/103050] [12 Regression] 520.omnetpp_r miscompiled after r12-4787-gb8ef019ab938471f

2021-11-02 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103050 --- Comment #3 from Martin Liška --- First valgrind error happens here: Loading NED files from a SPEC directory 13 ==22550== Conditional jump or move depends on uninitialised value(s) ==22550==at 0x53DF91: Cmdenv::sputn(char const*, int)

[Bug fortran/98490] Unexpected out of bounds in array constructor with implied do loop

2021-11-02 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98490 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||krefson at gmail dot com ---

[Bug fortran/103045] False report substring out of bounds with -fbounds-check

2021-11-02 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103045 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |RESOLVED

[Bug tree-optimization/103050] [12 Regression] 520.omnetpp_r miscompiled after r12-4787-gb8ef019ab938471f

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

[Bug tree-optimization/103050] [12 Regression] 520.omnetpp_r miscompiled after r12-4787-gb8ef019ab938471f

2021-11-02 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103050 --- Comment #1 from Jan Hubicka --- Martin, do we know that the retslot change is the bad commit? I proofread the patch and did not see anything obviously wrong, however as seen in PR103040 the previous behaviour that made return slots to

[Bug d/103040] [12 Regression] gdc.dg/torture/pr101273.d FAILs

2021-11-02 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103040 Jan Hubicka changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

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

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

[Bug tree-optimization/103050] New: [12 Regression] 520.omnetpp_r miscompiled after r12-4787-gb8ef019ab938471f

2021-11-02 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103050 Bug ID: 103050 Summary: [12 Regression] 520.omnetpp_r miscompiled after r12-4787-gb8ef019ab938471f Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

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

2021-11-02 Thread frankhb1989 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100937 frankhb1989 at gmail dot com changed: What|Removed |Added CC||frankhb1989 at gmail dot

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

2021-11-02 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103033 qinzhao at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1

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

2021-11-02 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103033 --- Comment #2 from qinzhao at gcc dot gnu.org --- I can repeat this ICE on the gcc farm machine gcc112, which is a Powerpcle linux machine with the latest upstream gcc (11/2/2021). and locate the issue at: Breakpoint 2, expand_DEFERRED_INIT

[Bug tree-optimization/103041] [12 regression] gcc.dg/vect/slp-reduc-10a.c etc. FAIL

2021-11-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103041 --- Comment #3 from Richard Biener --- The dup was fixed, please close as duplicate in case the sparc issue goes away as well.

[Bug tree-optimization/103029] [12 regression] gcc.dg/vect/pr82436.c ICEs on r12-4818

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

[Bug tree-optimization/103029] [12 regression] gcc.dg/vect/pr82436.c ICEs on r12-4818

2021-11-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103029 --- Comment #6 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:164bbf701ff10ff44e272525e8f462ed3ff1cf43 commit r12-4850-g164bbf701ff10ff44e272525e8f462ed3ff1cf43 Author: Richard Biener Date:

[Bug c++/94376] When nested inside a lambda body, [=] captures by const value instead of by value

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

[Bug c++/103049] [C++23] P0849R8 - auto(x): decay-copy in the language

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

[Bug c++/93989] [c++20] Error initializing trivial types in constexpr constructor

2021-11-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93989 --- Comment #8 from Jonathan Wakely --- Further reduced: struct bstring { char buf {}; char* ptr = buf; }; void test01() { constexpr bstring v1{}; }

[Bug c++/93989] [c++20] Error initializing trivial types in constexpr constructor

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

[Bug c++/103049] [C++23] P0849R8 - auto(x): decay-copy in the language

2021-11-02 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103049 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug c++/103049] New: [C++23] P0849R8 - auto(x): decay-copy in the language

2021-11-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103049 Bug ID: 103049 Summary: [C++23] P0849R8 - auto(x): decay-copy in the language Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/93989] [c++20] Error initializing trivial types in constexpr constructor

2021-11-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93989 --- Comment #6 from Jonathan Wakely --- This works fine, i.e. just remove the constexpr specifiers on the local variables: consteval void test01() { typedef constexpr_allocator alloc_type; typedef bstring test_type; alloc_type a1(1);

[Bug tree-optimization/103041] [12 regression] gcc.dg/vect/slp-reduc-10a.c etc. FAIL

2021-11-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103041 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug tree-optimization/103029] [12 regression] gcc.dg/vect/pr82436.c ICEs on r12-4818

2021-11-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103029 --- Comment #5 from Richard Biener --- The gimple_lv_adjust_loop_header_phi comment isn't relevant but what is is the association between PHI node argument and SLP node index from the analysis phase, in particular for backedges. See

[Bug tree-optimization/103025] ICE in insert_stmt_after, at tree-ssa-reassoc.c:1524

2021-11-02 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103025 qinzhao at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |RESOLVED

[Bug tree-optimization/103038] ICE in set_mem_attributes_minus_bitpos, at emit-rtl.c:2092 since r12-4829-g429e3b7d8bf6609d

2021-11-02 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103038 --- Comment #6 from qinzhao at gcc dot gnu.org --- just wondering why the ICE after my fix to PR102281. and found the reason: Before the fix to PR102281, the IR before expansion phase is: void test () { <<< Unknown tree: offset_type >>>

[Bug debug/103046] [11/12 Regression] Incorrect debug info for uint128 bit shift in gcc 11.2

2021-11-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103046 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |11.3 Ever confirmed|0

[Bug c++/103048] Mandatory copy elision used for catch-by-value

2021-11-02 Thread songyuanyao at qq dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103048 --- Comment #1 from songyuanyao --- https://timsong-cpp.github.io/cppwp/except#throw-5

[Bug c++/103048] New: Mandatory copy elision used for catch-by-value

2021-11-02 Thread songyuanyao at qq dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103048 Bug ID: 103048 Summary: Mandatory copy elision used for catch-by-value Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug other/103011] fatal error: process.h: No such file or directory when canadian compile x86_64-w64-mingw32

2021-11-02 Thread pexu--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103011 Pekka S changed: What|Removed |Added CC||p...@gcc-bugzilla.mail.kaps

[Bug d/103040] gdc.dg/torture/pr101273.d FAILs

2021-11-02 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103040 --- Comment #10 from Iain Buclaw --- (In reply to Iain Buclaw from comment #8) > Still occurs after stubbing out the build_memset_call function in the D > front-end. Just having a look at the this reference parameter now. Switched the return

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

2021-11-02 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103037 --- Comment #6 from rguenther at suse dot de --- On Tue, 2 Nov 2021, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103037 > > --- Comment #5 from Jakub Jelinek --- > We have: > var_3.2_4 = var_3; >

[Bug debug/103047] New: Inconsist arguments ordering for inlined subroutine

2021-11-02 Thread liyd2021 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103047 Bug ID: 103047 Summary: Inconsist arguments ordering for inlined subroutine Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug preprocessor/103027] Implement warning for homoglyphs in identifiers [CVE-2021-42694]

2021-11-02 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103027 --- Comment #3 from David Malcolm --- For reference, here's a patch to clang-tidy for this (currently under review): https://reviews.llvm.org/D112916

[Bug debug/103046] New: Incorrect debug info for uint128 bit shift in gcc 11.2

2021-11-02 Thread liyd2021 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103046 Bug ID: 103046 Summary: Incorrect debug info for uint128 bit shift in gcc 11.2 Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug rtl-optimization/103006] [9/10/11/12 Regression] wrong code at -O1 or -O2 on x86_64-linux-gnu by r7-7101

2021-11-02 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103006 --- Comment #10 from rguenther at suse dot de --- On Tue, 2 Nov 2021, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103006 > > Jakub Jelinek changed: > >What|Removed

[Bug d/103040] gdc.dg/torture/pr101273.d FAILs

2021-11-02 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103040 --- Comment #9 from Iain Buclaw --- Confirmed that r12-4814 is the first commit when this FAIL started to occur.

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2021-11-02 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 103007, which changed state. Bug 103007 Summary: [12 Regression] ice in vect_normalize_conj_loc, at tree-vect-slp-patterns.c:722 since r12-4785-ged3de62ac949c92ad41ef6de7cc926fbb2a510ce

[Bug tree-optimization/103007] [12 Regression] ice in vect_normalize_conj_loc, at tree-vect-slp-patterns.c:722 since r12-4785-ged3de62ac949c92ad41ef6de7cc926fbb2a510ce

2021-11-02 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103007 Tamar Christina changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/103007] [12 Regression] ice in vect_normalize_conj_loc, at tree-vect-slp-patterns.c:722 since r12-4785-ged3de62ac949c92ad41ef6de7cc926fbb2a510ce

2021-11-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103007 --- Comment #11 from CVS Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:6cc8aa65fdeaefe9774d5e0d4e72c91f52313be1 commit r12-4846-g6cc8aa65fdeaefe9774d5e0d4e72c91f52313be1 Author: Tamar Christina

[Bug tree-optimization/103038] ICE in set_mem_attributes_minus_bitpos, at emit-rtl.c:2092 since r12-4829-g429e3b7d8bf6609d

2021-11-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103038 --- Comment #5 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:268b43d2592c196ea101946d7063156a914b2713 commit r12-4845-g268b43d2592c196ea101946d7063156a914b2713 Author: Richard Biener Date:

[Bug tree-optimization/103038] ICE in set_mem_attributes_minus_bitpos, at emit-rtl.c:2092 since r12-4829-g429e3b7d8bf6609d

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

[Bug c++/102975] Local alias diagnosed as unused when used in failing constraint

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

[Bug fortran/103045] False report substring out of bounds with -fbounds-check

2021-11-02 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103045 Dominique d'Humieres changed: What|Removed |Added Last reconfirmed||2021-11-02

[Bug target/103015] [pentium4][solaris] Segmentation fault loading pointer to TLS

2021-11-02 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103015 --- Comment #7 from Iain Buclaw --- (In reply to Iain Buclaw from comment #6) > Not that there's a regressing commit anywhere, just a change exposed a > problem with Solaris. First commit it started occurring with -O2 is r12-4240. This gives

[Bug libstdc++/102912] [12 Regression] Not full support of const arguments in std::variant

2021-11-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102912 --- Comment #2 from Jonathan Wakely --- This is a bit of a mess. Previously we didn't construct the correct member of the union in _-variant_construct_single, we just plopped an object in the memory occupied by the union: void* __storage =

[Bug fortran/103045] New: False report substring out of bounds with -fbounds-check

2021-11-02 Thread krefson at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103045 Bug ID: 103045 Summary: False report substring out of bounds with -fbounds-check Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/102505] [10/11/12 Regression] ICE in verify_sra_access_forest with 16 byte aligned field and virtual inheritance since r10-6321-g636e80eea24b780f

2021-11-02 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102505 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug d/103040] gdc.dg/torture/pr101273.d FAILs

2021-11-02 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103040 --- Comment #8 from Iain Buclaw --- Still occurs after stubbing out the build_memset_call function in the D front-end. Just having a look at the this reference parameter now.

[Bug tree-optimization/103041] [12 regression] gcc.dg/vect/slp-reduc-10a.c etc. FAIL

2021-11-02 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103041 --- Comment #1 from luoxhu at gcc dot gnu.org --- Could you please verify whether it is caused by r12-4818 instead of r12-4819? r12-4819 is a NFC patch which seems more unlikely, and r12-4818 also ICEs in PR103029, it is possibly a duplicate of

[Bug d/103044] New: d: Use __builtin_clear_padding for zeroing objects before set.

2021-11-02 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103044 Bug ID: 103044 Summary: d: Use __builtin_clear_padding for zeroing objects before set. Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug d/103040] gdc.dg/torture/pr101273.d FAILs

2021-11-02 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103040 --- Comment #7 from Iain Buclaw --- (In reply to Jakub Jelinek from comment #6) > One quite visible change is that D has those stmts that clear the vars > before it is constructed, so e.g. in main: > SR.11_24 = 0; > _12 = SR.11_24; > MEM

[Bug fortran/103043] gfortran can not write to files (macOS Monterey GCC 11.2.0)

2021-11-02 Thread gccbug at duemmels dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103043 --- Comment #3 from Thomas --- thank you for the quick response. I am very new here and did not immediately see that this was already discussed. Does this mean you have to wait for an update from Apple or is there a workaround? many thanks

[Bug d/103040] gdc.dg/torture/pr101273.d FAILs

2021-11-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103040 --- Comment #6 from Jakub Jelinek --- One quite visible change is that D has those stmts that clear the vars before it is constructed, so e.g. in main: SR.11_24 = 0; _12 = SR.11_24; MEM [(unsigned char * {ref-all})] = _12; nrvo =

[Bug d/103040] gdc.dg/torture/pr101273.d FAILs

2021-11-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103040 --- Comment #5 from Jakub Jelinek --- So the question is what is different between the C++ and D version. In C++17, RVO is mandatory, NRVO is an optimization, but guess one could add a copy constructor that would set impl to this and copy over

[Bug libfortran/102992] fortran: redirecting standard out to a file does not work on macOS 12.0

2021-11-02 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102992 Dominique d'Humieres changed: What|Removed |Added CC||gccbug at duemmels dot de ---

[Bug fortran/103043] gfortran can not write to files (macOS Monterey GCC 11.2.0)

2021-11-02 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103043 Dominique d'Humieres changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug fortran/103043] gfortran can not write to files (macOS Monterey GCC 11.2.0)

2021-11-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103043 --- Comment #1 from Andrew Pinski --- There is a dup of this already and it is a bug in Mac os where deconstructs are not run.

  1   2   >