[Bug libstdc++/106780] gcc maybe-uninitialized warning on std_function.h

2022-08-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106780 --- Comment #1 from Richard Biener --- > cat t.C #include > /space/rguenther/install/gcc-12.1/bin/g++ -S t.C -Wall -Wextra > -pedantic-errors I can't reproduce. So can you provide a testcase?

[Bug tree-optimization/106781] New: [13 Regression] ICE: verify_flow_info failed (error: returns_twice call is not first in basic block 2)

2022-08-31 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106781 Bug ID: 106781 Summary: [13 Regression] ICE: verify_flow_info failed (error: returns_twice call is not first in basic block 2) Product: gcc Version: 13.0 Status: UNCONFI

[Bug bootstrap/106779] GCC 12.2 fails to compile in libiberty - uknown symbol PTR - requires later patch

2022-08-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106779 Jakub Jelinek changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug tree-optimization/106781] [13 Regression] ICE: verify_flow_info failed (error: returns_twice call is not first in basic block 2)

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

[Bug libstdc++/106780] gcc maybe-uninitialized warning on std_function.h

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

[Bug tree-optimization/106781] [13 Regression] ICE: verify_flow_info failed (error: returns_twice call is not first in basic block 2) since r13-1754-g7a158a5776f5ca95

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

[Bug tree-optimization/106781] [13 Regression] ICE: verify_flow_info failed (error: returns_twice call is not first in basic block 2) since r13-1754-g7a158a5776f5ca95

2022-08-31 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106781 --- Comment #3 from Martin Liška --- (In reply to Alexander Monakov from comment #1) > Thanks. > > Also ICEs in ipa-modref when 'noclone' added to 'noinline', a 12/13 > regression (different cause, needs a separate PR). Can't reproduce Alexand

[Bug preprocessor/106778] libcpp/makeuname2c.cc:454: sanity check in wrong place ?

2022-08-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106778 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:b3048b6ffb126a4624f66bad713fe6d1dc6dc13d commit r13-2301-gb3048b6ffb126a4624f66bad713fe6d1dc6dc13d Author: Jakub Jelinek Date: W

[Bug other/106782] New: dump_printf_loc has incorrect format attribute

2022-08-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106782 Bug ID: 106782 Summary: dump_printf_loc has incorrect format attribute Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: o

[Bug ipa/106783] New: [12/13 Regression] ICE in ipa-modref.cc:analyze_function

2022-08-31 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106783 Bug ID: 106783 Summary: [12/13 Regression] ICE in ipa-modref.cc:analyze_function Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug tree-optimization/106781] [13 Regression] ICE: verify_flow_info failed (error: returns_twice call is not first in basic block 2) since r13-1754-g7a158a5776f5ca95

2022-08-31 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106781 --- Comment #4 from Alexander Monakov --- (In reply to Martin Liška from comment #3) > > Also ICEs in ipa-modref when 'noclone' added to 'noinline', a 12/13 > > regression (different cause, needs a separate PR). > > Can't reproduce Alexander, p

[Bug ipa/106783] [12/13 Regression] ICE in ipa-modref.cc:analyze_function since r12-5247-ga34edf9a3e907de2

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

[Bug tree-optimization/65244] Bogus -Wmaybe-uninitialized warning with posix_memalign() and -Og

2022-08-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65244 --- Comment #17 from Richard Biener --- OK, so the "optimization" is needed on the DEF side as extern void __attribute__((noreturn)) abort (void); int foo (int flag, int val) { int tem; if (flag) { if (val == 0) abort ();

[Bug middle-end/91213] Missed optimization: (sub X Y) -> (xor X Y) when Y <= X and isPowerOf2(X + 1)

2022-08-31 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91213 --- Comment #8 from rdapp at gcc dot gnu.org --- Hacked something together, inspired by the other cases that try two different sequences. Does this go into the right direction? Works for me on s390. I see some regressions related to predictive c

[Bug middle-end/91213] Missed optimization: (sub X Y) -> (xor X Y) when Y <= X and isPowerOf2(X + 1)

2022-08-31 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91213 --- Comment #9 from rdapp at gcc dot gnu.org --- The regressions are unrelated and due to another patch that I still had on the same branch.

[Bug other/89863] [meta-bug] Issues in gcc that other static analyzers (cppcheck, clang-static-analyzer, PVS-studio) find that gcc misses

2022-08-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89863 Bug 89863 depends on bug 106778, which changed state. Bug 106778 Summary: libcpp/makeuname2c.cc:454: sanity check in wrong place ? https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106778 What|Removed |Added

[Bug preprocessor/106778] libcpp/makeuname2c.cc:454: sanity check in wrong place ?

2022-08-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106778 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/106774] warning about comparison to true/false

2022-08-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106774 Jonathan Wakely changed: What|Removed |Added Severity|normal |enhancement Blocks|

[Bug libstdc++/106780] gcc maybe-uninitialized warning on std_function.h

2022-08-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106780 --- Comment #2 from Jonathan Wakely --- Dup of PR 105562?

[Bug c++/106784] New: Add __is_convertible built-in

2022-08-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106784 Bug ID: 106784 Summary: Add __is_convertible built-in Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: c++

[Bug fortran/106750] Memory leak calling array slice of derived type containing `allocatable` entries

2022-08-31 Thread federico.perini at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106750 --- Comment #3 from federico --- Thank you for checking this. So if I make the temporary array explicit, the leak goes away. In the case of the example i.e. 1) fixed-size and 2) very few elements are passed to the routine, it seems it would j

[Bug rtl-optimization/106785] New: ICE in fail, at selftest.cc:47 since r13-2266-g8bb1df032cc080

2022-08-31 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106785 Bug ID: 106785 Summary: ICE in fail, at selftest.cc:47 since r13-2266-g8bb1df032cc080 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-cod

[Bug tree-optimization/65244] Bogus -Wmaybe-uninitialized warning with posix_memalign() and -Og

2022-08-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65244 --- Comment #19 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:40f347881ade08fe9c0f8b527f8b54bd53aed195 commit r13-2305-g40f347881ade08fe9c0f8b527f8b54bd53aed195 Author: Richard Biener Date:

[Bug tree-optimization/73550] Another wrong -Wmaybe-uninitialized warning in switch statement

2022-08-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=73550 --- Comment #12 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:0cf736575286f841f6144bd58b981c269652b82e commit r13-2304-g0cf736575286f841f6144bd58b981c269652b82e Author: Richard Biener Date:

[Bug tree-optimization/65244] Bogus -Wmaybe-uninitialized warning with posix_memalign() and -Og

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

[Bug debug/82738] [meta-bug] issues with the -Og optimization level

2022-08-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82738 Bug 82738 depends on bug 65244, which changed state. Bug 65244 Summary: Bogus -Wmaybe-uninitialized warning with posix_memalign() and -Og https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65244 What|Removed |Added -

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2022-08-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 65244, which changed state. Bug 65244 Summary: Bogus -Wmaybe-uninitialized warning with posix_memalign() and -Og https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65244 What|Removed |Added -

[Bug tree-optimization/78394] False positives of maybe-uninitialized with -Og

2022-08-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394 Bug 78394 depends on bug 65244, which changed state. Bug 65244 Summary: Bogus -Wmaybe-uninitialized warning with posix_memalign() and -Og https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65244 What|Removed |Added -

[Bug tree-optimization/73550] Another wrong -Wmaybe-uninitialized warning in switch statement

2022-08-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=73550 Richard Biener changed: What|Removed |Added Last reconfirmed|2021-03-31 00:00:00 |2022-8-31 --- Comment #13 from Richard

[Bug tree-optimization/106786] New: Regression in cmp+sbb

2022-08-31 Thread chfast at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106786 Bug ID: 106786 Summary: Regression in cmp+sbb Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug rtl-optimization/106785] ICE in fail, at selftest.cc:47 since r13-2266-g8bb1df032cc080

2022-08-31 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106785 --- Comment #1 from Aldy Hernandez --- (In reply to Martin Liška from comment #0) > Fails for the following cross compilers: > pdp11-aout rx-elf vax-linux-gnu vax-netbsdelf > > $ ./xgcc -v > Using built-in specs. > COLLECT_GCC=./xgcc > Targe

[Bug rtl-optimization/106785] ICE in fail, at selftest.cc:47 since r13-2266-g8bb1df032cc080

2022-08-31 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106785 Aldy Hernandez changed: What|Removed |Added Last reconfirmed||2022-08-31 Assignee|unassign

[Bug rtl-optimization/106785] ICE in fail, at selftest.cc:47 since r13-2266-g8bb1df032cc080

2022-08-31 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106785 --- Comment #3 from Aldy Hernandez --- Created attachment 53523 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53523&action=edit untested patch

[Bug tree-optimization/106787] New: ICE in vect_schedule_slp_node, at tree-vect-slp.cc:8648

2022-08-31 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106787 Bug ID: 106787 Summary: ICE in vect_schedule_slp_node, at tree-vect-slp.cc:8648 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug tree-optimization/106787] [13 Regression] ICE in vect_schedule_slp_node, at tree-vect-slp.cc:8648 since r13-2288-g61c4c989034548f4

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

[Bug target/106327] side-effect-free _x variance not optimized to unpredicated instruction

2022-08-31 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106327 rsandifo at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCO

[Bug tree-optimization/90994] Bogus Wmaybe-uninitialized with fnon-call-exceptions

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

[Bug c++/106788] New: GCC rejects valid program involving initialization of array in member initializer list

2022-08-31 Thread jlame646 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106788 Bug ID: 106788 Summary: GCC rejects valid program involving initialization of array in member initializer list Product: gcc Version: 9.3.0 Status: UNCONFIRMED

[Bug c++/106788] GCC rejects valid program involving initialization of array in member initializer list

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

[Bug tree-optimization/106787] [13 Regression] ICE in vect_schedule_slp_node, at tree-vect-slp.cc:8648 since r13-2288-g61c4c989034548f4

2022-08-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106787 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.0

[Bug ipa/106783] [12/13 Regression] ICE in ipa-modref.cc:analyze_function since r12-5247-ga34edf9a3e907de2

2022-08-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106783 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.3

[Bug other/106782] dump_printf_loc has incorrect format attribute

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

[Bug tree-optimization/106781] [13 Regression] ICE: verify_flow_info failed (error: returns_twice call is not first in basic block 2) since r13-1754-g7a158a5776f5ca95

2022-08-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106781 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.0 Keywords|

[Bug tree-optimization/106789] New: gcc/range-op-float.cc:240:1: warning: unused function 'default_frelop_fold_range' [-Wunused-function]

2022-08-31 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106789 Bug ID: 106789 Summary: gcc/range-op-float.cc:240:1: warning: unused function 'default_frelop_fold_range' [-Wunused-function] Product: gcc Version: 13.0 Status: UNCONFIR

[Bug rtl-optimization/106785] ICE in fail, at selftest.cc:47 since r13-2266-g8bb1df032cc080

2022-08-31 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106785 Aldy Hernandez changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #

[Bug c++/63707] Brace initialization of array sometimes fails if no copy constructor

2022-08-31 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63707 Martin Liška changed: What|Removed |Added CC||jlame646 at gmail dot com --- Comment #25

[Bug c++/106788] GCC rejects valid program involving initialization of array in member initializer list

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

[Bug tree-optimization/106789] gcc/range-op-float.cc:240:1: warning: unused function 'default_frelop_fold_range' [-Wunused-function]

2022-08-31 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106789 Aldy Hernandez changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/106789] gcc/range-op-float.cc:240:1: warning: unused function 'default_frelop_fold_range' [-Wunused-function]

2022-08-31 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106789 Martin Liška changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org

[Bug tree-optimization/106789] gcc/range-op-float.cc:240:1: warning: unused function 'default_frelop_fold_range' [-Wunused-function]

2022-08-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106789 --- Comment #3 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:217ba2ce7841a68482cb428b9bc093b0842faf3d commit r13-2308-g217ba2ce7841a68482cb428b9bc093b0842faf3d Author: Martin Liska Date: Wed

[Bug tree-optimization/106789] gcc/range-op-float.cc:240:1: warning: unused function 'default_frelop_fold_range' [-Wunused-function]

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

[Bug rtl-optimization/106785] ICE in fail, at selftest.cc:47 since r13-2266-g8bb1df032cc080

2022-08-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106785 --- Comment #5 from Jakub Jelinek --- If !MODE_HAS_NANS, then NANs can't appear ever, that is the VAX case. Some floating point formats simply have no representation for those. If MODE_HAS_NANS && !HONOR_NANS, it is user promising NaNs won't app

[Bug fortran/106790] New: Weird SIGSEV using polymorphic routine with "select type" and optimization (-O3)

2022-08-31 Thread federico.perini at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106790 Bug ID: 106790 Summary: Weird SIGSEV using polymorphic routine with "select type" and optimization (-O3) Product: gcc Version: 12.1.0 Status: UNCONFIRMED Sever

[Bug c++/106788] GCC rejects valid program involving initialization of array in member initializer list

2022-08-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106788 --- Comment #3 from Jonathan Wakely --- (In reply to Jason Liam from comment #0) > The following valid program is rejected by gcc 9.3 but accepted by gcc 9.4 > and onwards. Demo link: https://godbolt.org/z/KT3GWP677 The oldest supported release

[Bug c++/106791] New: [12 Regression] Operator Lookup with using namespace

2022-08-31 Thread gcc at hazardy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106791 Bug ID: 106791 Summary: [12 Regression] Operator Lookup with using namespace Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug c++/106791] [12/13 Regression] Operator Lookup with using namespace

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

[Bug rtl-optimization/106785] ICE in fail, at selftest.cc:47 since r13-2266-g8bb1df032cc080

2022-08-31 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106785 --- Comment #6 from Aldy Hernandez --- (In reply to Jakub Jelinek from comment #5) > If !MODE_HAS_NANS, then NANs can't appear ever, that is the VAX case. > Some floating point formats simply have no representation for those. > If MODE_HAS_NANS

[Bug c++/106791] [12/13 Regression] Operator Lookup with using namespace since r12-702-g6ab1176667734bd6

2022-08-31 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106791 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug c++/106791] [12/13 Regression] Operator Lookup with using namespace since r12-702-g6ab1176667734bd6

2022-08-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106791 --- Comment #2 from Jonathan Wakely --- This is not a valid testcase for a GCC bug report. As requested when creating the bug, please read https://gcc.gnu.org/bugs and provide the missing info next time. The example can be reduced to: namespac

[Bug c++/106791] [12/13 Regression] Operator Lookup with using namespace since r12-702-g6ab1176667734bd6

2022-08-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106791 Jonathan Wakely changed: What|Removed |Added Resolution|--- |INVALID Status|NEW

[Bug tree-optimization/90994] Bogus Wmaybe-uninitialized with fnon-call-exceptions

2022-08-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90994 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:88f29a8aa82f2788baf2f9865940d4c83012c580 commit r13-2310-g88f29a8aa82f2788baf2f9865940d4c83012c580 Author: Richard Biener Date:

[Bug tree-optimization/106785] ICE in fail, at selftest.cc:47 since r13-2266-g8bb1df032cc080

2022-08-31 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106785 --- Comment #7 from Aldy Hernandez --- And how about __builtin_nan ("") == xxx ?? Is that undefined for !HONOR_NANS? Can I continue treating it as false?

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2022-08-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 90994, which changed state. Bug 90994 Summary: Bogus Wmaybe-uninitialized with fnon-call-exceptions https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90994 What|Removed |Added ---

[Bug tree-optimization/90994] Bogus Wmaybe-uninitialized with fnon-call-exceptions

2022-08-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90994 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug ipa/106627] Exception from multiversion function cannot be caught

2022-08-31 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106627 --- Comment #3 from Martin Liška --- I think the patch is correct, please send it to gcc-patches mailing list.

[Bug tree-optimization/106781] [13 Regression] ICE: verify_flow_info failed (error: returns_twice call is not first in basic block 2) since r13-1754-g7a158a5776f5ca95

2022-08-31 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106781 --- Comment #5 from Alexander Monakov --- GCC discovers that 'bar' is noreturn, tries to remove its LHS but unfortunately cgraph.cc:cgraph_edge::redirect_call_stmt_to_callee wants to emit an assignment of SSA default-def to the LHS. fixup_noretu

[Bug c++/106784] Add __is_convertible built-in

2022-08-31 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106784 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/93432] variable is used uninitialized, but gcc shows no warning

2022-08-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93432 Richard Biener changed: What|Removed |Added Component|c |tree-optimization Keywords|ea

[Bug tree-optimization/106155] [12/13 Regression] spurious "may be used uninitialized" warning

2022-08-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106155 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug c++/106784] Add __is_convertible built-in

2022-08-31 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106784 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug tree-optimization/102631] -Wmaybe-uninitialized cannot see through a series of PHIs

2022-08-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102631 --- Comment #5 from Richard Biener --- We run into MAX_CHAIN_LEN exceeded: 6 and when I up that also into cycle detected and then param_uninit_control_dep_attempts exceeded: 1001 so we get a pruned predicate for the DEF. The testcase is t

[Bug libstdc++/106780] gcc maybe-uninitialized warning on std_function.h

2022-08-31 Thread vincent.lextrait at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106780 --- Comment #3 from Vincent --- Yes it seems safe to consider it a dupe.

[Bug tree-optimization/106785] ICE in fail, at selftest.cc:47 since r13-2266-g8bb1df032cc080

2022-08-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106785 --- Comment #8 from Jakub Jelinek --- Well, __builtin_nan ("") == xxx is always false even with -fno-finite-math-only, including NaN == NaN, that is how floating point equality comparisons are defined. But, e.g. with -ffinite-math-only, we fold

[Bug c/106792] New: range-op-float.cc:240:1: warning: unused function 'default_frelop_fold_range'

2022-08-31 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106792 Bug ID: 106792 Summary: range-op-float.cc:240:1: warning: unused function 'default_frelop_fold_range' Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug libstdc++/106793] New: std::barrier missing default template argument?

2022-08-31 Thread gonzalo.gadeschi at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106793 Bug ID: 106793 Summary: std::barrier missing default template argument? Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/106786] Regression in cmp+sbb

2022-08-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106786 Andrew Pinski changed: What|Removed |Added Component|target |tree-optimization --- Comment #1 from A

[Bug tree-optimization/106786] [12/13 Regression] Regression in cmp+sbb

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

[Bug c++/106794] New: ice in vect_transform_slp_perm_load_1

2022-08-31 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106794 Bug ID: 106794 Summary: ice in vect_transform_slp_perm_load_1 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug other/106782] dump_printf_loc has incorrect format attribute

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

[Bug c++/106794] ice in vect_transform_slp_perm_load_1

2022-08-31 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106794 --- Comment #1 from David Binderman --- Git hash range seems to be 4fbe3e6aa74dae5c..3de9fb3235998a05, a distance of 28 commits.

[Bug other/106782] dump_printf_loc has incorrect format attribute

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

[Bug tree-optimization/106794] [13 Regression] ice in vect_transform_slp_perm_load_1

2022-08-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106794 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug target/106763] Armv8.2 vmov.f16 instruction sometimes causes SIGILL

2022-08-31 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106763 --- Comment #8 from Richard Earnshaw --- I spoke to our kernel experts about this and they think my hypothesis is quite likely to be correct. They also noted that kernel version 4.9.118 is about 200 releases out of date on the 4.9 LTS series.

[Bug other/106782] dump_printf_loc has incorrect format attribute

2022-08-31 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106782 --- Comment #4 from Tamar Christina --- (In reply to Jakub Jelinek from comment #3) > Tamar, any thoughts on that? Apologies, didn't notice that earlier. That should be "Target does not support vector type for %G\n" with STMT_VINFO_STMT (SLP_T

[Bug testsuite/106795] New: [13 regression] g++.dg/tree-ssa/empty-loop.C fails with excess errors after r13-2303-gb911ca4231a366

2022-08-31 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106795 Bug ID: 106795 Summary: [13 regression] g++.dg/tree-ssa/empty-loop.C fails with excess errors after r13-2303-gb911ca4231a366 Product: gcc Version: 13.0 Status: UNCONFIRM

[Bug tree-optimization/106794] [13 Regression] ice in vect_transform_slp_perm_load_1

2022-08-31 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106794 --- Comment #2 from David Binderman --- Reduced code seems to be: template struct Vector3 { Vector3(); Vector3(T, T, T); T length() const; T x, y, z; }; template Vector3::Vector3(T _x, T _y, T _z) : x(_x), y(_y), z(_z) {} Vector3 cros

[Bug testsuite/106796] New: [13 regression] gcc.dg/tree-prof/cmpsf-1.c fails after r13-2098-g5adfb6540db95d

2022-08-31 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106796 Bug ID: 106796 Summary: [13 regression] gcc.dg/tree-prof/cmpsf-1.c fails after r13-2098-g5adfb6540db95d Product: gcc Version: 13.0 Status: UNCONFIRMED Severity

[Bug testsuite/106796] [13 regression] gcc.dg/tree-prof/cmpsf-1.c fails after r13-2098-g5adfb6540db95d

2022-08-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106796 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug tree-optimization/106679] [13 regression] gcc.dg/tree-prof/cmpsf-1.c fails after r13-2098-g5adfb6540db95d

2022-08-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106679 --- Comment #4 from Andrew Pinski --- *** Bug 106796 has been marked as a duplicate of this bug. ***

[Bug target/106736] [13 Regression] ICE in gen_movxo, at config/rs6000/mma.md:333

2022-08-31 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106736 --- Comment #9 from Segher Boessenkool --- When MMA is not enabled, the movxo and movoo patterns should never be reached at all; the __vector_{quad,pair} types should not exist, and the {XO,OO}mode-using code should then never be created. So ho

[Bug testsuite/106795] [13 regression] g++.dg/tree-ssa/empty-loop.C fails with excess errors after r13-2303-gb911ca4231a366

2022-08-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106795 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org

[Bug c/106797] New: Improvement: diagnose undefined behavior: not all declarations that refer to the same object or function have compatible type

2022-08-31 Thread pavel.morozkin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106797 Bug ID: 106797 Summary: Improvement: diagnose undefined behavior: not all declarations that refer to the same object or function have compatible type Product: gcc

[Bug c/21343] [10/11/12/13 Regression] incompatible internal linkage declarations in different scopes not diagnosed

2022-08-31 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21343 Joseph S. Myers changed: What|Removed |Added CC||pavel.morozkin at gmail dot com --- Co

[Bug c/106797] Improvement: diagnose undefined behavior: not all declarations that refer to the same object or function have compatible type

2022-08-31 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106797 Joseph S. Myers changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/106797] Improvement: diagnose undefined behavior: not all declarations that refer to the same object or function have compatible type

2022-08-31 Thread pavel.morozkin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106797 --- Comment #2 from Pavel M --- Observation: if "static" is removed, then GCC generates: : In function 'f2': :10:18: error: conflicting types for 'x'; have 'int (*)[5]' 10 | extern int (*x)[5]; | ^ :5:18: note: prev

[Bug target/106736] [13 Regression] ICE in gen_movxo, at config/rs6000/mma.md:333

2022-08-31 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106736 --- Comment #10 from Peter Bergner --- (In reply to Segher Boessenkool from comment #9) > When MMA is not enabled, ... > the __vector_{quad,pair} types should not exist, Unfortunately, target type initialization only occurs once at the very be

[Bug testsuite/106795] [13 regression] g++.dg/tree-ssa/empty-loop.C fails with excess errors after r13-2303-gb911ca4231a366

2022-08-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106795 --- Comment #1 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:2dbe2801df3010c5549a3ca958194aa77737122d commit r13-2320-g2dbe2801df3010c5549a3ca958194aa77737122d Author: Jonathan Wakely Date:

[Bug testsuite/106795] [13 regression] g++.dg/tree-ssa/empty-loop.C fails with excess errors after r13-2303-gb911ca4231a366

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

[Bug c/106792] range-op-float.cc:240:1: warning: unused function 'default_frelop_fold_range'

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

[Bug tree-optimization/106789] gcc/range-op-float.cc:240:1: warning: unused function 'default_frelop_fold_range' [-Wunused-function]

2022-08-31 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106789 Martin Liška changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment #5

  1   2   >