[Bug c++/108012] Add fix-it hint for smartptr.foo which should be smartptr->foo

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

[Bug c++/108012] Add fix-it hint for smartptr.foo which should be smartptr->foo

2022-12-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108012 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/108008] Compiler mis-optimization with posix_memalign

2022-12-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108008 --- Comment #3 from Andrew Pinski --- (In reply to dhsbz from comment #2) > I tried the example with gcc master, and it seems to behave as expected > (i.e. sameZ=1 for i=1). Tracking back it seems the commit which restored > this was:

[Bug fortran/107753] gfortran returns NaN in complex divisions (x+x*I)/(x+x*I) and (x+x*I)/(x-x*I)

2022-12-07 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107753 --- Comment #15 from anlauf at gcc dot gnu.org --- (In reply to kargl from comment #14) > Comment #10 contains a simple timing measurement in from my Intel Core2 Duo > based system. gfortran with its current method (ie., -fcx-fortran-rules) >

[Bug libstdc++/108015] [13 Regression] 17_intro/headers/c++2011/stdc++_multiple_inclusion.cc failure on i686-linux

2022-12-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108015 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 Target Milestone|---

[Bug ipa/108000] Assert during ipa-cp with AutoFDO

2022-12-07 Thread erozen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108000 --- Comment #3 from Eugene Rozenfeld --- Repro steps: gcc -O2 -g -o ./pr108000 ./pr108000.c perf record -e cpu/event=0xC4,umask=0x20/puk -b -m8 -o perf.data ./pr108000 create_gcov --binary ./pr108000 --profile=./perf.data -gcov_version=2

[Bug libstdc++/108015] [13 Regression] 17_intro/headers/c++2011/stdc++_multiple_inclusion.cc failure on i686-linux

2022-12-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108015 --- Comment #1 from Andrew Pinski --- Funny I was just looking at the preprocessor PR about tokenizing even inside `#if 0` yesterday too.

[Bug c/105177] GCC should warn if pragma redefine_extname fails due to missing declaration

2022-12-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105177 --- Comment #1 from Andrew Pinski --- Here is the Solaris compiler documentation about this feature since GCC is supposed to be implementing them: https://docs.oracle.com/cd/E37069_01/html/E37074/bjacu.html

[Bug middle-end/108016] RISC-V:Bad codegen in scalar code comparing to LLVM

2022-12-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108016 --- Comment #1 from Andrew Pinski --- 99% it is a dup of those other bugs.

[Bug tree-optimization/107986] [12/13 Regression] Bogus -Warray-bounds diagnostic with std::sort

2022-12-07 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107986 --- Comment #7 from Andrew Macleod --- (In reply to Richard Biener from comment #3) > Note the old VRP was able to at least tell that qa was [0, +INF] by means of > iterating and saturating to +INF after too many iterations. SCEV isn't of >

[Bug target/108011] [13 Regression] gcc-13-20221204 failure to build on Cygwin: ‘uc_mcontext’ has incomplete type

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

[Bug debug/106719] [10/11/12/13 Regression] '-fcompare-debug' failure w/ -O2 since r10-6038-ge5e07b68187b9a

2022-12-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106719 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug fortran/107874] merge not using all its arguments

2022-12-07 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107874 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED

[Bug tree-optimization/108008] Compiler mis-optimization with posix_memalign

2022-12-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108008 --- Comment #4 from Andrew Pinski --- Created attachment 54041 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54041=edit Slightly more reduced testcase Slightly more reduced and self contained testcase. I was able to remove the exit from

[Bug target/106585] RISC-V: Mis-optimized code gen for zbs

2022-12-07 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106585 --- Comment #7 from Jeffrey A. Law --- Raphael and I are poking at this a bit. I can't convince myself that it's actually safe to use GPR for the bit manipulation patterns. For rv64 I'm pretty sure the b* instructions are operating on 64bit

[Bug tree-optimization/108008] [12 Regression] Compiler mis-optimization with posix_memalign

2022-12-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108008 --- Comment #8 from Andrew Pinski --- (In reply to Andrew Pinski from comment #7) > (In reply to dhsbz from comment #2) > > (using gcc as of the prior commit shows the behavior as in the bug > > description). I can't judge if the above commit

[Bug tree-optimization/108008] [12 Regression] Compiler mis-optimization with posix_memalign

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

[Bug c++/108016] New: RISC-V:Bad codegen in scalar code comparing to LLVM

2022-12-07 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108016 Bug ID: 108016 Summary: RISC-V:Bad codegen in scalar code comparing to LLVM Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/108017] New: ptr+v >= ptr + d should converted into (long)v >= CST(/sizeof(*ptr))

2022-12-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108017 Bug ID: 108017 Summary: ptr+v >= ptr + d should converted into (long)v >= CST(/sizeof(*ptr)) Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords:

[Bug libstdc++/108015] New: [13 Regression] 17_intro/headers/c++2011/stdc++_multiple_inclusion.cc failure on i686-linux

2022-12-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108015 Bug ID: 108015 Summary: [13 Regression] 17_intro/headers/c++2011/stdc++_multiple_inclusion.cc failure on i686-linux Product: gcc Version: 13.0

[Bug testsuite/108005] FAIL: c-c++-common/asan/null-deref-1.c /pointer-compare-1.c output pattern test

2022-12-07 Thread zhangkefan at ultrarisc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108005 zhangkefan at ultrarisc dot com changed: What|Removed |Added Host|

[Bug preprocessor/105005] Misleading error message at #line directive with no arguments

2022-12-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105005 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/108008] Compiler mis-optimization with posix_memalign

2022-12-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108008 Andrew Pinski changed: What|Removed |Added Attachment #54041|0 |1 is obsolete|

[Bug tree-optimization/108008] Compiler mis-optimization with posix_memalign

2022-12-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108008 Andrew Pinski changed: What|Removed |Added Attachment #54042|0 |1 is obsolete|

[Bug c/107980] va_start does not warn about an arbitrary number of arguments in C2x mode

2022-12-07 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107980 --- Comment #17 from joseph at codesourcery dot com --- The details of not expanding in cases where it matters whether and how many times something is expanded - such as arguments expanding to have unbalanced parentheses - may be a

[Bug c++/108013] `extern "C" int t = 1;` warns about being declared as extern and initialized

2022-12-07 Thread manx-bugzilla at problemloesungsmaschine dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108013 --- Comment #1 from Jörn Heusipp --- Thanks for the work-around with using a extern "C" {} block. That's actually way better than the extra .c file that I did use.

[Bug fortran/107753] gfortran returns NaN in complex divisions (x+x*I)/(x+x*I) and (x+x*I)/(x-x*I)

2022-12-07 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107753 --- Comment #13 from anlauf at gcc dot gnu.org --- (In reply to Steve Kargl from comment #12) > The optimization level is irrelevant. gfortran unilaterally > uses -fcx-fortran-rules, and there is no way to disable this > option to user the

[Bug sanitizer/108014] Incorrect line number in UBSAN's report

2022-12-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108014 --- Comment #1 from Andrew Pinski --- Created attachment 54040 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54040=edit testcase without line #

[Bug fortran/108010] ICE in reduce_unary, at fortran/arith.cc:1345

2022-12-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108010 --- Comment #4 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:7d6512d102a5a4fb3939de95bce38d154512a19f commit r13-4545-g7d6512d102a5a4fb3939de95bce38d154512a19f Author: Harald Anlauf Date:

[Bug target/108011] [13 Regression] gcc-13-20221204 failure to build on Cygwin: ‘uc_mcontext’ has incomplete type

2022-12-07 Thread mckelvey at maskull dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108011 --- Comment #4 from James McKelvey --- Created attachment 54037 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54037=edit signal.h

[Bug fortran/108010] ICE in reduce_unary, at fortran/arith.cc:1345

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

[Bug fortran/108010] ICE in reduce_unary, at fortran/arith.cc:1345

2022-12-07 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108010 anlauf at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2022-12-07 Ever

[Bug sanitizer/108014] Incorrect line number in UBSAN's report

2022-12-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108014 --- Comment #2 from Andrew Pinski --- I don't know if this is a bug really. The statement on line 9 (`e = b + 1;`) gets removed and therefor there was no undefined behavior that happens at all. Either DSE or CDDCE does the removal (depending

[Bug tree-optimization/108008] Compiler mis-optimization with posix_memalign

2022-12-07 Thread dhsbz at chaw dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108008 dhsbz at chaw dot com changed: What|Removed |Added CC||dhsbz at chaw dot com ---

[Bug tree-optimization/108007] wrong code at -Os and above with "-fno-dce -fno-tree-dce" on x86_64-linux-gnu

2022-12-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108007 --- Comment #1 from Andrew Pinski --- #(insn:TI 36 66 40 8 (set (reg:CCGC 17 flags) #(compare:CCGC (mem:SI (const_int 0 [0]) [1 *removed_return.17_12(D)+0 S4 A32]) #(reg:SI 1 dx [orig:83 b.0_5 ] [83])))

[Bug ipa/108007] [10/11/12/13 Regression] wrong code at -Os and above with "-fno-dce -fno-tree-dce" on x86_64-linux-gnu

2022-12-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108007 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-12-07

[Bug tree-optimization/107967] [13 regression] The gcc commit r13-3923 caused the glibc make check fails.

2022-12-07 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107967 --- Comment #11 from Andrew Macleod --- (In reply to Aldy Hernandez from comment #4) > (In reply to Jakub Jelinek from comment #3) > > r13-3923-g2f7f9edd28d75a85a33599978f23811e679e443d > > > > Note, I've just committed the PR107879 fix, but

[Bug target/108006] [13 Regression] ICE in aarch64_move_imm building 502.gcc_r

2022-12-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108006 --- Comment #2 from CVS Commits --- The master branch has been updated by Wilco Dijkstra : https://gcc.gnu.org/g:952c8a1dc6235dc49ab207a7f18f63d2bc97fbc9 commit r13-4538-g952c8a1dc6235dc49ab207a7f18f63d2bc97fbc9 Author: Wilco Dijkstra Date:

[Bug testsuite/108005] FAIL: c-c++-common/asan/null-deref-1.c /pointer-compare-1.c output pattern test

2022-12-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108005 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |WAITING Keywords|

[Bug c++/108012] New: Add fix-it hint for smartptr.foo which should be smartptr->foo

2022-12-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108012 Bug ID: 108012 Summary: Add fix-it hint for smartptr.foo which should be smartptr->foo Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: diagnostic

[Bug c++/100460] [11/12/13 Regression][modules] mingw build broken due to use of unsupported open() flags

2022-12-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100460 --- Comment #6 from Andrew Pinski --- The way libgfortran fixed this two ways. First way is to use umask (disabled for mingw though). Second way is doing #ifndef/#define 0 See: r6-2699-g18a2180daa88bc r0-63059-g41724e6a1387d9

[Bug fortran/107753] gfortran returns NaN in complex divisions (x+x*I)/(x+x*I) and (x+x*I)/(x-x*I)

2022-12-07 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107753 --- Comment #14 from kargl at gcc dot gnu.org --- (In reply to anlauf from comment #13) > (In reply to Steve Kargl from comment #12) > > The optimization level is irrelevant. gfortran unilaterally > > uses -fcx-fortran-rules, and there is no

[Bug c/107980] va_start does not warn about an arbitrary number of arguments in C2x mode

2022-12-07 Thread aaron at aaronballman dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107980 --- Comment #16 from Aaron Ballman --- (In reply to Andrew Pinski from comment #15) > (In reply to Aaron Ballman from comment #14) > > Also, it was a potentially silently breaking change (if you don't mind > > horribly contrived examples of

[Bug bootstrap/108011] New: [13 Regression] gcc-13-20221204 failure to build on Cygwin: ‘uc_mcontext’ has incomplete type

2022-12-07 Thread mckelvey at maskull dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108011 Bug ID: 108011 Summary: [13 Regression] gcc-13-20221204 failure to build on Cygwin: ‘uc_mcontext’ has incomplete type Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug target/108011] [13 Regression] gcc-13-20221204 failure to build on Cygwin: ‘uc_mcontext’ has incomplete type

2022-12-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108011 Andrew Pinski changed: What|Removed |Added Target||x86_64-pc-cygwin

[Bug bootstrap/108011] [13 Regression] gcc-13-20221204 failure to build on Cygwin: ‘uc_mcontext’ has incomplete type

2022-12-07 Thread mckelvey at maskull dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108011 --- Comment #1 from James McKelvey --- Created attachment 54036 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54036=edit Config log

[Bug target/108011] [13 Regression] gcc-13-20221204 failure to build on Cygwin: ‘uc_mcontext’ has incomplete type

2022-12-07 Thread mckelvey at maskull dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108011 James McKelvey changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #6 from James

[Bug c++/108012] Add fix-it hint for smartptr.foo which should be smartptr->foo

2022-12-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108012 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/108013] New: `extern "C" int t = 1;` warns about being declared as extern and initialized

2022-12-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108013 Bug ID: 108013 Summary: `extern "C" int t = 1;` warns about being declared as extern and initialized Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords:

[Bug c/45977] "warning: 'i' initialized and declared 'extern'" could use a separate warning flag controlling it

2022-12-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45977 --- Comment #9 from Andrew Pinski --- (In reply to Jörn Heusipp from comment #8) > I am seeing the same warning, however in C++, when trying to set DJGPP's CRT > startup flags (see ): I filed PR

[Bug fortran/108010] ICE in reduce_unary, at fortran/arith.cc:1345

2022-12-07 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108010 --- Comment #3 from anlauf at gcc dot gnu.org --- Submitted: https://gcc.gnu.org/pipermail/fortran/2022-December/058586.html

[Bug sanitizer/108014] New: Incorrect line number in UBSAN's report

2022-12-07 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108014 Bug ID: 108014 Summary: Incorrect line number in UBSAN's report Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug ipa/108007] [10/11/12/13 Regression] wrong code at -Os and above with "-fno-dce -fno-tree-dce" on x86_64-linux-gnu

2022-12-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108007 Andrew Pinski changed: What|Removed |Added Summary|wrong code at -Os and above |[10/11/12/13 Regression]

[Bug target/108006] [13 Regression] ICE in aarch64_move_imm building 502.gcc_r

2022-12-07 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108006 Wilco changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |wilco at gcc dot gnu.org

[Bug ipa/108007] [10/11/12/13 Regression] wrong code at -Os and above with "-fno-dce -fno-tree-dce" on x86_64-linux-gnu

2022-12-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108007 Andrew Pinski changed: What|Removed |Added Keywords|needs-bisection | --- Comment #4 from Andrew Pinski

[Bug target/108011] [13 Regression] gcc-13-20221204 failure to build on Cygwin: ‘uc_mcontext’ has incomplete type

2022-12-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108011 --- Comment #3 from Andrew Pinski --- Can you attach /usr/include/cygwin/signal.h ?

[Bug fortran/108010] ICE in reduce_unary, at fortran/arith.cc:1345

2022-12-07 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108010 anlauf at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |13.0 Resolution|---

[Bug fortran/108010] New: ICE in reduce_unary, at fortran/arith.cc:1345

2022-12-07 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108010 Bug ID: 108010 Summary: ICE in reduce_unary, at fortran/arith.cc:1345 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/100460] [11/12/13 Regression][modules] mingw build broken due to use of unsupported open() flags

2022-12-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100460 --- Comment #5 from Andrew Pinski --- https://osdn.net/projects/mingw/lists/archive/notify/2020-January/000438.html

[Bug c++/108001] unamed struct extension is documented for C++

2022-12-07 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108001 --- Comment #1 from joseph at codesourcery dot com --- At least some cases of this are a standard C++ feature - which ones are still an extension for C++ and so need documenting as such?

[Bug tree-optimization/108017] ptr+v >= ptr + d should converted into (long)v >= CST(/sizeof(*ptr))

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

[Bug target/106585] RISC-V: Mis-optimized code gen for zbs

2022-12-07 Thread palmer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106585 palmer at gcc dot gnu.org changed: What|Removed |Added CC||palmer at gcc dot gnu.org

[Bug c/108018] New: Wide immediate sequences not scheduled for POWER10 fusion

2022-12-07 Thread npiggin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108018 Bug ID: 108018 Summary: Wide immediate sequences not scheduled for POWER10 fusion Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal

[Bug c/108019] [ARM] D16 float register was used but not saved in integer-dominated code

2022-12-07 Thread zhangyuan21 at xiaomi dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108019 --- Comment #3 from zyfeier --- Created attachment 54046 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54046=edit preprocessed file for calling function

[Bug c/108019] New: [ARM] D16 float register was used but not saved in integer-dominated code

2022-12-07 Thread zhangyuan21 at xiaomi dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108019 Bug ID: 108019 Summary: [ARM] D16 float register was used but not saved in integer-dominated code Product: gcc Version: 11.3.1 Status: UNCONFIRMED Severity:

[Bug c/108019] [ARM] D16 float register was used but not saved in integer-dominated code

2022-12-07 Thread zhangyuan21 at xiaomi dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108019 --- Comment #1 from zyfeier --- Created attachment 54045 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54045=edit preprocessed file

[Bug c/108019] [ARM] D16 float register was used but not saved in integer-dominated code

2022-12-07 Thread zhangyuan21 at xiaomi dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108019 --- Comment #2 from zyfeier --- C code: int weak_function up_alarm_tick_start(clock_t ticks) { int ret = -EAGAIN; if (g_oneshot_lower != NULL) { clock_t now = 0; clock_t delta; ONESHOT_TICK_CURRENT(g_oneshot_lower,

Re: [Bug target/106585] RISC-V: Mis-optimized code gen for zbs

2022-12-07 Thread Andrew Waterman
On Wed, Dec 7, 2022 at 7:02 PM palmer at gcc dot gnu.org via Gcc-bugs wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106585 > > palmer at gcc dot gnu.org changed: > >What|Removed |Added >

[Bug target/106585] RISC-V: Mis-optimized code gen for zbs

2022-12-07 Thread andrew at sifive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106585 --- Comment #9 from Andrew Waterman --- On Wed, Dec 7, 2022 at 7:02 PM palmer at gcc dot gnu.org via Gcc-bugs wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106585 > > palmer at gcc dot gnu.org changed: > >What|Removed

[Bug target/108004] x-form logical operations with dot instructions are not emitted.

2022-12-07 Thread guihaoc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108004 --- Comment #4 from HaoChen Gui --- $cat asm_test.c #include unsigned long foo() { unsigned long res; __asm__ ("li 3,0x\n\t" "li 4,0xfff1\n\t" "and. 3,3,4\n\t" "mfcr %0"

[Bug testsuite/108005] FAIL: c-c++-common/asan/null-deref-1.c /pointer-compare-1.c output pattern test

2022-12-07 Thread zhangkefan at ultrarisc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108005 --- Comment #1 from zhangkefan at ultrarisc dot com --- my execution test all pass

[Bug target/81616] Update -mtune=generic for the current Intel and AMD processors

2022-12-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81616 --- Comment #55 from CVS Commits --- The master branch has been updated by Hongyu Wang : https://gcc.gnu.org/g:3a1a141f79c83ad38f7db3a21d8a4dcfe625c176 commit r13-4534-g3a1a141f79c83ad38f7db3a21d8a4dcfe625c176 Author: Hongyu Wang Date: Tue

[Bug target/107920] [13 Regression] ICE in execute_todo, at passes.cc:2140

2022-12-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107920 --- Comment #15 from CVS Commits --- The master branch has been updated by Prathamesh Kulkarni : https://gcc.gnu.org/g:cb6922f490d3133e4ccbc1190b555d16695fc9c3 commit r13-4533-gcb6922f490d3133e4ccbc1190b555d16695fc9c3 Author: Prathamesh

[Bug testsuite/108005] New: FAIL: c-c++-common/asan/null-deref-1.c /pointer-compare-1.c output pattern test

2022-12-07 Thread zhangkefan at ultrarisc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108005 Bug ID: 108005 Summary: FAIL: c-c++-common/asan/null-deref-1.c /pointer-compare-1.c output pattern test Product: gcc Version: 11.1.0 Status: UNCONFIRMED

[Bug ipa/105676] [12/13 Regression] Bogus `-Wsuggest-attribute=pure` on function marked `__attribute__((const))` since r12-5437-g09a4ffb72aa2f513

2022-12-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105676 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug tree-optimization/104475] [12/13 Regression] Wstringop-overflow + atomics incorrect warning on dynamic object

2022-12-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104475 --- Comment #21 from Richard Biener --- When the C++ frontend sees QMutexLocker lock(>m_mutex); it could hint the middle-end via emitting [[assume (>m_mutex != nullptr)]] QMutexLocker lock(>m_mutex); instead.

[Bug ipa/105676] [12 Regression] Bogus `-Wsuggest-attribute=pure` on function marked `__attribute__((const))` since r12-5437-g09a4ffb72aa2f513

2022-12-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105676 Richard Biener changed: What|Removed |Added Summary|[12/13 Regression] Bogus|[12 Regression] Bogus

[Bug target/108006] [13 Regression] ICE in aarch64_move_imm building 502.gcc_r

2022-12-07 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108006 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||wdijkstr at arm dot com

[Bug ipa/105676] [12/13 Regression] Bogus `-Wsuggest-attribute=pure` on function marked `__attribute__((const))` since r12-5437-g09a4ffb72aa2f513

2022-12-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105676 --- Comment #7 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:45e09c2eb9c2bdd34ef777e06ddc9908dd0664f9 commit r13-4535-g45e09c2eb9c2bdd34ef777e06ddc9908dd0664f9 Author: Richard Biener Date:

[Bug libstdc++/107871] _Iter_sink:: _M_overflow missing some difference type casting

2022-12-07 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107871 --- Comment #8 from 康桓瑋 --- (In reply to Jonathan Wakely from comment #4) > Maybe you could legally do: > > using difference_type = iterator_t>; > > but maybe just don't do that. If things break when you do dumb things, don't > do those

[Bug tree-optimization/104475] [12/13 Regression] Wstringop-overflow + atomics incorrect warning on dynamic object

2022-12-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104475 Richard Biener changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment

[Bug tree-optimization/104475] [12/13 Regression] Wstringop-overflow + atomics incorrect warning on dynamic object

2022-12-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104475 --- Comment #23 from Richard Biener --- Interestingly doing void QFutureInterfaceBase::setThrottled(bool enable) { if (>m_mutex == nullptr) __builtin_unreachable (); QMutexLocker lock(>m_mutex); will avoid the diagnostic but

[Bug c++/60503] gcc looks for C++ attributes in the wrong place in a lambda-expression

2022-12-07 Thread alvinhochun at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60503 Alvin Wong changed: What|Removed |Added CC||alvinhochun at gmail dot com --- Comment

[Bug d/104749] [12/13 regression] stage1 d21 fails to link with GDC 9.1

2022-12-07 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104749 Thomas Schwinge changed: What|Removed |Added Summary|[12/13 regression] stage1 |[12/13 regression] stage1

[Bug target/108006] New: [13 Regression] ICE in aarch64_move_imm building 502.gcc_r

2022-12-07 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108006 Bug ID: 108006 Summary: [13 Regression] ICE in aarch64_move_imm building 502.gcc_r Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/104475] [12/13 Regression] Wstringop-overflow + atomics incorrect warning on dynamic object

2022-12-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104475 Richard Biener changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug tree-optimization/104475] [12/13 Regression] Wstringop-overflow + atomics incorrect warning on dynamic object

2022-12-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104475 --- Comment #22 from Richard Biener --- Re-ordering m_mutex and continuationMutex avoids the bogus diagnostic.

[Bug c++/101098] [11/12 Regression] ICE with explicit specialization of constrained function template

2022-12-07 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101098 Patrick Palka changed: What|Removed |Added CC||StevenSun2021 at hotmail dot com ---

[Bug c++/99686] ICE when using concepts on function template before c++20 (Reason already found)

2022-12-07 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99686 Patrick Palka changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug target/107998] [13 Regression] gcc-13-20221204 failure to build on Cygwin No dirname for option: m32

2022-12-07 Thread mckelvey at maskull dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107998 --- Comment #5 from James McKelvey --- This works: $ diff gcc/config/i386/t-cygwin-w64~ gcc/config/i386/t-cygwin-w64 2c2 < MULTILIB_DIRNAMES = 64 --- > MULTILIB_DIRNAMES = 64 32

[Bug c++/108008] New: Compiler mis-optimization with posix_memalign

2022-12-07 Thread hahnjo at hahnjo dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108008 Bug ID: 108008 Summary: Compiler mis-optimization with posix_memalign Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/108007] New: wrong code at -Os and above with "-fno-dce -fno-tree-dce" on x86_64-linux-gnu

2022-12-07 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
ecking=yes --prefix=/local/suz-local/software/local/gcc-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib --with-system-zlib Thread model: posix Supported LTO compression algorithms: zlib gcc version 13.0.0 20221207 (experimental) [master r13-4532-gda7fb32d403] (

[Bug tree-optimization/106904] [12/13 Regression] Incorrect -Wstringop-overflow with partial memcpy() into a nested structure

2022-12-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106904 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/107627] [13 Regression] int128_t shift generates extra xor/or.

2022-12-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107627 --- Comment #10 from Jakub Jelinek --- Created attachment 54034 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54034=edit gcc13-pr107627-imm.patch Untested patch to improve the case where one of the concat operand is constant.

[Bug target/87832] AMD pipeline models are very costly size-wise

2022-12-07 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87832 --- Comment #11 from Alexander Monakov --- Factoring out Lujiazui divider shrinks its tables by almost 20x: 3 r lujiazui_decoder_min_issue_delay 20 r lujiazui_decoder_transitions 32 r lujiazui_agu_min_issue_delay 126 r lujiazui_agu_transitions

[Bug c/107980] va_start does not warn about an arbitrary number of arguments in C2x mode

2022-12-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107980 --- Comment #15 from Andrew Pinski --- (In reply to Aaron Ballman from comment #14) > Also, it was a potentially silently breaking change (if you don't mind > horribly contrived examples of breakage): https://godbolt.org/z/T4bG6179f But

[Bug target/108009] New: GCC does not produce Pack Halfword instructions

2022-12-07 Thread chris.sidebottom at arm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108009 Bug ID: 108009 Summary: GCC does not produce Pack Halfword instructions Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/108008] Compiler mis-optimization with posix_memalign

2022-12-07 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108008 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org ---

[Bug c/107980] va_start does not warn about an arbitrary number of arguments in C2x mode

2022-12-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107980 --- Comment #13 from Jakub Jelinek --- Warning for 3 or more arguments using preprocessor stuff only could look like: #define __va_start_2() #define __va_start_23(...) __builtin_warning ("too many va_arg arguments"); #define __va_start_1()

[Bug c/107980] va_start does not warn about an arbitrary number of arguments in C2x mode

2022-12-07 Thread aaron at aaronballman dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107980 --- Comment #14 from Aaron Ballman --- (In reply to jos...@codesourcery.com from comment #12) > The standard rule about not using extra arguments means that any warnings > would need to avoid even converting those arguments from pp-tokens to

  1   2   >