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

2025-03-16 Thread rsworktech at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119012 --- Comment #19 from Levi Zim --- Another trigger flag, a little surprisingly, is -ffile-prefix-map=/build/gcc/src=/usr/src/debug/gcc in CFLAGS

[Bug rtl-optimization/119307] New: [15 Regression] ICE: in lra_rtx_hash, at lra.cc:1782 with -Os -mx32 -maddress-mode=long -fprofile-generate -ftrapv

2025-03-16 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119307 Bug ID: 119307 Summary: [15 Regression] ICE: in lra_rtx_hash, at lra.cc:1782 with -Os -mx32 -maddress-mode=long -fprofile-generate -ftrapv Product: gcc Version:

[Bug cobol/119308] New: Cobol ICE on "hello world" on POWER in rs6000_output_function_epilogue

2025-03-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119308 Bug ID: 119308 Summary: Cobol ICE on "hello world" on POWER in rs6000_output_function_epilogue Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug cobol/119213] gcc/cobol/Make-lang.in: suspicious -DEXEC_LIB with hardcoded lib64

2025-03-16 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119213 Iain Sandoe changed: What|Removed |Added CC||iains at gcc dot gnu.org --- Comment #5 f

[Bug cobol/119241] cobol Front end uses host floating point (128b) support

2025-03-16 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119241 --- Comment #5 from Iain Sandoe --- In my experiments with x86_64 Darwin and Linux, I have managed to convert the library to use libquadmath. I started to try and apply Jakub's suggestions to the FE for this BZ, since what it is doing at the mo

[Bug ada/119309] New: Compiler continues to run indefinitely while processing code that contains errors.

2025-03-16 Thread d.van.raaij at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119309 Bug ID: 119309 Summary: Compiler continues to run indefinitely while processing code that contains errors. Product: gcc Version: 15.0 Status: UNCONFIRMED Sever

[Bug cobol/119301] cobol FE uses get_current_dir_name unconditionally

2025-03-16 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119301 Iain Sandoe changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|iains at gcc dot g

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

2025-03-16 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 Assignee|iains at gcc dot gnu.org |unassigned at gcc dot gnu.org

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

2025-03-16 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119295 --- Comment #1 from Iain Sandoe --- Created attachment 60775 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60775&action=edit Patch tested on x86_64 Darwin and Linux Unfortunately, we don't have a fallback on Darwin other than to use the

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

2025-03-16 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 Status|ASSIGNED|NEW Assignee|iains at gcc dot g

[Bug cobol/119213] gcc/cobol/Make-lang.in: suspicious -DEXEC_LIB with hardcoded lib64

2025-03-16 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119213 --- Comment #6 from Iain Sandoe --- Created attachment 60776 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60776&action=edit Patch to remove std= and forced lib paths This removes these from the CPPSPEC in the cobol Make-lang.in and also

[Bug rtl-optimization/119310] New: Unnecessary instructions on std::bit_cast of an array of 3 strongly-typed floats

2025-03-16 Thread bernardo at bernardosulzbach dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119310 Bug ID: 119310 Summary: Unnecessary instructions on std::bit_cast of an array of 3 strongly-typed floats Product: gcc Version: 14.2.0 Status: UNCONFIRMED Sever

[Bug ada/119309] Compiler continues to run indefinitely while processing code that contains errors

2025-03-16 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119309 Eric Botcazou changed: What|Removed |Added Last reconfirmed||2025-03-16 Keywords|

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

2025-03-16 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119244 --- Comment #9 from Iain Sandoe --- Created attachment 60777 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60777&action=edit Initial patch (working on x86_64 darwin and linux) The relationship between the library and the FE remains uncle

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

2025-03-16 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 Status|ASSIGNED|NEW Assignee|iains at gcc dot g

[Bug modula2/115111] Incorrect line debugging locations at start of WHILE loop.

2025-03-16 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115111 Gaius Mulley changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug cobol/119211] [15 Regression] Cobol GCC 15 release checklist

2025-03-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119211 Thomas Koenig changed: What|Removed |Added Depends on||119308 CC|

[Bug cobol/119211] [15 Regression] Cobol GCC 15 release checklist

2025-03-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119211 --- Comment #5 from Sam James --- (In reply to Thomas Koenig from comment #4) > Added PR 119308, "Hello World" does not work on Power. I don't consider that a release blocker, personally, as it's documented (or should be) that it only works on

[Bug cobol/119211] [15 Regression] Cobol GCC 15 release checklist

2025-03-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119211 --- Comment #6 from Thomas Koenig --- (In reply to Sam James from comment #5) > (In reply to Thomas Koenig from comment #4) > > Added PR 119308, "Hello World" does not work on Power. > > I don't consider that a release blocker, personally, as i

[Bug modula2/115111] Incorrect line debugging locations at start of WHILE loop.

2025-03-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115111 --- Comment #3 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:5ed0564f2879db35106272556ba91f028177c5cd commit r15-8074-g5ed0564f2879db35106272556ba91f028177c5cd Author: Gaius Mulley Date: Sun

[Bug modula2/115111] Incorrect line debugging locations at start of WHILE loop.

2025-03-16 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115111 Gaius Mulley changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

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

2025-03-16 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114978 --- Comment #33 from Hongtao Liu --- I have a fix in ivopt for x86 in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115842#c6, you may try to see if that helps?

[Bug preprocessor/118725] libcpp build failure with NLS enabled

2025-03-16 Thread andress.barajas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118725 Andy B changed: What|Removed |Added CC||andress.barajas at gmail dot com --- Comment

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

2025-03-16 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117069 --- Comment #8 from Hongtao Liu --- (In reply to Hongtao Liu from comment #6) > It looks like the testcase is fragile, it's supposed to check the compiler > ability of generating code_6_gottpoff_reloc instruction, but failed since > there's a se

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

2025-03-16 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117069 --- Comment #9 from Hongtao Liu --- (In reply to Sam James from comment #7) > This stopped failing for me around: > > commit 2bc3ea210565dc7cdbba9adb31acceefed406254 > Author: Sam James > Date: Fri Nov 22 15:20:45 2024 + > > saving

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

2025-03-16 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117069 --- Comment #11 from H.J. Lu --- (In reply to H.J. Lu from comment #10) > (In reply to Hongtao Liu from comment #8) > > (In reply to Hongtao Liu from comment #6) > > > It looks like the testcase is fragile, it's supposed to check the compiler >

[Bug c/119315] [15 Regression] ICE: verify_gimple failed during IPA pass remove_symbols with -Os and nested function with VLA types

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

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

2025-03-16 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114978 --- Comment #34 from chenglulu --- (In reply to Xi Ruoyao from comment #29) > For 15 r15-7525 is intended for this issue. But I don't know if it's a good > idea to backport it, as it's only a workaround, not a proper fix. > > Could someone try

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

2025-03-16 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117069 --- Comment #10 from H.J. Lu --- (In reply to Hongtao Liu from comment #8) > (In reply to Hongtao Liu from comment #6) > > It looks like the testcase is fragile, it's supposed to check the compiler > > ability of generating code_6_gottpoff_reloc

[Bug target/119172] [12/13/14 regression] macOS SDK version is not set by gcc

2025-03-16 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119172 Iain Sandoe changed: What|Removed |Added Keywords||wrong-code --- Comment #2 from Iain Sando

[Bug c/119311] musttail attribute is lost sometimes as single statement for then part of an if statement

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

[Bug middle-end/113546] [13/14/15 Regression] aarch64: bootstrap-debug-lean broken with -fcompare-debug failure since r13-2921-gf1adf45b17f7f1

2025-03-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113546 --- Comment #13 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:c5ca45b8069229b6ad9bc845f03f46340f6316d7 commit r15-8075-gc5ca45b8069229b6ad9bc845f03f46340f6316d7 Author: Andrew Pinski Date: S

[Bug target/118485] [15 Regression] gnat fails to build on m68k-linux-gnu-gnu

2025-03-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118485 --- Comment #8 from Sam James --- It builds OK on hppa too which is 32-bit BE.

[Bug middle-end/113546] [13/14 Regression] aarch64: bootstrap-debug-lean broken with -fcompare-debug failure since r13-2921-gf1adf45b17f7f1

2025-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113546 Andrew Pinski changed: What|Removed |Added Summary|[13/14/15 Regression] |[13/14 Regression] aarch64:

[Bug debug/108784] '-fcompare-debug' failure (length) w/ --param ira-simple-lra-insn-threshold=1

2025-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108784 --- Comment #4 from Andrew Pinski --- (In reply to Arseny Solokha from comment #1) > (In reply to Arseny Solokha from comment #0) > > I believe it has nothing to do w/ > > -fharden-conditional-branches, as there are many testcases that fail w/ t

[Bug c/119314] New: Possibly wrong code generation for branch after tail function call

2025-03-16 Thread root at hsnovel dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119314 Bug ID: 119314 Summary: Possibly wrong code generation for branch after tail function call Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal

[Bug middle-end/119314] Possibly wrong code generation for branch after tail function call

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

[Bug middle-end/119314] Possibly wrong code generation for branch after tail function call

2025-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119314 --- Comment #2 from Andrew Pinski --- See https://gcc.gnu.org/bugs/#need Also try using -fsanitize=address,undefined and fixing all of the issues that it reports if any.

[Bug middle-end/119314] Possibly wrong code generation for branch after tail function call

2025-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119314 --- Comment #3 from Andrew Pinski --- Before `DEBUG_LOG_INFO("2 Data %p\n", dest.Data);` is there any calls before hand? Like say to memcpy? or anything that might have the nonnull attribute on it and uses dest.Data? Note memcpy before C23 was

[Bug lto/85047] cdd2a01 (and others) FAIL with -flto (VLA type in struct causes issues)

2025-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85047 Andrew Pinski changed: What|Removed |Added CC||kristerw at gcc dot gnu.org --- Comment

[Bug middle-end/119315] New: ICE: verify_gimple failed during IPA pass remove_symbols with -Os

2025-03-16 Thread kristerw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119315 Bug ID: 119315 Summary: ICE: verify_gimple failed during IPA pass remove_symbols with -Os Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug target/119172] [12/13/14 regression] macOS SDK version is not set by gcc

2025-03-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119172 --- Comment #1 from GCC Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:952e17223d3a9809a32be23f86f77166b5860b36 commit r15-8073-g952e17223d3a9809a32be23f86f77166b5860b36 Author: Iain Sandoe Date: Sun

[Bug c/119311] New: musttail attribute ineffective at -O0 and -O1

2025-03-16 Thread bruno at clisp dot org via Gcc-bugs
he attached foo.c with option -S. Expected: No "call gcd" instruction inside function 'gcd'. Actual: With -O0 and -O1: Two "call gcd" instructions inside function 'gcd'. Seen with with GCC version 15.0.1 20250316 (from godbolt.org).

[Bug c/119312] New: Constant array not allocated in read-only segment

2025-03-16 Thread bruno at clisp dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119312 Bug ID: 119312 Summary: Constant array not allocated in read-only segment Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug cobol/119241] cobol Front end uses host floating point (128b) support

2025-03-16 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119241 --- Comment #7 from Iain Sandoe --- (In reply to Robert Dubner from comment #6) > (In reply to Iain Sandoe from comment #5) > > In my experiments with x86_64 Darwin and Linux, I have managed to convert > > the library to use libquadmath. > > >

[Bug c++/119316] new expression incorrectly required to have constant expression size inside a requires constraint of a template function

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

[Bug target/118485] [15 Regression] gnat fails to build on m68k-linux-gnu-gnu

2025-03-16 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118485 --- Comment #7 from John Paul Adrian Glaubitz --- (In reply to Matthias Klose from comment #4) > I don't see any other gnat failures on 32bit archs. But I think m68k is the > only big-endian one. powerpc is 32-bit big-endian as well.

[Bug target/116256] [15 Regression] RISC-V: testsuite failures since late-combine-pass

2025-03-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116256 --- Comment #9 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:9d68a2a67351fc5b56262c0028ef8fd1d1466627 commit r15-8080-g9d68a2a67351fc5b56262c0028ef8fd1d1466627 Author: Jeff Law Date: Sun Mar 16

[Bug middle-end/119314] Possibly wrong code generation for branch after tail function call

2025-03-16 Thread root at hsnovel dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119314 --- Comment #4 from Novel --- (In reply to Andrew Pinski from comment #1) > >The code is a part of a much larger proprietary codebase, so it's not > >possible for me to share the exact code that reproduces it. I am writing > >this report to in

[Bug c/119315] [15 Regression] ICE: verify_gimple failed during IPA pass remove_symbols with -Os and nested function with VLA types

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

[Bug middle-end/119314] Possibly wrong code generation for branch after tail function call

2025-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119314 --- Comment #5 from Andrew Pinski --- (In reply to Novel from comment #0) > ; CODE XREF from sym.IGNORE_THIS_ITS_FUNCTION_NAME @ 0x8bcc(x) > ; 0x28f58 > lea rdi, section..got

[Bug c++/119316] New: new expression incorrectly required to have constant expression size

2025-03-16 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119316 Bug ID: 119316 Summary: new expression incorrectly required to have constant expression size Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[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

2025-03-16 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118061 uecker at gcc dot gnu.org changed: What|Removed |Added Keywords||patch --- Comment #4 from ue

[Bug rtl-optimization/105653] [12/13/14/15 Regression] '-fcompare-debug' failure w/ -O2

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

[Bug tree-optimization/112374] [14 Regression] Failed bootstrap with `--with-arch=skylake-avx512 --with-cpu=skylake-avx512`, causes a comparison failure since r14-5076-g01c18f58d37865d5f3bbe93e666183b

2025-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112374 --- Comment #50 from Andrew Pinski --- (In reply to Andrew Pinski from comment #20) > (In reply to Jakub Jelinek from comment #19) > > Guess I'll start another reduction with additional -gno-statement-frontiers. > Likewise. FYI, both of these a

[Bug c/118765] c23 tag matching broken for multiple redeclarations of typedefs

2025-03-16 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118765 --- Comment #15 from uecker at gcc dot gnu.org --- PATCH 1: https://gcc.gnu.org/pipermail/gcc-patches/2025-March/677746.html PATCH 2: https://gcc.gnu.org/pipermail/gcc-patches/2025-March/677747.html

[Bug c++/48379] -Wdouble-promotion warns for promotion by varargs

2025-03-16 Thread adam.f.badura at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48379 Adam Badura changed: What|Removed |Added CC||adam.f.badura at gmail dot com --- Comment

[Bug fortran/60560] Problem allocating character array with assumed length

2025-03-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60560 --- Comment #4 from GCC Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:b2b139ddee763dd5fd71a3368e5e66399e3c52a3 commit r15-8079-gb2b139ddee763dd5fd71a3368e5e66399e3c52a3 Author: Harald Anlauf Date: Sa

[Bug c++/48379] -Wdouble-promotion warns for promotion by varargs

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

[Bug c++/48379] -Wdouble-promotion warns for promotion by varargs

2025-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48379 --- Comment #8 from Andrew Pinski --- >As has already been said, nothing can he done about the promotion in this >context, so it's not worth warning about. That is NOT true in C23 since you could use _Float32 instead. Basically the warning here

[Bug c/119311] musttail attribute is lost sometimes as single statement for then part of an if statement

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

[Bug middle-end/119312] Constant array not allocated in read-only segment

2025-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119312 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug middle-end/119312] Constant array not allocated in read-only segment

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

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

2025-03-16 Thread gwen3293940943 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119222 --- Comment #12 from Gwen Fu --- I know how this bug generate this time (100%)! This is because the funx conversion_warning (in c-family/c-warn.cc , the helper function for warnings_for_convert_and_check)lacks some checks when expr is of type do

[Bug middle-end/119310] Unnecessary instructions on std::bit_cast of an array of 3 strongly-typed floats

2025-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119310 Andrew Pinski changed: What|Removed |Added Component|rtl-optimization|middle-end Keywords|

[Bug fortran/60560] Problem allocating character array with assumed length

2025-03-16 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60560 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|-

[Bug fortran/68241] [meta-bug] [F03] Deferred-length character

2025-03-16 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68241 Bug 68241 depends on bug 60560, which changed state. Bug 60560 Summary: Problem allocating character array with assumed length https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60560 What|Removed |Added -

[Bug bootstrap/119313] New: Internal compiler error when bootstrapping gcc cross compiler targeting powerpc64-apple-darwin8

2025-03-16 Thread edoardo762 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119313 Bug ID: 119313 Summary: Internal compiler error when bootstrapping gcc cross compiler targeting powerpc64-apple-darwin8 Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug target/119313] Internal compiler error when bootstrapping gcc cross compiler targeting powerpc64-apple-darwin8

2025-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119313 --- Comment #1 from Andrew Pinski --- // ../../../../libgcc/unwind.inc:141:1: internal compiler error: in rs6000_emit_prologue, at config/rs6000/rs6000-logue.cc:3118 // 141 | } // | ^ // 0x19f636f internal_error(char const*, ...) //

[Bug target/119313] Internal compiler error when bootstrapping gcc cross compiler targeting powerpc64-apple-darwin8

2025-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119313 --- Comment #2 from Andrew Pinski --- /* The SAVE_WORLD and RESTORE_WORLD routines make a number of assumptions about the offsets of various bits of the stack frame. */ gcc_assert (info->gp_save_offset == -220

[Bug modula2/115111] Incorrect line debugging locations at start of WHILE loop.

2025-03-16 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115111 --- Comment #2 from Gaius Mulley --- Created attachment 60780 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60780&action=edit Proposed fix for while end debugging info This patch corrects the END token location and fixes the debugging li

[Bug cobol/119241] cobol Front end uses host floating point (128b) support

2025-03-16 Thread rdubner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119241 --- Comment #6 from Robert Dubner --- (In reply to Iain Sandoe from comment #5) > In my experiments with x86_64 Darwin and Linux, I have managed to convert > the library to use libquadmath. > > I started to try and apply Jakub's suggestions to

[Bug rtl-optimization/118615] [15 Regression] Bootstrap failure on aarch64 after r15-2810

2025-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615 --- Comment #24 from Andrew Pinski --- (In reply to Andrew Pinski from comment #23) > Created attachment 60785 [details] > Fully reduced testcase > > `./xgcc -B. -O2 -g -fcompare-debug -S t.c -fschedule-insns` is enough now. > This fails for bo

[Bug rtl-optimization/118615] [15 Regression] Bootstrap failure on aarch64 after r15-2810

2025-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615 --- Comment #22 from Andrew Pinski --- Created attachment 60784 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60784&action=edit First step at reducing the testcase I did: git cherry-pick 3c67a0fa1dd39a3378deb854a7fef0ff7fe38004 First an

[Bug c++/119319] [14/15 Regression] incorrect error: invalid use of incomplete type

2025-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119319 --- Comment #6 from Andrew Pinski --- > I just can't find the incompleteness the use of Xyzzy is before it is fully declared. There is only a forward declaration of the struct type when it is used.

[Bug c/119317] Named loops (C2y) do not compile with -O1 and -ggdb2 or higher

2025-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119317 --- Comment #3 from Andrew Pinski --- I should mention another workaround if you don't want to disable debugging info, is to add -gno-statement-frontiers . Since there are no debugger consumers of dwarf statement-frontiers should not cause any i

[Bug cobol/119213] gcc/cobol/Make-lang.in: suspicious -DEXEC_LIB with hardcoded lib64

2025-03-16 Thread rdubner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119213 Robert Dubner changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug tree-optimization/119318] New: [15 Regression] wrong code with vector arithmetics at -O2

2025-03-16 Thread zsojka at seznam dot cz via Gcc-bugs
-enable-libsanitizer --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-20250316155648-r15-8074-g5ed0564f2879db-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.1 20250316 (experimental) (GCC)

[Bug tree-optimization/119318] [15 Regression] wrong code with vector arithmetics at -O2

2025-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119318 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Ever confirmed|0

[Bug c++/119319] incorrect error: invalid use of incomplete type

2025-03-16 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119319 --- Comment #1 from Hans-Peter Nilsson --- Tested gcc-14.2 and trunk at r15-7991-g503f10e34dcd No other options than -O0 / -O1 are required to reproduce.

[Bug c++/119319] incorrect error: invalid use of incomplete type

2025-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119319 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-03-17 Target|arm-linux

[Bug c++/119319] New: incorrect error: invalid use of incomplete type

2025-03-16 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119319 Bug ID: 119319 Summary: incorrect error: invalid use of incomplete type Product: gcc Version: 14.2.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal

[Bug rtl-optimization/118615] [15 Regression] Bootstrap failure on aarch64 after r15-2810

2025-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615 Andrew Pinski changed: What|Removed |Added Attachment #60784|0 |1 is obsolete|

[Bug c++/119319] [14/15 Regression] incorrect error: invalid use of incomplete type

2025-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119319 --- Comment #4 from Andrew Pinski --- Created attachment 60788 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60788&action=edit Reduced further

[Bug cobol/119213] gcc/cobol/Make-lang.in: suspicious -DEXEC_LIB with hardcoded lib64

2025-03-16 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119213 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #8 fr

[Bug c++/119319] [14/15 Regression] incorrect error: invalid use of incomplete type

2025-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119319 --- Comment #7 from Andrew Pinski --- That is: ``` using US0 = vv < std::pair < n0::Xyzzy, typename n1::CL1 < n1::S0, 999 >::ps > >; class CL0 : public Error { private: US0 us0; public: CL0 (int err, const char *estr, const US0

[Bug c/47409] volatile struct member bug

2025-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47409 --- Comment #27 from Andrew Pinski --- I am not even sure if clang implementation of this is correct either. Take: ``` struct s2 { volatile int t; int x[1024]; }; struct s2 s; void foo () { s = s; } ``` clang will copy all of s2 rather tha

[Bug c++/119319] [14/15 Regression] incorrect error: invalid use of incomplete type

2025-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119319 Andrew Pinski changed: What|Removed |Added Keywords||needs-stdcheck --- Comment #5 from Andr

[Bug c/119317] Named loops (C2y) do not compile with -O1 and -ggdb2 or higher

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

[Bug c/47409] volatile struct member bug

2025-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47409 --- Comment #26 from Andrew Pinski --- (In reply to Richard Biener from comment #6) > We should at least make sure to use memcpy for the array part in > > struct { > volatile int i; > int a[10]; > } a, b; > a = b; > > do we really want

[Bug debug/119317] Named loops (C2y) do not compile with -O1 and -ggdb2 or higher

2025-03-16 Thread gandalf at winds dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119317 --- Comment #1 from gandalf at winds dot org --- Created attachment 60783 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60783&action=edit test17.i

[Bug debug/119317] New: Named loops (C2y) do not compile with -O1 and -ggdb2 or higher

2025-03-16 Thread gandalf at winds dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119317 Bug ID: 119317 Summary: Named loops (C2y) do not compile with -O1 and -ggdb2 or higher Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal