[Bug c++/117463] [12/13/14/15 Regression] internal compiler error: Segmentation fault at is_nondependent_constant_expression(tree_node*)

2024-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117463 --- Comment #2 from Andrew Pinski --- Reduced testcase: ``` void *operator new (decltype(sizeof(0)), void void * p); void *p; auto t = new(p) int; ``` Without the double `void`, it works.

[Bug c++/117158] [12/13/14/15 Regression] ICE with array access inside a template with a base class since r10-3793-g1a37b6d9a7e57c

2024-11-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117158 --- Comment #6 from GCC Commits --- The releases/gcc-14 branch has been updated by Simon Martin : https://gcc.gnu.org/g:951daf54174b88e30feaf413a4de0c8388a06d9d commit r14-10892-g951daf54174b88e30feaf413a4de0c8388a06d9d Author: Simon Martin D

[Bug c++/117158] [12/13/14/15 Regression] ICE with array access inside a template with a base class since r10-3793-g1a37b6d9a7e57c

2024-11-05 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117158 Simon Martin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/117463] [12/13/14/15 Regression] internal compiler error: Segmentation fault at is_nondependent_constant_expression(tree_node*)

2024-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117463 Andrew Pinski changed: What|Removed |Added Known to fail||10.1.0 Known to work|

[Bug c++/117462] internal compiler error: comptypes(tree_node*, tree_node*, int)

2024-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117462 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-11-06 Status|UNCONFIRM

[Bug fortran/117434] [F08] gfortran rejects actual argument corresponding to procedure pointer dummy argument

2024-11-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117434 --- Comment #14 from GCC Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:4dbf4c0fdb188e1c348688de91e010f696cd59fc commit r15-4974-g4dbf4c0fdb188e1c348688de91e010f696cd59fc Author: Paul Thomas Date: Wed

[Bug target/117447] ICE in BPF GCC-trunk segmentation fault

2024-11-05 Thread jemarch at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117447 Jose E. Marchesi changed: What|Removed |Added Last reconfirmed||2024-11-06 Status|UNCONF

[Bug c++/117462] internal compiler error: comptypes(tree_node*, tree_node*, int)

2024-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117462 Andrew Pinski changed: What|Removed |Added Keywords||ice-checking, |

[Bug target/117447] ICE in BPF GCC-trunk segmentation fault

2024-11-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117447 Sam James changed: What|Removed |Added CC||david.faust at oracle dot com,

[Bug c++/117463] New: internal compiler error: Segmentation fault at is_nondependent_constant_expression(tree_node*)

2024-11-05 Thread yihan4845 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117463 Bug ID: 117463 Summary: internal compiler error: Segmentation fault at is_nondependent_constant_expression(tree_node*) Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c++/117462] New: internal compiler error: comptypes(tree_node*, tree_node*, int)

2024-11-05 Thread yihan4845 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117462 Bug ID: 117462 Summary: internal compiler error: comptypes(tree_node*, tree_node*, int) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug fortran/117455] ld warning about executable stack, follows from PR 117434

2024-11-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117455 --- Comment #4 from Sam James --- https://www.redhat.com/en/blog/linkers-warnings-about-executable-stacks-and-segments

[Bug fortran/117455] ld warning about executable stack, follows from PR 117434

2024-11-05 Thread mscfd at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117455 martin changed: What|Removed |Added CC||mscfd at gmx dot net --- Comment #3 from marti

[Bug c++/117158] [12/13/14/15 Regression] ICE with array access inside a template with a base class since r10-3793-g1a37b6d9a7e57c

2024-11-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117158 --- Comment #5 from GCC Commits --- The releases/gcc-13 branch has been updated by Simon Martin : https://gcc.gnu.org/g:75a5bc8c0143e7003ac19395317cc93b9a63c7d4 commit r13-9173-g75a5bc8c0143e7003ac19395317cc93b9a63c7d4 Author: Simon Martin Da

[Bug libstdc++/115285] [12/13/14 Regression] std::unordered_set can have duplicate value

2024-11-05 Thread frs.dumont at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115285 --- Comment #15 from frs.dumont at gmail dot com --- On 05/11/2024 18:18, redi at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115285 > > --- Comment #14 from Jonathan Wakely --- > We're assuming that an iterator's refer

[Bug target/117438] x86's pass_align_tight_loops may cause performance regression in nested loops

2024-11-05 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117438 --- Comment #5 from Hongtao Liu --- I reproduce with 30% regression on CLX, there's more frontend-bound with aligned case, it's uarch specific, will make it a uarch tune.

[Bug target/117304] ICE: in emit_move_insn, at expr.cc:4633 with -mavx10.1 and __builtin_ia32_cvtudq2ps512_mask()

2024-11-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117304 --- Comment #5 from GCC Commits --- The master branch has been updated by Hu : https://gcc.gnu.org/g:8ac694ae67e24a798dce368587bed4c40b90fbc0 commit r15-4973-g8ac694ae67e24a798dce368587bed4c40b90fbc0 Author: Hu, Lin1 Date: Tue Nov 5 15:49:5

[Bug sanitizer/117461] New: ICE: in verify_dominators, at dominance.cc:1194 (during GIMPLE pass: asan) with -O1 and -fsanitize=address

2024-11-05 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117461 Bug ID: 117461 Summary: ICE: in verify_dominators, at dominance.cc:1194 (during GIMPLE pass: asan) with -O1 and -fsanitize=address Product: gcc Version: 15.0

[Bug fortran/117455] ld warning about executable stack, follows from PR 117434

2024-11-05 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117455 --- Comment #2 from Jerry DeLisle --- I am using: $ ld --version GNU ld version 2.41-37.fc40

[Bug fortran/117455] ld warning about executable stack, follows from PR 117434

2024-11-05 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117455 Iain Sandoe changed: What|Removed |Added CC||iains at gcc dot gnu.org --- Comment #1 f

[Bug fortran/117442] [15 Regression] Cannot build libgfortran with enable-gather-detailed-mem-stats after r15-4760-g0b73e9382ab51c

2024-11-05 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117442 David Malcolm changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug fortran/117442] [15 Regression] Cannot build libgfortran with enable-gather-detailed-mem-stats after r15-4760-g0b73e9382ab51c

2024-11-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117442 --- Comment #2 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:8c4184682d1cdfc43296f9550a48eaadb7501bbd commit r15-4969-g8c4184682d1cdfc43296f9550a48eaadb7501bbd Author: David Malcolm Date: T

[Bug fortran/66528] [6 Regression] unbalanced IF/ENDIF with -fmax-errors=1 causes invalid free

2024-11-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66528 --- Comment #8 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:8c4184682d1cdfc43296f9550a48eaadb7501bbd commit r15-4969-g8c4184682d1cdfc43296f9550a48eaadb7501bbd Author: David Malcolm Date: Tu

[Bug target/117460] riscv64 backend emits large relocations due to loop strength reduction

2024-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117460 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug target/91420] relocation truncated to fit: R_RISCV_HI20 against `.LC0' with GCC 8.2/8.3 with "-O2" on RISC-V

2024-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91420 Andrew Pinski changed: What|Removed |Added CC||aurelien at aurel32 dot net --- Comment

[Bug target/117460] New: riscv64 backend emits large relocations due to loop strength reduction

2024-11-05 Thread aurelien at aurel32 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117460 Bug ID: 117460 Summary: riscv64 backend emits large relocations due to loop strength reduction Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/117459] ICE: in lower_stmt, at gimple-lower-bitint.cc:5714 with __builtin_assoc_barrier() on _BitInt(255)

2024-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117459 Andrew Pinski changed: What|Removed |Added Target|x86_64-pc-linux-gnu |x86_64-pc-linux-gnu |

[Bug middle-end/117459] ICE: in lower_stmt, at gimple-lower-bitint.cc:5714 with __builtin_assoc_barrier() on _BitInt(255)

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

[Bug middle-end/117459] New: ICE: in lower_stmt, at gimple-lower-bitint.cc:5714 with __builtin_assoc_barrier() on _BitInt(255)

2024-11-05 Thread zsojka at seznam dot cz via Gcc-bugs
tl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20241105 (experimental) (GCC)

[Bug middle-end/117458] ICE: in gen_lowpart_general, at rtlhooks.cc:63 when reinterpreting _Complex float as _BitInt(33)

2024-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117458 --- Comment #2 from Andrew Pinski --- /* Handle SUBREGs and hard REGs that were rejected by simplify_gen_subreg. */ else if (REG_P (x) || GET_CODE (x) == SUBREG) ... else { /* The only additional case we can do is MEM. */

[Bug middle-end/117458] ICE: in gen_lowpart_general, at rtlhooks.cc:63 when reinterpreting _Complex float as _BitInt(33)

2024-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117458 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-11-05 Host|x86_64-pc

[Bug fortran/117434] [F08] gfortran rejects actual argument corresponding to procedure pointer dummy argument

2024-11-05 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117434 --- Comment #13 from Jerry DeLisle --- (In reply to kargls from comment #12) --- snip --- > > If you consider that the warning should be treated as significant, then > > there's an alternate implementation for the trampoline which places the > >

[Bug rtl-optimization/117458] New: ICE: in gen_lowpart_general, at rtlhooks.cc:63 when reinterpreting _Complex float as _BitInt(33)

2024-11-05 Thread zsojka at seznam dot cz via Gcc-bugs
nk-r15-4963-20241105175800-g161e246cf32-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20241105 (experimental) (GCC)

[Bug libstdc++/117457] New: regex global buffer overflow LTO

2024-11-05 Thread kingoipo at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117457 Bug ID: 117457 Summary: regex global buffer overflow LTO Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug c/117456] ICE: in expand_expr_real_2, at expr.cc:10567 with __builtin_stdc_rotate_left() on bitfield or _BitInt() of non-mode size

2024-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117456 Andrew Pinski changed: What|Removed |Added Component|middle-end |c --- Comment #3 from Andrew Pinski --

[Bug middle-end/117456] ICE: in expand_expr_real_2, at expr.cc:10567 with __builtin_stdc_rotate_left() on bitfield or _BitInt() of non-mode size

2024-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117456 --- Comment #2 from Andrew Pinski --- The assert after all: gcc_assert (VECTOR_MODE_P (TYPE_MODE (type)) || type_has_mode_precision_p (type)); /* fall through */

[Bug middle-end/117456] ICE: in expand_expr_real_2, at expr.cc:10567 with __builtin_stdc_rotate_left() on bitfield or _BitInt() of non-mode size

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

[Bug rtl-optimization/117456] New: ICE: in expand_expr_real_2, at expr.cc:10567 with __builtin_stdc_rotate_left() on bitfield or _BitInt()

2024-11-05 Thread zsojka at seznam dot cz via Gcc-bugs
u-ld --with-as=/usr/bin/x86_64-pc-linux-gnu-as --enable-libsanitizer --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r15-4963-20241105175800-g161e246cf32-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0

[Bug target/115054] __float128 and _Float16 use incorrect ABI on x86-64 MinGW

2024-11-05 Thread tmgross at umich dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115054 --- Comment #8 from Trevor Gross --- After some more digging it sounds like passing _Float128 arguments indirectly is the correct thing to do, which is GCC's current behavior. Excerpts from the calling convention [1]: > Integer arguments are pa

[Bug fortran/115070] [13 Regression] ICE using IEEE_ARITHMETIC in a derived type method with class, intent(out)

2024-11-05 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115070 Paul Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/101463] [12/13 Regression] Using a constexpr variable template specialization as default argument for non-type template parameter of reference type leads gcc to reject function call

2024-11-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101463 Patrick Palka changed: What|Removed |Added Summary|[12/13/14 Regression] Using |[12/13 Regression] Using a

[Bug c++/101463] [12/13/14 Regression] Using a constexpr variable template specialization as default argument for non-type template parameter of reference type leads gcc to reject function call

2024-11-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101463 --- Comment #4 from GCC Commits --- The releases/gcc-14 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:124f2f62e01c6f110279608ad09e0f1d378e4899 commit r14-10890-g124f2f62e01c6f110279608ad09e0f1d378e4899 Author: Patrick Palka

[Bug fortran/117455] New: ld warning about executable stack, follows from PR 117434

2024-11-05 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117455 Bug ID: 117455 Summary: ld warning about executable stack, follows from PR 117434 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Pri

[Bug fortran/115348] [13 Regression] -fcheck=recursion issue with intent(out) derived type argument without components with default value

2024-11-05 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115348 Paul Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/115348] [13 Regression] -fcheck=recursion issue with intent(out) derived type argument without components with default value

2024-11-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115348 --- Comment #8 from GCC Commits --- The releases/gcc-13 branch has been updated by Paul Thomas : https://gcc.gnu.org/g:43522516e5a5c95807a1bf31c3d11014fb1ffb77 commit r13-9171-g43522516e5a5c95807a1bf31c3d11014fb1ffb77 Author: Paul Thomas Date

[Bug fortran/115070] [13 Regression] ICE using IEEE_ARITHMETIC in a derived type method with class, intent(out)

2024-11-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115070 --- Comment #14 from GCC Commits --- The releases/gcc-13 branch has been updated by Paul Thomas : https://gcc.gnu.org/g:43522516e5a5c95807a1bf31c3d11014fb1ffb77 commit r13-9171-g43522516e5a5c95807a1bf31c3d11014fb1ffb77 Author: Paul Thomas Dat

[Bug c++/117454] Template parameter hidden by base class name

2024-11-05 Thread Darrell.Wright at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117454 --- Comment #4 from Darrell Wright --- #include struct Base { using Type = int; }; template struct Derived : Base { Type field; }; static_assert( std::is_same_v{}.field), double> ); I think this should warn too, the intent is clea

[Bug c++/117454] Template parameter hidden by base class name

2024-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117454 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-11-05 Status|UNCONFIRM

[Bug c++/105828] [meta-bug] bogus/missing -Wshadow

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

[Bug c++/117454] Template parameter hidden by base class name

2024-11-05 Thread Darrell.Wright at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117454 --- Comment #2 from Darrell Wright --- Thanks, yeah, I forgot to add that, I did try something like -Wall -Wextra -pedantic -pedantic-errors -Wshadow -O1

[Bug c++/117454] Template parameter hidden by base class name

2024-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117454 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic --- Comment #1 from Andrew P

[Bug c++/117454] New: Template parameter hidden by base class name

2024-11-05 Thread Darrell.Wright at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117454 Bug ID: 117454 Summary: Template parameter hidden by base class name Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug middle-end/117426] [14/15 Regression] Miscompile with different optimization flags

2024-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117426 --- Comment #7 from Andrew Pinski --- (In reply to Andrew Pinski from comment #6) > What is happening is sccp is rewriting some code to avoid undefined signed > integers but then that does not get optimized away in some cases. Note -fno-tree-sc

[Bug middle-end/117426] [14/15 Regression] Miscompile with different optimization flags

2024-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117426 --- Comment #6 from Andrew Pinski --- What is happening is sccp is rewriting some code to avoid undefined signed integers but then that does not get optimized away in some cases.

[Bug middle-end/111843] [meta-bug] wrong-code due to -fstack-reuse=/clobbers

2024-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111843 Bug 111843 depends on bug 117453, which changed state. Bug 117453 Summary: [14/15 Regression] Miscompile with -O3 and -O0/1/2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117453 What|Removed |Added

[Bug middle-end/117426] [14/15 Regression] Miscompile with different optimization flags

2024-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117426 --- Comment #5 from Andrew Pinski --- *** Bug 117453 has been marked as a duplicate of this bug. ***

[Bug middle-end/117453] [14/15 Regression] Miscompile with -O3 and -O0/1/2

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

[Bug middle-end/117451] [14/15 Regression] Miscompile with -00/1/2 and -O3

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

[Bug middle-end/111843] [meta-bug] wrong-code due to -fstack-reuse=/clobbers

2024-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111843 Bug 111843 depends on bug 117451, which changed state. Bug 117451 Summary: [14/15 Regression] Miscompile with -00/1/2 and -O3 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117451 What|Removed |Added

[Bug middle-end/117426] [14/15 Regression] Miscompile with different optimization flags

2024-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117426 --- Comment #4 from Andrew Pinski --- *** Bug 117451 has been marked as a duplicate of this bug. ***

[Bug middle-end/117453] [14/15 Regression] Miscompile with -O3 and -O0/1/2

2024-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117453 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Summary|Miscompile with -O

[Bug middle-end/117453] Miscompile with -O3 and -O0/1/2

2024-11-05 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117453 --- Comment #1 from Yunbo Ni --- I'm not sure if it is a duplicate case.

[Bug middle-end/117453] New: Miscompile with -O3 and -O0/1/2

2024-11-05 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117453 Bug ID: 117453 Summary: Miscompile with -O3 and -O0/1/2 Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end

[Bug c++/117158] [12/13/14/15 Regression] ICE with array access inside a template with a base class since r10-3793-g1a37b6d9a7e57c

2024-11-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117158 --- Comment #4 from GCC Commits --- The releases/gcc-12 branch has been updated by Simon Martin : https://gcc.gnu.org/g:5fdd38d576c20d5a337b5c7d14108981d0751434 commit r12-10804-g5fdd38d576c20d5a337b5c7d14108981d0751434 Author: Simon Martin D

[Bug target/116623] [15 regression] regressions on arm-linux-gnueabihf since r15-1619-g3b9b8d6cfdf593

2024-11-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116623 --- Comment #1 from GCC Commits --- The master branch has been updated by Torbjorn Svensson : https://gcc.gnu.org/g:e152a734337a06ed085c2e6700f21cda9ca7ad17 commit r15-4966-ge152a734337a06ed085c2e6700f21cda9ca7ad17 Author: Torbjörn SVENSSON D

[Bug fortran/117434] [F08] gfortran rejects actual argument corresponding to procedure pointer dummy argument

2024-11-05 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117434 --- Comment #12 from kargls at comcast dot net --- (In reply to Iain Sandoe from comment #11) > (In reply to kargls from comment #10) > > I suppose the question then comes down to where does the > > > > .section.note.GNU-stack,"x

[Bug c++/69698] [meta-bug] flexible array members

2024-11-05 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69698 Bug 69698 depends on bug 92589, which changed state. Bug 92589 Summary: heuristic to avoid flexible array members too liberal https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92589 What|Removed |Added --

[Bug sanitizer/92589] heuristic to avoid flexible array members too liberal

2024-11-05 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92589 Kees Cook changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/117452] New: ICE: in patch_jump_insn, at cfgrtl.cc:1303 with -Ofast -mavx10.2 and __bf16

2024-11-05 Thread zsojka at seznam dot cz via Gcc-bugs
-libsanitizer --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r15-4963-20241105175800-g161e246cf32-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20241105 (experimental) (GCC)

[Bug middle-end/117451] [14/15 Regression] Miscompile with -00/1/2 and -O3

2024-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117451 Andrew Pinski changed: What|Removed |Added Summary|Miscompile with -00/1/2 and |[14/15 Regression] |-

[Bug c/117451] Miscompile with -00/1/2 and -O3

2024-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117451 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-11-05 Status|UNCONFIRM

[Bug c/117451] New: Miscompile with -00/1/2 and -O3

2024-11-05 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117451 Bug ID: 117451 Summary: Miscompile with -00/1/2 and -O3 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assi

[Bug fortran/117434] [F08] gfortran rejects actual argument corresponding to procedure pointer dummy argument

2024-11-05 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117434 --- Comment #11 from Iain Sandoe --- (In reply to kargls from comment #10) > (In reply to Iain Sandoe from comment #9) > > (In reply to kargls from comment #8) > > > (In reply to Iain Sandoe from comment #7) > > > > > > > > /usr/local/bin/ld:

[Bug c++/117450] [DR1753] Allow ~decltype

2024-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117450 --- Comment #3 from Andrew Pinski --- (In reply to Marek Polacek from comment #2) > (In reply to Andrew Pinski from comment #1) > > This is a dup ... > > Of? I went through all the PRs with "decltype" in their title and didn't > find it. PR 7

[Bug c++/117450] [DR1753] Allow ~decltype

2024-11-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117450 --- Comment #2 from Marek Polacek --- (In reply to Andrew Pinski from comment #1) > This is a dup ... Of? I went through all the PRs with "decltype" in their title and didn't find it.

[Bug fortran/117434] [F08] gfortran rejects actual argument corresponding to procedure pointer dummy argument

2024-11-05 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117434 --- Comment #10 from kargls at comcast dot net --- (In reply to Iain Sandoe from comment #9) > (In reply to kargls from comment #8) > > (In reply to Iain Sandoe from comment #7) > > > > > /usr/local/bin/ld: warning: /tmp/ccVWAwWh.o: requires ex

[Bug c/117445] ICE: in gimple_build_assign_1, at gimple.cc:480

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

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

2024-11-05 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116388 Paul Thomas changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org --- Comme

[Bug c++/117450] [DR1753] Allow ~decltype

2024-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117450 --- Comment #1 from Andrew Pinski --- This is a dup ...

[Bug c++/117450] New: [DR1753] Allow ~decltype

2024-11-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117450 Bug ID: 117450 Summary: [DR1753] Allow ~decltype Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assign

[Bug c/101057] [gimplefe] GIMPLE frontend issues

2024-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101057 Bug 101057 depends on bug 117445, which changed state. Bug 117445 Summary: ICE: in gimple_build_assign_1, at gimple.cc:480 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117445 What|Removed |Added ---

[Bug c/117445] ICE: in gimple_build_assign_1, at gimple.cc:480

2024-11-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117445 --- Comment #5 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:3621d2ac22b75b154c2964c0db84b58be427f3a8 commit r15-4964-g3621d2ac22b75b154c2964c0db84b58be427f3a8 Author: Andrew Pinski Date: Mo

[Bug c++/116634] [14 Regression] constexpr string arrays dont compile in gcc 14.x but works for gcc 13 and earlier.

2024-11-05 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116634 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/116634] [14 Regression] constexpr string arrays dont compile in gcc 14.x but works for gcc 13 and earlier.

2024-11-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116634 --- Comment #8 from GCC Commits --- The releases/gcc-14 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:ce25ca4da198ebc269d41ee6a9ac880ae8f67ad6 commit r14-10887-gce25ca4da198ebc269d41ee6a9ac880ae8f67ad6 Author: Jason Merrill

[Bug libstdc++/115285] [12/13/14 Regression] std::unordered_set can have duplicate value

2024-11-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115285 --- Comment #14 from Jonathan Wakely --- We're assuming that an iterator's reference type can be converted to the key_type. This doesn't compile on trunk: #include struct K { explicit K(int) noexcept { } bool operator==(const K&) const {

[Bug tree-optimization/117448] mod is not optimized to cond with subtraction with known (small) ranges

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

[Bug tree-optimization/117448] mod is not optimized to cond with subtraction with known (small) ranges

2024-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117448 Andrew Pinski changed: What|Removed |Added Summary|gcc failed to optimize |mod is not optimized to

[Bug fortran/117434] [F08] gfortran rejects actual argument corresponding to procedure pointer dummy argument

2024-11-05 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117434 --- Comment #9 from Iain Sandoe --- (In reply to kargls from comment #8) > (In reply to Iain Sandoe from comment #7) > > /usr/local/bin/ld: warning: /tmp/ccVWAwWh.o: requires executable stack > (because the .note.GNU-stack section is executabl

[Bug c++/117446] attribute thought to be the template parameter pack

2024-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117446 Andrew Pinski changed: What|Removed |Added Summary|Rejects valid code on |attribute thought to be the

[Bug fortran/115348] [13 Regression] -fcheck=recursion issue with intent(out) derived type argument without components with default value

2024-11-05 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115348 Paul Thomas changed: What|Removed |Added Summary|[13/14 Regression] |[13 Regression] |-fchec

[Bug c/117289] gcc.dg/debug/ctf/ctf-function-pointers-2.c failure with -std=gnu23

2024-11-05 Thread david.faust at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117289 --- Comment #5 from David Faust --- For BTF this is OK. The duplication with -std=gnu23 is not ideal, obviously, since it causes unnecessary bloat. But the resulting BTF information is still correct, if not "optimal".

[Bug fortran/115070] [13 Regression] ICE using IEEE_ARITHMETIC in a derived type method with class, intent(out)

2024-11-05 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115070 Paul Thomas changed: What|Removed |Added Summary|[13/14 Regression] ICE |[13 Regression] ICE using

[Bug target/117449] [15 Regression] ICE in gen_reg_rtx on aarch64 via aarch64_emit_opt_vec_rotate

2024-11-05 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117449 ktkachov at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|A

[Bug target/117449] [15 Regression] ICE in gen_reg_rtx on aarch64 via aarch64_emit_opt_vec_rotate

2024-11-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117449 --- Comment #2 from GCC Commits --- The master branch has been updated by Kyrylo Tkachov : https://gcc.gnu.org/g:161e246cf32f1298400aa3c1d86110490a3cd0ce commit r15-4963-g161e246cf32f1298400aa3c1d86110490a3cd0ce Author: Kyrylo Tkachov Date:

[Bug fortran/117434] [F08] gfortran rejects actual argument corresponding to procedure pointer dummy argument

2024-11-05 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117434 --- Comment #8 from kargls at comcast dot net --- (In reply to Iain Sandoe from comment #7) > > > - however, for O0 we get a MAIN__ function which contains: >: > FRAME.3.FRAME_BASE.PARENT = 0B; > __builtin_init_trampoline (&FRAME.3.t

[Bug c/117445] ICE: in gimple_build_assign_1, at gimple.cc:480

2024-11-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117445 Andrew Pinski changed: What|Removed |Added Keywords||patch URL|

[Bug testsuite/117444] [15 regression] Assembler output changes after r15-4756-g06bc3a734e8890

2024-11-05 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117444 Peter Bergner changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug testsuite/117444] [15 regression] Assembler output changes after r15-4756-g06bc3a734e8890

2024-11-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117444 --- Comment #3 from GCC Commits --- The master branch has been updated by Peter Bergner : https://gcc.gnu.org/g:f185a89fc4b6e6f5ae5475cd7c723b3acf39976b commit r15-4962-gf185a89fc4b6e6f5ae5475cd7c723b3acf39976b Author: Peter Bergner Date: T

[Bug testsuite/117444] [15 regression] Assembler output changes after r15-4756-g06bc3a734e8890

2024-11-05 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117444 Peter Bergner changed: What|Removed |Added Last reconfirmed||2024-11-05 Status|UNCONFIRM

[Bug c++/116634] [14 Regression] constexpr string arrays dont compile in gcc 14.x but works for gcc 13 and earlier.

2024-11-05 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116634 Jason Merrill changed: What|Removed |Added Summary|[14/15 Regression] |[14 Regression] constexpr

  1   2   >