[Bug target/114077] ICE in do_SUBST at combine.cc with aarch64 crosscompiler with -fharden-control-flow-redundancy and -mabi=ilp32

2024-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114077 --- Comment #5 from Andrew Pinski --- This fixes patch causes the code to be rejected: ``` diff --git a/gcc/function.cc b/gcc/function.cc index 5ffd438475e..7a0f7faa2d7 100644 --- a/gcc/function.cc +++ b/gcc/function.cc @@ -242,7 +242,7 @@

[Bug middle-end/114081] [14 regression] ICE in verify_dominators when building php-8.3.3 (error: dominator of 16 should be 111, not 3)

2024-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114081 --- Comment #4 from Andrew Pinski --- (In reply to Sam James from comment #1) > I can reproduce with: gcc -c ./ext/filter/filter.i -march=znver2 > -fno-vect-cost-model -O3. `-O3 -fno-vect-cost-model -mavx2` is enough with my reduced testcase.

[Bug fortran/77504] [11/12/13/14 Regression] "is used uninitialized" with allocatable string and array constructors

2024-02-23 Thread w6ws at earthlink dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77504 Walter Spector changed: What|Removed |Added CC||w6ws at earthlink dot net --- Comment

[Bug driver/114082] Guidelines for options are empty

2024-02-23 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114082 --- Comment #1 from Roland Illig --- If you decide to keep the guidelines, here are a few ideas: * Use the simplest English you can, while still being precise. * Don't try to be funny. (See #114083 for a possible case)

[Bug middle-end/114081] [14 regression] ICE in verify_dominators when building php-8.3.3 (error: dominator of 16 should be 111, not 3)

2024-02-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114081 --- Comment #1 from Sam James --- I can reproduce with: gcc -c ./ext/filter/filter.i -march=znver2 -fno-vect-cost-model -O3.

[Bug target/66874] RFE: x86_64_fallback_frame_state more robust

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

[Bug middle-end/114081] [14 regression] ICE in verify_dominators when building php-8.3.3 (error: dominator of 16 should be 111, not 3) since r14-6822

2024-02-23 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114081 Tamar Christina changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |tnfchris at gcc dot gnu.org

[Bug c/114080] Inconsistent handling of unaligned 128bit ints between GCC versions

2024-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114080 --- Comment #1 from Jakub Jelinek --- That is undefined behavior, __int128/__int128_t/__uint128_t needs 16-byte alignment.

[Bug middle-end/114081] [14 regression] ICE in verify_dominators when building php-8.3.3 (error: dominator of 16 should be 111, not 3)

2024-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114081 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 Keywords|

[Bug c++/113083] [14 Regression][arm] ICE in fold_convert_loc, at fold-const.cc:2602 since r14-5979-g99d114c15523e0

2024-02-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113083 --- Comment #8 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:fdf9df9d55802e1d8ff0bd14585ea61b2bb9d798 commit r14-9158-gfdf9df9d55802e1d8ff0bd14585ea61b2bb9d798 Author: Jakub Jelinek Date:

[Bug c/114080] Inconsistent handling of unaligned 128bit ints between GCC versions

2024-02-23 Thread rapier at psc dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114080 --- Comment #5 from Chris Rapier --- So what you are saying is that behaviour *has* changed and what was a valid operation for 15 years is now invalid. I'm not mad about that. I just needed to know.

[Bug c/114080] Inconsistent handling of unaligned 128bit ints between GCC versions

2024-02-23 Thread rapier at psc dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114080 --- Comment #8 from Chris Rapier --- My apologies for misunderstanding and for coming across as aggressive in my last response. This section of the code is about 15 years old so it hasn't, obviously, been subject to a close enough review until

[Bug target/113986] [14 regression] Build failure on aarch64-linux-musl or if ifunc support is disabled (error: 'export_load_16' aliased to undefined symbol 'libat_load_16')

2024-02-23 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113986 --- Comment #4 from Wilco --- Patch: https://gcc.gnu.org/pipermail/gcc-patches/2024-February/646408.html

[Bug c/114080] Inconsistent handling of unaligned 128bit ints between GCC versions

2024-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114080 --- Comment #9 from Jakub Jelinek --- Note, most not too old compilers handle small constant size memcpy as an efficient way to load/store unaligned values and it is also portable. So, instead of *dstp = *srcp ^ *bufp; if all those can be

[Bug middle-end/114081] [14 regression] ICE in verify_dominators when building php-8.3.3 (error: dominator of 16 should be 111, not 3)

2024-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114081 --- Comment #2 from Andrew Pinski --- Created attachment 57515 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57515=edit Reduced

[Bug target/114028] [14] RISC-V rv64gcv_zvl256b: miscompile at -O3

2024-02-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114028 --- Comment #3 from GCC Commits --- The master branch has been updated by Robin Dapp : https://gcc.gnu.org/g:85c12ae8b80902ed46c97f33dbb61533e07f2905 commit r14-9159-g85c12ae8b80902ed46c97f33dbb61533e07f2905 Author: Robin Dapp Date: Thu

[Bug c/114080] Inconsistent handling of unaligned 128bit ints between GCC versions

2024-02-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114080 --- Comment #4 from Jonathan Wakely --- You could have checked this very easily using -fsanitize=undefined just like it asks you to at https://gcc.gnu.org/bugs/ and at the top of the page when you created this bug. dst is 512-bit aligned

[Bug c/114080] Inconsistent handling of unaligned 128bit ints between GCC versions

2024-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114080 --- Comment #7 from Andrew Pinski --- (In reply to Chris Rapier from comment #5) > So what you are saying is that behaviour *has* changed and what was a valid > operation for 15 years is now invalid. I'm not mad about that. I just needed > to

[Bug middle-end/114081] [14 regression] ICE in verify_dominators when building php-8.3.3 (error: dominator of 16 should be 111, not 3) since r14-6822

2024-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114081 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug middle-end/114081] [14 regression] ICE in verify_dominators when building php-8.3.3 (error: dominator of 16 should be 111, not 3) since r14-6822

2024-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114081 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1

[Bug c/114080] Inconsistent handling of unaligned 128bit ints between GCC versions

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

[Bug target/113059] [15 regression] fftw fails tests for -O3 -m32 -march=znver2 since r14-6210-ge44ed92dbbe9d4

2024-02-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113059 --- Comment #27 from Sam James --- Can someone sanity-check me on this by trying the instructions at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114079#c0? I think I can still hit the original crash, it's just flaky (it might pass sometimes).

[Bug tree-optimization/114079] [14 regression] fftw fails tests again with -O3 -march=znver2 -m32

2024-02-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114079 Sam James changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/113059] [15 regression] fftw fails tests for -O3 -m32 -march=znver2 since r14-6210-ge44ed92dbbe9d4

2024-02-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113059 --- Comment #26 from Sam James --- *** Bug 114079 has been marked as a duplicate of this bug. ***

[Bug c/114080] Inconsistent handling of unaligned 128bit ints between GCC versions

2024-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114080 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug middle-end/114081] New: [14 regression] ICE in verify_dominators when building php-8.3.3 (error: dominator of 16 should be 111, not 3)

2024-02-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114081 Bug ID: 114081 Summary: [14 regression] ICE in verify_dominators when building php-8.3.3 (error: dominator of 16 should be 111, not 3) Product: gcc Version:

[Bug target/114077] ICE in do_SUBST at combine.cc with aarch64 crosscompiler with -fharden-control-flow-redundancy and -mabi=ilp32

2024-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114077 --- Comment #3 from Andrew Pinski --- #5 0x0110cb3f in simplify_const_unary_operation (code=ZERO_EXTEND, mode=E_DImode, op=0x776e0440, op_mode=E_SImode) at ../../gcc/simplify-rtx.cc:2131 2131 result = wide_int::from

[Bug target/114077] ICE in do_SUBST at combine.cc with aarch64 crosscompiler with -fharden-control-flow-redundancy and -mabi=ilp32

2024-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114077 --- Comment #2 from Andrew Pinski --- Oh yes because I am building without `--enable-checking=release` .

[Bug target/66874] RFE: x86_64_fallback_frame_state more robust

2024-02-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66874 --- Comment #4 from Sam James --- I was just going off "incorrect debug info" in comment 0 given it's the only thing I changed recently. If not, then I've got no idea. If I were sure it were dwz, I'd file a bug there ;)

[Bug middle-end/114073] during GIMPLE pass: bitintlower: internal compiler error: in lower_stmt, at gimple-lower-bitint.cc:5530

2024-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114073 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug c++/114078] operator new and operator delete are incorrectly acceptable as explicit object member functions

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

[Bug tree-optimization/114068] [14 regression] ICE when building darktable-4.6.1 (error: PHI node with wrong VUSE on edge from BB 25) since r14-8768

2024-02-23 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114068 --- Comment #14 from Tamar Christina --- patch submitted https://gcc.gnu.org/pipermail/gcc-patches/2024-February/646415.html

[Bug c/114080] Inconsistent handling of unaligned 128bit ints between GCC versions

2024-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114080 --- Comment #3 from Jakub Jelinek --- The testcase segfaults since r13-1607-gc3ed9e0d6e96d8697e4bab994f8acbc5506240ee when the backend started using more aggressively vector instructions for operations like the 128-bit logical ops, but that

[Bug target/114077] ICE in do_SUBST at combine.cc with aarch64 crosscompiler with -fharden-control-flow-redundancy and -mabi=ilp32

2024-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114077 Andrew Pinski changed: What|Removed |Added See Also|https://gcc.gnu.org/bugzill |

[Bug middle-end/114081] [14 regression] ICE in verify_dominators when building php-8.3.3 (error: dominator of 16 should be 111, not 3)

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

[Bug target/114083] New: Possible word play on conditional/unconditional

2024-02-23 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114083 Bug ID: 114083 Summary: Possible word play on conditional/unconditional Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: documentation Severity: normal

[Bug target/114083] Possible word play on conditional/unconditional

2024-02-23 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114083 --- Comment #2 from Roland Illig --- I don't understand why the word 'unconditionally' is necessary or useful here. Isn't the option -mmovcc by itself already a condition? That would make the word 'unconditionally' wrong.

[Bug target/114077] ICE in do_SUBST at combine.cc with aarch64 crosscompiler with -fharden-control-flow-redundancy and -mabi=ilp32

2024-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114077 --- Comment #1 from Andrew Pinski --- I get a different ICE: t5.c: In function ‘foo’:

[Bug target/66874] RFE: x86_64_fallback_frame_state more robust

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

[Bug c++/113083] [14 Regression][arm] ICE in fold_convert_loc, at fold-const.cc:2602 since r14-5979-g99d114c15523e0

2024-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113083 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/114083] Possible word play on conditional/unconditional

2024-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114083 --- Comment #1 from Andrew Pinski --- This is not a play on words though. The flag enables the use of "conditional moves" always (unconditionally).

[Bug fortran/77504] [11/12/13/14 Regression] "is used uninitialized" with allocatable string and array constructors

2024-02-23 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77504 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug preprocessor/114082] New: Guidelines for options are empty

2024-02-23 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114082 Bug ID: 114082 Summary: Guidelines for options are empty Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: documentation Severity: normal Priority: P3

[Bug target/66874] RFE: x86_64_fallback_frame_state more robust

2024-02-23 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66874 --- Comment #5 from Andreas Schwab --- If the unwinder crashes you have either incorrect unwind info or a corrupted stack. Neither should be papered over.

[Bug target/114083] Possible word play on conditional/unconditional

2024-02-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114083 Jonathan Wakely changed: What|Removed |Added CC||macro at orcam dot me.uk --- Comment

[Bug fortran/114024] ICE allocate statement with source=cmp%re and z an array

2024-02-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114024 --- Comment #4 from GCC Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:80d126ba99f4b9bc64d4861b3c4bae666497f2d4 commit r14-9160-g80d126ba99f4b9bc64d4861b3c4bae666497f2d4 Author: Steve Kargl Date:

[Bug analyzer/111289] [13 Regression] Unwarranted -Wanalyzer-va-arg-type-mismatch warning

2024-02-23 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111289 John David Anglin changed: What|Removed |Added CC||danglin at gcc dot gnu.org ---

[Bug sanitizer/114037] ASAN fork should ensure no unwind is in progress

2024-02-23 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114037 Xi Ruoyao changed: What|Removed |Added Status|UNCONFIRMED |WAITING CC|

[Bug middle-end/114069] Type punning RISC-V and SVE vectors causes ICE at -O1

2024-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114069 Andrew Pinski changed: What|Removed |Added See Also||https://github.com/llvm/llv

[Bug rtl-optimization/114054] ICE: in reduce_to_bit_field_precision, at expr.cc:12658 with -Og -fwhole-program -fno-tree-ccp -fprofile-use -fno-tree-copy-prop and _BitInt()

2024-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114054 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0

[Bug middle-end/114084] ICE: SIGSEGV: infinite recursion in fold_build2_loc / fold_binary_loc with _BitInt(127)

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

[Bug driver/114082] Guidelines for options are empty

2024-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114082 Andrew Pinski changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org,

[Bug middle-end/114069] Type punning RISC-V and SVE vectors causes ICE at -O1

2024-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114069 Andrew Pinski changed: What|Removed |Added Depends on||103433 See Also|

[Bug fortran/66499] Letters with accents change format behavior for X and T descriptors.

2024-02-23 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66499 --- Comment #6 from Jerry DeLisle --- This is an interesting puzzle. I took the -fdump-tree-original output of compiling the test case and edited out all except the initialization of the two variables char1 and char2. I lined these up so we

[Bug target/103433] ICE in convert_move, at expr.c:219

2024-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103433 Andrew Pinski changed: What|Removed |Added See Also||https://github.com/llvm/llv

[Bug target/112375] [14 Regression] vget_set_lane_1.c fails

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

[Bug rtl-optimization/101523] Huge number of combine attempts

2024-02-23 Thread krebbel at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101523 Andreas Krebbel changed: What|Removed |Added CC||stefansf at linux dot ibm.com ---

[Bug libstdc++/114085] New: Internal (cross) compiler error when building libstdc++ for the H8/300 family

2024-02-23 Thread jdx at o2 dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114085 Bug ID: 114085 Summary: Internal (cross) compiler error when building libstdc++ for the H8/300 family Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug target/114083] Possible word play on conditional/unconditional

2024-02-23 Thread macro at orcam dot me.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114083 --- Comment #4 from Maciej W. Rozycki --- The flag enables the use of the conditional-move operations even with hardware that has no support for such operations, hence unconditionally. Such operations, where unavailable, are then synthesized as

[Bug tree-optimization/114084] New: ICE: SIGSEGV: infinite recursion in fold_build2_loc / fold_binary_loc with _BitInt(127)

2024-02-23 Thread zsojka at seznam dot cz via Gcc-bugs
ssion algorithms: zlib zstd gcc version 14.0.1 20240223 (experimental) (GCC)

[Bug modula2/113749] [14 Regression] m2 enabled build times out on i686-gnu (GNU Hurd)

2024-02-23 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113749 --- Comment #4 from Gaius Mulley --- Created attachment 57516 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57516=edit Proposed fix Here is a proposed patch. The bug fix changes the FIO module to use the target O_RDONLY, O_WRONLY,

[Bug driver/114082] Guidelines for options are empty

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

[Bug middle-end/114069] Type punning RISC-V and SVE vectors causes ICE at -O1

2024-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114069 Andrew Pinski changed: What|Removed |Added Summary|Type punning RISC-V vectors |Type punning RISC-V and SVE

[Bug middle-end/114084] ICE: SIGSEGV: infinite recursion in fold_build2_loc / fold_binary_loc with _BitInt(127)

2024-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114084 --- Comment #2 from Andrew Pinski --- Here is another testcase, the only use of _BitInt is in the cast, everything else is a bitfield: ``` struct a { unsigned t:(sizeof(int)*8-1); }; typedef unsigned _BitInt(sizeof(int)*8-1) ub31; struct a

[Bug modula2/113749] [14 Regression] m2 enabled build times out on i686-gnu (GNU Hurd)

2024-02-23 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113749 Gaius Mulley changed: What|Removed |Added Attachment #57516|0 |1 is obsolete|

[Bug rtl-optimization/114062] "GNAT BUG DETECTED" 13.2.0 (hppa-linux-gnu) in remove, at alloc-pool.h:437

2024-02-23 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114062 --- Comment #2 from Matthias Klose --- this is seen when building with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 and applying the proposed patch from PR114065.

[Bug tree-optimization/98238] gcc.dg/vect/vect-cost-model-1.c etc. FAIL

2024-02-23 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98238 Rainer Orth changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment #6

[Bug testsuite/96109] [11 Regression] gcc.dg/vect/slp-47.c etc. FAIL

2024-02-23 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96109 --- Comment #16 from Rainer Orth --- The two tests still/again? FAIL on 32 and 64-bit Solaris/SPARC. If I understand the dumps correctly /vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/vect/slp-47.c:9:21: note: ==> examining statement: _3

[Bug tree-optimization/114071] gcc.dg/vect/pr37027.c etc. FAIL

2024-02-23 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114071 --- Comment #1 from Rainer Orth --- PRs tree-optimization/113557 and testsuite/96109 seem to be the same issue (and I didn't manage to set See Also: accordingly).

[Bug tree-optimization/114068] [14 regression] ICE when building darktable-4.6.1 (error: PHI node with wrong VUSE on edge from BB 25) since r14-8768

2024-02-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114068 --- Comment #9 from Sam James --- ``` template struct Array1DRef { T data; T *addressOf(int eltIdx) { return + eltIdx; } }; template struct CroppedArray1DRef { Array1DRef base; int numElts; void getAsArray1DRef() { if (numElts)

[Bug c++/114067] GCC gives wrong diagnostic in the definition of a static data member of same class type

2024-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114067 --- Comment #4 from Andrew Pinski --- (In reply to Jason Liam from comment #3) > (In reply to Andrew Pinski from comment #2) > > Actually A at that point is incomplete type. > > Yes, it is incomplete at that point but that is not the reason

[Bug tree-optimization/114071] New: gcc.dg/vect/pr37027.c etc. FAIL

2024-02-23 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114071 Bug ID: 114071 Summary: gcc.dg/vect/pr37027.c etc. FAIL Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/114068] [14 regression] ICE when building darktable-4.6.1 (error: PHI node with wrong VUSE on edge from BB 25) since r14-8768

2024-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114068 --- Comment #7 from Andrew Pinski --- Created attachment 57508 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57508=edit Reduced a lot This could be reduced more though.

[Bug target/114057] [14 Regression] 435.gromacs fails verification on with -Ofast -march=znver4 and PGO

2024-02-23 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114057 Filip Kastl changed: What|Removed |Added CC||fxue at os dot amperecomputing.com

[Bug tree-optimization/114072] New: gcc.dg/vect/vect-pr111779.c FAILs

2024-02-23 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114072 Bug ID: 114072 Summary: gcc.dg/vect/vect-pr111779.c FAILs Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug middle-end/114073] New: during GIMPLE pass: bitintlower: internal compiler error: in lower_stmt, at gimple-lower-bitint.cc:5530

2024-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114073 Bug ID: 114073 Summary: during GIMPLE pass: bitintlower: internal compiler error: in lower_stmt, at gimple-lower-bitint.cc:5530 Product: gcc Version: 14.0 Status:

[Bug c++/114067] GCC gives wrong diagnostic in the definition of a static data member of same class type

2024-02-23 Thread jlame646 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114067 --- Comment #3 from Jason Liam --- (In reply to Andrew Pinski from comment #2) > Actually A at that point is incomplete type. Yes, it is incomplete at that point but that is not the reason for the program to be ill-formed. The reason is that

[Bug tree-optimization/114068] [14 regression] ICE when building darktable-4.6.1 (error: PHI node with wrong VUSE on edge from BB 25) since r14-8768

2024-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114068 Jakub Jelinek changed: What|Removed |Added Summary|[14 regression] ICE when|[14 regression] ICE when

[Bug tree-optimization/113557] gcc.dg/vect/vect-multi-peel-gaps.c FAILs

2024-02-23 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113557 Rainer Orth changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug testsuite/96109] [11 Regression] gcc.dg/vect/slp-47.c etc. FAIL

2024-02-23 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96109 --- Comment #15 from Rainer Orth --- Created attachment 57507 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57507=edit current sparc-sun-solaris2.11 dumps

[Bug target/90785] [ia64] switch to LRA

2024-02-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90785 --- Comment #3 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:bff1cbf2f61d9532eceaa6ebe71185f4b0902a76 commit r14-9148-gbff1cbf2f61d9532eceaa6ebe71185f4b0902a76 Author: Richard Biener Date:

[Bug middle-end/113988] during GIMPLE pass: bitintlower: internal compiler error: in lower_stmt, at gimple-lower-bitint.cc:5470

2024-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113988 Jakub Jelinek changed: What|Removed |Added Blocks|114073 | Depends on|

[Bug tree-optimization/114068] [14 regression] ICE when building darktable-4.6.1 (error: PHI node with wrong VUSE on edge from BB 25) since r14-8768

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

[Bug tree-optimization/114040] wrong code with __builtin_sub_overflow_p() and _BitInt() at -O2 and above

2024-02-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114040 --- Comment #8 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:be1f2bc4522f772184a4d16d8f3fec75baed89cf commit r14-9150-gbe1f2bc4522f772184a4d16d8f3fec75baed89cf Author: Jakub Jelinek Date:

[Bug tree-optimization/114040] wrong code with __builtin_sub_overflow_p() and _BitInt() at -O2 and above

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

[Bug tree-optimization/114068] [14 regression] ICE when building darktable-4.6.1 (error: PHI node with wrong VUSE on edge from BB 25) since r14-8768

2024-02-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114068 --- Comment #10 from Sam James --- last one: ``` struct c { int b; int *d(int e) { return + e; } }; struct g { c base; int f; void j() { if (f) __builtin_unreachable(); } int (int e) { if (e > 1)

[Bug tree-optimization/114074] [11/12/13/14 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r8-343

2024-02-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114074 --- Comment #3 from Richard Biener --- I would guess some match pattern triggers, the bisection is odd.

[Bug tree-optimization/114075] New: [14 Regression] s390x miscompilation since r14-322

2024-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114075 Bug ID: 114075 Summary: [14 Regression] s390x miscompilation since r14-322 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/114075] [14 Regression] s390x miscompilation since r14-322

2024-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114075 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 Ever confirmed|0

[Bug tree-optimization/114068] [14 regression] ICE when building darktable-4.6.1 (error: PHI node with wrong VUSE on edge from BB 25) since r14-8768

2024-02-23 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114068 --- Comment #12 from Tamar Christina --- looks like the moving of the store didn't update a stray out of block use of the MEM. working on patch.

[Bug tree-optimization/114075] [14 Regression] s390x miscompilation since r14-322

2024-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114075 Jakub Jelinek changed: What|Removed |Added CC||jchrist at linux dot ibm.com,

[Bug middle-end/114070] [12/13/13 regression] ICE when building git-2.43.2 with -mcpu=niagara4 -fno-vect-cost-model

2024-02-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114070 --- Comment #4 from Sam James --- reduced: ``` struct name_entry { int mode; } traverse_trees(), *unresolved_n; void unresolved(int i, unsigned dirmask, unsigned mask) { for (; i; i++) { mask |= 1; if (!unresolved_n[i].mode ||

[Bug c++/114076] New: list-initialization with assignment expression triggers wrong template instanciation

2024-02-23 Thread benni.buch at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114076 Bug ID: 114076 Summary: list-initialization with assignment expression triggers wrong template instanciation Product: gcc Version: 13.2.1 Status: UNCONFIRMED

[Bug middle-end/114070] [12/13/13 regression] ICE when building git-2.43.2 with -mcpu=niagara4 -fno-vect-cost-model

2024-02-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114070 --- Comment #6 from Richard Biener --- So we vectorize this to _97 = vect__4.15_91 == { 0, 0 }; vect_patt_8.17_98 = VEC_COND_EXPR <_97, { 1, 1 }, { 0, 0 }>; _102 = vect__5.16_93 != { 0, 0 }; vect_patt_19.18_103 = VEC_COND_EXPR <_102, {

[Bug tree-optimization/114075] [14 Regression] s390x miscompilation since r14-322

2024-02-23 Thread jchrist at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114075 --- Comment #4 from jchrist at linux dot ibm.com --- (In reply to Jakub Jelinek from comment #2) > Ah, there is > https://gcc.gnu.org/pipermail/gcc-patches/2024-February/645928.html > but that didn't come up with a testcase. > Not sure if

[Bug c++/105645] Template specializations are not hidden with fvisibility=hidden

2024-02-23 Thread tanksherman27 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105645 Julian Waters changed: What|Removed |Added CC||tanksherman27 at gmail dot com ---

[Bug tree-optimization/114075] [14 Regression] s390x miscompilation since r14-322

2024-02-23 Thread jchrist at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114075 --- Comment #5 from jchrist at linux dot ibm.com --- Just sent a v2 of the patch including your suggested test and updated the commit message.

[Bug target/108120] [11/12 Regression] ICE: in extract_insn, at recog.cc:2791 (on ARM with -mfpu=neon -freciprocal-math -O3)

2024-02-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108120 --- Comment #6 from GCC Commits --- The releases/gcc-12 branch has been updated by Richard Earnshaw : https://gcc.gnu.org/g:0de82d2c2ec0b7ed65a1122884feab40f90c0483 commit r12-10174-g0de82d2c2ec0b7ed65a1122884feab40f90c0483 Author: Richard

[Bug target/108120] [11/12 Regression] ICE: in extract_insn, at recog.cc:2791 (on ARM with -mfpu=neon -freciprocal-math -O3)

2024-02-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108120 --- Comment #7 from GCC Commits --- The releases/gcc-11 branch has been updated by Richard Earnshaw : https://gcc.gnu.org/g:98032b3e320a5b63309d6a843f6e97fb0506953a commit r11-11251-g98032b3e320a5b63309d6a843f6e97fb0506953a Author: Richard

[Bug target/108120] [11/12 Regression] ICE: in extract_insn, at recog.cc:2791 (on ARM with -mfpu=neon -freciprocal-math -O3)

2024-02-23 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108120 Richard Earnshaw changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

  1   2   >