[Bug c/71219] Warn about (struct S*)malloc(n) where n < sizeof(struct S)

2023-09-18 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71219 Martin Uecker changed: What|Removed |Added CC||muecker at gwdg dot de --- Comment #5

[Bug c++/110785] [c++14+] Incorrect return type deduction for const auto with no return statement

2023-09-18 Thread amatuladeeba at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110785 Amatul Adeeba changed: What|Removed |Added CC||amatuladeeba at gmail dot com ---

[Bug middle-end/111468] cannot express unordered equal in gimple FE

2023-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111468 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Severity|normal

[Bug middle-end/111468] New: cannot express unordered equal in gimple FE

2023-09-18 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111468 Bug ID: 111468 Summary: cannot express unordered equal in gimple FE Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug rtl-optimization/111467] REE failing to eliminate redundant extension due to multiple reaching def(s)

2023-09-18 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111467 Jeffrey A. Law changed: What|Removed |Added CC||law at gcc dot gnu.org --- Comment #2

[Bug tree-optimization/106164] (a > b) & (a >= b) does not get optimized until reassoc1

2023-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106164 --- Comment #20 from Andrew Pinski --- (In reply to Andrew Pinski from comment #19) > Another integer testcase which is missed here: > ``` > _Bool f(int a) > { > _Bool t = a == 0; > unsigned t1 = a; > _Bool t2 = t1 >= 3;

[Bug tree-optimization/111456] [14 Regression] Dead Code Elimination Regression since r14-3719-gb34f3736356

2023-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111456 --- Comment #4 from Andrew Pinski --- Created attachment 55929 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55929=edit Patch which I am testing I still need to add testcases.

[Bug target/111367] Error: operand out of range (0x1391c is not between 0xffffffffffff8000 and 0x7fff)

2023-09-18 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111367 --- Comment #10 from Kewen Lin --- Thanks for both of your comments! (In reply to Peter Bergner from comment #8) > Mike will know better than I, but I like the idea of the patch! Looking forward to Mike's reply. :) (In reply to Segher

[Bug driver/86030] specs file processing does not create response files for input directories

2023-09-18 Thread john.soo+gcc-bugzilla at arista dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86030 --- Comment #20 from John Soo --- I think that in order to really rid gcc of the E2BIG problem on linux, COLLECT_*_OPTIONS will have to be deprecated and removed. This is particularly a problem when executing spec files, it seems.

[Bug tree-optimization/111456] [14 Regression] Dead Code Elimination Regression since r14-3719-gb34f3736356

2023-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111456 --- Comment #3 from Andrew Pinski --- here is another missed optimization: ``` _Bool f2(int a, int b) { _Bool t = a == b; unsigned t1 = a; unsigned t2 = b; _Bool b2 = t1 >= t2; return t & b2; } ``` This

[Bug tree-optimization/106164] (a > b) & (a >= b) does not get optimized until reassoc1

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

[Bug middle-end/111454] ice in get_nonzero_bits

2023-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111454 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug tree-optimization/111435] [14 Regression] gimple_zero_one_valued_p() infinite recursion

2023-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111435 Andrew Pinski changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment

[Bug tree-optimization/110992] [13/14 Regression] missed VRP optimization due to transformation of `a & -zero_one_valued_p` into `a * zero_one_valued_p`

2023-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110992 Andrew Pinski changed: What|Removed |Added URL|https://gcc.gnu.org/piperma |

[Bug tree-optimization/111456] [14 Regression] Dead Code Elimination Regression since r14-3719-gb34f3736356

2023-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111456 --- Comment #2 from Andrew Pinski --- Reduced testcase for the missed optimization before and after the patch: ``` _Bool f(int a) { _Bool t = a == 0; short t1 = a; _Bool t2 = t1 >= 0; return t & t2; } ``` This

[Bug tree-optimization/111465] [14 regression] stage 3 ICE kills bootstrap from r14-4089-gd45ddc2c04e471d0dcee01

2023-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111465 --- Comment #7 from Andrew Pinski --- ``` Optimizing block #15 1>>> STMT 1 = prephitmp_58 le_expr location_138 1>>> STMT 1 = prephitmp_58 ge_expr location_138 1>>> STMT 1 = prephitmp_58 eq_expr location_138 1>>> STMT 0 = prephitmp_58 ne_expr

[Bug tree-optimization/111465] [14 regression] stage 3 ICE kills bootstrap from r14-4089-gd45ddc2c04e471d0dcee01

2023-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111465 --- Comment #6 from Andrew Pinski --- Created attachment 55928 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55928=edit Reduced even further Still requires `-O2 -fno-exceptions --param=logical-op-non-short-circuit=0` to reproduce.

[Bug rtl-optimization/111467] REE failing to eliminate redundant extension due to multiple reaching def(s)

2023-09-18 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111467 --- Comment #1 from Vineet Gupta --- (insn 8 4 11 2 (set (reg:SI 15 a5 [orig:137 b ] [137]) <--- DEF #1 (reg:SI 11 a1 [orig:136 b ] [136])) "max.c":12:20 207 {*movsi_internal} (nil)) (jump_insn 11 8 22 2 (set (pc)

[Bug tree-optimization/111465] [14 regression] stage 3 ICE kills bootstrap from r14-4089-gd45ddc2c04e471d0dcee01

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

[Bug sanitizer/109882] sanitizer/common_interface_defs.h bogusly defines __has_feature

2023-09-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109882 --- Comment #9 from Jonathan Wakely --- Resubmitted now that LLVM uses github pull requests: https://github.com/llvm/llvm-project/pull/66628

[Bug tree-optimization/111465] [14 regression] stage 3 ICE kills bootstrap from r14-4089-gd45ddc2c04e471d0dcee01

2023-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111465 --- Comment #4 from Andrew Pinski --- Created attachment 55927 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55927=edit reduced somewhat Compile with `-O2 -fno-exceptions`.

[Bug rtl-optimization/111467] New: REE failing to eliminate redundant extension due to multiple reaching def(s)

2023-09-18 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111467 Bug ID: 111467 Summary: REE failing to eliminate redundant extension due to multiple reaching def(s) Product: gcc Version: 13.0 Status: UNCONFIRMED Severity:

[Bug target/111466] New: RISC-V: redundant sign extensions despite ABI guarantees

2023-09-18 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111466 Bug ID: 111466 Summary: RISC-V: redundant sign extensions despite ABI guarantees Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/111465] [14 regression] stage 3 ICE kills bootstrap

2023-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111465 --- Comment #3 from Andrew Pinski --- Reproduced, reducing ...

[Bug tree-optimization/111465] [14 regression] stage 3 ICE kills bootstrap

2023-09-18 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111465 --- Comment #2 from seurer at gcc dot gnu.org --- Created attachment 55926 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55926=edit preprocessed .ii file Yup, that looks like the culprit. Preprocessed file attached.

[Bug fortran/58146] Array slice bounds checking

2023-09-18 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58146 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |WAITING --- Comment #10 from

[Bug middle-end/111446] genmatch should warn/error out on recusive match patterns

2023-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111446 --- Comment #3 from Andrew Pinski --- (In reply to Richard Biener from comment #1) > Note originally I intended to have (match (...)) inlined in the match IL > itself, > so any such checking should not only check for direct recursion but

[Bug target/111464] Using DW_EH_PE_udata4 for amd64 non-pic breaks linking in some situations

2023-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111464 --- Comment #1 from Andrew Pinski --- Also see https://inbox.sourceware.org/gcc-patches/20230201073859.3920910-1-mask...@google.com/ The original patch which uses DW_EH_PE_udata4 :

[Bug tree-optimization/111465] [14 regression] stage 3 ICE kills bootstrap

2023-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111465 Andrew Pinski changed: What|Removed |Added Component|bootstrap |tree-optimization Target

[Bug tree-optimization/111435] [14 Regression] gimple_zero_one_valued_p() infinite recursion

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

[Bug tree-optimization/111442] [14 Regression] ICE on valid code at -O{s,2,3}: Segmentation fault signal terminated program cc1

2023-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111442 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/111442] [14 Regression] ICE on valid code at -O{s,2,3}: Segmentation fault signal terminated program cc1

2023-09-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111442 --- Comment #5 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:7ea501d3ea698e1c845fb61e3487f4cd949e6253 commit r14-4114-g7ea501d3ea698e1c845fb61e3487f4cd949e6253 Author: Andrew Pinski Date:

[Bug middle-end/111446] genmatch should warn/error out on recusive match patterns

2023-09-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111446 --- Comment #2 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:7ea501d3ea698e1c845fb61e3487f4cd949e6253 commit r14-4114-g7ea501d3ea698e1c845fb61e3487f4cd949e6253 Author: Andrew Pinski Date:

[Bug tree-optimization/111435] [14 Regression] gimple_zero_one_valued_p() infinite recursion

2023-09-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111435 --- Comment #13 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:951d3c191d01440ad54415f683437770b0c957e4 commit r14-4113-g951d3c191d01440ad54415f683437770b0c957e4 Author: Andrew Pinski Date:

[Bug fortran/70231] Runtime error: Different CHARACTER lengths in array constructor with allocatable array and -O0

2023-09-18 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70231 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #4 from

[Bug bootstrap/111465] New: [14 regression] stage 3 ICE kills bootstrap

2023-09-18 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111465 Bug ID: 111465 Summary: [14 regression] stage 3 ICE kills bootstrap Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/70231] Runtime error: Different CHARACTER lengths in array constructor with allocatable array and -O0

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

[Bug c++/63198] decltype in template function declaration yields spurious error

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

[Bug c++/18474] Unary plus/minus lvalueness not diagnosed in templates

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

[Bug c++/89231] Bogus "ambiguous template instantiation" error for variadic nested class

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

[Bug c++/111399] Bogus -Wreturn-type diagnostic

2023-09-18 Thread david at westcontrol dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111399 --- Comment #2 from David Brown --- Would it be possible to have the "-Wreturn-type" warning pass not issue a warning immediately, but inject a warning into the code that could then be removed later by optimisation? What I mean, is to have

[Bug c++/89231] Bogus "ambiguous template instantiation" error for variadic nested class

2023-09-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89231 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:80968d5f4683ffb50dbe8051d10f754d5fd00dfb commit r14-4112-g80968d5f4683ffb50dbe8051d10f754d5fd00dfb Author: Patrick Palka Date:

[Bug c++/63198] decltype in template function declaration yields spurious error

2023-09-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63198 --- Comment #7 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:6e92a6a2a72d3b7a5e1b29042d8a6a43fe1085aa commit r14-4111-g6e92a6a2a72d3b7a5e1b29042d8a6a43fe1085aa Author: Patrick Palka Date:

[Bug c++/18474] Unary plus/minus lvalueness not diagnosed in templates

2023-09-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18474 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:6e92a6a2a72d3b7a5e1b29042d8a6a43fe1085aa commit r14-4111-g6e92a6a2a72d3b7a5e1b29042d8a6a43fe1085aa Author: Patrick Palka Date:

[Bug c++/108347] Incorrect error: ambiguous template instantiation

2023-09-18 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108347 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Target Milestone|---

[Bug c++/108347] Incorrect error: ambiguous template instantiation

2023-09-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108347 --- Comment #4 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:a6ac1fc64c3caed19da65c2e6b12f8ddaf551231 commit r14-4110-ga6ac1fc64c3caed19da65c2e6b12f8ddaf551231 Author: Patrick Palka Date:

[Bug c++/84075] [11/12/13/14 Regression] Template parameter not resolved: invalid application of ‘sizeof’ to incomplete type ‘boost::serialization::U’

2023-09-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84075 --- Comment #14 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:155178ccb5f5bc89dcc8261ae1b64bc2fbfdbd45 commit r14-4109-g155178ccb5f5bc89dcc8261ae1b64bc2fbfdbd45 Author: Patrick Palka Date:

[Bug target/111464] New: Using DW_EH_PE_udata4 for amd64 non-pic breaks linking in some situations

2023-09-18 Thread john at feith dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111464 Bug ID: 111464 Summary: Using DW_EH_PE_udata4 for amd64 non-pic breaks linking in some situations Product: gcc Version: 9.5.0 Status: UNCONFIRMED Severity:

[Bug c++/111463] Access error in instantiation of template class, incorrectly using inherited constructor of wrong type

2023-09-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111463 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org,

[Bug c++/111463] New: Access error in instantiation of template class, incorrectly using inherited constructor of wrong type

2023-09-18 Thread bckempa at iastate dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111463 Bug ID: 111463 Summary: Access error in instantiation of template class, incorrectly using inherited constructor of wrong type Product: gcc Version: 11.4.0 Status:

[Bug testsuite/111462] [14 regression] gcc.dg/tree-ssa/ssa-sink-18.c fails after r14-4089-gd45ddc2c04e471

2023-09-18 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111462 --- Comment #2 from seurer at gcc dot gnu.org --- Also this one: make -k check-gcc RUNTESTFLAGS="vect.exp=gcc.dg/vect/vect-117.c" FAIL: gcc.dg/vect/vect-117.c scan-tree-dump-not optimized "Invalid sum" FAIL: gcc.dg/vect/vect-117.c -flto

[Bug testsuite/111462] [14 regression] gcc.dg/tree-ssa/ssa-sink-18.c fails after r14-4089-gd45ddc2c04e471

2023-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111462 Andrew Pinski changed: What|Removed |Added Component|tree-optimization |testsuite Keywords|

[Bug target/111367] Error: operand out of range (0x1391c is not between 0xffffffffffff8000 and 0x7fff)

2023-09-18 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111367 --- Comment #9 from Segher Boessenkool --- I don't like that "wzd" attribute at all. Please just put an "if" for the mode around this -- everywhere else (including in a large part of this patch!) we deal with SImode and DImode separately

[Bug tree-optimization/111462] New: [14 regression] gcc.dg/tree-ssa/ssa-sink-18.c fails after r14-4089-gd45ddc2c04e471

2023-09-18 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111462 Bug ID: 111462 Summary: [14 regression] gcc.dg/tree-ssa/ssa-sink-18.c fails after r14-4089-gd45ddc2c04e471 Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug target/111461] New: [14.0 Regression] RISC-V rv32gc bootstrap ICEs with --enable-checking=rtl

2023-09-18 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111461 Bug ID: 111461 Summary: [14.0 Regression] RISC-V rv32gc bootstrap ICEs with --enable-checking=rtl Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug libstdc++/111055] [C++23] Implement P1206R7, Conversions from ranges to containers

2023-09-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111055 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org

[Bug target/111367] Error: operand out of range (0x1391c is not between 0xffffffffffff8000 and 0x7fff)

2023-09-18 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111367 Peter Bergner changed: What|Removed |Added CC|g...@the-meissners.org |meissner at gcc dot gnu.org ---

[Bug other/111460] New: -fdiagnostics-generate-patch=/out.diff to specify patch output destination file

2023-09-18 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111460 Bug ID: 111460 Summary: -fdiagnostics-generate-patch=/out.diff to specify patch output destination file Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug c++/111448] g++ ICE Segmentation fault in qemu-riscv64-static emulator

2023-09-18 Thread rsworktech at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111448 --- Comment #4 from Levi Zim --- I tested it on gcc's latest commit(5b4acfa306d53c8473883552f1db7278b7065b18). It doesn't trigger the ICE. However, I do have another source file that still triggers the ICE with gcc's latest commit. It is a

[Bug tree-optimization/111431] a & (a == 0) is not optimized to 0

2023-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111431 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug tree-optimization/111431] a & (a == 0) is not optimized to 0

2023-09-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111431 --- Comment #7 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:0fb828af75732d39c644fd145c29d41ca14b8cb1 commit r14-4105-g0fb828af75732d39c644fd145c29d41ca14b8cb1 Author: Andrew Pinski Date:

[Bug tree-optimization/111458] [11 Regression] ICE in in dfs_enumerate_from, at cfganal.c:1560

2023-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111458 Andrew Pinski changed: What|Removed |Added Known to fail||11.1.0, 11.4.0 Keywords|

[Bug tree-optimization/111459] DSE after deleting trivial dead statements sometimes should do a cfgcleanup

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

[Bug tree-optimization/111459] DSE after deleting trivial dead statements sometimes should do a cfgcleanup

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

[Bug tree-optimization/111459] New: DSE after deleting trivial dead statements sometimes should do a cfgcleanup

2023-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111459 Bug ID: 111459 Summary: DSE after deleting trivial dead statements sometimes should do a cfgcleanup Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords:

[Bug c/111458] ICE in in dfs_enumerate_from, at cfganal.c:1560

2023-09-18 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111458 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55922 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55922=edit The compiler output

[Bug c/111458] New: ICE in in dfs_enumerate_from, at cfganal.c:1560

2023-09-18 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111458 Bug ID: 111458 Summary: ICE in in dfs_enumerate_from, at cfganal.c:1560 Product: gcc Version: 11.4.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/111456] [14 Regression] Dead Code Elimination Regression since r14-3719-gb34f3736356

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

[Bug target/105928] [AArch64] 64-bit constants with same high/low halves can use ADD lsl 32 (-Os at least)

2023-09-18 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105928 Wilco changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/105928] [AArch64] 64-bit constants with same high/low halves can use ADD lsl 32 (-Os at least)

2023-09-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105928 --- Comment #4 from CVS Commits --- The master branch has been updated by Wilco Dijkstra : https://gcc.gnu.org/g:fc7070025d1a6668ff6cb4391f84771a7662def7 commit r14-4096-gfc7070025d1a6668ff6cb4391f84771a7662def7 Author: Wilco Dijkstra Date:

[Bug target/111255] RISC-V: Miss combine two vsetvl insns

2023-09-18 Thread lehua.ding at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111255 Lehua Ding changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/111255] RISC-V: Miss combine two vsetvl insns

2023-09-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111255 --- Comment #1 from CVS Commits --- The trunk branch has been updated by Lehua Ding : https://gcc.gnu.org/g:4ab744ace2478c4b986ec4ac27c0e3467b7a6419 commit r14-4094-g4ab744ace2478c4b986ec4ac27c0e3467b7a6419 Author: Lehua Ding Date: Mon Sep

[Bug tree-optimization/111456] [14 Regression] Dead Code Elimination Regression since r14-3719-gb34f3736356

2023-09-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111456 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.0

[Bug tree-optimization/111457] [14 Regression] Dead Code Elimination Regression since r14-3407-g936a12331a2

2023-09-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111457 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.0

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

2023-09-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104475 --- Comment #28 from Richard Biener --- I don't think anybody is working on this currently.

[Bug tree-optimization/111457] New: [14 Regression] Dead Code Elimination Regression since r14-3407-g936a12331a2

2023-09-18 Thread theodort at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111457 Bug ID: 111457 Summary: [14 Regression] Dead Code Elimination Regression since r14-3407-g936a12331a2 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/111456] New: [14 Regression] Dead Code Elimination Regression since r14-3719-gb34f3736356

2023-09-18 Thread theodort at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111456 Bug ID: 111456 Summary: [14 Regression] Dead Code Elimination Regression since r14-3719-gb34f3736356 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug c++/111455] [14 Regression] Using incorrect cast operator on integer_pack

2023-09-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111455 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/111455] [14 Regression] Using incorrect cast operator on integer_pack

2023-09-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111455 Jakub Jelinek changed: What|Removed |Added Version|13.2.1 |14.0 Target Milestone|---

[Bug c++/111455] New: [14 Regression] Using incorrect cast operator on integer_pack

2023-09-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111455 Bug ID: 111455 Summary: [14 Regression] Using incorrect cast operator on integer_pack Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal

[Bug middle-end/111446] genmatch should warn/error out on recusive match patterns

2023-09-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111446 --- Comment #1 from Richard Biener --- Note originally I intended to have (match (...)) inlined in the match IL itself, so any such checking should not only check for direct recursion but indirect as well - all SCCs are unsupported. (match

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

2023-09-18 Thread aph at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104475 Andrew Haley changed: What|Removed |Added CC||aph at gcc dot gnu.org --- Comment #27

[Bug tree-optimization/111445] [12/13/14 Regression] Wrong code at -Os on x86_64-linux-gnu since r12-1077-g57bf3751511

2023-09-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111445 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org ---

[Bug ipa/111444] [14 Regression] Wrong code at -O2/3/s on x86_64-gnu since r14-3226-gd073e2d75d9

2023-09-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111444 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org

[Bug target/111425] ia64: ICE in net/ipv4/fib_semantics.c:1621:1: internal compiler error: Segmentation fault

2023-09-18 Thread frank.scheiner at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111425 --- Comment #5 from Frank Scheiner --- (In reply to Richard Biener from comment #2) > Confirmed on trunk - we ICE in cselib during var-tracking, so > -fno-var-tracking would be a workaround (or -g0). Also confirming that both - i.e. using

[Bug libgomp/111413] libgomp >= 13 segfault on loading if environ is NULL

2023-09-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111413 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug ipa/111430] IPA read only variable analysis should handle the case where the storing was the same as the initialization

2023-09-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111430 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org Ever

[Bug tree-optimization/111294] [14 Regression] Missed Dead Code Elimination since r14-573-g69f1a8af45d

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

[Bug tree-optimization/111294] [14 Regression] Missed Dead Code Elimination since r14-573-g69f1a8af45d

2023-09-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111294 --- Comment #12 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:d45ddc2c04e471d0dcee016b6edacc00b8341b16 commit r14-4089-gd45ddc2c04e471d0dcee016b6edacc00b8341b16 Author: Richard Biener Date:

[Bug target/30484] INT_MIN % -1 is well defined for -fwrapv but traps on x86

2023-09-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30484 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug target/30484] INT_MIN % -1 is well defined for -fwrapv but traps on x86

2023-09-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30484 --- Comment #21 from Richard Biener --- operation_could_trap_helper_p is also wrong in only checking for integer_zerop on the divisor though a literal x / -1 could be optimized to x * -1 and thus safely rewritten to unsigned arithmetic.

[Bug tree-optimization/111435] [14 Regression] gimple_zero_one_valued_p() infinite recursion

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

[Bug c/111153] RISC-V: Incorrect Vector cost model for reduction

2023-09-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53 --- Comment #5 from CVS Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:fafd2502c5416fe4f69daf13224ab1efbf256a1c commit r14-4086-gfafd2502c5416fe4f69daf13224ab1efbf256a1c Author: Juzhe-Zhong Date: Sun Sep

[Bug target/111412] RISC-V:ICE in phase 6 of vsetvl pass

2023-09-18 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111412 Kito Cheng changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c/111454] ice in get_nonzero_bits

2023-09-18 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111454 --- Comment #2 from David Binderman --- (In reply to Andrew Pinski from comment #1) > This is either a dup of bug 111435 or bug 111442 Plausible. I saw the following strange behaviour: $ ~/gcc/results/bin/gcc -c -O1 bug958B.c gcc: internal

[Bug c/111454] ice in get_nonzero_bits

2023-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111454 --- Comment #1 from Andrew Pinski --- This is either a dup of bug 111435 or bug 111442

[Bug c/111454] New: ice in get_nonzero_bits

2023-09-18 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111454 Bug ID: 111454 Summary: ice in get_nonzero_bits Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug target/30484] INT_MIN % -1 is well defined for -fwrapv but traps on x86

2023-09-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30484 Richard Biener changed: What|Removed |Added Summary|INT_MIN % -1 is well|INT_MIN % -1 is well

[Bug c++/111448] g++ ICE Segmentation fault in qemu-riscv64-static emulator

2023-09-18 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111448 --- Comment #3 from Andreas Schwab --- Also seen with sonic-pi https://build.opensuse.org/package/live_build_log/openSUSE:Factory:RISCV/sonic-pi/standard/riscv64 and psi+

[Bug target/111412] RISC-V:ICE in phase 6 of vsetvl pass

2023-09-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111412 --- Comment #1 from CVS Commits --- The releases/gcc-13 branch has been updated by Li Xu : https://gcc.gnu.org/g:10c7edcc65d4bf1d05a9f0791e77e7b953e3e796 commit r13-7822-g10c7edcc65d4bf1d05a9f0791e77e7b953e3e796 Author: xuli Date: Mon Sep

  1   2   >