[Bug fortran/117347] Associate with derived type array constructor

2024-12-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117347 --- Comment #6 from GCC Commits --- The master branch has been updated by Andre Vehreschild : https://gcc.gnu.org/g:9684e70952ac159ce0b838533ce4e9c98474e1a8 commit r15-6292-g9684e70952ac159ce0b838533ce4e9c98474e1a8 Author: Andre Vehreschild D

[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-17 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117892 --- Comment #4 from Jan Hubicka --- > Deleted dead store: # .MEM_5 = VDEF <.MEM_3(D)> > That started in GCC 12. That is weird. I would expect CFG verification run between passes to catch this...

[Bug fortran/117347] Associate with derived type array constructor

2024-12-17 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117347 Andre Vehreschild changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING

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

2024-12-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118070 --- Comment #9 from Jakub Jelinek --- Each psABI defines the rules, and those can be quite different. Right now, the target hook is prepared to decide on the modes/alignment used for small _BitInts, whether the padding bits are unspecified or si

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

2024-12-17 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118070 --- Comment #10 from Eric Botcazou --- > So, would say big-endian SSO imply just the limbs are byteswapped, or the > limb order is swapped, or both, same limb size and other parameters, > something different? Byteswapping the limbs without swap

[Bug target/114987] [14/15 Regression] floating point vector regression, x86, between gcc 14 and gcc-13 using -O3 and target clones on skylake platforms

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

[Bug target/114987] [14/15 Regression] floating point vector regression, x86, between gcc 14 and gcc-13 using -O3 and target clones on skylake platforms

2024-12-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114987 --- Comment #10 from Jakub Jelinek --- Or of course for -ffast-math find out the whole loop is kind of pointless and replace the whole loop with x = x + 65536.f * y;

[Bug tree-optimization/118081] [15 regression] wrong code at -O{s,2,3} with "-fno-tree-vrp -fno-expensive-optimizations" on x86_64-linux-gnu since r15-6173

2024-12-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118081 --- Comment #4 from Jakub Jelinek --- So, ifcombine sees _3 = iftmp.0_5 ^ 1; if (iftmp.0_5 != 1) goto ; [50.00%] else goto ; [50.00%] [local count: 536870912]: _4 = (unsigned char) _3; if (_4 != 8) goto ; [50.00%] els

[Bug tree-optimization/118081] [15 regression] wrong code at -O{s,2,3} with "-fno-tree-vrp -fno-expensive-optimizations" on x86_64-linux-gnu since r15-6173

2024-12-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118081 --- Comment #5 from Jakub Jelinek --- Adjusted testcase: int a, b; int foo (int f) { return f ? f || 0 : f; } void bar () { b = a ? a : 1; int i = foo (1 ^ b); signed char h = i - 8; if (h) return; __builtin_abort (); } int ma

[Bug libstdc++/118083] New: __possibly_const_range misses input_range constraint

2024-12-17 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118083 Bug ID: 118083 Summary: __possibly_const_range misses input_range constraint Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug c++/116108] [12/13/14 Regression] GCC crashes on incorrect code with -std=c++20 since r10-4719

2024-12-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116108 Jakub Jelinek changed: What|Removed |Added Summary|[12/13/14/15 Regression]|[12/13/14 Regression] GCC

[Bug target/118062] [15 regression] c-c++-common/torture/vector-compare-1.c fails on arm / MVE after r15-5317-gf40010c198f

2024-12-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118062 Richard Biener changed: What|Removed |Added Last reconfirmed||2024-12-17 Status|UNCONFIR

[Bug target/118062] [15 regression] c-c++-common/torture/vector-compare-1.c fails on arm / MVE after r15-5317-gf40010c198f

2024-12-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118062 --- Comment #2 from Richard Biener --- This is a latent issue btw. (not that compare handling would try to use a smaller vector type...)

[Bug libstdc++/118058] std::to_wstring is incompatible with -fwide-exec-charset=EBCDIC-JP-kana

2024-12-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118058 --- Comment #2 from Jonathan Wakely --- I'd be happy to document that libstdc++ is completely incompatible with EBCDIC-JP-kana

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

2024-12-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118070 --- Comment #5 from Jakub Jelinek --- I don't see how it can work with all the _BitInts though, the _BitInt ABI depends on various things, which precisions are handled as normal scalar integral types or their bitfields, which are handled as arra

[Bug libstdc++/118079] std::deque has too many overloads called _M_insert_aux

2024-12-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118079 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2024-12-17 Status|UNCONFI

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

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

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

2024-12-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118060 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug target/118068] [14/15 Regression] _mm256_blend_ps intrinsics does not work fully with consteval function returning an usigned char type

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

[Bug fortran/117897] [13/14 Regression] Bug in gfortran compiled windows run time with the latest release (14.2.0)

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

[Bug middle-end/118050] [15 Regression] timevar.cc:163:18: error: 'CLOCK_MONOTONIC' was not declared in this scope

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

[Bug target/118057] RISC-V: Can't vectorize load and store with zvl128b

2024-12-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118057 Richard Biener changed: What|Removed |Added Target||riscv --- Comment #5 from Richard Bien

[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-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118072 Richard Biener changed: What|Removed |Added Priority|P3 |P2

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

2024-12-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118073 Richard Biener changed: What|Removed |Added Version|unknown |15.0 Priority|P3

[Bug middle-end/118076] [12/13/14/15 Regression] extra memcpy for passing large arguments in some cases, introduces STLF fails

2024-12-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118076 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Keywords|

[Bug ada/118082] New: Types from other packages are not visible inside aggregate and reduction expressions inside generic bodies

2024-12-17 Thread liam at liampwll dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118082 Bug ID: 118082 Summary: Types from other packages are not visible inside aggregate and reduction expressions inside generic bodies Product: gcc Version: 14.2.1

[Bug fortran/118059] [15 Regression] ubsan instrumented gcc: valid value for type 'expr_t' in gcc/fortran/trans-expr.cc

2024-12-17 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118059 Martin Jambor changed: What|Removed |Added Last reconfirmed||2024-12-17 Ever confirmed|0

[Bug target/117682] [15 Regression] rv64gcv_zvl256b miscompile since r15-3228-g771256bcb9d

2024-12-17 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117682 --- Comment #3 from Robin Dapp --- The issue is in the way we construct an interleaved VLA const pattern. For efficiency we try to use a larger element width, here 16 bits, to initialize two values in one. I believe this doesn't go along well

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

2024-12-17 Thread newsigma at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118074 --- Comment #5 from Weibo He --- Compiled locally using MSVC with /fsanitize=address D:\main\build>cl /std:c++20 /fsanitize=address /Zi D:\main\src\main.cpp Microsoft (R) C/C++ Optimizing Compiler Version 19.42.34435 for x64 Copyright (C) Micro

[Bug fortran/117897] [13/14 Regression] Bug in gfortran compiled windows run time with the latest release (14.2.0)

2024-12-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117897 --- Comment #7 from GCC Commits --- The releases/gcc-14 branch has been updated by Paul Thomas : https://gcc.gnu.org/g:3b6ed0c74139faed62b7d60804521aed67e40b2b commit r14-11098-g3b6ed0c74139faed62b7d60804521aed67e40b2b Author: Paul Thomas Dat

[Bug fortran/117897] [13/14 Regression] Bug in gfortran compiled windows run time with the latest release (14.2.0)

2024-12-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117897 --- Comment #8 from GCC Commits --- The releases/gcc-13 branch has been updated by Paul Thomas : https://gcc.gnu.org/g:9b720ef00339d44050ebdaa9ac69b0c49588c501 commit r13-9258-g9b720ef00339d44050ebdaa9ac69b0c49588c501 Author: Paul Thomas Date

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

2024-12-17 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118070 --- Comment #8 from Eric Botcazou --- > But the rest still applies, we'd need to define what the other endianity > _BitInt ABI is for each target supporting _BitInt. And given that different > architectures can have different _BitInt layout ABI

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

2024-12-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118055 Richard Biener changed: What|Removed |Added Keywords||testsuite-fail Component|tree

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

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

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

2024-12-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118075 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/106256] Custom diagnostics for unsatisfied standard concepts

2024-12-17 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106256 Nathaniel Shead changed: What|Removed |Added CC||nshead at gcc dot gnu.org --- Comment

[Bug middle-end/114087] RISC-V optimization on checking certain bits set ((x & mask) == val)

2024-12-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114087 --- Comment #6 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:d17b09c07a1da0e3950718aabc2cbdb90cae402b commit r15-6307-gd17b09c07a1da0e3950718aabc2cbdb90cae402b Author: Oliver Kozul Date: Tue Dec

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

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

[Bug fortran/117897] [13/14 Regression] Bug in gfortran compiled windows run time with the latest release (14.2.0)

2024-12-17 Thread jean.gual at cerema dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117897 --- Comment #10 from GUAL Jean --- Thank you very much Paul. we will wait for the next version of Mingw.

[Bug fortran/118080] New: OPTIONAL, VALUE mishandled: type(c_ptr) – argument missing, ICE with derived type

2024-12-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118080 Bug ID: 118080 Summary: OPTIONAL, VALUE mishandled: type(c_ptr) – argument missing, ICE with derived type Product: gcc Version: 15.0 Status: UNCONFIRMED Keywor

[Bug tree-optimization/118081] New: wrong code at -O{s,2,3} with "-fno-tree-vrp -fno-expensive-optimizations" on x86_64-linux-gnu

2024-12-17 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
trunk/configure --disable-bootstrap --enable-checking=yes --prefix=/local/suz-local/software/local/gcc-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 15.0.0 20241217 (experimental) (GCC)

[Bug middle-end/118076] [12/13/14/15 Regression] extra memcpy for passing large arguments in some cases, introduces STLF fails

2024-12-17 Thread jonathan.gruber.jg at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118076 --- Comment #6 from Jonathan Gruber --- Created attachment 59888 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59888&action=edit Minimal test case, non-tail call.

[Bug middle-end/118076] [12/13/14/15 Regression] extra memcpy for passing large arguments in some cases, introduces STLF fails

2024-12-17 Thread jonathan.gruber.jg at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118076 --- Comment #5 from Jonathan Gruber --- For completeness, I also checked for when the call to the struct-accepting function is not a tail call. This is just the same test case as before, but the return value of extern_func is bitwise negated to

[Bug target/118068] [14/15 Regression] _mm256_blend_ps intrinsics does not work fully with consteval function returning an usigned char type

2024-12-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118068 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2024-12-17 Status|UNCONFIRM

[Bug target/118062] [15 regression] c-c++-common/torture/vector-compare-1.c fails on arm / MVE after r15-5317-gf40010c198f

2024-12-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118062 --- Comment #3 from Richard Biener --- Created attachment 59887 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59887&action=edit patch in testing

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

2024-12-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118070 Richard Biener changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org --- Comme

[Bug libstdc++/118058] std::to_wstring is incompatible with -fwide-exec-charset=EBCDIC-JP-kana

2024-12-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118058 --- Comment #1 from Richard Biener --- Hmm, I think this is a documentation issue at least. Would introducing a "NaN" literal as result of L'e' and then eliding all the compares as "WTF" (true or false?) work? Or maybe we need sth like #if __

[Bug c++/118078] [12/13/14/15 Regression] GCC crashes on incorrect code with -std=c++20 since r10-4719

2024-12-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118078 --- Comment #1 from Jakub Jelinek --- Do we need - && same_type_p (TYPE_MAIN_VARIANT (type), - current_class_type)) + && currently_open_class (TYPE_MAIN_VARIANT (type))

[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-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118061 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug c++/116108] [12/13/14/15 Regression] GCC crashes on incorrect code with -std=c++20 since r10-4719

2024-12-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116108 --- Comment #5 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:88bfee560681d8248b89f130ada249e35ee2e344 commit r15-6293-g88bfee560681d8248b89f130ada249e35ee2e344 Author: Jakub Jelinek Date: T

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

2024-12-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118069 --- Comment #4 from Richard Biener --- I wonder if we ever get into tree sharing here and thus prove things multiple times (and a 'visited'/'proofed' hash-set would help). Maybe caching proofs in general might pay off (if we do lots of those).

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

2024-12-17 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118070 --- Comment #4 from Eric Botcazou --- > OTOH I would expect _BitInt(32) to behave the same as int? Yes, SSO was primarily implemented for bit-fields so IMO it would be strange to forbid it with _BitInt.

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

2024-12-17 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118070 --- Comment #6 from Eric Botcazou --- > I don't see how it can work with all the _BitInts though, the _BitInt ABI > depends on various things, which precisions are handled as normal scalar > integral types or their bitfields, which are handled a

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

2024-12-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118070 --- Comment #7 from Jakub Jelinek --- The libgcc problem actually doesn't exist, we could force all loads and stores from SSO marked _BitInts and their bitfields into native endianity temporaries if one would need to pass those to libgcc. But th

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

2024-12-17 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117725 --- Comment #6 from Matthias Klose --- there's a workaround for 32bit Windows in ec68dc1ca4d967b599f1202855917d5ec9cae52f

[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-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118077 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org P

[Bug c++/118078] [12/13/14/15 Regression] GCC crashes on incorrect code with -std=c++20 since r10-4719

2024-12-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118078 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Priority|P3

[Bug c++/118078] New: [12/13/14/15 Regression] GCC crashes on incorrect code with -std=c++20 since r10-4719

2024-12-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118078 Bug ID: 118078 Summary: [12/13/14/15 Regression] GCC crashes on incorrect code with -std=c++20 since r10-4719 Product: gcc Version: 15.0 Status: UNCONFIRMED Ke

[Bug target/118068] [14/15 Regression] _mm256_blend_ps intrinsics does not work fully with consteval function returning an usigned char type

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

[Bug libstdc++/118079] New: std::deque has too many overloads called _M_insert_aux

2024-12-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118079 Bug ID: 118079 Summary: std::deque has too many overloads called _M_insert_aux Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal

[Bug target/117835] wrong code with -O -favoid-store-forwarding -mno-push-args --param=store-forwarding-max-distance=0

2024-12-17 Thread konstantinos.eleftheriou at vrull dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117835 --- Comment #2 from Konstantinos Eleftheriou --- Submitted a solution for this to the lists: https://gcc.gnu.org/pipermail/gcc-patches/2024-December/671800.html This also fixes bug 117872.

[Bug tree-optimization/118081] wrong code at -O{s,2,3} with "-fno-tree-vrp -fno-expensive-optimizations" on x86_64-linux-gnu since r15-6173

2024-12-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118081 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #3 fr

[Bug tree-optimization/118081] wrong code at -O{s,2,3} with "-fno-tree-vrp -fno-expensive-optimizations" on x86_64-linux-gnu since r15-6173

2024-12-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118081 --- Comment #2 from Sam James --- It works with -fdisable-tree-ifcombine. Bisecting now to confirm but ccing axo

[Bug tree-optimization/118081] wrong code at -O{s,2,3} with "-fno-tree-vrp -fno-expensive-optimizations" on x86_64-linux-gnu since r15-6173

2024-12-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118081 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 Summary|wrong code at -O{

[Bug target/118017] [15 Regression] ICE: maximum number of generated reload insns per insn achieved (90) with -Og -frounding-math -mno-80387 -mno-mmx since r15-1619-g3b9b8d6cfdf593

2024-12-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118017 Sam James changed: What|Removed |Added Summary|[15 Regression] ICE:|[15 Regression] ICE: |max

[Bug target/118057] RISC-V: Can't vectorize load and store with zvl128b

2024-12-17 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118057 --- Comment #6 from Robin Dapp --- (In reply to Richard Biener from comment #5) > I would expect this to be always slower when vectorized unless the core is > seriously bottle-necked on the frontend. The loads/stores need to be > decomposed to

[Bug rtl-optimization/117872] wrong code with -O -maccumulate-outgoing-args --param=store-forwarding-max-distance=1000 -favoid-store-forwarding

2024-12-17 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117872 --- Comment #1 from ptomsich at gcc dot gnu.org --- Our patch (see https://gcc.gnu.org/pipermail/gcc-patches/2024-December/671800.html) for PR117835 should also fix this issue.

[Bug target/103370] [12/13/14/15 Regression] Assembler error building glibc for ColdFire soft-float

2024-12-17 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103370 Joseph S. Myers changed: What|Removed |Added CC||aurelien at aurel32 dot net,

[Bug middle-end/118090] unsignedp argument get_compare_parts is unused by callers

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

[Bug middle-end/118090] New: unsignedp argument get_compare_parts is unused by callers

2024-12-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118090 Bug ID: 118090 Summary: unsignedp argument get_compare_parts is unused by callers Product: gcc Version: 14.2.0 Status: UNCONFIRMED Keywords: internal-improveme

[Bug c++/115008] ICE with modules on amd64-freebsd*

2024-12-17 Thread developer at lorenzosalvadore dot it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115008 --- Comment #1 from Lorenzo Salvadore --- I have (finally) started to look into this. I can reproduce the issue on a FreeBSD 15 machine, but the errors are slightly different. I have added a -v flag to get more information. $ ~/GCC/local/usr/

[Bug middle-end/118094] Removal of checking size being zero before memcpy when can prove src/dst arguments are non-null

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

[Bug c/118095] nonstring attribute cannot be applied to array of char arrays

2024-12-17 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118095 uecker at gcc dot gnu.org changed: What|Removed |Added CC||uecker at gcc dot gnu.org --

[Bug target/118057] RISC-V: Can't vectorize load and store with zvl128b

2024-12-17 Thread andrew at sifive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118057 Andrew Waterman changed: What|Removed |Added CC||andrew at sifive dot com --- Comment

[Bug target/118096] [15 regression] Bootstrap failure on SPARC with -O3 -mvis3

2024-12-17 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118096 Eric Botcazou changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug fortran/117643] F_C_STRING from F23 is missing

2024-12-17 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117643 --- Comment #8 from kargls at comcast dot net --- (In reply to kargls from comment #7) > Created attachment 59903 [details] > Complete patch with testcase included > > The new diff is a complete implementation with an included testcase. Forgot

[Bug c/118097] [15 regression] recent bug with -O2, but not -O1

2024-12-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118097 Sam James changed: What|Removed |Added Summary|recent bug with -O2, but|[15 regression] recent bug

[Bug c/118095] nonstring attribute cannot be applied to array of char arrays

2024-12-17 Thread harald at gigawatt dot nl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118095 Harald van Dijk changed: What|Removed |Added CC||harald at gigawatt dot nl --- Comment

[Bug c/118095] nonstring attribute cannot be applied to array of char arrays

2024-12-17 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118095 --- Comment #3 from Kees Cook --- (In reply to uecker from comment #1) > I think you may also need to adapt get_attr_nonstring_decl How do I walk "up" a tree to see if it is part of a multidimensional array? I don't understand what is happening

[Bug c/118095] nonstring attribute cannot be applied to array of char arrays

2024-12-17 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118095 --- Comment #4 from Kees Cook --- I've added Martin to CC. :) Martin, you wrote this code originally; do you have a moment to look at how this might best be solved?

[Bug fortran/117643] F_C_STRING from F23 is missing

2024-12-17 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117643 Jerry DeLisle changed: What|Removed |Added Status|UNCONFIRMED |NEW Assignee|unassigned at gc

[Bug libstdc++/118099] New: basic_filebuf::overflow is left inconsistent on I/O error.

2024-12-17 Thread peadar at arista dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118099 Bug ID: 118099 Summary: basic_filebuf::overflow is left inconsistent on I/O error. Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal

[Bug middle-end/118098] New: Missed Optimization of memcpy into Unconditional Branch

2024-12-17 Thread jonathan.gruber.jg at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118098 Bug ID: 118098 Summary: Missed Optimization of memcpy into Unconditional Branch Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal Pri

[Bug target/118096] [15 regression] Failed bootstrap on sparc with -O3 -mcpu=niagara4 (ICE in expand_insn, at optabs.cc:8269)

2024-12-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118096 --- Comment #4 from Sam James --- Reduced but still a bit gross: ``` void fancy_abort(char *, int, const char *) __attribute__((__noreturn__)); unsigned m_num; struct vl_ptr; struct va_heap { typedef vl_ptr default_layout; }; template struct

[Bug c/118097] [15 regression] recent bug with -O2, but not -O1

2024-12-17 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118097 --- Comment #1 from David Binderman --- Reduced C code: void printf(...); int crc32_tab[256]; int crc32_context = 4294967295, g_27, g_64, g_90 = 3, func_2___trans_tmp_4, main_i, main_j; int *g_26 = &g_27; char g_76 = 232; void crc32_byte(ch

[Bug fortran/117643] F_C_STRING from F23 is missing

2024-12-17 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117643 kargls at comcast dot net changed: What|Removed |Added Attachment #59827|0 |1 is obsolete|

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

2024-12-17 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118075 --- Comment #2 from Li Pan --- Ack and reproduced. Take a rough look it should be the strided store for memory alias because disable the sch can fix it. I will take care of it.

[Bug fortran/117643] F_C_STRING from F23 is missing

2024-12-17 Thread kargls at comcast dot net via Gcc-bugs
atch. On x86_64-*-freebsd, I have === gfortran Summary === # of expected passes71796 # of unexpected failures24 # of expected failures 274 # of unsupported tests 87 /usr/home/kargl/gcc/obj/gcc/gfortran version 15.0.0 20241217 (experimental) (

[Bug fortran/117643] F_C_STRING from F23 is missing

2024-12-17 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117643 --- Comment #11 from Jerry DeLisle --- I get a clean sweep on x86_64_linux_gnu. I will try some jerry-code to see if I can break it. If anyone else has comments, chime in. I think you submit to the list Steve.

[Bug c++/117970] [15 regression] RISC-V: xtreme-header failed to read compiled module: Bad file data

2024-12-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117970 --- Comment #8 from GCC Commits --- The master branch has been updated by Lewis Hyatt : https://gcc.gnu.org/g:88aa69f8126db9a2d5f93b5c6c54cc01d21d1c6e commit r15-6315-g88aa69f8126db9a2d5f93b5c6c54cc01d21d1c6e Author: Lewis Hyatt Date: Tue D

[Bug c++/117970] [15 regression] RISC-V: xtreme-header failed to read compiled module: Bad file data

2024-12-17 Thread lhyatt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117970 Lewis Hyatt changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug middle-end/118098] Missed Optimization of memcpy into Unconditional Branch

2024-12-17 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118098 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #1 fr

[Bug c/118097] [15 regression] recent bug with -O2, but not -O1

2024-12-17 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118097 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #4 fr

[Bug middle-end/118098] Missed Optimization of memcpy into Unconditional Branch

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

[Bug middle-end/118098] Missed Optimization of memcpy into Unconditional Branch

2024-12-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118098 --- Comment #2 from Andrew Pinski --- I am 99% sure there is a dup.

[Bug middle-end/118098] Missed Optimization of memcpy into Unconditional Branch

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

[Bug middle-end/118097] [15 regression] recent bug with -O2, but not -O1

2024-12-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118097 --- Comment #5 from Andrew Pinski --- Well the reduced testcase is undefined: void func_2(int *) { long __trans_tmp_5; int *l_1710 = &g_90; func_2___trans_tmp_4 = 7 - (__trans_tmp_5 >= g_90) - 33; __trans_tmp_5 is not set.

[Bug c/118097] [15 regression] recent bug with -O2, but not -O1

2024-12-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118097 --- Comment #3 from Sam James --- ... ditto the original. So maybe fixed already?

[Bug c/118097] [15 regression] recent bug with -O2, but not -O1

2024-12-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118097 --- Comment #2 from Sam James --- (In reply to David Binderman from comment #1) > Reduced C code: > Both locally and on godbolt, I see the same output for -O0 and -O3 for this.

[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-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117915 Sam James changed: What|Removed |Added Keywords||patch Status|NEW

  1   2   >