[Bug fortran/116254] new test case gfortran.dg/class_transformational_2.f90 from r15-2739-g4cb07a38233aad fails

2024-12-16 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116254 --- Comment #11 from Paul Thomas --- (In reply to Richard Sandiford from comment #10) > A bit more info: valgrind succeeds for -O0. But with optimisation enabled > (-O is enough), it flags: > > ==12989== Conditional jump or move depends on uni

[Bug ipa/117892] [15 Regression] ICE on valid code at -O1 and above on x86_64-linux-gnu: in single_succ_edge, at basic-block.h:332 since r15-5336-gcee7d080d5c2a5

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117892 --- Comment #3 from Andrew Pinski --- I actually think this might be a DSE issue. Deleted dead store: # .MEM_5 = VDEF <.MEM_3(D)> # USE = nonlocal # CLB = { D.2867 } _Z1bPiD.2862 (&fD.2867); And that creates an empty basic block with no su

[Bug tree-optimization/118077] [15 Regression] ICE when building openimageio-2.5.13: oiioversion.h:127:28: internal compiler error: in single_succ_edge, at basic-block.h:332

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118077 --- Comment #6 from Andrew Pinski --- (In reply to Ted Rodgers from comment #1) For this, the exact situtation here is that einline inlines b::d into e::f and changes the virtual call into a direct call of b::c because e is final and it knows t

[Bug tree-optimization/118077] [15 Regression] ICE when building openimageio-2.5.13: oiioversion.h:127:28: internal compiler error: in single_succ_edge, at basic-block.h:332

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

[Bug tree-optimization/108939] -Wstringop-truncation warning when -fsanitize=address, -O2 and -std=c++11 are used

2024-12-16 Thread ikrylov at disroot dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108939 Ivan Krylov changed: What|Removed |Added CC||ikrylov at disroot dot org --- Comment #3

[Bug ipa/118077] [15 Regression] ICE when building openimageio-2.5.13: oiioversion.h:127:28: internal compiler error: in single_succ_edge, at basic-block.h:332

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118077 Andrew Pinski changed: What|Removed |Added Summary|ICE when building |[15 Regression] ICE when

[Bug ipa/118077] ICE when building openimageio-2.5.13: oiioversion.h:127:28: internal compiler error: in single_succ_edge, at basic-block.h:332

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

[Bug ipa/118077] ICE when building openimageio-2.5.13: oiioversion.h:127:28: internal compiler error: in single_succ_edge, at basic-block.h:332

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

[Bug ipa/118077] ICE when building openimageio-2.5.13: oiioversion.h:127:28: internal compiler error: in single_succ_edge, at basic-block.h:332

2024-12-16 Thread ted.d.rodgers at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118077 --- Comment #3 from Ted Rodgers --- ok, I hit the same ICE building with snapshot gcc-15-20241208 (tried latest in case it had been fixed)

[Bug ipa/118077] ICE when building openimageio-2.5.13: oiioversion.h:127:28: internal compiler error: in single_succ_edge, at basic-block.h:332

2024-12-16 Thread ted.d.rodgers at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118077 --- Comment #1 from Ted Rodgers --- This could be a dupe of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117892 reduced code: int a; struct b { virtual int c() { return 0; } int d() { return a && 0 == c(); } }; void _setjmp(); struct e f

[Bug ipa/118077] ICE when building openimageio-2.5.13: oiioversion.h:127:28: internal compiler error: in single_succ_edge, at basic-block.h:332

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

[Bug ipa/118077] New: ICE when building openimageio-2.5.13: oiioversion.h:127:28: internal compiler error: in single_succ_edge, at basic-block.h:332

2024-12-16 Thread ted.d.rodgers at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118077 Bug ID: 118077 Summary: ICE when building openimageio-2.5.13: oiioversion.h:127:28: internal compiler error: in single_succ_edge, at basic-block.h:332 Product: gcc

[Bug c++/118074] [coroutine] Possible over optimization of co_return

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118074 --- Comment #4 from Andrew Pinski --- (In reply to Weibo He from comment #3) > Intert a printf into final_suspend helps clang and GCC 10 ~ 14 give expected > result. While GCC trunk not work. > Is it a GCC 15 regression? It does not help -O0 g

[Bug c++/118074] [coroutine] Possible over optimization of co_return

2024-12-16 Thread newsigma at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118074 --- Comment #3 from Weibo He --- Intert a printf into final_suspend helps clang and GCC 10 ~ 14 give expected result. While GCC trunk not work. https://godbolt.org/z/rEhevKa8h Output(MSVC, clang, GCC 10 ~ 14): final_suspend A(A&&) 5

[Bug middle-end/118076] extra memcpy for passing large arguments in some cases

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118076 --- Comment #3 from Andrew Pinski --- I think the easiest way of fixing this is exposing the stack location for the arguments before expand and do some simple optimizations after that.

[Bug middle-end/118076] extra memcpy for passing large arguments in some cases

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

[Bug target/113269] X86_64 generates extra mov (and xchg) when passing struct with constant value to function

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113269 Andrew Pinski changed: What|Removed |Added Known to work||15.0 Keywords|

[Bug middle-end/118076] Missed Optimization: Inefficient Stack Usage in Creating and Passing Large Struct Argument

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118076 Andrew Pinski changed: What|Removed |Added Blocks||101926 --- Comment #1 from Andrew Pinsk

[Bug rtl-optimization/118076] New: Missed Optimization: Inefficient Stack Usage in Creating and Passing Large Struct Argument

2024-12-16 Thread jonathan.gruber.jg at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118076 Bug ID: 118076 Summary: Missed Optimization: Inefficient Stack Usage in Creating and Passing Large Struct Argument Product: gcc Version: 14.2.1 Status: UNCONFIRMED

[Bug tree-optimization/117915] [15 Regression] ICE on valid code at -O{s,2,3} with "-fno-tree-copy-prop -fno-tree-vrp" on x86_64-linux-gnu: tree check: expected ssa_name, have integer_cst in ifcombine

2024-12-16 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117915 Alexandre Oliva changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |aoliva at gcc dot gnu.org ---

[Bug tree-optimization/118025] [15 Regression] gcc.dg/field-merge-9.c FAILs

2024-12-16 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118025 Alexandre Oliva changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |aoliva at gcc dot gnu.org ---

[Bug c++/118074] [coroutine] Possible over optimization of co_return

2024-12-16 Thread newsigma at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118074 --- Comment #2 from Weibo He --- (In reply to Andrew Pinski from comment #1) > Is there a way to check to make sure you are not using the value after > deconstruction for MSVC too. Thank you for your comment @Andrew Pinski. We can take the add

[Bug target/118075] [15 Regression] RISC-V: Miscompile at -O3 zvl 256 since r15-4746-g30435cc2610

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

[Bug tree-optimization/118046] [15 Regression] wrong code at -O{2, 3} on x86_64-linux-gnu since r15-6173-ge8febb641415fd

2024-12-16 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118046 Alexandre Oliva changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |aoliva at gcc dot gnu.org ---

[Bug target/118075] [15 Regression] RISC-V: Miscompile at -O3 zvl 256 since r15-4746-g30435cc2610

2024-12-16 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118075 Patrick O'Neill changed: What|Removed |Added Target||riscv*-*-* CC|

[Bug target/118075] New: [15 Regression] RISC-V: Miscompile at -O3 zvl 256 since r15-4746-g30435cc2610

2024-12-16 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118075 Bug ID: 118075 Summary: [15 Regression] RISC-V: Miscompile at -O3 zvl 256 since r15-4746-g30435cc2610 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity:

[Bug c++/118074] [coroutine] Possible over optimization of co_return

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118074 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code --- Comment #1 from Andrew P

[Bug libstdc++/118071] std::vector method visible in shared object even with -fvisibility=hidden and -fvisibility-inlines-hidden

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118071 Andrew Pinski changed: What|Removed |Added Resolution|DUPLICATE |INVALID --- Comment #4 from Andrew Pins

[Bug c++/118074] New: [coroutine] Possible over optimization of co_return

2024-12-16 Thread newsigma at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118074 Bug ID: 118074 Summary: [coroutine] Possible over optimization of co_return Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug c++/48818] Wrong copy constructor used when using std::pair in .so and app. -fvisibility=hidden does not work

2024-12-16 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48818 Xi Ruoyao changed: What|Removed |Added CC||kstewart at efficios dot com --- Comment #9

[Bug libstdc++/118071] std::vector method visible in shared object even with -fvisibility=hidden and -fvisibility-inlines-hidden

2024-12-16 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118071 Xi Ruoyao changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/103313] nontype_argument_pack - compile error due to unsupported tree

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103313 --- Comment #3 from Andrew Pinski --- Note this code was not valid as there is no way to deduce the template arguments based on the default argument. What you can do instead is do this (for C++20 though): ``` template struct S { Q mq[I];

[Bug c++/103313] nontype_argument_pack - compile error due to unsupported tree

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

[Bug c++/118073] [12/13/14/15 Regression] Bad diagnostic: 'nontype_argument_pack' not supported by dump_expr

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118073 Andrew Pinski changed: What|Removed |Added CC||ispavlick at gmail dot com --- Comment

[Bug c++/118073] [12/13/14/15 Regression] Bad diagnostic: 'nontype_argument_pack' not supported by dump_expr

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118073 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Summary|Bad diagnostic:

[Bug c++/118056] ICE with pack indexing inside a templated lamdba

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118056 Andrew Pinski changed: What|Removed |Added Summary|ICE with pack indexing with |ICE with pack indexing

[Bug c++/118056] ICE with pack indexing with index_sequence

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118056 Andrew Pinski changed: What|Removed |Added Keywords|lto |c++-lambda, c++26 Summary|IC

[Bug c++/118073] New: Bad diagnostic: 'nontype_argument_pack' not supported by dump_expr

2024-12-16 Thread blubban at gmail dot com via Gcc-bugs
27; requested 6 | index_sequence<5> bar = index_sequence<1>(); | ^~~ GCC gives the expected error in gcc 4.4 through 7.x (older untested, Godbolt coverage is spotty below 4.5); gives a slightly different error in 8.x and 9.x, and gives this output in 10.x through 14.x and trunk-20241216. https://godbolt.org/z/ohK3M69s7

[Bug middle-end/80222] may_alias folded away

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80222 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |7.0

[Bug c++/118060] [13/14/15 Regression] ICE (internal compiler error) on requires clause

2024-12-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118060 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED Keywords|needs-bisec

[Bug c/117178] -Wunterminated-string-initialization should ignore trailing NUL byte for nonstring char arrays

2024-12-16 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117178 Eric Gallager changed: What|Removed |Added Keywords||patch Assignee|unassigned at

[Bug middle-end/118070] wrong code with _BitInt() in a bitfield vs scalar_storage_order attribute

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118070 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Summary|wrong code with _B

[Bug middle-end/118070] wrong code with _BitInt() in a bitfield and -fsso-struct=big-endian

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118070 --- Comment #1 from Andrew Pinski --- Created attachment 59884 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59884&action=edit testcase using scalar_storage_order instead of option

[Bug middle-end/118072] [14/15 Regression] (n%7) sometimes uses udiv and sometimes does not depening if `n/7` is used beforehand

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118072 Andrew Pinski changed: What|Removed |Added Version|unknown |14.1.0 Summary|(n%7) sometim

[Bug middle-end/118072] (n%7) sometimes uses udiv and sometimes does not depening if `n/7` is used beforehand

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118072 --- Comment #3 from Andrew Pinski --- So we are just left with the unstablity of the chosing based on the cache and sometimes the cache is different when first based on divide vs mod. I suspect if you do timing on the mod with/without using the

[Bug middle-end/118072] (n%7) sometimes uses udiv and sometimes does not depening if `n/7` is used beforehand

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118072 --- Comment #2 from Andrew Pinski --- COSTS_N_INSNS (6)/* si idiv. */ COSTS_N_INSNS (10) /* di idiv. */ +COSTS_N_INSNS (1) sdiv is +1 x86_64 generic costs are much higher: ``` {COSTS_N_INSNS (16),

[Bug tree-optimization/118032] [15 regression] Bootstrap slowdown for risc-v

2024-12-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118032 Sam James changed: What|Removed |Added Keywords||compile-time-hog Summary|Bootstr

Will you look into this?

2024-12-16 Thread Emily Graham via Gcc-bugs
Hi there, As parents, we all know how much our emotions can impact our children—but have you ever considered how your anxiety might affect their well-being? >From mood changes to behavioral shifts, our stress can influence them in ways we might not even realize. I’d love to write an article for

[Bug middle-end/118072] (n%7) sometimes uses udiv and sometimes does not depening if `n/7` is used beforehand

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

[Bug rtl-optimization/118072] New: n % 7 on ARM is bad and unstable.

2024-12-16 Thread cassio.neri at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118072 Bug ID: 118072 Summary: n % 7 on ARM is bad and unstable. Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimiz

[Bug libstdc++/118071] C++ class method visible in shared object even with -fvisibility=hidden and -fvisibility-inlines-hidden

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118071 --- Comment #2 from Andrew Pinski --- I am not sure if this is a bug.

[Bug libstdc++/118071] C++ class method visible in shared object even with -fvisibility=hidden and -fvisibility-inlines-hidden

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118071 Andrew Pinski changed: What|Removed |Added Component|c++ |libstdc++ --- Comment #1 from Andrew Pi

[Bug c++/118071] New: C++ class method visible in shared object even with -fviisibility=hidden and -fvisibility-inlines-hidden

2024-12-16 Thread kstewart at efficios dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118071 Bug ID: 118071 Summary: C++ class method visible in shared object even with -fviisibility=hidden and -fvisibility-inlines-hidden Product: gcc Version: 14.2.0 Status: UNC

[Bug ada/118051] gnatprove indicates error

2024-12-16 Thread charlet at adacore dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118051 --- Comment #3 from charlet at adacore dot com --- > --- Comment #2 from Andrew Pinski --- > (In reply to Eric Botcazou from comment #1) >> GNATprove is not part of GCC, please report to the vendor instead. > > Though it is documented to be us

Re: [Bug ada/118051] gnatprove indicates error

2024-12-16 Thread Arnaud Charlet via Gcc-bugs
> --- Comment #2 from Andrew Pinski --- > (In reply to Eric Botcazou from comment #1) >> GNATprove is not part of GCC, please report to the vendor instead. > > Though it is documented to be used: > https://gcc.gnu.org/onlinedocs/gnat_rm/SPARK_005f05.html Other tools are mentioned such as gprbu

[Bug c/118061] [15 regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in tagged_types_tu_compatible_p, at c/c-typeck.cc:1946

2024-12-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118061 Marek Polacek changed: What|Removed |Added Last reconfirmed||2024-12-16 Ever confirmed|0

[Bug middle-end/118070] New: wrong code with _BitInt() in a bitfield and -fsso-struct=big-endian

2024-12-16 Thread zsojka at seznam dot cz via Gcc-bugs
version 15.0.0 20241216 (experimental) (GCC)

[Bug c++/118069] g++ freezes

2024-12-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118069 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug ada/118051] gnatprove indicates error

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118051 --- Comment #2 from Andrew Pinski --- (In reply to Eric Botcazou from comment #1) > GNATprove is not part of GCC, please report to the vendor instead. Though it is documented to be used: https://gcc.gnu.org/onlinedocs/gnat_rm/SPARK_005f05.html

[Bug c++/118069] g++ freezes

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

[Bug c++/118069] g++ freezes

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118069 --- Comment #2 from Andrew Pinski --- Created attachment 59881 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59881&action=edit Preprocessed source from the trunk

[Bug target/118068] [14 Regression] consteval function not evaulated at compile time in debug mode

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118068 --- Comment #2 from Andrew Pinski --- I am not 100% sure if this is a bug. The IR looks like: (void) (a = __builtin_ia32_blendps256 (_mm256_set1_ps (3.0e+0), _mm256_set1_ps (4.0e+0), (int) 128)) >; Notice the cast there. Once we chan

[Bug c++/118069] New: g++ freezes

2024-12-16 Thread gessos.paul at yahoo dot gr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118069 Bug ID: 118069 Summary: g++ freezes Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned

[Bug c++/118068] [14 Regression] consteval function not evaulated at compile time in debug mode

2024-12-16 Thread brandon.p.enochs.civ at us dot navy.mil via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118068 --- Comment #1 from Brandon Enochs --- In GCC 13, this program would compile when building in debug mode. It currently builds correct with any higher level of optimization enabled. For reference, my compiler arguments are "-march=haswell -mavx

[Bug c++/118068] New: [14 Regression] consteval function not evaulated at compile time in debug mode

2024-12-16 Thread brandon.p.enochs.civ at us dot navy.mil via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118068 Bug ID: 118068 Summary: [14 Regression] consteval function not evaulated at compile time in debug mode Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severit

[Bug tree-optimization/118025] [15 Regression] gcc.dg/field-merge-9.c FAILs

2024-12-16 Thread dimitar at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118025 --- Comment #2 from Dimitar Dimitrov --- The failures for AVR and PRU are probably related to their unusual BITS_PER_WORD=8 and BIGGEST_ALIGNMENT=8 configuration. For AVR: NA->FAIL: gcc.dg/field-merge-11.c execution test NA->FAIL: gcc.dg/field-

[Bug c++/118060] [13/14/15 Regression] ICE (internal compiler error) on requires clause

2024-12-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118060 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org,

[Bug target/118067] [15 Regression] ICE: in lra_split_hard_reg_for, at lra-assigns.cc:1860 (unable to find a register to spill) {*lshrhi3_1} with -O -fno-split-wide-types -mavx512f

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

[Bug c++/118060] [13/14/15 Regression] ICE (internal compiler error) on requires clause

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118060 --- Comment #4 from Andrew Pinski --- (In reply to Sam James from comment #1) > 13.2 rejects it, 13.3 ICEs, right? yes. See comment #3 for case where the code is valid in the end and still ICEs. And yes GCC 13.2.0 accepted that code while GCC 1

[Bug c++/118060] [13/14/15 Regression] ICE (internal compiler error) on requires clause

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118060 Andrew Pinski changed: What|Removed |Added Known to fail||13.3.0, 14.1.0 Summary|ICE (

[Bug c++/118060] ICE (internal compiler error) on requires clause

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118060 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code --- Comment #3 from A

[Bug c++/118060] ICE (internal compiler error) on requires clause

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118060 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-invalid-code Ever confirmed|

[Bug target/118067] New: [15 Regression] ICE: in lra_split_hard_reg_for, at lra-assigns.cc:1860 (unable to find a register to spill) {*lshrhi3_1} with -O -fno-split-wide-types -mavx512f

2024-12-16 Thread zsojka at seznam dot cz via Gcc-bugs
hms: zlib zstd gcc version 15.0.0 20241216 (experimental) (GCC)

[Bug ada/118052] gnatproves bugs, nothing more indicated.

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

[Bug c/26154] [12/13/14/15 Regression] OpenMP extensions to the C language is not documented or documented in the wrong spot

2024-12-16 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26154 --- Comment #39 from sandra at gcc dot gnu.org --- So, the gfortran manual already has substantial sections under "Extensions" about OpenMP and OpenACC. So I guess I will do the same for the GCC manual, and make that the place where we document w

[Bug tree-optimization/118055] [15 Regression] gcc.dg/tree-ssa/pr83403-1.c and -2 for CRIS and m68k since r15-6097-gee2f19b0937b5e

2024-12-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118055 --- Comment #5 from GCC Commits --- The master branch has been updated by Hans-Peter Nilsson : https://gcc.gnu.org/g:e5c84fd3c195eb5e553fde84e79dd83712edf732 commit r15-6287-ge5c84fd3c195eb5e553fde84e79dd83712edf732 Author: Hans-Peter Nilsson

[Bug tree-optimization/118064] [15 regression] Miscompilation at -O1 since r15-6173-ge8febb641415fd

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

[Bug c++/118066] Diagnostic for variadic concept with fold expression on other concepts does not mention which element of the fold expression is causing it to be false

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118066 --- Comment #5 from Andrew Pinski --- Actually a better example: ``` template constexpr int constexpr_value = sizeof(T); template concept VariadicConcept = ((constexpr_value > 1) && ...); static_assert(VariadicConcept); ``` because the fold e

[Bug c++/118066] Diagnostic for variadic concept with fold expression on other concepts does not mention which element of the fold expression is causing it to be false

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118066 --- Comment #4 from Andrew Pinski --- A better example is: ``` template concept FalsyConcept = requires { requires sizeof(T) > 1; }; template concept VariadicConcept = (!FalsyConcept && ...); static_assert(VariadicConcept); ``` >From clang ou

[Bug c++/118066] Diagnostic for variadic concept with fold expression on other concepts does not mention which argument is causing it to be false

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

[Bug c++/118066] Diagnostic for variadic concept with fold expression on other concepts is unhelpful

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118066 Andrew Pinski changed: What|Removed |Added Blocks||67491 Severity|normal

[Bug c++/118066] Diagnostic for variadic concept with fold expression on other concepts is unhelpful

2024-12-16 Thread sergey at murzin dot pw via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118066 --- Comment #1 from Sergei Murzin --- A better CE link https://compiler-explorer.com/z/3dG8zKPfb Where we can also see that Clang is actually quite good at displaying this sort of failure.

[Bug c++/118066] New: Diagnostic for variadic concept with fold expression on other concepts is unhelpful

2024-12-16 Thread sergey at murzin dot pw via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118066 Bug ID: 118066 Summary: Diagnostic for variadic concept with fold expression on other concepts is unhelpful Product: gcc Version: 14.2.1 Status: UNCONFIRMED Se

[Bug c++/118053] [14/15 Regression] Only -Ox -std=c++2x internal compiler error: in cxx_eval_indirect_ref, at cp/constexpr.cc:5954 since r14-1624

2024-12-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118053 Marek Polacek changed: What|Removed |Added Keywords|needs-reduction | --- Comment #3 from Marek Polacek ---

[Bug libstdc++/118065] New: Debug Mode does not check non-overlapping preconditions for std::copy et al

2024-12-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118065 Bug ID: 118065 Summary: Debug Mode does not check non-overlapping preconditions for std::copy et al Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: en

[Bug sanitizer/117725] [15 Regression] s390 -m31 bootstrap failure in interception.h since r15-5164-gfa321004f3f628

2024-12-16 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117725 --- Comment #5 from Matthias Klose --- even with the changes from comment 3, it still fails with: In file included from ../../../../../src/libsanitizer/interception/interception.h:18, from ../../../../../src/libsanitizer/interc

[Bug lto/58203] memset/memcpy are discarded with -flto

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58203 --- Comment #8 from Andrew Pinski --- *** Bug 118063 has been marked as a duplicate of this bug. ***

[Bug lto/118063] Building files with lto creates object files with an incomplete symbol table

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118063 Andrew Pinski changed: What|Removed |Added Resolution|FIXED |DUPLICATE --- Comment #8 from Andrew Pi

[Bug libstdc++/118035] [12/13/14/15 Regression] deque bug when inserting an empty iterator interval

2024-12-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118035 --- Comment #5 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #4) > It only started to lose data with my r5-9770-g397c5bf9204cc8 Which was the backport of r6-3240-g5caff414f153f5 from trunk.

[Bug libstdc++/118035] [12/13/14/15 Regression] deque bug when inserting an empty iterator interval

2024-12-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118035 Jonathan Wakely changed: What|Removed |Added Known to work||5.4.0 Status|NEW

[Bug lto/118063] Building files with lto creates object files with an incomplete symbol table

2024-12-16 Thread benediktibk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118063 Benedikt Schmidt changed: What|Removed |Added Resolution|DUPLICATE |FIXED --- Comment #7 from Benedikt S

[Bug tree-optimization/118064] [15 regression] Miscompilation at -O1 since r15-6173-ge8febb641415fd

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118064 --- Comment #2 from Andrew Pinski --- Confirmed, this is another one which misses the truncation: From: b.0_1 = b; _2 = b.0_1 ^ 1; b = _2; ... _5 = (char) _2; if (_5 != 1) goto ; [50.00%] else goto ; [50.00%] [local count

[Bug lto/118063] Building files with lto creates object files with an incomplete symbol table

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

[Bug tree-optimization/118064] [15 regression] Miscompilation at -O1 since r15-6173-ge8febb641415fd

2024-12-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118064 Sam James changed: What|Removed |Added CC||aoliva at gcc dot gnu.org Componen

[Bug lto/118063] Building files with lto creates object files with an incomplete symbol table

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118063 --- Comment #6 from Andrew Pinski --- See specifically https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58203#c2 . Basically memset/memcpy should either be marked as used or should never be in LTO because references to them come in late in compiling

[Bug lto/58203] memset/memcpy are discarded with -flto

2024-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58203 Andrew Pinski changed: What|Removed |Added CC||benediktibk at gmail dot com --- Comment

[Bug c/118064] New: Miscompilation at -O1

2024-12-16 Thread yunboni at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118064 Bug ID: 118064 Summary: Miscompilation at -O1 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unas

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

2024-12-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #37 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:ea7da640cf234ebde8d73d996dd14e6563c1ffcf commit r15-6283-gea7da640cf234ebde8d73d996dd14e6563c1ffcf Author: David Malcolm Date:

[Bug sarif-replay/117943] sarif-replay can fail to quote source code

2024-12-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117943 --- Comment #2 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:778336e0e4f25745f76a127801dc3bab5e9c1334 commit r15-6284-g778336e0e4f25745f76a127801dc3bab5e9c1334 Author: David Malcolm Date: M

[Bug sarif-replay/117943] sarif-replay can fail to quote source code

2024-12-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117943 --- Comment #1 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:ea7da640cf234ebde8d73d996dd14e6563c1ffcf commit r15-6283-gea7da640cf234ebde8d73d996dd14e6563c1ffcf Author: David Malcolm Date: M

  1   2   >