[Bug target/115375] [15 Regression] RISCV scan failures since 2024-05-04

2024-12-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115375 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/115375] [15 Regression] RISCV scan failures since 2024-05-04

2024-12-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115375 --- Comment #2 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:d369ddca549b5ff7d868b8f5ee139835b1f9382a commit r15-6475-gd369ddca549b5ff7d868b8f5ee139835b1f9382a Author: Jeff Law Date: Mon Dec 30

[Bug target/118036] [15 Regression] RISC-V: gcc.dg/vect/vect-alias-check-1[12].c abort

2024-12-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118036 --- Comment #4 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:509df13fbf0b3544cd39a9e0a5de11ce841bb185 commit r15-6476-g509df13fbf0b3544cd39a9e0a5de11ce841bb185 Author: Robin Dapp Date: Mon Dec 3

[Bug target/118036] [15 Regression] RISC-V: gcc.dg/vect/vect-alias-check-1[12].c abort

2024-12-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118036 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/118256] gcc fails to match the function parameter list when a reinterpret_cast with rvalue reference is involved

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

[Bug c++/118255] [12/13/14/15 Regression] Unnecessary error on variable shadowing for friend declaration inside template class with non-type parameter

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118255 Andrew Pinski changed: What|Removed |Added Summary|Unnecessary error on|[12/13/14/15 Regression]

[Bug tree-optimization/118220] [15 regression] Optimization of malloc/free Produces Undefined Behavior

2024-12-30 Thread jonathan.gruber.jg at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118220 --- Comment #3 from Jonathan Gruber --- (In reply to Richard Biener from comment #2) > I think we discussed replacing if (!p) with if (size > N) with some special N > but disregarded it with a reason I don't exactly remember. > > Yes, the testc

[Bug tree-optimization/118220] [15 regression] Optimization of malloc/free Produces Undefined Behavior

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118220 --- Comment #4 from Andrew Pinski --- (In reply to Jonathan Gruber from comment #3) > (In reply to Richard Biener from comment #2). > > Not sure if this completely answers the question, but, as far as I know, the > PTRDIFF_MAX request-size limi

[Bug c++/118245] [14/15 Regression] ICE: in convert_nontype_argument, Passing a lambda as a template argument and base class

2024-12-30 Thread terryinzaghi at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118245 --- Comment #5 from terryinzaghi --- /*Minimize Reproduce Code Based On Andrew Pinski's Example:*/ //-- can NOT work template struct Cask {}; struct CanNOTWork : Cask<([]{})> { Cask<([]{})> c10{}; }; //-- can work struct CanWork

[Bug c++/118245] [14/15 Regression] ICE: in convert_nontype_argument, Passing a lambda as a template argument and base class

2024-12-30 Thread terryinzaghi at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118245 --- Comment #6 from terryinzaghi --- x86-64 gcc 14.2 -std=c++23 -O3 https://godbolt.org/z/PcM9aMM95

[Bug libstdc++/118244] New: Errors building libstdc++-v3 for MinGW-w64

2024-12-30 Thread brechtsanders at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118244 Bug ID: 118244 Summary: Errors building libstdc++-v3 for MinGW-w64 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libst

[Bug ipa/118243] Incorrect behaviour of complex types in omp parallel regions under -O3

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118243 --- Comment #1 from Andrew Pinski --- Created attachment 60004 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60004&action=edit Testcase without openmp needed

[Bug ipa/118243] [13/14/15 Regression] Incorrect behaviour of complex types with -O3

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

[Bug c/118233] -Werror=stringop-overflow __builtin___memcpy_chk

2024-12-30 Thread costamagnagianfranco at yahoo dot it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118233 --- Comment #2 from Gianfranco --- Hello Andrew, are you suggesting that is better to use -O2 rather than exporting Wno-error=stringop-overflow, right? Right now I downgraded the optimization level, but a double confirmation is appreciated.

[Bug c++/115915] gcc fails to detect invalid friend declaration of classes in different namespaces

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115915 --- Comment #4 from Andrew Pinski --- Created attachment 60003 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60003&action=edit A better testcase This shows what is happening; basically this friend is causing to define a class extent in t

[Bug c/118233] -Werror=stringop-overflow __builtin___memcpy_chk

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118233 --- Comment #3 from Andrew Pinski --- (In reply to Gianfranco from comment #2) > Hello Andrew, are you suggesting that is better to use -O2 rather than > exporting Wno-error=stringop-overflow, right? > Right now I downgraded the optimization lev

[Bug libstdc++/118244] Errors building libstdc++-v3 for MinGW-w64

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118244 --- Comment #4 from Andrew Pinski --- (In reply to Brecht Sanders from comment #2) > ../configure --prefix=/R/winlibs14.2.0msvcrt64/inst_gcc-14.2.0/share/gcc > --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 > --enable-offload-targets=nvptx

[Bug libstdc++/118244] Errors building libstdc++-v3 for MinGW-w64

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118244 --- Comment #1 from Andrew Pinski --- >I'm trying a native Windows MinGW-w64 build of GCC15 (snapshot 15-20241229) >and I get errors when building libstdc++-v3: What configure options are you supplying?

[Bug libgomp/118243] New: Incorrect behaviour of complex types in omp parallel regions under -O3

2024-12-30 Thread kobe.bruyninckx at kuleuven dot be via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118243 Bug ID: 118243 Summary: Incorrect behaviour of complex types in omp parallel regions under -O3 Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: norma

[Bug c++/118236] gcc does not realize ambiguous friend class declaration with multiple using namespace

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118236 --- Comment #2 from Andrew Pinski --- Created attachment 60002 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60002&action=edit A better testcase This shows what is happening; basically this friend is causing to define a class I in the na

[Bug libstdc++/118244] Errors building libstdc++-v3 for MinGW-w64

2024-12-30 Thread brechtsanders at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118244 --- Comment #2 from Brecht Sanders --- ../configure --prefix=/R/winlibs14.2.0msvcrt64/inst_gcc-14.2.0/share/gcc --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --enable-offload-targets=nvptx-none --with-pkgversion=MinGW-W64 x86_64-msvcrt-p

[Bug ipa/118243] [13/14/15 Regression] Incorrect behaviour of complex types with -O3

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118243 --- Comment #3 from Andrew Pinski --- It looks like some bad interaction between IPA SRA, IPA CP and function splitting. But that as far as I can tell. Maybe the bisection can say something more.

[Bug libstdc++/118244] Errors building libstdc++-v3 for MinGW-w64

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118244 --- Comment #3 from Andrew Pinski --- config/io/basic_file_stdio.cc has not changed in this area in since 2004-04-07. I am suspecting you have some incorrect library path set or something because it is not linking against the library which cont

[Bug libstdc++/118244] Errors building libstdc++-v3 for MinGW-w64

2024-12-30 Thread brechtsanders at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118244 --- Comment #5 from Brecht Sanders --- The purpose of CFLAGS=-D__USE_MINGW_ANSI_STDIO=0 was to speed up console output, because MinGW's own printf is quite slow. I only want to speed up console output of GCC tools. Is there a better place to s

[Bug ipa/118243] [13/14/15 Regression] Incorrect behaviour of complex types with -O3

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118243 --- Comment #4 from Andrew Pinski --- > - The problem does not occur with GCC 12.4 on my machine; This is true with the reduced testcase I came up with too.

[Bug c++/118245] New: internal compiler error: in convert_nontype_argument, at cp/pt.cc:7881 WHEN use lambda AS template-arg

2024-12-30 Thread terryinzaghi at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118245 Bug ID: 118245 Summary: internal compiler error: in convert_nontype_argument, at cp/pt.cc:7881 WHEN use lambda AS template-arg Product: gcc Version: 14.2.0 Status: UNC

[Bug c/118246] New: FLT128_TRUE_MIN not defined?

2024-12-30 Thread newbie-02 at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118246 Bug ID: 118246 Summary: FLT128_TRUE_MIN not defined? Product: gcc Version: 13.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assig

[Bug tree-optimization/113662] [13/14/15 Regression] Wrong code for std::sort with fancy pointer since r13-6945-g429a7a88438cc8

2024-12-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113662 --- Comment #8 from Sam James --- Created attachment 60005 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60005&action=edit reduced.ii Partial reduction attached, still running.

[Bug target/117688] [15 Regression] RISC-V: Wrong code for .SAT_SUB

2024-12-30 Thread kristerw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117688 --- Comment #3 from Krister Walfridsson --- The test still fails for me when running on qemu with a compiler built from today's source code (64d31343d4676d8ceef9232dcd33824bc2eff330). FWIW, the function foo is generated as: foo: lui

[Bug c/118246] FLT128_TRUE_MIN not defined?

2024-12-30 Thread newbie-02 at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118246 --- Comment #5 from newbie-02 --- (In reply to Richard Biener from comment #4) > quadmath.h does not contain FLT128_TRUE_MIN or MAX I see them in float.h, also see FLT128_TRUE_MIN there as pointing define to __FLT128_DENORM_MIN__ , guarded by

[Bug tree-optimization/89579] -Wclobbered warning false positive when compiling with -Og

2024-12-30 Thread abigail.buccaneer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89579 AbigailBuccaneer changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug debug/82738] [meta-bug] issues with the -Og optimization level

2024-12-30 Thread abigail.buccaneer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82738 Bug 82738 depends on bug 89579, which changed state. Bug 89579 Summary: -Wclobbered warning false positive when compiling with -Og https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89579 What|Removed |Added -

[Bug target/117818] [12/13/14/15 regression] vec_add incorrectly generates vadduwm for vector char const inputs.

2024-12-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117818 Sam James changed: What|Removed |Added Summary|vec_add incorrectly |[12/13/14/15 regression]

[Bug target/114222] gcc.c-torture/execute/builtin-bitops-1.c fails for H8/300

2024-12-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114222 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug fortran/117643] F_C_STRING from F23 is missing

2024-12-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117643 --- Comment #30 from GCC Commits --- The master branch has been updated by Jerry DeLisle : https://gcc.gnu.org/g:efc0981077a70c4de4596f682c4aeade07ec2f17 commit r15-6471-gefc0981077a70c4de4596f682c4aeade07ec2f17 Author: Steven G. Kargl Date:

[Bug target/106544] riscv_print_operand does not check to see if the operands are valid to do INTVAL on them

2024-12-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106544 Jeffrey A. Law changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/106544] riscv_print_operand does not check to see if the operands are valid to do INTVAL on them

2024-12-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106544 --- Comment #3 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:07e532a0608640b9e57ae6fc3a0ca83c9afc75a1 commit r15-6472-g07e532a0608640b9e57ae6fc3a0ca83c9afc75a1 Author: Jeff Law Date: Mon Dec 30

[Bug fortran/106692] [12/13/14/15 Regression] Cray pointer comparison wrongly optimized away

2024-12-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106692 --- Comment #9 from anlauf at gcc dot gnu.org --- (In reply to Paul Thomas from comment #8) > Following your remarks, I tried setting the pointer decl tree static. That > resulted in the test succeeding for -O but it crashed at higher levels of >

[Bug c++/118245] internal compiler error: in convert_nontype_argument, at cp/pt.cc:7881 WHEN use lambda AS template-arg

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118245 Andrew Pinski changed: What|Removed |Added Keywords||needs-source Last reconfirmed|

[Bug c++/118245] [14/15 Regression] internal compiler error: in convert_nontype_argument, at cp/pt.cc:7881 WHEN use lambda AS template-arg

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118245 Andrew Pinski changed: What|Removed |Added Keywords||c++-lambda Summary|internal

[Bug c++/118245] internal compiler error: in convert_nontype_argument, at cp/pt.cc:7881 WHEN use lambda AS template-arg

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118245 Andrew Pinski changed: What|Removed |Added Status|WAITING |NEW Keywords|needs-source

[Bug target/113828] ICE: in riscv_expand_mult_with_const_int, at config/riscv/riscv.cc:2587 with -march=rv64ifv and vfloat32m1_t/vfloat32m4_t function args

2024-12-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113828 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug tree-optimization/113662] [13/14/15 Regression] Wrong code for std::sort with fancy pointer since r13-6945-g429a7a88438cc8

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113662 --- Comment #9 from Andrew Pinski --- There is something off by this offset_ptr.

[Bug tree-optimization/113662] [13/14/15 Regression] Wrong code for std::sort with fancy pointer since r13-6945-g429a7a88438cc8

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113662 --- Comment #10 from Andrew Pinski --- (In reply to Andrew Pinski from comment #9) > There is something off by this offset_ptr. I am almost want to say this code is undefined; it is at least questionable. >From the looks of it, it does: offse

[Bug tree-optimization/113662] [13/14/15 Regression] Wrong code for std::sort with fancy pointer since r13-6945-g429a7a88438cc8

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113662 --- Comment #11 from Andrew Pinski --- (In reply to Andrew Pinski from comment #10) > (In reply to Andrew Pinski from comment #9) > > There is something off by this offset_ptr. > > I am almost want to say this code is undefined; it is at least

[Bug c++/118214] [15 regression] OpenTTD test failure with C++ large initializer since r15-6339-g40f243e9179667

2024-12-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118214 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/118194] [12/13/14/15 regression] spurious warning with -Wmaybe-uninitialized with mlock since r11-959-gb825a22890740f

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

[Bug middle-end/118200] note_simd_array_uses crashes in SIMT region with offloading to nvptx

2024-12-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118200 --- Comment #1 from Richard Biener --- Looks like a missed copy propagation or "invalid" (unexpected) GIMPLE by having the copy in the first place. The code needs to follow the copy to the actual SIMD uid var, though simduid.12_73 = simduid.

[Bug c++/118202] [12/13/14/15 regression] ICE segmentation fault when instantiating a derived template class with default template argument and special overloaded ctor

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

[Bug tree-optimization/118206] [15 regression] libdeflate miscompiled by ifcombine since r15-6360-g6d5df5133c5dd8

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

[Bug tree-optimization/118207] [15 regression] ICE when building dosbox-staging-0.82.0 (in fold_convert_loc, at fold-const.cc:2779) since r15-6339-g40f243e9179667

2024-12-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118207 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/118211] tree-vectorize: vectorize input.cc, find_end_of_line

2024-12-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118211 Richard Biener changed: What|Removed |Added CC||tnfchris at gcc dot gnu.org --- Commen

[Bug target/118213] IVOPT causes superfluous IVs

2024-12-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118213 Richard Biener changed: What|Removed |Added Version|unknown |15.0 --- Comment #1 from Richard Biene

[Bug tree-optimization/118215] Miss runtime alias check for vectorization

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

[Bug tree-optimization/118217] Dot-product for square on difference of two small type integers

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

[Bug c++/118225] [12/13/14/15 Regression] ICE: in build_class_member_access_expr, at cp/typeck.cc:2983

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

[Bug ada/118247] New: [15 Regression] gnatbind fails to relink in the install target for powerpc64-linux-gnu and powerpc64le-linux-gnu in a cross build

2024-12-30 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118247 Bug ID: 118247 Summary: [15 Regression] gnatbind fails to relink in the install target for powerpc64-linux-gnu and powerpc64le-linux-gnu in a cross build Product: gcc

[Bug lto/118238] [15 Regression] gcc/lto-wrapper.cc uses link which is not recommend and does not exist on mingw

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

[Bug ipa/118243] [13/14/15 Regression] Incorrect behaviour of complex types with -O3 since r13-5681-ge8109bd87766be

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

[Bug d/118248] New: [15 Regression] gdc ICE (segfault) building a riscv64 cross compiler on s390x-linux-gnu

2024-12-30 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118248 Bug ID: 118248 Summary: [15 Regression] gdc ICE (segfault) building a riscv64 cross compiler on s390x-linux-gnu Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug tree-optimization/118220] [15 regression] Optimization of malloc/free Produces Undefined Behavior

2024-12-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118220 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org,

[Bug debug/118221] gdb and objdump referencing functions that do no exist in binary

2024-12-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118221 --- Comment #7 from Richard Biener --- I'll note that while -ffunction-sections produces different .text sections for different functions but there's still only a single .debug_info section and the behavior when GCing sections might end up havin

[Bug tree-optimization/118224] [15 Regression] Incorrect optimization with calloc when the size exceeds SIZE_MAX

2024-12-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118224 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/118245] internal compiler error: in convert_nontype_argument, at cp/pt.cc:7881 WHEN use lambda AS template-arg

2024-12-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118245 Richard Biener changed: What|Removed |Added Known to fail||14.2.0 Keywords|

[Bug c/118246] FLT128_TRUE_MIN not defined?

2024-12-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118246 --- Comment #4 from Richard Biener --- quadmath.h does not contain FLT128_TRUE_MIN or MAX

[Bug ada/118247] [15 Regression] gnatbind fails to relink in the install target for powerpc64-linux-gnu and powerpc64le-linux-gnu in a cross build

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

[Bug d/118248] [15 Regression] gdc ICE (segfault) building a riscv64 cross compiler on s390x-linux-gnu

2024-12-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118248 Richard Biener changed: What|Removed |Added Host||s390x-linux-gnu Target|

[Bug ipa/117695] lto got zero score on unixbench dhry2reg on trunk

2024-12-30 Thread tianyang.chou at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117695 Tianyang Zhou changed: What|Removed |Added CC||tianyang.chou at gmail dot com --- Comm

[Bug c/118246] FLT128_TRUE_MIN not defined?

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

[Bug libstdc++/118244] Errors building libstdc++-v3 for MinGW-w64

2024-12-30 Thread brechtsanders at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118244 --- Comment #6 from Brecht Sanders --- I tried building without '-D__USE_MINGW_ANSI_STDIO=0' and I still get the same undefined references.

[Bug c++/118245] internal compiler error: in convert_nontype_argument, at cp/pt.cc:7881 WHEN use lambda AS template-arg

2024-12-30 Thread terryinzaghi at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118245 --- Comment #1 from terryinzaghi --- (In reply to terryinzaghi from comment #0) > /*using gcc 14.2 */ > /*sample code will trigger the error: */ > > > template struct Cask { > Cask() { std::cout<< name() << " start" << std::endl

[Bug c/118191] missing option to read __float128 from command line argument or string

2024-12-30 Thread newbie-02 at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118191 --- Comment #5 from newbie-02 --- (In reply to Jonathan Wakely from comment #4) > This bug database is still the wrong place for your questions. > > You probably need a newer glibc, strtof128 is relatively new. :-) Thank you, i'll not try

[Bug c/118246] FLT128_TRUE_MIN not defined?

2024-12-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118246 --- Comment #2 from Andrew Pinski --- And say what exactly version of gcc you are using and what version of glibc? Etc.

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

2024-12-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117872 --- Comment #3 from GCC Commits --- The master branch has been updated by Philipp Tomsich : https://gcc.gnu.org/g:c86e1c54c6f8771d08a8c070717b80607f990f8a commit r15-6464-gc86e1c54c6f8771d08a8c070717b80607f990f8a Author: kelefth Date: Mon D

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

2024-12-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117835 --- Comment #4 from GCC Commits --- The master branch has been updated by Philipp Tomsich : https://gcc.gnu.org/g:c86e1c54c6f8771d08a8c070717b80607f990f8a commit r15-6464-gc86e1c54c6f8771d08a8c070717b80607f990f8a Author: kelefth Date: Mon D

[Bug c/118246] FLT128_TRUE_MIN not defined?

2024-12-30 Thread newbie-02 at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118246 --- Comment #3 from newbie-02 --- hello @ Andrew Pinski, thanks for fast reaction, a snippet that fails, compile with '-lquadmath' option, change commenting between FLT128_MIN and FLT128_TRUE_MIN and see that all is ok, except FLT128_T

[Bug libstdc++/118244] Errors building libstdc++-v3 for MinGW-w64

2024-12-30 Thread brechtsanders at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118244 --- Comment #7 from Brecht Sanders --- This somehow did allow the build to proceed: make -Cbuild_mingw/$RUNPLATFORM/libstdc++-v3 LDFLAGS="-L$PWD/build_mingw/gcc -lcommon"

[Bug ipa/118243] [13/14/15 Regression] Incorrect behaviour of complex types with -O3 since r13-5681-ge8109bd87766be

2024-12-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118243 Sam James changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug ipa/118243] [13/14/15 Regression] Incorrect behaviour of complex types with -O3 since r13-5681-ge8109bd87766be

2024-12-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118243 --- Comment #6 from Sam James --- .. and -fno-ipa-sra works

[Bug d/118248] [15 Regression] gdc ICE (segfault) building a riscv64 cross compiler on s390x-linux-gnu

2024-12-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118248 --- Comment #1 from Sam James --- When did it last work? The D FE hasn't changed in a while.

[Bug d/118248] [15 Regression] gdc ICE (segfault) building a riscv64 cross compiler on s390x-linux-gnu

2024-12-30 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118248 --- Comment #2 from Matthias Klose --- it's the first I was building that for 15

[Bug debug/118221] gdb and objdump referencing functions that do no exist in binary

2024-12-30 Thread trampas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118221 --- Comment #8 from Trampas Stern --- I also have the same bug in binutils: https://sourceware.org/bugzilla/show_bug.cgi?id=32506 I do not fully understand the internals what is happening but from and external perspective it appears to me that

[Bug target/118122] [15 Regression] ICE: in extract_insn, at recog.cc:2869 (unrecognizable insn) (ior:DI (reg:SI) (reg:DI)) with -O -fno-tree-ter -fno-forward-propagate

2024-12-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118122 --- Comment #2 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:64d31343d4676d8ceef9232dcd33824bc2eff330 commit r15-6470-g64d31343d4676d8ceef9232dcd33824bc2eff330 Author: Jeff Law Date: Mon Dec 30

[Bug target/118122] [15 Regression] ICE: in extract_insn, at recog.cc:2869 (unrecognizable insn) (ior:DI (reg:SI) (reg:DI)) with -O -fno-tree-ter -fno-forward-propagate

2024-12-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118122 Jeffrey A. Law changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/118036] [15 Regression] RISC-V: gcc.dg/vect/vect-alias-check-1[12].c abort

2024-12-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118036 --- Comment #3 from Jeffrey A. Law --- This is fixed by Robin's varasm.cc patch. I'm doing some testing on the updated version of that patch now.

[Bug c++/118255] New: Unnecessary error on variable shadowing for friend declaration inside template class with non-type parameter

2024-12-30 Thread wangbopku15 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118255 Bug ID: 118255 Summary: Unnecessary error on variable shadowing for friend declaration inside template class with non-type parameter Product: gcc Version: 15.0

[Bug tree-optimization/118250] New: missed optimization in multiple integer comparisons

2024-12-30 Thread jannik.glueckert at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118250 Bug ID: 118250 Summary: missed optimization in multiple integer comparisons Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug target/106544] riscv_print_operand does not check to see if the operands are valid to do INTVAL on them

2024-12-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106544 Jeffrey A. Law changed: What|Removed |Added Last reconfirmed||2024-12-30 Status|UNCONFIR

[Bug tree-optimization/118211] tree-vectorize: vectorize input.cc, find_end_of_line

2024-12-30 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118211 --- Comment #3 from Tamar Christina --- (In reply to Richard Biener from comment #2) > Looks like the alignment peeling enablement for early break didn't go in in > time? That should have fixed this by peeling scalar iterations until 's' is > a

[Bug target/118188] aarch64: worse code with -mtune=grace (vs -mtune=generic) in TSVC s4115

2024-12-30 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118188 --- Comment #3 from Tamar Christina --- This is an existing bug that's due to the backend not having been expanded to support costing of emulated gathers and scatters. Basically Adv. Simd has no gather and scatters and the vectorizer emulated t

[Bug target/116662] The value of __GCC_DESTRUCTIVE_SIZE for riscv64 could be improved

2024-12-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116662 Jeffrey A. Law changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug tree-optimization/118250] missed optimization in multiple integer comparisons (like errno tests)

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

[Bug rtl-optimization/117836] [meta-bug] favoid-store-forwarding issues

2024-12-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117836 Bug 117836 depends on bug 117835, which changed state. Bug 117835 Summary: wrong code with -O -favoid-store-forwarding -mno-push-args --param=store-forwarding-max-distance=0 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117835 What

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

2024-12-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117835 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug c++/118249] Misdiagnosing use of 'this' while doing class member access in constant evaluation

2024-12-30 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118249 --- Comment #1 from Barry Revzin --- Pretend the example had declared outer as extern array<10>& outer; Since otherwise the usage has nothing to do with P2280. gcc does correctly allow that case too.

[Bug c++/118249] New: Misdiagnosing use of 'this' while doing class member access in constant evaluation

2024-12-30 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118249 Bug ID: 118249 Summary: Misdiagnosing use of 'this' while doing class member access in constant evaluation Product: gcc Version: 14.1.0 Status: UNCONFIRMED Sev

[Bug fortran/106692] [12/13/14/15 Regression] Cray pointer comparison wrongly optimized away

2024-12-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106692 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org --- Comment #8 f

[Bug target/118251] New: i386: Use carry bits of shifts

2024-12-30 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118251 Bug ID: 118251 Summary: i386: Use carry bits of shifts Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/118252] New: i386 should implement CASE_VECTOR_SHORTEN_MODE

2024-12-30 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118252 Bug ID: 118252 Summary: i386 should implement CASE_VECTOR_SHORTEN_MODE Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: t

[Bug rtl-optimization/109592] Failure to recognize shifts as sign/zero extension

2024-12-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109592 Jeffrey A. Law changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |law at gcc dot gnu.org --- Comm

  1   2   >