[Bug tree-optimization/109401] Optimise max (a, b) + min (a, b) into a + b

2024-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109401 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/87070] Combine popcount on pieces to a single popcountll

2024-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87070 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug tree-optimization/116426] [13/14/15 Regression] bogus -Wnull-dereference warning

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

[Bug tree-optimization/116426] [13/14/15 Regression] bogus -Wnull-dereference warning

2024-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116426 --- Comment #4 from Andrew Pinski --- So it is a missed optimization for -O2+ at the time the warning is emitted; the isolated path is optimized in the end.

[Bug tree-optimization/116426] [13/14/15 Regression] bogus -Wnull-dereference warning

2024-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116426 --- Comment #3 from Andrew Pinski --- #0 warning_at (location=location@entry=2147483839, opt=opt@entry=741, gmsgid=gmsgid@entry=0x2dccc98 "potential null pointer dereference") at /home/apinski/src/upstream-gcc-git/gcc/gcc/diagnostic-global-cont

[Bug c++/116424] [13/14/15 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.c:904 creating static object from other static objects

2024-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116424 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.4 Summary|ICE in cp_gimpl

[Bug c++/116424] ICE in cp_gimplify_expr, at cp/cp-gimplify.c:904 creating static object from other static objects

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

[Bug target/116030] [15 regression] ICE "could not split insn" in final_scan_insn_1, at final.cc on power pc since r15-1576-g6274f10318d053

2024-08-19 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116030 Kewen Lin changed: What|Removed |Added Summary|ICE "could not split insn" |[15 regression] ICE "could

[Bug c++/116424] ICE in cp_gimplify_expr, at cp/cp-gimplify.c:904 creating static object from other static objects

2024-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116424 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Known to fail|

[Bug tree-optimization/116426] [13/14/15 Regression] bogus -Wnull-dereference warning

2024-08-19 Thread bruno at clisp dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116426 --- Comment #2 from Bruno Haible --- (In reply to Andrew Pinski from comment #1) > Most likely a missed optimization at -O1 ... The warning occurs also at -O2 and -O6.

[Bug c++/116424] ICE in cp_gimplify_expr, at cp/cp-gimplify.c:904 creating static object from other static objects

2024-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116424 --- Comment #5 from Andrew Pinski --- Reduded with string include still: ``` #include struct Validator { std::string name_{}; int application_index_ = -1; bool active_{true}; bool non_modifying_{false}; Validator operator|(const Val

[Bug target/115683] [15 Regression] SSE2 regressions after obselete of vcond{,u,eq}.

2024-08-19 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115683 --- Comment #6 from Hongtao Liu --- (In reply to Uroš Bizjak from comment #5) > (In reply to Hongtao Liu from comment #0) > > > g++: g++.target/i386/pr100637-1b.C > > g++: g++.target/i386/pr100637-1w.C > > g++: g++.target/i386/pr103861-1.C > >

[Bug tree-optimization/116426] [13/14/15 Regression] bogus -Wnull-dereference warning

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

[Bug c++/116424] ICE in cp_gimplify_expr, at cp/cp-gimplify.c:904 creating static object from other static objects

2024-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116424 --- Comment #4 from Andrew Pinski --- Reducing ...

[Bug c++/116424] ICE in cp_gimplify_expr, at cp/cp-gimplify.c:904 creating static object from other static objects

2024-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116424 --- Comment #3 from Andrew Pinski --- Created attachment 58960 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58960&action=edit Preprocessed source Note I removed the body of EndsWithValidator::EndsWithValidator and the include fmt/format

[Bug c++/116424] ICE in cp_gimplify_expr, at cp/cp-gimplify.c:904 creating static object from other static objects

2024-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116424 Andrew Pinski changed: What|Removed |Added Ever confirmed|1 |0 Status|WAITING

[Bug c/116426] New: [13/14 Regression] bogus -Wnull-dereference warning

2024-08-19 Thread bruno at clisp dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116426 Bug ID: 116426 Summary: [13/14 Regression] bogus -Wnull-dereference warning Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug c++/116424] ICE in cp_gimplify_expr, at cp/cp-gimplify.c:904 creating static object from other static objects

2024-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116424 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug target/116425] New: RISC-V missed optimization: vector lowering along lmul boundaries

2024-08-19 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116425 Bug ID: 116425 Summary: RISC-V missed optimization: vector lowering along lmul boundaries Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c++/116424] New: ICE in cp_gimplify_expr, at cp/cp-gimplify.c:904 creating static object from other static objects

2024-08-19 Thread dansimon09 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116424 Bug ID: 116424 Summary: ICE in cp_gimplify_expr, at cp/cp-gimplify.c:904 creating static object from other static objects Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug other/116419] RFE: capture URLs in SARIF messages

2024-08-19 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116419 --- Comment #4 from David Malcolm --- Filed https://github.com/oasis-tcs/sarif-spec/issues/658 about ambiguity with '[' literals in plaintext messages.

[Bug other/116419] RFE: capture URLs in SARIF messages

2024-08-19 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116419 --- Comment #3 from David Malcolm --- Filed https://github.com/oasis-tcs/sarif-spec/issues/657 about possible need to escape URIs within embedded links.

[Bug other/116419] RFE: capture URLs in SARIF messages

2024-08-19 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116419 --- Comment #2 from David Malcolm --- Filed https://github.com/oasis-tcs/sarif-spec/issues/656 with the spec about escaping of link text.

[Bug tree-optimization/116420] [15 Regression] wrong code at -O{2, 3} with "-fno-forward-propagate -fno-tree-ch" on x86_64-linux-gnu

2024-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116420 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug tree-optimization/116420] [15 Regression] wrong code at -O{2, 3} with "-fno-forward-propagate -fno-tree-ch" on x86_64-linux-gnu

2024-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116420 Andrew Pinski changed: What|Removed |Added Summary|wrong code at -O{2,3} with |[15 Regression] wrong code

[Bug testsuite/116421] s390: vector-subscript-4.c FAILS on z16

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

[Bug testsuite/116421] s390: vector-subscript-4.c FAILS on z16

2024-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116421 Andrew Pinski changed: What|Removed |Added Target||s390 Component|target

[Bug rtl-optimization/116423] New: s390x: gcc.dg/pr106063.c internal compiler error: in extract_insn, at recog.cc:2812 with -march=z14

2024-08-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116423 Bug ID: 116423 Summary: s390x: gcc.dg/pr106063.c internal compiler error: in extract_insn, at recog.cc:2812 with -march=z14 Product: gcc Version: unknown Status: UNCONFI

[Bug c++/116422] g++-14 fails to build previously accepted unexpanded template code

2024-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116422 --- Comment #3 from Andrew Pinski --- Note it was already fixed upstream, see https://github.com/linbox-team/givaro/issues/226 .

[Bug c++/116422] g++-14 fails to build previously accepted unexpanded template code

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

[Bug target/116415] [12/13/14/15 Regression][PPC64LE] atomics wrongly use vector instructions in DWCAS.

2024-08-19 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116415 --- Comment #4 from Peter Bergner --- Here's a C testcase that shows the same problem: bergner@ltcden2-lp1:BUG$ cat bug.c #include #include typedef union { struct { uint64_t a; uint64_t b; } t; __uint128_t raw_data; } Value; V

[Bug c++/116422] g++-14 fails to build previously accepted unexpanded template code

2024-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116422 --- Comment #1 from Andrew Pinski --- I am 99% sure this is invalid c++.

[Bug c++/116422] New: g++-14 fails to build previously accepted unexpanded template code

2024-08-19 Thread jengelh at inai dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116422 Bug ID: 116422 Summary: g++-14 fails to build previously accepted unexpanded template code Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal

[Bug target/116421] New: s390: vector-subscript-4.c FAILS on z16

2024-08-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116421 Bug ID: 116421 Summary: s390: vector-subscript-4.c FAILS on z16 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: targe

[Bug ipa/115277] [13 regression] ICF needs to match loop bound estimates

2024-08-19 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115277 Martin Jambor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/87332] [meta-bug] Issues related to Identical Code Folding (ICF) and Tail Merging (-ftree-tail-merge)

2024-08-19 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87332 Bug 87332 depends on bug 115277, which changed state. Bug 115277 Summary: [13 regression] ICF needs to match loop bound estimates https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115277 What|Removed |Added -

[Bug tree-optimization/116420] New: wrong code at -O{2,3} with "-fno-forward-propagate -fno-tree-ch" on x86_64-linux-gnu

2024-08-19 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
igure --disable-bootstrap --enable-checking=yes --prefix=/local/suz-local/software/local/gcc-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 15.0.0 20240819 (experimental) (GCC) [525] % [5

[Bug ipa/115277] [13 regression] ICF needs to match loop bound estimates

2024-08-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115277 --- Comment #9 from GCC Commits --- The releases/gcc-13 branch has been updated by Martin Jambor : https://gcc.gnu.org/g:e469654e5e7bdd823c5aa996075e903c6b4d47e2 commit r13-8982-ge469654e5e7bdd823c5aa996075e903c6b4d47e2 Author: Jan Hubicka Da

[Bug rtl-optimization/115876] [15 regression] ext-dce.cc has ubsan issues; shifting negative values

2024-08-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115876 --- Comment #21 from Jeffrey A. Law --- Just sorry it took so long

[Bug target/113939] Switch m68k to LRA

2024-08-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113939 --- Comment #1 from GCC Commits --- The master branch has been updated by Andreas Schwab : https://gcc.gnu.org/g:c4971bae71cf4d6bb0b458dd9d457ec57d14a4f4 commit r15-3028-gc4971bae71cf4d6bb0b458dd9d457ec57d14a4f4 Author: Andreas Schwab Date:

[Bug c/112699] Should limits.h in freestanding environment be self-contained?

2024-08-19 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112699 --- Comment #4 from Arsen Arsenović --- it would IMO - no use in libc stuff in freestanding. mind proposing a patch?

[Bug tree-optimization/116409] [15 Regression] Recent phiopt change causing ICE with sqrt and -frounding-math

2024-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116409 Andrew Pinski changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug rtl-optimization/115876] [15 regression] ext-dce.cc has ubsan issues; shifting negative values

2024-08-19 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115876 --- Comment #20 from Martin Jambor --- Indeed, the UBSAN failures I see now look like they are all PR 116370. Thanks!

[Bug c++/116384] [14/15 Regression] ICE in convert_nontype_argument, at cp/pt.cc:7877

2024-08-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116384 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/116384] [14/15 Regression] ICE in convert_nontype_argument, at cp/pt.cc:7877

2024-08-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116384 --- Comment #4 from GCC Commits --- The releases/gcc-14 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:52da8588fd06198edcda81d7acf83ec92ccb63ef commit r14-10603-g52da8588fd06198edcda81d7acf83ec92ccb63ef Author: Marek Polacek

[Bug c++/115657] [12/13/14/15 Regression] ICE in tsubst_enum/tsubst_expr during template instantiation

2024-08-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115657 --- Comment #6 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:53283c3231a7b94e728619cccbf21170fb36b2a8 commit r15-3027-g53283c3231a7b94e728619cccbf21170fb36b2a8 Author: Marek Polacek Date: Th

[Bug c++/116384] [14/15 Regression] ICE in convert_nontype_argument, at cp/pt.cc:7877

2024-08-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116384 --- Comment #3 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:8191f15022b0ea44fcb549449b0458d07ae02e0a commit r15-3026-g8191f15022b0ea44fcb549449b0458d07ae02e0a Author: Marek Polacek Date: Th

[Bug other/116419] RFE: capture URLs in SARIF messages

2024-08-19 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116419 David Malcolm changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug other/116419] New: RFE: capture URLs in SARIF messages

2024-08-19 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116419 Bug ID: 116419 Summary: RFE: capture URLs in SARIF messages Product: gcc Version: unknown Status: UNCONFIRMED Keywords: SARIF Severity: normal Priority: P3

[Bug target/115683] [15 Regression] SSE2 regressions after obselete of vcond{,u,eq}.

2024-08-19 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115683 --- Comment #5 from Uroš Bizjak --- (In reply to Hongtao Liu from comment #0) > g++: g++.target/i386/pr100637-1b.C > g++: g++.target/i386/pr100637-1w.C > g++: g++.target/i386/pr103861-1.C > > There're extra 1 pcmpeq instruction generated in be

[Bug c++/116418] [12/13/14/15 Regression] Nested statement expressions with decltype auto in template break

2024-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116418 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.5 Summary|[11/12/13/14/15

[Bug c++/116418] New: [11/12/13/14/15 Regression] Nested statement expressions with decltype auto in template break

2024-08-19 Thread valentin at tolmer dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116418 Bug ID: 116418 Summary: [11/12/13/14/15 Regression] Nested statement expressions with decltype auto in template break Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug rtl-optimization/116325] [lra] ICE: in curr_insn_transform, at lra-constraints.cc:4283

2024-08-19 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116325 --- Comment #3 from Georg-Johann Lay --- (In reply to Georg-Johann Lay from comment #2) > Created attachment 58958 [details] > qsort.c. C test case > > LRA can't compile qsort.c from libc; same ICE. Just compile qsort.c with -mlra (optimizatio

[Bug c/116302] transparent union does not work with {integral type, bitfield struct}

2024-08-19 Thread hpa at zytor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116302 --- Comment #5 from H. Peter Anvin --- That's really too bad. It would be a very nice feature to have to migrate a code base from shift and mask to using bitfields.

[Bug rtl-optimization/116325] [lra] error: unable to generate reloads for:

2024-08-19 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116325 --- Comment #2 from Georg-Johann Lay --- Created attachment 58958 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58958&action=edit qsort.c. C test case LRA can't compile qsort.c from libc; same ICE.

[Bug target/116415] [12/13/14/15 Regression][PPC64LE] atomics wrongly use vector instructions in DWCAS.

2024-08-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116415 Richard Biener changed: What|Removed |Added Summary|[13 Regression][PPC64LE]|[12/13/14/15 |atomic

[Bug ipa/116410] -ffat-lto-objects generates different and inefficient code compared with -fno-fat-lto-objects

2024-08-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116410 Richard Biener changed: What|Removed |Added CC|richard.guenther at gmail dot com |rguenth at gcc dot gnu.org

[Bug libstdc++/116399] C++26 text_encoding​::​aliases_view is not default-constructible

2024-08-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116399 --- Comment #12 from Jonathan Wakely --- Implementation-defined means the implementation must define it (and document it). If the implementation says the types are different, then they're different, and it's not a common range.

[Bug libstdc++/116399] C++26 text_encoding​::​aliases_view is not default-constructible

2024-08-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116399 --- Comment #11 from Jonathan Wakely --- I don't agree. Containers do: class X { using iterator = ; iterator begin(); iterator end(); }; So clearly the type is the same. That's not how text_encoding::aliases_view is specified. The stan

[Bug tree-optimization/116406] [15 Regression] ICE: in add_to_value, at tree-ssa-pre.cc:695 with -Os -finstrument-functions-once -mfpmath=387

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

[Bug c++/77815] access to destructor via decltype-specifier

2024-08-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77815 --- Comment #4 from Jonathan Wakely --- In that Core issue, the type of *p is a reference. In comment 1 the type of t is not a reference, it's just T, so it should work. Clang and EDG accept it.

[Bug rtl-optimization/116402] [LRA] Improve hook documentation for reload -> LRA transition

2024-08-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116402 Richard Biener changed: What|Removed |Added CC||vmakarov at gcc dot gnu.org --- Commen

[Bug libfortran/116400] [15 Regression] Regenerated files are no longer written to the source directory

2024-08-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116400 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.0

[Bug tree-optimization/116409] [15 Regression] Recent phiopt change causing ICE with sqrt and -frounding-math

2024-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116409 --- Comment #8 from Andrew Pinski --- Cleaned up testcase from PR116411 : ``` int f (int t, char *a, char *b) { if (t) return __builtin_strlen (a); return __builtin_strlen (b); } ```

[Bug rtl-optimization/116389] [15 regression] [avr] ICE in extract_constrain_insn for avrtiny and -O2 with ext-dce

2024-08-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116389 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.0

[Bug fortran/116388] [13/14/15 regression] Finalizer called on uninitialized components of intent(out) argument

2024-08-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116388 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Target Milestone|---

[Bug tree-optimization/116380] [13/14/15 regression] ICE on valid code at -O3 with "-fno-tree-scev-cprop" on x86_64-linux-gnu: Segmentation fault

2024-08-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116380 Richard Biener changed: What|Removed |Added Version|unknown |15.0 Status|NEW

[Bug c++/116417] SFINAE on std::is_destructible cannot handle pseudo destructor

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

[Bug c++/116417] SFINAE on std::is_destructible cannot handle pseudo destructor

2024-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116417 --- Comment #2 from Andrew Pinski --- Note for my reduced testcase, EDG rejects it because it is able to compile `t`: ``` "", line 12: error: a value of type "void" cannot be used to initialize an entity of type "int" int tt = f(0);

[Bug libstdc++/116399] C++26 text_encoding​::​aliases_view is not default-constructible

2024-08-19 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116399 --- Comment #10 from 康桓瑋 --- (In reply to Jonathan Wakely from comment #9) > Currently aliases_view is allowed to be a common range, but not required to > be. > > If we specify that its sentinel type is std::default_sentinel, that would > requi

[Bug target/112108] [aarch64] Some intrinsics are not correctly enabled when using 'target' attributes

2024-08-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112108 --- Comment #3 from GCC Commits --- The master branch has been updated by Andrew Carlotti : https://gcc.gnu.org/g:4e1b617b35631df4dd6089d4044aa19d0c1adea7 commit r15-3024-g4e1b617b35631df4dd6089d4044aa19d0c1adea7 Author: Andrew Carlotti Date:

[Bug target/112108] [aarch64] Some intrinsics are not correctly enabled when using 'target' attributes

2024-08-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112108 --- Comment #4 from GCC Commits --- The master branch has been updated by Andrew Carlotti : https://gcc.gnu.org/g:fceecc511d4918e2b27a0609f8885ec8aba8723d commit r15-3025-gfceecc511d4918e2b27a0609f8885ec8aba8723d Author: Andrew Carlotti Date:

[Bug target/112108] [aarch64] Some intrinsics are not correctly enabled when using 'target' attributes

2024-08-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112108 --- Comment #2 from GCC Commits --- The master branch has been updated by Andrew Carlotti : https://gcc.gnu.org/g:32afbb604b4958e78428006b10b3ca5e9ccd49f5 commit r15-3023-g32afbb604b4958e78428006b10b3ca5e9ccd49f5 Author: Andrew Carlotti Date:

[Bug modula2/116378] [15 Regression] M2 bootstrap fails on x86_64-darwin after r15-2876

2024-08-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116378 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.0

[Bug c++/77815] access to destructor via decltype-specifier

2024-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77815 --- Comment #3 from Andrew Pinski --- https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_closed.html#1586 Say this is invalid code after all ...

[Bug c++/57005] alias template's pseudo-destructor is rejected

2024-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57005 --- Comment #4 from Andrew Pinski --- Related to https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_closed.html#1586 But not exact.

[Bug target/116415] [13 Regression][PPC64LE] atomics wrongly use vector instructions in DWCAS.

2024-08-19 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116415 Peter Bergner changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |bergner at gcc dot gnu.org ---

[Bug libstdc++/116399] C++26 text_encoding​::​aliases_view is not default-constructible

2024-08-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116399 --- Comment #9 from Jonathan Wakely --- Currently aliases_view is allowed to be a common range, but not required to be. If we specify that its sentinel type is std::default_sentinel, that would require it to be a non-common range. Why would we

[Bug c++/116417] SFINAE on std::is_destructible cannot handle destructor of scalar type

2024-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116417 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid --- Comment #1 from Andre

[Bug tree-optimization/116348] [15 regression] ICE when building gavl-1.4.0 with -O3 -march=znver4 since r15-2791-g2083389a18d366

2024-08-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116348 --- Comment #5 from Richard Biener --- supportable_widening_operation fails at transform time - that's likely because vectorizable_reduction "puns" defs to internal_def so the check should probably instead look like diff --git a/gcc/tree-vect-s

[Bug rtl-optimization/116321] [lra][avr] internal compiler error: in avr_out_lpm_no_lpmx, at config/avr/avr.cc:4572

2024-08-19 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116321 --- Comment #4 from Georg-Johann Lay --- (In reply to Richard Biener from comment #2) > See the m68k bug - LRA/IRA _never_ use strict = 1 You mean PR116236? Its fix says: > This matters on targets like m68k that support index extension > and th

[Bug c++/116379] [12/13/14/15 Regression] Type deduction error on decltype(auto) of parenthesized non-static data member since r12-5778

2024-08-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116379 Marek Polacek changed: What|Removed |Added Priority|P3 |P2

[Bug rtl-optimization/116321] [lra][avr] internal compiler error: in avr_out_lpm_no_lpmx, at config/avr/avr.cc:4572

2024-08-19 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116321 --- Comment #3 from Andreas Schwab --- But postreload still does.

[Bug lto/116344] Wlto-type-mismatch and Wodr should show what TUs mismatched

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

[Bug testsuite/116340] gcc.dg/tree-ssa/abs-4.c is a mess

2024-08-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116340 --- Comment #4 from Richard Biener --- Splitting up looks like a no-brainer.

[Bug tree-optimization/116338] GCC is not vectoring TSVC s255 while clang can

2024-08-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116338 --- Comment #2 from Richard Biener --- The issue is the recurrence [local count: 10737416]: x_10 = b[31999]; y_11 = b[31998]; [local count: 1063004408]: # x_18 = PHI <_1(5), x_10(2)> # y_19 = PHI _1 = b[i_20]; .. [local co

[Bug libstdc++/116399] C++26 text_encoding​::​aliases_view is not default-constructible

2024-08-19 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116399 --- Comment #8 from 康桓瑋 --- (In reply to Jonathan Wakely from comment #7) > "Note that this view is not common_range because it can be implemented more > efficiently > without that requirement, and, being copyable, it can be adapted into one." >

[Bug target/55212] [SH] Switch to LRA

2024-08-19 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #184 from John Paul Adrian Glaubitz --- (In reply to John Paul Adrian Glaubitz from comment #183) > I'm trying with late-combine disabled now: > > diff --git a/gcc/config/sh/sh.cc b/gcc/config/sh/sh.cc > index 280588268ae..dca2789353

[Bug rtl-optimization/116321] [lra][avr] internal compiler error: in avr_out_lpm_no_lpmx, at config/avr/avr.cc:4572

2024-08-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116321 --- Comment #2 from Richard Biener --- See the m68k bug - LRA/IRA _never_ use strict = 1

[Bug tree-optimization/116307] off by one when loop unrolling and bogus -Wstringop-overflow

2024-08-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116307 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug libstdc++/116399] C++26 text_encoding​::​aliases_view is not default-constructible

2024-08-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116399 --- Comment #7 from Jonathan Wakely --- "Note that this view is not common_range because it can be implemented more efficiently without that requirement, and, being copyable, it can be adapted into one." and "We found that aliases can be effic

[Bug libstdc++/116399] C++26 text_encoding​::​aliases_view is not default-constructible

2024-08-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116399 --- Comment #6 from Jonathan Wakely --- That's discussed in P1885.

[Bug target/116413] [LRA] [M68K] ICE: unrecognized insn in lra_set_insn_recog_data, at lra.cc:1036

2024-08-19 Thread matz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116413 Michael Matz changed: What|Removed |Added CC||matz at gcc dot gnu.org --- Comment #8 f

[Bug c++/116417] New: SFINAE on std::is_destructible cannot handle destructor of scalar type

2024-08-19 Thread amy at amyspark dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116417 Bug ID: 116417 Summary: SFINAE on std::is_destructible cannot handle destructor of scalar type Product: gcc Version: 14.1.1 Status: UNCONFIRMED Severity: norma

[Bug target/116413] [LRA] [M68K] ICE: unrecognized insn in lra_set_insn_recog_data, at lra.cc:1036

2024-08-19 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116413 --- Comment #7 from Andreas Schwab --- Comment #5 was built _without_ LRA.

[Bug tree-optimization/114908] fails to optimize avx2 in-register permute written with std::experimental::simd

2024-08-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114908 --- Comment #13 from Richard Biener --- (In reply to Matthias Kretz (Vir) from comment #12) > (In reply to rguent...@suse.de from comment #11) > > On Wed, 17 Jul 2024, mkretz at gcc dot gnu.org wrote: > > > Unless the target has a masked load in

[Bug libstdc++/116399] C++26 text_encoding​::​aliases_view is not default-constructible

2024-08-19 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116399 --- Comment #5 from 康桓瑋 --- (In reply to Jonathan Wakely from comment #4) > Thanks! I'll submit an LWG issue to add something saying there's an > unspecified constructor, or just say explicitly that it's not default > constructible. Not sure it

[Bug target/116413] [LRA] [M68K] ICE: unrecognized insn in lra_set_insn_recog_data, at lra.cc:1036

2024-08-19 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116413 --- Comment #6 from Andreas Schwab --- Created attachment 58957 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58957&action=edit _gcov_interval_profiler.i

[Bug target/114189] Target implements obsolete vcond{,u,eq} expanders

2024-08-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114189 Bug 114189 depends on bug 115490, which changed state. Bug 115490 Summary: i386 fallout from removing vcond{,u,eq} patterns https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115490 What|Removed |Added --

[Bug target/115683] [15 Regression] SSE2 regressions after obselete of vcond{,u,eq}.

2024-08-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115683 --- Comment #4 from Richard Biener --- *** Bug 115490 has been marked as a duplicate of this bug. ***

  1   2   >