[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 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 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 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 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 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 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] 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
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 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 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 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 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 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 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 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] 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 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 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/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 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 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++/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] 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 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 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 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 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 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 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 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 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++/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 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 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 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 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] 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 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 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 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 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 Last reconfirmed||2024-10-01 Ever confirmed|0

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

2024-10-01 Thread zsojka at seznam dot cz via Gcc-bugs
c-linux-gnu-as --enable-libsanitizer --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r15-3987-20241001125221-g60fa7f51c84-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20241001 (experimental) (GCC)

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

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

[Bug tree-optimization/116842] [15 Regression] ICE definition in block follows the use since r15-3734

2024-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116842 --- Comment #9 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:27ddda8b4cb51739e841053c29d9b5f503467e99 commit r15-3988-g27ddda8b4cb51739e841053c29d9b5f503467e99 Author: Richard Biener Date:

[Bug ipa/116908] ICE (invalid calls_comdat_local flag) with -O1 compiling webkit

2024-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116908 --- Comment #4 from Andrew Pinski --- `-std=c++20 -O1 ` is enough for the reduced testcase even on x86_64

[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 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug ipa/116908] ICE (invalid calls_comdat_local flag) with -O1 compiling webkit

2024-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116908 Andrew Pinski changed: What|Removed |Added Attachment #59250|0 |1 is obsolete|

[Bug ipa/116908] [12/13/14/15 Regression] ICE (invalid calls_comdat_local flag) with -O1 compiling webkit

2024-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116908 Andrew Pinski changed: What|Removed |Added Known to fail||10.1.0 Target Milestone|---

[Bug tree-optimization/116890] Heurstic for factoring out convert with one side constant should also handle when it is a CMP

2024-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116890 --- Comment #3 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:698e0ec89bc0960e074d208bffe47f5addd9 commit r15-3992-g698e0ec89bc0960e074d208bffe47f5addd9 Author: Andrew Pinski Date: Mo

[Bug tree-optimization/116890] Heurstic for factoring out convert with one side constant should also handle when it is a CMP

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

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

2024-10-01 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116918 --- Comment #5 from Andreas Schwab --- I think you missed the %array_functions in DoCheckUnbounded.

[Bug ada/116916] New: Confusing error message

2024-10-01 Thread simon at pushface dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116916 Bug ID: 116916 Summary: Confusing error message Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee

[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 Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/116913] [15 regression] ICE when building firefox-130.0.1 (tree check: expected var_decl or function_decl or field_decl or type_decl or concept_decl or template_decl, have using_decl in cp_pa

2024-10-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116913 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug c++/57376] Bogus error due to failure of unqualified namespace lookup

2024-10-01 Thread ing.russomauro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57376 mauro russo changed: What|Removed |Added CC||ing.russomauro at gmail dot com --- Commen

[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 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

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

2024-10-01 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116629 Richard Sandiford changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org

[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 rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116922 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.5 Keywords|

[Bug middle-end/116919] New: extra zext for bitwise operations with a constant

2024-10-01 Thread artemiy at synopsys dot com via Gcc-bugs
_TARGET=-Os -g ' 'CXXFLAGS_FOR_TARGET=-Os -g ' Thread model: single Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20241001 (experimental) (GCC)

[Bug ada/116916] Confusing error message

2024-10-01 Thread simon at pushface dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116916 --- Comment #1 from simon at pushface dot org --- I think that "predefined" means something like "System or one of its children", and the message indicates that (as Arnaud told me, probably about 10 years ago) the language that the compiler sup

[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 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 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 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 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 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 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 --- Comment #364 from Oleg Endo --- (In reply to Kazumoto Kojima from comment #345) > (In reply to Oleg Endo from comment #341) > > Do you have any idea how that might work? The only thing I can think of > > right now is to remove R0 from list o

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

2024-10-01 Thread andi at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116080 --- Comment #17 from andi at firstfloor dot org --- This patch should fix it. Please confirm. diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index f92f7f1af9c6..f58aed462971 100644 --- a/gcc/testsuite

[Bug target/116917] [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 rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116917 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.4 Version|15.0

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

2024-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116909 --- Comment #4 from Andrew Pinski --- > Even after reading the other threads, I'm not sure how portable It works on all targets that gcc supports because r is a generic inline-asm constraint.

[Bug target/116921] New: [14/15 Regression] ICE: in extract_insn, at recog.cc:2882 unrecognizable insn: UNSPEC_PTEST with -O -msse4

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

[Bug c/116920] New: GCC should warn about redundant case around default in switch

2024-10-01 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116920 Bug ID: 116920 Summary: GCC should warn about redundant case around default in switch Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: enhancement

[Bug ipa/116908] ICE (invalid calls_comdat_local flag) with -O1 compiling webkit

2024-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116908 --- Comment #3 from Andrew Pinski --- Created attachment 59248 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59248&action=edit Reduced as I can get it today

[Bug ipa/116908] ICE (invalid calls_comdat_local flag) with -O1 compiling webkit

2024-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116908 Andrew Pinski changed: What|Removed |Added Attachment #59248|0 |1 is obsolete|

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

2024-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116909 --- Comment #5 from Andrew Pinski --- https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Simple-Constraints.html Documents the r constraints. https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Extended-Asm.html#OutputOperands Documents the `+`.

[Bug c/116920] GCC should warn about redundant case around default in switch

2024-10-01 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116920 Eric Gallager changed: What|Removed |Added Keywords||diagnostic Blocks|

[Bug target/116921] [14/15 Regression] ICE: in extract_insn, at recog.cc:2882 unrecognizable insn: UNSPEC_PTEST with -O -msse4

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

[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 iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116914 Iain Sandoe changed: What|Removed |Added Last reconfirmed||2024-10-01 Ever confirmed|0

[Bug target/116923] New: ICE: in extract_insn, at recog.cc:2882 (unrecognizable insn) with -mavx10.2-512 -mno-avx10.2-256 and __bf16 vector

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

[Bug middle-end/116906] [12/13/14 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 Richard Biener changed: What|Removed |Added Known to work||15.0 Summary|[12/13/14/15 R

[Bug middle-end/116910] How to iterate a "section array" maybe should be documented

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

[Bug middle-end/116860] [15 Regression] New test case gcc.dg/tree-ssa/fold-xor-and-or.c from r15-3866-ga88d6c6d777ad7 fails

2024-10-01 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116860 --- Comment #4 from seurer at gcc dot gnu.org --- I should add that the other new test introduced here also fails: g:a88d6c6d777ad7c9235e2e620318f26e5347e50a, r15-3866-ga88d6c6d777ad7 make -k check-gcc RUNTESTFLAGS="tree-ssa.exp=gcc.dg/tree-ssa

[Bug modula2/116918] New: 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 Bug ID: 116918 Summary: The -fswig option is broken as the generated interface file has incorrect syntax Product: gcc Version: 15.0 Status: UNCONFIRMED Severit

[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 pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116891 --- Comment #7 from Andrew Pinski --- (In reply to Walter Mascarenhas from comment #6) > 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 l

[Bug fortran/107635] [Coarray] Allocatable components of types defined in module's interface are not handled correctly when used in coarrays.

2024-10-01 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107635 Andre Vehreschild changed: What|Removed |Added Last reconfirmed||2024-10-01 Assignee|unass

[Bug rtl-optimization/116919] extra zext for bitwise operations with a constant

2024-10-01 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116919 Jeffrey A. Law changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[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 cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116898 --- Comment #6 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:bdbd0607d5933cdecbf7e009a42f1d9486dddf44 commit r15-3984-gbdbd0607d5933cdecbf7e009a42f1d9486dddf44 Author: Jakub Jelinek Date: T

[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 middle-end/116899] ICE: in quick_push, at vec.h:1041 with -O at _BitInt()

2024-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116899 --- Comment #11 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:de25f1729d212c11d6e2955130f4eb1d272b5ce7 commit r15-3985-gde25f1729d212c11d6e2955130f4eb1d272b5ce7 Author: Jakub Jelinek Date:

[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

[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 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 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 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 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/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 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 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

  1   2   >