[Bug c++/108245] ICE with invalid variable auto arguments and supplying an extra type

2023-01-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108245 Andrew Pinski changed: What|Removed |Added CC||lyubomir.filipov at amusnet dot co

[Bug c++/108302] void fn (uint8_t auto... args); leads to internal compiler error: Segmentation fault

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

[Bug c++/108302] void fn (uint8_t auto... args); leads to internal compiler error: Segmentation fault

2023-01-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108302 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-01-06

[Bug c++/105656] remove BROKEN_VALUE_INITIALIZATION workaround

2023-01-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105656 Andrew Pinski changed: What|Removed |Added Keywords||internal-improvement Last

[Bug middle-end/108312] New: NULL definition in system.h is no longer needed any more

2023-01-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108312 Bug ID: 108312 Summary: NULL definition in system.h is no longer needed any more Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: internal-improvement

[Bug middle-end/108311] New: system.h defines va_copy but we require C++11 compiler

2023-01-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108311 Bug ID: 108311 Summary: system.h defines va_copy but we require C++11 compiler Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: internal-improvement Severity:

[Bug middle-end/108300] `abort()` macro cause bootstrap failure on *-w64-mingw32

2023-01-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108300 Andrew Pinski changed: What|Removed |Added Component|bootstrap |middle-end Keywords|

[Bug c++/100825] function signature constraints are not a part of mangled name

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

[Bug c++/108303] lookup failes with requires clause on non-template friend function of a class template

2023-01-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108303 --- Comment #2 from Andrew Pinski --- (In reply to Jonathan Wakely from comment #1) > Currently we don't mangle requirements, so the foos all mangle the same and > actually instantiating #1 will break, but for now we can test that they're >

[Bug c++/108309] [12 Regression] ICE in in cxx_eval_component_reference, at cp/constexpr.cc:4136

2023-01-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108309 --- Comment #4 from Andrew Pinski --- (In reply to tim blechmann from comment #3) > > That is a conditionally supported construct in C++. clang does not support > > it but GCC does. > > > > GCC does warn with -Wconditionally-supported > >

[Bug tree-optimization/108306] false-positive -Warray-bounds warning emitted with -fsanitize=shift

2023-01-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108306 --- Comment #4 from Andrew Pinski --- The documentation now has: Note that sanitizers tend to increase the rate of false positive warnings, most notably those around @option{-Wmaybe-uninitialized}. We recommend against combining

[Bug c++/108309] [12 Regression] ICE in in cxx_eval_component_reference, at cp/constexpr.cc:4136

2023-01-05 Thread tim at klingt dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108309 --- Comment #3 from tim blechmann --- > That is a conditionally supported construct in C++. clang does not support it > but GCC does. > > GCC does warn with -Wconditionally-supported interesting. i may have to reduce it manually rather than

[Bug tree-optimization/108308] [13 Regression] wrong code at -Os and -O2 with "-fno-tree-ccp" on x86_64-linux-gnu

2023-01-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108308 Andrew Pinski changed: What|Removed |Added Version|unknown |13.0 Summary|wrong code at

[Bug c++/108309] [12 Regression] ICE in in cxx_eval_component_reference, at cp/constexpr.cc:4136

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

[Bug modula2/108294] soname bump for modula2 runtime libraries

2023-01-05 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108294 Gaius Mulley changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c/108310] Some warnings that -Wtraditional-conversion causes to be emitted aren't actually controlled by it

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

[Bug jit/102824] building pdf/dvi documentation for libgccjit fails

2023-01-05 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102824 --- Comment #6 from Eric Gallager --- @marxin is this something you checked during the sphinx conversion and reversion at all?

[Bug c/103210] "warning: braces around scalar initializer" should have a warning flag controlling it [-Wmany-braces-around-scalar-init]

2023-01-05 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103210 --- Comment #5 from Eric Gallager --- Downstream version of this issue: https://github.com/cooljeanius/apple-gdb-1824/issues/9

[Bug c/108310] Some warnings that -Wtraditional-conversion causes to be emitted aren't actually controlled by it

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

[Bug c/108310] New: Some warnings that -Wtraditional-conversion causes to be emitted aren't actually controlled by it

2023-01-05 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108310 Bug ID: 108310 Summary: Some warnings that -Wtraditional-conversion causes to be emitted aren't actually controlled by it Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c++/108309] ICE in in cxx_eval_component_reference, at cp/constexpr.cc:4136

2023-01-05 Thread tim at klingt dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108309 --- Comment #1 from tim blechmann --- Created attachment 54200 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54200=edit reduced test case

[Bug c++/108309] New: ICE in in cxx_eval_component_reference, at cp/constexpr.cc:4136

2023-01-05 Thread tim at klingt dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108309 Bug ID: 108309 Summary: ICE in in cxx_eval_component_reference, at cp/constexpr.cc:4136 Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/108225] canadian compilation of gdb error for libstdc++'s std_mutex.h on x86_64-w64-mingw32 host

2023-01-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108225 --- Comment #14 from Jonathan Wakely --- And it isn't specific to Canadian cross compilation either. It happens for any build with the latest mingw-w64 headers, both native and cross. And that has nothing to do with std::mutex, which is the

[Bug libstdc++/108225] canadian compilation of gdb error for libstdc++'s std_mutex.h on x86_64-w64-mingw32 host

2023-01-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108225 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libstdc++/108225] canadian compilation of gdb error for libstdc++'s std_mutex.h on x86_64-w64-mingw32 host

2023-01-05 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108225 --- Comment #12 from cqwrteur --- (In reply to cqwrteur from comment #11) > The problem is that it breaks gcc build too. GCC won't build any more due to > macro pollution of __FILE__

[Bug libstdc++/108225] canadian compilation of gdb error for libstdc++'s std_mutex.h on x86_64-w64-mingw32 host

2023-01-05 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108225 cqwrteur changed: What|Removed |Added Status|RESOLVED|NEW Resolution|WONTFIX

[Bug tree-optimization/108308] New: wrong code at -Os and -O2 with "-fno-tree-ccp" on x86_64-linux-gnu

2023-01-05 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 20230105 (experimental) [master r13-5035-g4413365616e] (

[Bug driver/108307] New: ICE compiling .S file with -fdiagnostics-format=sarif-file

2023-01-05 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108307 Bug ID: 108307 Summary: ICE compiling .S file with -fdiagnostics-format=sarif-file Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: diagnostic,

[Bug libstdc++/77691] [10/11/12/13 regression] experimental/memory_resource/resource_adaptor.cc FAILs

2023-01-05 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77691 John David Anglin changed: What|Removed |Added Last reconfirmed|2016-09-22 00:00:00 |2023-1-5 --- Comment #53 from John

[Bug c/108306] false-positive -Warray-bounds warning emitted with -fsanitize=shift

2023-01-05 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108306 Kees Cook changed: What|Removed |Added Attachment #54198|0 |1 is obsolete|

[Bug modula2/108261] modula-2 module registration process seems to fail with shared libraries.

2023-01-05 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108261 --- Comment #6 from Iain Sandoe --- and another datum (on x86_64linux): $ ../gcc-13-0-0p/bin/gm2 /home/iains/gcc-master/src-patched/gcc/testsuite/gm2/coroutines/pim/run/pass/testiotransfer.mod -flibs=cor,iso,pim -o tio -O $

[Bug c/108306] false-positive -Warray-bounds warning emitted with -fsanitize=shift

2023-01-05 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108306 --- Comment #2 from Kees Cook --- Ugh, sorry. The PoC is bad -- the bounds check isn't present. Let me try to get a another PoC.

[Bug c/108306] false-positive -Warray-bounds warning emitted with -fsanitize=shift

2023-01-05 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108306 Kees Cook changed: What|Removed |Added CC||arnd at linaro dot org,

[Bug c/108306] New: false-positive -Warray-bounds warning emitted with -fsanitize=shift

2023-01-05 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108306 Bug ID: 108306 Summary: false-positive -Warray-bounds warning emitted with -fsanitize=shift Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/108292] [13 Regression] wrong code with vector compare & mask at -O1 and above

2023-01-05 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108292 Roger Sayle changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/108292] [13 Regression] wrong code with vector compare & mask at -O1 and above

2023-01-05 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108292 --- Comment #14 from Roger Sayle --- Created attachment 54197 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54197=edit Related optimizations to ix86_expand_int_movcc. Just for the record, here is a related patch that I was working on

[Bug libbacktrace/108297] libtool link b2test fails: Unrecognized argument: --build-id

2023-01-05 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108297 --- Comment #3 from Ian Lance Taylor --- Created attachment 54196 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54196=edit Potential patch Does this patch fix the problem for you? Thanks.

[Bug libstdc++/108305] New: FAIL: 27_io/basic_ofstream/open/char/noreplace.cc execution test

2023-01-05 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108305 Bug ID: 108305 Summary: FAIL: 27_io/basic_ofstream/open/char/noreplace.cc execution test Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/108292] [13 Regression] wrong code with vector compare & mask at -O1 and above

2023-01-05 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108292 --- Comment #13 from H.J. Lu --- I also got $ cat foo.i extern void foo (float *); extern int x; int mouse_frame_side(void) { float mouseloc; foo (); return mouseloc > x ? 1 : 2; } $ gcc -march=alderlake -Ofast -S foo.i during RTL pass:

[Bug rtl-optimization/108292] [13 Regression] wrong code with vector compare & mask at -O1 and above

2023-01-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108292 --- Comment #12 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:9e6ac747ac5cff9e3f58421cdd9f03538e48ed07 commit r13-5038-g9e6ac747ac5cff9e3f58421cdd9f03538e48ed07 Author: Roger Sayle Date: Thu

[Bug libbacktrace/108297] libtool link b2test fails: Unrecognized argument: --build-id

2023-01-05 Thread dave.anglin at bell dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108297 --- Comment #2 from dave.anglin at bell dot net --- On 2023-01-05 2:23 p.m., ian at airs dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108297 > > Ian Lance Taylor changed: > > What|Removed

[Bug rtl-optimization/108292] [13 Regression] wrong code with vector compare & mask at -O1 and above

2023-01-05 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108292 --- Comment #11 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #10) > (In reply to Roger Sayle from comment #8) > > Here's my proposed patch (or something close to it, it's still bootstrapping > > and regression testing). The

[Bug c++/108275] pointer to member field is not checked for accessibility inside a template argument

2023-01-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108275 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug libbacktrace/108297] libtool link b2test fails: Unrecognized argument: --build-id

2023-01-05 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108297 Ian Lance Taylor changed: What|Removed |Added CC||ian at airs dot com --- Comment #1

[Bug c++/108275] pointer to member field is not checked for accessibility inside a template argument

2023-01-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108275 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:12b0d35ec52375da5652d2b8da74083ab700b9d7 commit r13-5037-g12b0d35ec52375da5652d2b8da74083ab700b9d7 Author: Patrick Palka Date:

[Bug rtl-optimization/108292] [13 Regression] wrong code with vector compare & mask at -O1 and above

2023-01-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108292 --- Comment #10 from Jakub Jelinek --- (In reply to Roger Sayle from comment #8) > Created attachment 54195 [details] > Roger's proposed patch > > Here's my proposed patch (or something close to it, it's still bootstrapping > and regression

[Bug rtl-optimization/108292] [13 Regression] wrong code with vector compare & mask at -O1 and above

2023-01-05 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108292 --- Comment #9 from Roger Sayle --- Another way to avoid the SCALAR_FLOAT_MODE_P problem is: /* Add a REG_EQUAL note to allow condition to be shared. */ rtx note = gen_rtx_fmt_ee (orig_code, mode, op0, op1); /*

[Bug libstdc++/108304] New: FAIL: 20_util/from_chars/4.cc execution test

2023-01-05 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108304 Bug ID: 108304 Summary: FAIL: 20_util/from_chars/4.cc execution test Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug rtl-optimization/108292] [13 Regression] wrong code with vector compare & mask at -O1 and above

2023-01-05 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108292 --- Comment #8 from Roger Sayle --- Created attachment 54195 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54195=edit Roger's proposed patch Here's my proposed patch (or something close to it, it's still bootstrapping and regression

[Bug libstdc++/108288] Deadlock when using -fno-elide-constructor + -D_GLIBCXX_DEBUG=1 + -std=c++11

2023-01-05 Thread simon.marchi at polymtl dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108288 --- Comment #8 from Simon Marchi --- I tested with just patching my /usr/include, and it looks like it works fine, I'm able to run a program under my GDB. Removing the fix, I get back the hang.

[Bug c++/108303] lookup failes with requires clause on non-template friend function of a class template

2023-01-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108303 Jonathan Wakely changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment

[Bug libstdc++/108288] Deadlock when using -fno-elide-constructor + -D_GLIBCXX_DEBUG=1 + -std=c++11

2023-01-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108288 --- Comment #7 from Jonathan Wakely --- __gnu_debug::_Safe_iterator_base::_M_detach in debug.cc isn't affected by the patch though. The fix is to the post-inc and post-dec members, so only the code that calls those needs to be recompiled.

[Bug libstdc++/108288] Deadlock when using -fno-elide-constructor + -D_GLIBCXX_DEBUG=1 + -std=c++11

2023-01-05 Thread simon.marchi at polymtl dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108288 --- Comment #6 from Simon Marchi --- Because some code trying to acquire the lock (see frame #7 in my backtrace) is in debug.cc, I thought it would maybe need to be changed too? But I don't really understand any of this.

[Bug rtl-optimization/108292] [13 Regression] wrong code with vector compare & mask at -O1 and above

2023-01-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108292 --- Comment #7 from Jakub Jelinek --- Or for now don't add any REG_EQUAL note if op0 has scalar floating point mode...

[Bug rtl-optimization/108292] [13 Regression] wrong code with vector compare & mask at -O1 and above

2023-01-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108292 --- Comment #6 from Jakub Jelinek --- So I wonder about: --- gcc/config/i386/i386-expand.cc.jj 2023-01-04 10:45:49.978883731 +0100 +++ gcc/config/i386/i386-expand.cc 2023-01-05 18:22:40.228518935 +0100 @@ -3271,10 +3271,12 @@

[Bug c++/108303] New: lookup failes with requires clause on non-template friend function of a class template

2023-01-05 Thread ted at lyncon dot se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108303 Bug ID: 108303 Summary: lookup failes with requires clause on non-template friend function of a class template Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug libstdc++/108288] Deadlock when using -fno-elide-constructor + -D_GLIBCXX_DEBUG=1 + -std=c++11

2023-01-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108288 --- Comment #5 from Jonathan Wakely --- The patch doesn't change libstdc++.so, it only changes the headers. You don't even need to rebuild GCC. You could just put a patched copy of safe_iterator.h in /tmp/x/debug and then compile with -I/tmp/x

[Bug rtl-optimization/108292] [13 Regression] wrong code with vector compare & mask at -O1 and above

2023-01-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108292 --- Comment #5 from Jakub Jelinek --- Though, it seems the REG_EQUAL note is also wrong on the cmov10.c testcase which went with the commit (again, exact opposite). Seems we have multiple cases where this REG_EQUAL note is newly added. One is

[Bug rtl-optimization/108292] [13 Regression] wrong code with vector compare & mask at -O1 and above

2023-01-05 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108292 Roger Sayle changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |roger at nextmovesoftware dot com

[Bug c/108298] Wrong optimization of volatile access from gcc 11 and beyond

2023-01-05 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108298 --- Comment #5 from Segher Boessenkool --- This is not x86-specific. Like on powerpc64 we get addi 3,3,3 # 11 [c=4 l=4] *addsi3/1 extsw 3,3# 17 [c=4 l=4] extendsidi2/1 blr # 25 [c=4

[Bug modula2/108182] gm2 driver mishandles target and multilib options

2023-01-05 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108182 --- Comment #5 from Iain Sandoe --- (In reply to Gaius Mulley from comment #4) > Created attachment 54184 [details] > Potential fix for target multilib_dir handling -m and -f. > > Work in progress. 1. (I think) the string you need is

[Bug modula2/107631] many tests don't link on Mac OS X 10.7

2023-01-05 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107631 Iain Sandoe changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug modula2/107631] many tests don't link on Mac OS X 10.7

2023-01-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107631 --- Comment #4 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:4413365616e8c6024d1ff4e23309e5012ee33b9f commit r13-5035-g4413365616e8c6024d1ff4e23309e5012ee33b9f Author: Iain Sandoe Date:

[Bug libstdc++/108288] Deadlock when using -fno-elide-constructor + -D_GLIBCXX_DEBUG=1 + -std=c++11

2023-01-05 Thread simon.marchi at polymtl dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108288 --- Comment #4 from Simon Marchi --- Thanks for looking into this so quickly. I'll try to test the patch against my use case, but I might need some guidance. I know how to build gcc and install it in some non-default prefix. But then, do I

[Bug ipa/108110] [13 Regression] ice in modify_call, at ipa-param-manipulation.cc:700 with -std=c++14 -O3 -march=znver3 since r13-4685-g4834e9360f7bf4

2023-01-05 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108110 --- Comment #16 from Martin Jambor --- I have posted the sorting patch to the mailing list: https://gcc.gnu.org/pipermail/gcc-patches/2023-January/609459.html

[Bug target/108293] Incorrect assembly emitted for float for BPF target

2023-01-05 Thread jemarch at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108293 --- Comment #3 from Jose E. Marchesi --- (In reply to Jakub Jelinek from comment #2) > Another thing is that at least for all SFmode constant one could use mov > instead of lddw. For this I guess we could expand the "I" constraint to cover

[Bug target/103784] suboptimal code for returning bool value on target ppc

2023-01-05 Thread jskumari at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103784 --- Comment #8 from Surya Kumari Jangala --- Using -O3 with gcc13, I got (with the test in comment 2): For P8: cmpwi 0,3,2 bgt 0,.L3 subfic 4,4,9 srdi 3,4,63 xori 3,3,0x1 rldicl 3,3,0,63

[Bug libstdc++/108212] [13 Regression] pretty printers don't work with Python 2 due to imports for chrono

2023-01-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108212 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/108290] QoI: bind_front captureless lambda is too big

2023-01-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108290 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/108290] QoI: bind_front captureless lambda is too big

2023-01-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108290 --- Comment #2 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:e2eab3c4edb6aa9a93f982c4554cd756000934ca commit r13-5033-ge2eab3c4edb6aa9a93f982c4554cd756000934ca Author: Jonathan Wakely

[Bug libstdc++/108212] [13 Regression] pretty printers don't work with Python 2 due to imports for chrono

2023-01-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108212 --- Comment #1 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:80ff207da6d8784e227eb93f75c4ac5a300c8420 commit r13-5034-g80ff207da6d8784e227eb93f75c4ac5a300c8420 Author: Jonathan Wakely

[Bug ipa/108130] [13 Regression] LTO compile time hog seen on bootstrap-lto config since r13-4684-g7450b25566b7a7

2023-01-05 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108130 Martin Jambor changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/108299] toplevel thread_local variables are not initialized if not referenced and initialized at wrong moment when referenced

2023-01-05 Thread agriff at tin dot it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108299 --- Comment #9 from Andrea Griffini --- I agree that comment 0 is wrong and was based on a text that I thought was taken from the standard but apparently was not (cppreference.com). Sorry for the noise. I think that if the dynamic

[Bug c++/108299] toplevel thread_local variables are not initialized if not referenced and initialized at wrong moment when referenced

2023-01-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108299 --- Comment #8 from Jonathan Wakely --- FWIW the current wording in the standard was introduced by https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0250r3.html

[Bug c++/108299] toplevel thread_local variables are not initialized if not referenced and initialized at wrong moment when referenced

2023-01-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108299 --- Comment #7 from Jonathan Wakely --- Comment 0 seems wrong to me, there is no requirement that flag is initialized if not odr-used, and if it is initialized, it doesn't have to happen before the printf statement. I agree that the standard

[Bug c++/108302] New: void fn (uint8_t auto... args); leads to internal compiler error: Segmentation fault

2023-01-05 Thread lyubomir.filipov at amusnet dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108302 Bug ID: 108302 Summary: void fn (uint8_t auto... args); leads to internal compiler error: Segmentation fault Product: gcc Version: 12.2.0 Status: UNCONFIRMED

[Bug c++/108299] toplevel thread_local variables are not initialized if not referenced and initialized at wrong moment when referenced

2023-01-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108299 Jakub Jelinek changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug target/105010] [12/13 regression] GCC 12 after 20220227 fails to build on powerpc64-freebsd with Error: invalid mfcr mask

2023-01-05 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105010 Segher Boessenkool changed: What|Removed |Added Last reconfirmed||2023-01-05 Ever confirmed|0

[Bug rtl-optimization/108292] [13 Regression] wrong code with vector compare & mask at -O1 and above

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

[Bug c/108298] Wrong optimization of volatile access from gcc 11 and beyond

2023-01-05 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108298 --- Comment #4 from Segher Boessenkool --- But please use PR33053 for that, or open a new PR? Let's keep this one for just this actual bug :-)

[Bug c++/108299] toplevel thread_local variables are not initialized if not referenced and initialized at wrong moment when referenced

2023-01-05 Thread agriff at tin dot it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108299 --- Comment #5 from Andrea Griffini --- So you are saying that the standard forgot to add "that requires dynamic initialization" and that this is the intention?

[Bug c++/108299] toplevel thread_local variables are not initialized if not referenced and initialized at wrong moment when referenced

2023-01-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108299 --- Comment #4 from Jakub Jelinek --- flag2 doesn't have dynamic initialization, if you add dynamic initialization to it, you'll see that flag is constructed before flag2 and that happens before it is referenced in the current thread (after the

[Bug libstdc++/108288] Deadlock when using -fno-elide-constructor + -D_GLIBCXX_DEBUG=1 + -std=c++11

2023-01-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108288 --- Comment #3 from Jonathan Wakely --- This was my reproducer, although it doesn't deadlock without the hack to use a single mutex for all objects. #define _GLIBCXX_DEBUG 1 #include int main() { std::vector v{1,2,3}; auto i = v.begin();

[Bug libstdc++/108288] Deadlock when using -fno-elide-constructor + -D_GLIBCXX_DEBUG=1 + -std=c++11

2023-01-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108288 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/108299] toplevel thread_local variables are not initialized if not referenced and initialized at wrong moment when referenced

2023-01-05 Thread agriff at tin dot it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108299 --- Comment #3 from Andrea Griffini --- Thread storage duration is different from static storage duration. The text I found on the topic is different from the one you are linking, but even in this version (that is indeed more permissive) it's

[Bug libstdc++/108288] Deadlock when using -fno-elide-constructor + -D_GLIBCXX_DEBUG=1 + -std=c++11

2023-01-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108288 --- Comment #1 from Jonathan Wakely --- I've tried to reproduce this, but it depends on the addresses of the _Safe_iterator objects that get created, because they'll use different mutexes unless their addresses collide in the hash function.

[Bug libstdc++/108288] Deadlock when using -fno-elide-constructor + -D_GLIBCXX_DEBUG=1 + -std=c++11

2023-01-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108288 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2023-01-05 Ever confirmed|0

[Bug libstdc++/108290] QoI: bind_front captureless lambda is too big

2023-01-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108290 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |13.0 Status|NEW

[Bug rtl-optimization/108292] [13 Regression] wrong code with vector compare & mask at -O1 and above

2023-01-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108292 --- Comment #2 from Jakub Jelinek --- The assembly difference is - movl$1, x+20(%rip) + movl$-6, x+20(%rip) Now, that is the correct value to be stored into x[5] by the __builtin_sub_overflow (0, 6, [5]); statement, but each

[Bug target/105010] [12/13 regression] GCC 12 after 20220227 fails to build on powerpc64-freebsd with Error: invalid mfcr mask

2023-01-05 Thread pkubaj at anongoth dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105010 --- Comment #21 from Piotr Kubaj --- I'm not sure whether it will help, but the issue only affects building 32-bit multilib libraries on powerpc64. That is, building a full 32-bit gcc for powerpc works just fine.

[Bug libstdc++/108221] Building cross compiler for H8 family fails at libstdc++-v3/src/c++20/tzdb.cc

2023-01-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108221 --- Comment #3 from Jonathan Wakely --- I have a workaround for this, but bootstrap still fails for me at: /tmp/ccC7KXoL.s: Assembler messages: /tmp/ccC7KXoL.s:82719: Error: value of 0001254e too large for field of 2 bytes at 0002 make[6]:

[Bug demangler/107884] H8/300: cp-demangle.c fix warning related demangle.h

2023-01-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107884 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2023-01-05

[Bug c/108301] New: GCC Static Analyzer evaluates "__analyzer_eval((!(((0 != b[0]) == p_9) && p_9)))" to be TRUE in the true branch of "if ((((0 != b[0]) == p_9) && p_9))"

2023-01-05 Thread geoffreydgr at icloud dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108301 Bug ID: 108301 Summary: GCC Static Analyzer evaluates "__analyzer_eval((!(((0 != b[0]) == p_9) && p_9)))" to be TRUE in the true branch of "if 0 != b[0]) == p_9) && p_9))"

[Bug rtl-optimization/108292] [13 Regression] wrong code with vector compare & mask at -O1 and above

2023-01-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108292 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/108292] [13 Regression] wrong code with vector compare & mask at -O1 and above

2023-01-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108292 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 CC|

[Bug target/108293] Incorrect assembly emitted for float for BPF target

2023-01-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108293 --- Comment #2 from Jakub Jelinek --- Another thing is that at least for all SFmode constant one could use mov instead of lddw.

[Bug bootstrap/108300] `abort()` macro cause bootstrap failure on *-w64-mingw32

2023-01-05 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108300 --- Comment #2 from LIU Hao --- (In reply to Jonathan Wakely from comment #1) > (In reply to LIU Hao from comment #0) > > 791 | #define abort() fancy_abort (__FILE__, __LINE__, __FUNCTION__) > > The C++ standard says this is undefined. > >

[Bug target/108293] Incorrect assembly emitted for float for BPF target

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

[Bug libstdc++/108221] Building cross compiler for H8 family fails at libstdc++-v3/src/c++20/tzdb.cc

2023-01-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108221 --- Comment #2 from Jonathan Wakely --- This is a pre-existing problem that std::to_chars for floating-point types doesn't work on these targets. Until I started to use std::format in std/c++20/tzdb.cc the library wasn't using that, so the

[Bug libstdc++/108265] chrono::hh_mm_ss can't be constructed from unsigned durations

2023-01-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108265 --- Comment #4 from Jonathan Wakely --- and for 12.3

  1   2   >