[Bug c++/119222] Conversion of inf to integer is not diagnosed

2025-03-14 Thread gwen3293940943 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119222 --- Comment #5 from Gwen Fu --- Maybe the bug is related to the code below: (in gcc/fold-const.cc :fold_binary_loc) case RDIV_EXPR: /* Don't touch a floating-point divide by zero unless the mode of the constant can represent i

[Bug ipa/119012] [riscv] Bootstrap comparison failure: gcc/rust/rust-lex.o differs

2025-03-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119012 --- Comment #16 from Sam James --- (In reply to Levi Zim from comment #15) As long as the flag is passed correctly and applied to both the stage2 + stage3 builds, then the flag can't be to blame (just a trigger for it, rather than some problem

[Bug target/119286] [15 Regression] GCN vs. "middle-end: delay checking for alignment to load [PR118464]"

2025-03-14 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119286 --- Comment #1 from Thomas Schwinge --- (In reply to Thomas Schwinge from comment #0) > I found commit r15-7886-g2427793af1e545506e0315f8ec06adf73d76b3cc > "middle-end: delay checking for alignment to load [PR118464]" responsible > for a number

[Bug rtl-optimization/116398] [15 Regression] gcc.target/aarch64/ashltidisi.c fails since r15-268

2025-03-14 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116398 --- Comment #14 from Segher Boessenkool --- (In reply to Jakub Jelinek from comment #8) > Because as this PR shows, those 2->2 insn merges with no change on i2 can > make a lot of sense and allow combination on the second and following user > of

[Bug target/119168] [15 Regression] 5% 477.dealII slowdown since r15-7605-gc5752c1f01316a

2025-03-14 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119168 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P2

[Bug rtl-optimization/119285] [15 Regression] 5% slowdown of 519.lbm_r on Zen2 and Zen4 since r15-7932-ge355fe414aa3aa

2025-03-14 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119285 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P2

[Bug target/119159] [15 Regression] 6% slowdown of 520.omnetpp_r on aarch64

2025-03-14 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119159 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P2

[Bug tree-optimization/119291] New: wrong code at -O{2,3} with "-fno-thread-jumps" on x86_64-linux-gnu

2025-03-14 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
s --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.1 20250314 (experimental) (GCC) [511] % [511] % gcctk -O3 small.c; ./a.out [512] % gcct

[Bug libstdc++/111138] views::zip_transform is underconstrained for empty range pack

2025-03-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38 --- Comment #3 from GCC Commits --- The master branch has been updated by Tomasz Kaminski : https://gcc.gnu.org/g:5abe571e0276fafcc6eed27c27abb28943e67c6f commit r15-8057-g5abe571e0276fafcc6eed27c27abb28943e67c6f Author: Tomasz KamiÅski Date:

[Bug ipa/119012] [riscv] Bootstrap comparison failure: gcc/rust/rust-lex.o differs

2025-03-14 Thread rsworktech at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119012 --- Comment #17 from Levi Zim --- (In reply to Sam James from comment #16) > (In reply to Levi Zim from comment #15) > > As long as the flag is passed correctly and applied to both the stage2 + > stage3 builds, then the flag can't be to blame (

[Bug cobol/119290] New: cobol testsuite should disable non-64-bit multilibs

2025-03-14 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119290 Bug ID: 119290 Summary: cobol testsuite should disable non-64-bit multilibs Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug cobol/119290] cobol testsuite should disable non-64-bit multilibs

2025-03-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119290 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug cobol/119290] cobol testsuite should disable non-64-bit multilibs

2025-03-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119290 --- Comment #3 from Jakub Jelinek --- Yes, compile a minimal cobol program (some one liner or what). And perhaps look particularly for the sorry message as failure.

[Bug ipa/119012] [riscv] Bootstrap comparison failure: gcc/rust/rust-lex.o differs

2025-03-14 Thread rsworktech at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119012 --- Comment #15 from Levi Zim --- (In reply to Sam James from comment #14) > Thanks. Please try to reproduce it manually next. If I didn't revert that commit, then bisection of the CFLAGS shows that -Wp,-D_FORTIFY_SOURCE=3 is what causes the bu

[Bug target/119270] [15 Regression] 5% slowdown of 507.cactuBSSN_r on Intel Ice Lake

2025-03-14 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119270 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P2

[Bug tree-optimization/119291] [13/14/15 regression] wrong code at -O{2,3} with "-fno-thread-jumps" on x86_64-linux-gnu

2025-03-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119291 Sam James changed: What|Removed |Added Target Milestone|--- |13.4 Keywords|

[Bug web/119227] Does the generated HTML for cobol get installed to the website?

2025-03-14 Thread mark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119227 Mark Wielaard changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug libstdc++/119289] Incorrect behavior of std::filesystem::copy() with none options and the destination link to non-existent file

2025-03-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119289 --- Comment #2 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #1) > Libc++ behaves the same way. Actually that's not true, libc++ resolves the symlink and copies the file to that location. So it creates asdf, as you expected

[Bug c++/119292] New: code deduplication in case of throw (improvement)

2025-03-14 Thread federico at kircheis dot it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119292 Bug ID: 119292 Summary: code deduplication in case of throw (improvement) Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug c++/94061] defaulted member operator <=> defined as deleted if a base has protected member operator <=>

2025-03-14 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94061 Jason Merrill changed: What|Removed |Added Status|NEW |SUSPENDED --- Comment #11 from Jason Mer

[Bug tree-optimization/119293] New: [15 Regression] gcc.dg/vect/vect-121.c fails since r15-6811-g086031c0585985

2025-03-14 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119293 Bug ID: 119293 Summary: [15 Regression] gcc.dg/vect/vect-121.c fails since r15-6811-g086031c0585985 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: te

[Bug web/119227] Does the generated HTML for cobol get installed to the website?

2025-03-14 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119227 --- Comment #6 from David Malcolm --- Thanks for the info Mark. Sorry if this comes across as blunt, but pushing changes and waiting for a cronjob to run (in production) seems very 1990s. Is there some automated way to bring up a test instance

[Bug target/92713] ICE in libsupc++ building an offload compiler targeting amdgcn-unknown-amdhsa

2025-03-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92713 --- Comment #4 from GCC Commits --- The trunk branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:1268924a2eed4e4f4cf1f43cc996b2f0eedeb07e commit r15-8052-g1268924a2eed4e4f4cf1f43cc996b2f0eedeb07e Author: Thomas Schwinge Date:

[Bug c++/119284] Overload resolution selects wrong overload with `std::invocable` concept and `auto &` in lambda parameter

2025-03-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119284 --- Comment #3 from Jonathan Wakely --- N.B. the error didn't happen because the wrong overload was selection, it happened while doing overload resolution to see if it _should_ be selected. This problem is precisely why the monadic operations o

[Bug cobol/119214] debug volatile asm breaks assembling

2025-03-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119214 --- Comment #16 from GCC Commits --- The master branch has been updated by Robert Dubner : https://gcc.gnu.org/g:b673d7b593f63a526a85d56204f1217bc4fbf6a1 commit r15-8056-gb673d7b593f63a526a85d56204f1217bc4fbf6a1 Author: Robert Dubner Date:

[Bug cobol/119214] debug volatile asm breaks assembling

2025-03-14 Thread rdubner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119214 --- Comment #18 from Robert Dubner --- (In reply to Jakub Jelinek from comment #17) > Note, > * gengen.cc: applies if( !optimize ) test > is not properly formatted ChangeLog entry, unfortunately it got through > pre-commit hooks. > For n

[Bug libstdc++/119282] [15 Regression] views::transform producing ranges piped to views::join | ranges::to() fails to compile in constant evaluation.

2025-03-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119282 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org S

[Bug middle-end/115076] [OpenMP] "declare variant" scoping rules and visibility

2025-03-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115076 --- Comment #3 from Tobias Burnus --- The testcase mentioned in PR 115271 comment 1, i.e., the existing (xfailed): libgomp/testsuite/libgomp.fortran/declare-variant-2.f90 libgomp/testsuite/libgomp.fortran/declare-variant-2-aux.f90 is interes

[Bug tree-optimization/105616] Using regex_replace throws "maybe-uninitialized" warnings with -fsanitize=address

2025-03-14 Thread donn.seeley at everfox dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105616 Donn Seeley changed: What|Removed |Added CC||donn.seeley at everfox dot com --- Commen

[Bug ipa/116572] [14/15 Regression] Using a std::string passed to a virtual member function of a side-casted pointer spuriously ICEs (wrong code with checking disable)

2025-03-14 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116572 Martin Jambor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jamborm at gcc dot gnu.org

[Bug target/119120] Unnecessary fldl/stpl pair when assigning real or imaginary part of a complex variable

2025-03-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119120 --- Comment #5 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:d0d7c6632c2913c0243f048a15ff64aec6b6232e commit r15-8059-gd0d7c6632c2913c0243f048a15ff64aec6b6232e Author: Jakub Jelinek Date: F

[Bug tree-optimization/119291] [13/14/15 regression] wrong code at -O{2,3} with "-fno-thread-jumps" on x86_64-linux-gnu since r13-793-g8fb94fc6097c0a

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

[Bug ipa/116572] [14/15 Regression] Using a std::string passed to a virtual member function of a side-casted pointer spuriously ICEs (wrong code with checking disable)

2025-03-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116572 --- Comment #7 from GCC Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:075ec330307c5b1fe5ed166a633c718c06b01437 commit r15-8061-g075ec330307c5b1fe5ed166a633c718c06b01437 Author: Martin Jambor Date: F

[Bug tree-optimization/119294] New: Strange (buggy?) codegen when passing cleared vector as argument

2025-03-14 Thread gcc at haasn dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119294 Bug ID: 119294 Summary: Strange (buggy?) codegen when passing cleared vector as argument Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug cobol/119296] cobol, libgcobol the library uses strfromf* which are C23 and not generally available outside GLIBC

2025-03-14 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119296 Iain Sandoe changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug cobol/119296] New: cobol, libgcobol the library uses strfromf* which are C23 and not generally available outside GLIBC

2025-03-14 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119296 Bug ID: 119296 Summary: cobol, libgcobol the library uses strfromf* which are C23 and not generally available outside GLIBC Product: gcc Version: 15.0 Status: UNCONFIRME

[Bug rtl-optimization/116398] [15 Regression] gcc.target/aarch64/ashltidisi.c fails since r15-268

2025-03-14 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116398 --- Comment #20 from Richard Sandiford --- (In reply to Richard Sandiford from comment #18) > Still more than 0% of course, but nevertheless much less than before. than before the fix for PR101523 went in, I mean.

[Bug rtl-optimization/116398] [15 Regression] gcc.target/aarch64/ashltidisi.c fails since r15-268

2025-03-14 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116398 --- Comment #22 from Segher Boessenkool --- (In reply to Richard Sandiford from comment #18) > I'd been reluctant to get involved in this for fear of creating friction or > being a cook too many, No, your input is much appreciated! > but: the

[Bug rtl-optimization/116398] [15 Regression] gcc.target/aarch64/ashltidisi.c fails since r15-268

2025-03-14 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116398 --- Comment #19 from Segher Boessenkool --- (In reply to Jakub Jelinek from comment #16) > Tamar's explanation why #c0 gcc 14 code is better than gcc 15: > "the mov is a zero latency instruction. sxtw, asr and sbfx themselves are > aliases to th

[Bug rtl-optimization/116398] [15 Regression] gcc.target/aarch64/ashltidisi.c fails since r15-268

2025-03-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116398 --- Comment #24 from Jakub Jelinek --- So, I've retried the #c10 testing with the #c18 patch modified to do -int limit = i2_unchanged ? 1200 : INT_MAX; +int limit = i2_unchanged ? (getenv ("COMBLIM") ? atoi (getenv ("COMBLIM")) : 1200) :

[Bug rtl-optimization/116398] [15 Regression] gcc.target/aarch64/ashltidisi.c fails since r15-268

2025-03-14 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116398 --- Comment #23 from Richard Sandiford --- (In reply to Segher Boessenkool from comment #22) > (In reply to Richard Sandiford from comment #18) > > but: the problem in PR101523 was that, after each > > successful 2->2 attempt, distribute_links w

[Bug cobol/119244] cobol/libgcobol should allow libquadmath to provide 128b floating support.

2025-03-14 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119244 Iain Sandoe changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug rtl-optimization/116398] [15 Regression] gcc.target/aarch64/ashltidisi.c fails since r15-268

2025-03-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116398 --- Comment #25 from Jakub Jelinek --- And some further attempts in the 1500..5000 range: $ for i in 1500 2000 2500 3000 3500 4000 5000; do echo COMBLIM=$i time ./cc1plus -quiet -nostdinc -O2 pr101523.ii -mlong-double-128 -march=z196 -fpreproce

[Bug tree-optimization/119293] [15 Regression] gcc.dg/vect/vect-121.c fails since r15-6811-g086031c0585985

2025-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119293 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0

[Bug rtl-optimization/119285] [15 Regression] 5% slowdown of 519.lbm_r on Zen2 and Zen4 since r15-7932-ge355fe414aa3aa

2025-03-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119285 Sam James changed: What|Removed |Added Priority|P2 |P1 --- Comment #2 from Sam James --- P1 un

[Bug tree-optimization/119299] Jump followed by jump not optimized.

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

[Bug middle-end/119291] [13/14/15 regression] wrong code at -O{2,3} with "-fno-thread-jumps" on x86_64-linux-gnu since r13-793-g8fb94fc6097c0a

2025-03-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119291 --- Comment #5 from Sam James --- (In reply to Andrew Pinski from comment #4) > Created attachment 60756 [details] > This should do exactly what that patch did > > It looks like a different change caused this version too. r13-673-gd863ba23fb16

[Bug target/47253] Conditional jump to tail function is not generated

2025-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47253 Andrew Pinski changed: What|Removed |Added CC||hiraditya at msn dot com --- Comment #19

[Bug rtl-optimization/114518] [15 regression] gcc.target/powerpc/combine-2-2.c fails after r14-9692-g839bc42772ba7a

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

[Bug target/117069] [15 Regression] gcc.target/i386/apx-ndd-tls-1b.c since r15-268-g9dbff9c05520a7

2025-03-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117069 --- Comment #7 from Sam James --- This stopped failing for me around: commit 2bc3ea210565dc7cdbba9adb31acceefed406254 Author: Sam James Date: Fri Nov 22 15:20:45 2024 + saving uncommitted changes in /etc prior to emerge run diff --

[Bug rtl-optimization/116028] [15 Regression] gcc.dg/pr10474.c test failure since r15-1619-g3b9b8d6cfdf593

2025-03-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116028 --- Comment #18 from Sam James --- Is this failing still after r15-7400?

[Bug middle-end/119297] New: Dead local vector variable isn't removed

2025-03-14 Thread hjl.tools at gmail dot com via Gcc-bugs
.size set2, .-set2 .ident "GCC: (GNU) 15.0.1 20250314 (experimental)" .section.note.GNU-stack,"",@progbits [hjl@gnu-tgl-3 gcc]$

[Bug tree-optimization/87576] Warnings (array-bounds,stringop-overflow) emitted on branch never taken

2025-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87576 Andrew Pinski changed: What|Removed |Added Known to fail|15.0| Known to work|

[Bug rtl-optimization/116028] [15 Regression] gcc.dg/pr10474.c test failure since r15-1619-g3b9b8d6cfdf593

2025-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116028 --- Comment #19 from Andrew Pinski --- (In reply to Sam James from comment #18) > Is this failing still after r15-7400? Yes this one is still failing for aarch64: FAIL: gcc.dg/pr10474.c scan-rtl-dump pro_and_epilogue "Performing shrink-wrapping

[Bug libstdc++/119029] [13/14/15 regression] abi_check FAILs on Solaris with gld

2025-03-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119029 Jakub Jelinek changed: What|Removed |Added Summary|[14/15 regression] |[13/14/15 regression]

[Bug analyzer/119104] Regression in memcpy(3) if [[gnu::nonnull_if_nonzero]] is used instead of [[gnu::nonnull]]; unclear docs

2025-03-14 Thread alx at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119104 --- Comment #7 from Alejandro Colomar --- alx@devuan:~/tmp$ cat nninz.c | grep -Tn ^ 1:#include 2: 3:extern int any; 4: 5:[[gnu::nonnull]]

[Bug libstdc++/119029] [15 regression] abi_check FAILs on Solaris with gld

2025-03-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119029 --- Comment #11 from Sam James --- (In reply to Rainer Orth from comment #0) > That already happened between 20240405 > (592536eb3c0a97a55b1019ff0216ef77e6ca847e) and 20240412 > (a76f236e084cbd02e4e3711cdfc3191dc7eeb460). > The former commit i

[Bug libstdc++/119029] [14/15 regression] abi_check FAILs on Solaris with gld

2025-03-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119029 Sam James changed: What|Removed |Added Priority|P1 |P2 Summary|[15 regression] abi_c

[Bug cobol/119214] debug volatile asm breaks assembling

2025-03-14 Thread rdubner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119214 --- Comment #20 from Robert Dubner --- (In reply to Richard Biener from comment #15) > (In reply to Robert Dubner from comment #14) > > (In reply to Richard Biener from comment #13) > > > (In reply to Robert Dubner from comment #7) > > > [...]

[Bug cobol/119290] cobol testsuite should disable non-64-bit multilibs

2025-03-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119290 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/119293] [15 Regression] gcc.dg/vect/vect-121.c fails since r15-6811-g086031c0585985

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

[Bug target/119300] New: ICE: in extract_insn, at recog.cc:2882 with -msoft-float -mfpmath=387 and __builtin_ia32_rsqrtf()

2025-03-14 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119300 Bug ID: 119300 Summary: ICE: in extract_insn, at recog.cc:2882 with -msoft-float -mfpmath=387 and __builtin_ia32_rsqrtf() Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug tree-optimization/119299] Jump followed by jump not optimized.

2025-03-14 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119299 --- Comment #3 from H.J. Lu --- (In reply to AK from comment #0) ... > https://godbolt.org/z/3xh6Mxq4j FYI, https://gitlab.com/x86-gcc/gcc/-/tree/users/hjl/condjmp/gcc-16?ref_type=heads generates: .globl g1 .type g1, @func

[Bug target/119300] ICE: in extract_insn, at recog.cc:2882 with -msoft-float -mfpmath=387 and __builtin_ia32_rsqrtf()

2025-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119300 --- Comment #1 from Andrew Pinski --- __builtin_ia32_rsqrtf most likely not be turned on for soft-float.

[Bug libstdc++/119029] [13/14/15 regression] abi_check FAILs on Solaris with gld

2025-03-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119029 Jakub Jelinek changed: What|Removed |Added Target Milestone|15.0|13.4

[Bug target/119298] 538.imagick_r is faster when compiled with GCC 14.2 and -Ofast -flto -march=native than with master on Zen5

2025-03-14 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119298 --- Comment #3 from Martin Jambor --- Created attachment 60759 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60759&action=edit Output of -fopt-info-vec in the slow case Output of -fopt-info-vec in the slow case

[Bug tree-optimization/119287] New: [15 regression] ICE when building linux-6.12.19 (error: type mismatch in binary expression)

2025-03-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
des --with-gxx-libcxx-include-dir=/usr/include/c++/v1 --with-build-config=bootstrap-cet Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.1 20250314 (experimental) 81203220af87714fd0f3170a2043ab5d95353eef (Gentoo Hardened 15.0. p, commit c80eba1e1f25987e05fb9724b199fdb464becb37) ```

[Bug target/114978] [14/15 regression] 548.exchange2_r 14%-28% regressions on Loongarch64 after gcc 14 snapshot 20240317

2025-03-14 Thread chz0808 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114978 --- Comment #28 from Chen Chen --- I have seen that this regression was fixed on gcc15. Is there any plan to fix it on gcc14 as well? Thanks. (In reply to chenglulu from comment #26) > (In reply to Tianyang Chou from comment #24) > > (In reply

[Bug cobol/119283] cobol FE uses memrchr unconditionally.

2025-03-14 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119283 --- Comment #2 from Iain Sandoe --- (In reply to Richard Biener from comment #1) > I wonder if it could just use strrchr as fallback? IDK if cobol strings are always null-terminated?

[Bug tree-optimization/119287] [15 regression] ICE when building linux-6.12.19 (error: type mismatch in binary expression)

2025-03-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119287 Sam James changed: What|Removed |Added Keywords||ice-checking, |

[Bug libstdc++/119029] [14/15 regression] abi_check FAILs on Solaris with gld

2025-03-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119029 --- Comment #12 from Jakub Jelinek --- I think it started with r14-321-g9a41d2cdbcd2af77a3a91a840a3a13f0eb39971b

[Bug tree-optimization/119299] Jump followed by jump not optimized.

2025-03-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119299 --- Comment #1 from Sam James --- H.J. may be working on this for 16 (if so, dupe).

[Bug rtl-optimization/116398] [15 Regression] gcc.target/aarch64/ashltidisi.c fails since r15-268

2025-03-14 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116398 --- Comment #26 from Segher Boessenkool --- (In reply to Richard Sandiford from comment #23) > Yeah, I'd wondered about limiting it an all cases too. Definitely seems > worth trying. But given that we're in stage 4, maybe it would make sense t

[Bug cobol/119295] cobol, libcobol uses random_r which is GLIBC specific

2025-03-14 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119295 Iain Sandoe changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/119294] Strange (buggy?) codegen when passing cleared vector as argument

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

[Bug cobol/119295] New: cobol, libcobol uses random_r which is GLIBC specific

2025-03-14 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119295 Bug ID: 119295 Summary: cobol, libcobol uses random_r which is GLIBC specific Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: build Severity: normal P

[Bug tree-optimization/119294] Could improve vector formation when generated using a loop (vector char)

2025-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119294 Andrew Pinski changed: What|Removed |Added Summary|Strange codegen when|Could improve vector

[Bug rtl-optimization/119297] Dead local vector variable isn't removed

2025-03-14 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119297 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Component|middle-end

[Bug middle-end/119291] [13/14/15 regression] wrong code at -O{2,3} with "-fno-thread-jumps" on x86_64-linux-gnu since r13-793-g8fb94fc6097c0a

2025-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119291 --- Comment #4 from Andrew Pinski --- Created attachment 60756 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60756&action=edit This should do exactly what that patch did It looks like a different change caused this version too.

[Bug rtl-optimization/119297] Dead local vector variable isn't removed

2025-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119297 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug tree-optimization/119294] Could improve vector formation when generated using a loop (vector char)

2025-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119294 Andrew Pinski changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment

[Bug tree-optimization/119294] Could improve vector formation when generated using a loop (vector char)

2025-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119294 --- Comment #3 from Andrew Pinski --- >It's furthermore strange that `set_indirect()` compiles to different code than >`set()`, even though the former (should) just directly inline the latter. That is because in the set case the argument stil

[Bug libstdc++/119282] [15 Regression] views::transform producing ranges piped to views::join | ranges::to() fails to compile in constant evaluation.

2025-03-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119282 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug target/119298] 538.imagick_r is faster when compiled with GCC 14.2 and -Ofast -flto -march=native than with master on Zen5

2025-03-14 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119298 --- Comment #1 from Martin Jambor --- Created attachment 60757 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60757&action=edit Perf annotate of the slow case Perf annotate of the slow case

[Bug target/119298] 538.imagick_r is faster when compiled with GCC 14.2 and -Ofast -flto -march=native than with master on Zen5

2025-03-14 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119298 --- Comment #2 from Martin Jambor --- Created attachment 60758 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60758&action=edit Perf annotate of the fast case Perf annotate of the fast case

[Bug target/119298] 538.imagick_r is faster when compiled with GCC 14.2 and -Ofast -flto -march=native than with master on Zen5

2025-03-14 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119298 --- Comment #4 from Martin Jambor --- Created attachment 60760 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60760&action=edit Output of -fopt-info-vec in the fast case Output of -fopt-info-vec in the fast case

[Bug target/119298] New: 538.imagick_r is faster when compiled with GCC 14.2 and -Ofast -flto -march=native than with master on Zen5

2025-03-14 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119298 Bug ID: 119298 Summary: 538.imagick_r is faster when compiled with GCC 14.2 and -Ofast -flto -march=native than with master on Zen5 Product: gcc Version: 15.0

[Bug tree-optimization/119294] Could improve vector formation when generated using a loop (vector char)

2025-03-14 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119294 --- Comment #5 from H.J. Lu --- CSE turns (insn 18 16 19 2 (set (mem/c:V16QI (plus:DI (reg/f:DI 19 frame) (const_int -16 [0xfff0])) [0 MEM [(void *)&x]+0 S16 A128]) (subreg:V16QI (reg:V4SI 111) 0)) "x.c":11:

[Bug middle-end/119291] [13/14/15 regression] wrong code at -O{2,3} with "-fno-thread-jumps" on x86_64-linux-gnu since r13-793-g8fb94fc6097c0a

2025-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119291 --- Comment #3 from Andrew Pinski --- Works on aarch64 and the gimple level loops the same between x86_64 and aarch64. I suspect this is either a target issue or a rtl optimization issue.

[Bug cobol/119290] cobol testsuite should disable non-64-bit multilibs

2025-03-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119290 --- Comment #4 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:b2de4b0926bddbb97b991dd95592c714ee519e1e commit r15-8062-gb2de4b0926bddbb97b991dd95592c714ee519e1e Author: Jakub Jelinek Date: F

[Bug libstdc++/119029] [15 regression] abi_check FAILs on Solaris with gld

2025-03-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119029 --- Comment #10 from Jakub Jelinek --- (In reply to r...@cebitec.uni-bielefeld.de from comment #8) > > --- Comment #4 from Jakub Jelinek --- > > Does it have in that case the desired effect? I mean, does Solaris dynamic > > linker complain wit

[Bug libstdc++/119282] [15 Regression] views::transform producing ranges piped to views::join | ranges::to() fails to compile in constant evaluation.

2025-03-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119282 --- Comment #4 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:2f03a8d7be9775312c50abdc99109aaf8641bda3 commit r15-8063-g2f03a8d7be9775312c50abdc99109aaf8641bda3 Author: Patrick Palka Date: F

[Bug tree-optimization/79637] documentation for --param max-fsm-thread-length is confusing

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

[Bug tree-optimization/79637] documentation for --param max-fsm-thread-length is confusing

2025-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79637 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug tree-optimization/87576] Warnings (array-bounds,stringop-overflow) emitted on branch never taken

2025-03-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87576 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #8 fro

[Bug libstdc++/119282] [15 Regression] views::transform producing ranges piped to views::join | ranges::to() fails to compile in constant evaluation.

2025-03-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119282 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/87576] Warnings (array-bounds,stringop-overflow) emitted on branch never taken

2025-03-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87576 --- Comment #9 from Sam James --- Created attachment 60762 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60762&action=edit a.ii.xz (gcc 12) g++ a.ii -o a -O3 -g -DDEBUG -D_DEBUG -Wno-array-bounds -Wall -Wextra -pedantic -Wno-unused-param

[Bug tree-optimization/119299] New: Jump followed by jump not optimized.

2025-03-14 Thread hiraditya at msn dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119299 Bug ID: 119299 Summary: Jump followed by jump not optimized. Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-opt

[Bug middle-end/119279] Specifying frame pointer dependency in inline asm

2025-03-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119279 --- Comment #3 from Richard Biener --- I think asm ("" : : "g" (__builtin_frame_address_(0))) and using that input as frame pointer looks spot-on semantically, is that what you are actually using or are you then using %rbp anyway in the assemb

[Bug libstdc++/119282] New: Views

2025-03-14 Thread email at miropalmu dot cc via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119282 Bug ID: 119282 Summary: Views Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned a

  1   2   >