[Bug tree-optimization/116654] [15 regression] many vector test case failures after r15-3509-gd34cda72098867

2024-10-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116654 --- Comment #6 from Richard Biener --- FAIL: gcc.dg/vect/costmodel/ppc/costmodel-slp-12.c scan-tree-dump-times vect "vectorizing stmts using SLP" 3 the testcase needs adjustment (will push fix) FAIL: gcc.target/powerpc/p9-vec-length-full-8.c

[Bug tree-optimization/116654] [15 regression] many vector test case failures after r15-3509-gd34cda72098867

2024-10-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116654 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/116578] vectorizer SLP transition issues / dependences

2024-10-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116578 Bug 116578 depends on bug 116654, which changed state. Bug 116654 Summary: [15 regression] many vector test case failures after r15-3509-gd34cda72098867 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116654 What|Removed

[Bug tree-optimization/116654] [15 regression] many vector test case failures after r15-3509-gd34cda72098867

2024-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116654 --- Comment #8 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:eb0698ae62fedae90e5c5cc071c8aa5c1cb2f74d commit r15-4006-geb0698ae62fedae90e5c5cc071c8aa5c1cb2f74d Author: Richard Biener Date:

[Bug tree-optimization/116654] [15 regression] many vector test case failures after r15-3509-gd34cda72098867

2024-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116654 --- Comment #7 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:b56dc0a9ac403891ddad8bce1d697ed7f5c365f7 commit r15-4005-gb56dc0a9ac403891ddad8bce1d697ed7f5c365f7 Author: Richard Biener Date:

[Bug tree-optimization/116654] [15 regression] many vector test case failures after r15-3509-gd34cda72098867

2024-10-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116654 --- Comment #5 from Richard Biener --- OK, so I can still confirm the following of which the generic vect/ cases are known and affect other targets as well. FAIL: gcc.dg/vect/costmodel/ppc/costmodel-slp-12.c scan-tree-dump-times vect "vectorizi

[Bug tree-optimization/116654] [15 regression] many vector test case failures after r15-3509-gd34cda72098867

2024-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116654 --- Comment #4 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:e592ea8ddffb44bab52d36d9862bb39ffae4d144 commit r15-4004-ge592ea8ddffb44bab52d36d9862bb39ffae4d144 Author: Richard Biener Date:

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

2024-10-01 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #368 from John Paul Adrian Glaubitz --- Created attachment 59264 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59264&action=edit Preprocessed source from from comment #367

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

2024-10-01 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #367 from John Paul Adrian Glaubitz --- I just tried building a slightly older version of WebKit and ran into a new ICE with Kaz' sh-lra-take3 branch: /usr/bin/g++-15 -DBUILDING_GTK__=1 -DBUILDING_WEBKIT=1 -DBUILDING_WITH_CMAKE=1 -DB

[Bug ada/116933] Ada FE incompatible with -ftrivial-auto-var-init=zero (__builtin_clear_padding not folded)

2024-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
quot;[0] > SR.41_9 = .DEFERRED_INIT (8, 2, &"_init"[0]); > during GIMPLE pass: einline > +===GNAT BUG DETECTED==+ > | 15.0.0 20241001 (experimental) f72b1a44ff582041b02d5abe0a6c855605

[Bug ada/116933] Ada FE incompatible with -ftrivial-auto-var-init=zero (__builtin_clear_padding not folded)

2024-10-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
during GIMPLE pass: einline +===GNAT BUG DETECTED==+ | 15.0.0 20241001 (experimental) f72b1a44ff582041b02d5abe0a6c8556057e6183 (x86_64-pc-linux-gnu) GCC error:| | verify_gimple failed | | Error detected around /usr/li

[Bug ada/116933] Ada FE incompatible with -ftrivial-auto-var-init=zero (__builtin_clear_padding not folded)

2024-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116933 Andrew Pinski changed: What|Removed |Added Keywords||build, link-failure CC|

[Bug ada/116933] New: Ada FE incompatible with -ftrivial-auto-var-init=zero (__builtin_clear_padding not folded)

2024-10-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
that defaulted to -ftrivial-auto-var-init=zero. hello.adb: ``` with Text_IO; use Text_IO; procedure hello is begin Put_Line("Hello world!"); end hello; ``` ``` $ gnatmake hello.adb -ftrivial-auto-var-init=zero -f -v GNATMAKE 15.0.0 20241001 (ex

[Bug c++/116931] False "duplicate 'const'" errors when typedefs used on pointer types in function definitions

2024-10-01 Thread mattreecebentley at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116931 --- Comment #5 from Matt Bentley --- Nevermind, I realised my mistake.

[Bug c++/116931] False "duplicate 'const'" errors when typedefs used on pointer types in function definitions

2024-10-01 Thread mattreecebentley at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116931 --- Comment #4 from Matt Bentley --- Okay, so that's a language defect, because const int * const isn't invalid, so neither should a typedef of the same.

[Bug c++/116931] False "duplicate 'const'" errors when typedefs used on pointer types in function definitions

2024-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116931 --- Comment #3 from Andrew Pinski --- (In reply to Matt Bentley from comment #2) > Enlighten me here, how is this invalid C++ code? > Because a typedef should mean that int_pointer is int *, so it should work, > right? > If it's invalid merely

[Bug c++/116931] False "duplicate 'const'" errors when typedefs used on pointer types in function definitions

2024-10-01 Thread mattreecebentley at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116931 --- Comment #2 from Matt Bentley --- Enlighten me here, how is this invalid C++ code? Because a typedef should mean that int_pointer is int *, so it should work, right? If it's invalid merely because it's typedef'd instead of verbatim, it's a l

[Bug c++/116931] New: False "duplicate 'const'" errors when typedefs used on pointer types in function definitions

2024-10-01 Thread mattreecebentley at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116931 Bug ID: 116931 Summary: False "duplicate 'const'" errors when typedefs used on pointer types in function definitions Product: gcc Version: 13.2.0 Status: UNCONFIRMED

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

2024-10-01 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 Oleg Endo changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

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

2024-10-01 Thread kkojima at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #365 from Kazumoto Kojima --- (In reply to Oleg Endo from comment #364) > Notice that it already has the hard-reg GBR assigned. Yet for some reason I > don't understand, the following LRA pass then pulls that out and replaces > GBR w

[Bug c++/116931] False "duplicate 'const'" errors when typedefs used on pointer types in function definitions

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

[Bug target/116932] New: [SH] GBR not used for some atomic imask/tcb insns

2024-10-01 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116932 Bug ID: 116932 Summary: [SH] GBR not used for some atomic imask/tcb insns Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug driver/116930] 'gcc -v' vs 'gcc --version' have differing formats

2024-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116930 --- Comment #2 from Andrew Pinski --- Part of that might be because you use --with-pkgversion= .

[Bug driver/116930] 'gcc -v' vs 'gcc --version' have differing formats

2024-10-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116930 --- Comment #1 from Sam James --- Note that the way we inject our versioning is maybe a bit janky and old, it predates me: ``` # Needed for gcc --version to include the upstream commit used # rather than only the

[Bug driver/116930] New: 'gcc -v' vs 'gcc --version' have differing formats

2024-10-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: driver Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org Target Milestone: --- ``` $ gcc --version gcc (Gentoo Hardened 15.0. p, commit 4dffefc137f5ba6524cdb6eb598313646c5df6c8) 15.0.0 20

[Bug lto/116907] [14/15 regression] ICE when building kakoune-2024.05.18 with LTO

2024-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116907 --- Comment #20 from Andrew Pinski --- #2 0x01271d97 in DFS::DFS_write_tree_body (this=0x7fffd3c0, ob=0x3f52620, expr=, expr_state=0x3f76060, ref_p=true) at /home/apinski/src/upstream-gcc/gcc/gcc/lto-streamer-out.cc:1104 1104

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-10-01 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #13 from David Malcolm --- I'm experimenting with a new -fdiagnostics-add-output= with this rough grammar: : ":" key_value_pairs : "text" : "sarif"

[Bug c++/116929] ICE in write_unnamed_type_name when building redumper

2024-10-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116929 --- Comment #1 from Sam James --- Created attachment 59262 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59262&action=edit foo.tar.xz

[Bug c++/116929] ICE in write_unnamed_type_name when building redumper

2024-10-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116929 Sam James changed: What|Removed |Added Version|15.0|14.2.1 Target Milestone|---

[Bug c++/116929] New: ICE in write_unnamed_type_name when building redumper

2024-10-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116929 Bug ID: 116929 Summary: ICE in write_unnamed_type_name when building redumper Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug lto/116907] [14/15 regression] ICE when building kakoune-2024.05.18 with LTO

2024-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116907 Andrew Pinski changed: What|Removed |Added Component|ipa |lto --- Comment #19 from Andrew Pinski

[Bug ipa/116907] [14/15 regression] ICE when building kakoune-2024.05.18 with LTO

2024-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116907 --- Comment #18 from Andrew Pinski --- So this gc freed memory is somewhere in the BLOCK tree. I have some ideas on how to go and debug this but I won't be able to get to that until later tonight.

[Bug c++/115361] "possibly dangling reference to a temporary" when object is_empty

2024-10-01 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115361 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug ipa/116907] [14/15 regression] ICE when building kakoune-2024.05.18 with LTO

2024-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116907 --- Comment #17 from Andrew Pinski --- Note it worked with r15-1075-g43530bc40b1d04 but I have no idea if it was just not exposed at that point or not.

[Bug other/112836] gcc fails when job control is used

2024-10-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112836 --- Comment #6 from Sam James --- azanella's patch at https://inbox.sourceware.org/libc-alpha/20240913142239.2949727-2-adhemerval.zane...@linaro.org/ fixes job control. I believe the *other* issue (bad address) was handled in glibc already as a

[Bug target/116629] [14/15 Regression] Building openvino with -flto ICEs in aarch64_sve::gimple_folder::redirect_pred_x

2024-10-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116629 Sam James changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug tree-optimization/109071] need more context for -Warray-bounds warnings due to code duplication from jump threading and inlining

2024-10-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109071 Sam James changed: What|Removed |Added Status|NEW |ASSIGNED Keywords|

[Bug tree-optimization/116922] [12/13/14/15 Regression] ICE: in op_iter_init, at ssa-iterators.h:604 with -Ofast

2024-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116922 --- Comment #3 from Andrew Pinski --- Created attachment 59261 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59261&action=edit Patch which seems to work and am testing

[Bug tree-optimization/116922] [12/13/14/15 Regression] ICE: in op_iter_init, at ssa-iterators.h:604 with -Ofast

2024-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116922 --- Comment #2 from Andrew Pinski --- Created attachment 59260 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59260&action=edit Testcase without vectors

[Bug c++/115361] "possibly dangling reference to a temporary" when object is_empty

2024-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115361 --- Comment #4 from GCC Commits --- The releases/gcc-14 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:47b205b4dcca8be98bff96ea6b6f80682c65a0b1 commit r14-10727-g47b205b4dcca8be98bff96ea6b6f80682c65a0b1 Author: Jason Merrill

[Bug c++/115987] False "possibly dangling reference" false positive when having an extra template parameter

2024-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115987 --- Comment #24 from GCC Commits --- The releases/gcc-14 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:7232bc180632f0ccce260bd33598faf6297d4fe6 commit r14-10726-g7232bc180632f0ccce260bd33598faf6297d4fe6 Author: Marek Polacek

[Bug c++/116928] Error on NTTP with '>' in braced default

2024-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116928 --- Comment #1 from Andrew Pinski --- EDG rejects it in a similar fashion as GCC: "", line 2: error: expected an expression template 0 }> ^

[Bug c++/116928] New: Error on NTTP with '>' in braced default

2024-10-01 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116928 Bug ID: 116928 Summary: Error on NTTP with '>' in braced default Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/116927] [14/15 Regression] during RTL pass: early_ra: ICE: verify_flow_info failed: missing REG_EH_REGION note at the end of bb 4 with -fnon-call-exceptions -fno-delete-dead-exceptions

2024-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116927 --- Comment #4 from Andrew Pinski --- early_ra::is_dead_insn checks side_effects_p but deletable_insn_p (dce.cc) has an extra check: /* Don't delete insns that may throw if we cannot do so. */ if (!(cfun->can_delete_dead_exceptions && can_

Excited to Get Your Input on This!

2024-10-01 Thread Jill Palmer via Gcc-bugs
Hello, We’re reaching out to propose an article that we believe will resonate with your audience. We’d like to share insights on how your readers can seamlessly integrate mindfulness into their daily routines. In the article we’d like to write for your site, we’ll provide practical tips, simple

[Bug tree-optimization/88771] Misleading -Werror=array-bounds error

2024-10-01 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88771 qinzhao at gcc dot gnu.org changed: What|Removed |Added CC||qinzhao at gcc dot gnu.org -

[Bug c++/116914] [15 regression] ICE when building plasma-nm-6.1.5 (gimplify_var_or_parm_decl, at gimplify.cc:3309)

2024-10-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116914 --- Comment #3 from Sam James --- Created attachment 59259 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59259&action=edit reduced.ii

[Bug middle-end/116920] GCC should warn about fall through from a case to a default (without any expressions)

2024-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116920 Andrew Pinski changed: What|Removed |Added Component|c |middle-end Ever confirmed|0

[Bug tree-optimization/116922] [12/13/14/15 Regression] ICE: in op_iter_init, at ssa-iterators.h:604 with -Ofast

2024-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116922 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at gcc

[Bug middle-end/116899] ICE: in quick_push, at vec.h:1041 with -O at _BitInt()

2024-10-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116899 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug testsuite/116080] [15 regression] New tests from r15-2233-g8d1af8f904a0c0 fail

2024-10-01 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116080 --- Comment #18 from Christophe Lyon --- Sorry, no, this is not the cause of the problem (actually musttail7.c also fails in gcc.log). I looked into this, and it's a bit tricky in arm_function_ok_for_sibcall() (from arm.cc), we have: /*

[Bug target/113932] [meta-bug] Targets which should be ported to LRA

2024-10-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113932 Bug 113932 depends on bug 113954, which changed state. Bug 113954 Summary: Finish LRA transition for arc by removing -mlra https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113954 What|Removed |Added ---

[Bug target/113954] Finish LRA transition for arc by removing -mlra

2024-10-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113954 Sam James changed: What|Removed |Added Target Milestone|--- |15.0 Resolution|---

[Bug target/116927] during RTL pass: early_ra: ICE: verify_flow_info failed: missing REG_EH_REGION note at the end of bb 4 with fnon-call-exceptions -fharden-control-flow-redundancy -fno-delete-dead-e

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

[Bug target/116927] [14/15 Regression] during RTL pass: early_ra: ICE: verify_flow_info failed: missing REG_EH_REGION note at the end of bb 4 with -fnon-call-exceptions -fno-delete-dead-exceptions

2024-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116927 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.3 Summary|during RTL pass

[Bug target/116927] during RTL pass: early_ra: ICE: verify_flow_info failed: missing REG_EH_REGION note at the end of bb 4 with fnon-call-exceptions -fharden-control-flow-redundancy -fno-delete-dead-e

2024-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116927 --- Comment #2 from Andrew Pinski --- Created attachment 59258 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59258&action=edit Better testcase `-O2 -fchecking -fnon-call-exceptions -fno-delete-dead-exceptions` is enough with this C++ one

[Bug target/116925] [15 regression] ICE when building newton-3.14 with -march=znver2

2024-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116925 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-10-01 Ever confirmed|0

[Bug target/116925] [15 regression] ICE when building newton-3.14 with -march=znver2

2024-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116925 --- Comment #3 from Andrew Pinski --- Created attachment 59257 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59257&action=edit cleaned up reduced testcase `-mavx -O2 -ffloat-store` is enough to reproduce the issue.

[Bug rtl-optimization/116927] New: during RTL pass: early_ra: ICE: verify_flow_info failed: missing REG_EH_REGION note at the end of bb 4 with fnon-call-exceptions -fharden-control-flow-redundancy -fn

2024-10-01 Thread zsojka at seznam dot cz via Gcc-bugs
es-rtl-df-extra-aarch64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20241001 (experimental) (GCC)

[Bug middle-end/116906] [12/13/14/15 Regression] floating point exception under -O2 optimization since r12-4195-gec0124e0acb556cdf5dba0e8d0ca6b69d9537fcc

2024-10-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116906 --- Comment #4 from Richard Biener --- (In reply to Richard Biener from comment #3) > Found partial redundancy for expression {trunc_mod_expr,1,p_9(D)} (0008) > Inserted _33 = 1 % p_9(D); > in predecessor 13 (0008) > Inserting expression in blo

[Bug testsuite/115140] [15 regression] libgomp.oacc-c++/../libgomp.oacc-c-c++-common/acc_prof-kernels-1.c excess errors after r15-579-ga9251ab3c91c8c

2024-10-01 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115140 Thomas Schwinge changed: What|Removed |Added Status|NEW |RESOLVED Assignee|unassigne

[Bug c++/98935] [coroutines] co_await on statement expressions causes ICE

2024-10-01 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98935 Iain Sandoe changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug tree-optimization/116905] [15 Regression] ICE: tree check: expected none of vector_type, have vector_type in set_varying, at value-range.h:1140 with -mavx -frounding-math and _Float16

2024-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116905 --- Comment #3 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:60fa7f51c84f042af70a3feea14236c102d6a9c2 commit r15-3987-g60fa7f51c84f042af70a3feea14236c102d6a9c2 Author: Richard Biener Date:

[Bug middle-end/116891] [12/13/14/15 Regression] invalid optimization of -fma(-x,x,-z) when -03 and -frounding-math are used

2024-10-01 Thread walter.mascarenhas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116891 --- Comment #6 from Walter Mascarenhas --- Hi Andrew, The proper optimization in this case would be to use the instruction vfnmsub132pd followed by a change of sign. It could be something like fma_ru: vfnmsub132pd xmm0, xmm2, xmm1 vmovddup

[Bug middle-end/116898] ICE: in block_range, at gimple-range-cache.cc:1293 with -O -finstrument-functions -fnon-call-exceptions and _BitInt()

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

[Bug tree-optimization/116905] [15 Regression] ICE: tree check: expected none of vector_type, have vector_type in set_varying, at value-range.h:1140 with -mavx -frounding-math and _Float16

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

[Bug target/116571] [15 Regression] GCN vs. "lower SLP load permutation to interleaving"

2024-10-01 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116571 --- Comment #8 from rguenther at suse dot de --- On Tue, 1 Oct 2024, tschwinge at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116571 > > --- Comment #7 from Thomas Schwinge --- > (In reply to Richard Biener from comm

[Bug tree-optimization/116098] [14/15 Regression] _Bool value from tagged union is incorrect when built with optimization since r14-1597-g64d90d06d2db43

2024-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116098 --- Comment #22 from Andrew Pinski --- Created attachment 59255 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59255&action=edit C++ testcase

[Bug tree-optimization/116098] [14/15 Regression] _Bool value from tagged union is incorrect when built with optimization since r14-1597-g64d90d06d2db43

2024-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116098 --- Comment #21 from Andrew Pinski --- Created attachment 59254 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59254&action=edit Slightly better testcase Modified testcase which still depends on SRA. But I will move over to using bitcast

[Bug target/116925] [15 regression] ICE when building newton-3.14 with -march=znver2

2024-10-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116925 Sam James changed: What|Removed |Added CC||liuhongt at gcc dot gnu.org --- Comment #2

[Bug middle-end/116926] New: [15 Regression] Recent changes in dot-product causing ICE on c6x port

2024-10-01 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116926 Bug ID: 116926 Summary: [15 Regression] Recent changes in dot-product causing ICE on c6x port Product: gcc Version: unknown Status: UNCONFIRMED Severity: norma

[Bug c++/116909] Does g++ define the behavior for an "array" manually created with a linker script?

2024-10-01 Thread federico at kircheis dot it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116909 --- Comment #3 from Federico Kircheis --- Thank you for the fast response @Andrew Pinski , I'm sorry to have made a duplicate questino. This is what I've understood: 1) does g++ specify the behavior of the program in this case? The answer is

[Bug target/116925] New: [15 regression] ICE when building newton-3.14 with -march=znver2

2024-10-01 Thread sjames at gcc dot gnu.org via Gcc-bugs
ld-config='bootstrap-O3 bootstrap-lto' Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20241001 (experimental) 3e1bd6470e4deba1a3ad14621037098311ad1350 (Gentoo Hardened 15.0. p, commit 4dffefc137f5ba6524cdb6eb598313646c5df6c8) ```

[Bug target/116925] [15 regression] ICE when building newton-3.14 with -march=znver2

2024-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116925 --- Comment #1 from Andrew Pinski --- Maybe r15-1738-g09737d9605521df9232d9990006c44955064f44e .

[Bug target/116925] [15 regression] ICE when building newton-3.14 with -march=znver2

2024-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116925 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Target Milestone|--

[Bug tree-optimization/116098] [14/15 Regression] _Bool value from tagged union is incorrect when built with optimization since r14-1597-g64d90d06d2db43

2024-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116098 --- Comment #20 from Andrew Pinski --- (In reply to Andrew Pinski from comment #19) > Created attachment 59252 [details] > Patch which I am testing > > This is the simple patch which I mentioned in comment #18 . I still need to > add testcases.

[Bug tree-optimization/116098] [14/15 Regression] _Bool value from tagged union is incorrect when built with optimization since r14-1597-g64d90d06d2db43

2024-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116098 --- Comment #19 from Andrew Pinski --- Created attachment 59252 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59252&action=edit Patch which I am testing This is the simple patch which I mentioned in comment #18 . I still need to add test

[Bug libstdc++/116924] -ffast-math -Wunused-value warnings in

2024-10-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116924 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug libstdc++/116924] -ffast-math -Wunused-value warnings in

2024-10-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116924 --- Comment #1 from Jakub Jelinek --- Perhaps we should just add (void) casts before those calls. It is fine that those builtins have no effects with -ffast-math, they do have effects without it, and I'm not sure if we want to conditionalize th

[Bug libstdc++/116903] c++ regex accepts } and ] as a literal character.

2024-10-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116903 --- Comment #5 from Jonathan Wakely --- The C++ standard references Ecma International, ECMAScript2 Language Specification, Standard Ecma-262, third edition, 1999

[Bug libstdc++/116903] c++ regex accepts } and ] as a literal character.

2024-10-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116903 --- Comment #4 from Jonathan Wakely --- Oh right, I always forget that browsers have compatibility features for ECMAScript regexes: https://262.ecma-international.org/#sec-additional-ecmascript-features-for-web-browsers Those are optional for n

[Bug libstdc++/116924] -ffast-math -Wunused-value warnings in

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

[Bug modula2/116918] The -fswig option is broken as the generated interface file has incorrect syntax

2024-10-01 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116918 --- Comment #3 from Gaius Mulley --- Closing now that the patch has been applied.

[Bug c++/116909] Does g++ define the behavior for an "array" manually created with a linker script?

2024-10-01 Thread federico at kircheis dot it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116909 --- Comment #6 from Federico Kircheis --- Thank, I think this covers all my concern. Nevertheless I was still looking how to avoid the assembly, eventually to be sure to have a more portable piece of code (with less ifdefs) between compilers

[Bug libstdc++/116903] c++ regex accepts } and ] as a literal character.

2024-10-01 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116903 Alfred Agrell changed: What|Removed |Added CC||blubban at gmail dot com --- Comment #3

[Bug target/116904] [14/15 Regression] RISC-V: address calculation not hoisted from loop

2024-10-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116904 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Target Milestone

[Bug target/116917] New: [13 Regression] raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:414 during RTL pass: dwarf2, in connect_traces, at dwarf2cfi.cc:3079 on s390x-linux-gnu

2024-10-01 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116917 Bug ID: 116917 Summary: [13 Regression] raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:414 during RTL pass: dwarf2, in connect_traces, at dwarf2cfi.cc:3079 on s390

[Bug libstdc++/116924] -ffast-math -Wunused-value warnings in

2024-10-01 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116924 Jason Merrill changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug libstdc++/116924] New: -ffast-math -Wunused-value warnings in

2024-10-01 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116924 Bug ID: 116924 Summary: -ffast-math -Wunused-value warnings in Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc+

[Bug middle-end/116906] [12/13/14/15 Regression] floating point exception under -O2 optimization since r12-4195-gec0124e0acb556cdf5dba0e8d0ca6b69d9537fcc

2024-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116906 --- Comment #5 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:3e1bd6470e4deba1a3ad14621037098311ad1350 commit r15-3986-g3e1bd6470e4deba1a3ad14621037098311ad1350 Author: Richard Biener Date:

[Bug c++/116882] gcc-14 ICE with coroutines

2024-10-01 Thread jeanmichael.celerier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116882 Jean-Michaël Celerier changed: What|Removed |Added Resolution|--- |FIXED Status|WAITIN

[Bug target/116571] [15 Regression] GCN vs. "lower SLP load permutation to interleaving"

2024-10-01 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116571 --- Comment #7 from Thomas Schwinge --- (In reply to Richard Biener from comment #5) > (In reply to Thomas Schwinge from comment #4) > > The GCN target FAILs that I originally had reported here: > > > > > [-PASS:-]{+FAIL:+} gcc.dg/vect/slp-

[Bug fortran/51815] confusing substring syntax with array section for character coarray

2024-10-01 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51815 Andre Vehreschild changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #3 from Andre Ve

[Bug middle-end/116891] [12/13/14/15 Regression] invalid optimization of -fma(-x,x,-z) when -03 and -frounding-math are used

2024-10-01 Thread walter.mascarenhas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116891 --- Comment #8 from Walter Mascarenhas --- sorry, I did not pay enough attention. On Tue, Oct 1, 2024 at 5:18 AM pinskia at gcc dot gnu.org < gcc-bugzi...@gcc.gnu.org> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116891 > > --- Commen

[Bug modula2/116918] The -fswig option is broken as the generated interface file has incorrect syntax

2024-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116918 --- Comment #2 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:fda30a3c8a7c6b06f02be40e3fd0740f893a1b4f commit r15-3990-gfda30a3c8a7c6b06f02be40e3fd0740f893a1b4f Author: Gaius Mulley Date: Tue

[Bug tree-optimization/116902] [15 Regression] ICE Another definition in block 43 follows the use

2024-10-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116902 --- Comment #3 from Richard Biener --- It's again hoist_defs_of_uses but now we get the order of defs of two different hoistings out-of-sync.

[Bug middle-end/116896] codegen for <=> compared to hand-written equivalent

2024-10-01 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116896 --- Comment #12 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #11) > That way targets can emit whatever is beneficial. x86 already has an implementation of tri-state integer from conditional codes: --cut here-- ;; Produce a tri-

[Bug modula2/116918] The -fswig option is broken as the generated interface file has incorrect syntax

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

[Bug tree-optimization/116785] [15 Regression] RAJAPerf REDUCE_SUM regresses with r15-792-gf0a02467bbc35a

2024-10-01 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116785 Thomas Schwinge changed: What|Removed |Added CC||seurer at gcc dot gnu.org --- Comment

[Bug rtl-optimization/116915] [15 Regression] wrong code at -O{s,2,3} on x86_64-linux-gnu

2024-10-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116915 Richard Biener changed: What|Removed |Added Target||x86_64-*-* Version|unknown

  1   2   >