[Bug cobol/119324] cppcheck meets /cobol/

2025-05-15 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119324 --- Comment #3 from David Binderman --- (In reply to Robert Dubner from comment #2) > David, I am not familiar with cppcheck. I have installed it, but when I try > to run it I don't see what you are describing here. > > Can you tell me how to

[Bug target/120297] [15/16 Regression] RISC-V: Miscompile at -O3

2025-05-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120297 Richard Biener changed: What|Removed |Added Keywords||wrong-code Target|

[Bug ipa/120295] [15/16 Regression] Wrong code on -O3 for trunk version (live code is wrongly eliminated) since r15-6294-g96fb71883d438b

2025-05-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120295 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug target/120292] amdgcn: Infinite recursion in vec_cmpudi_exec

2025-05-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120292 --- Comment #3 from Richard Biener --- also "..._exec" is not a name of an optab, so this shouldn't be a (define_expand ...), and this means it's a dead pattern as well?

[Bug c++/120287] [12/13/14/15/16 Regression] internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in is_std_substitution, at cp/mangle.cc:507

2025-05-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120287 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug target/120294] Missed DCE with xor when emulating __builtin_ctzg() with __builtin_ctz() and bitshift

2025-05-15 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120294 Alexander Monakov changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|DUPL

[Bug target/120294] Missed DCE with xor when emulating __builtin_ctzg() with __builtin_ctz() and bitshift

2025-05-15 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120294 Uroš Bizjak changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug target/62011] False Data Dependency in popcnt instruction

2025-05-15 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62011 Uroš Bizjak changed: What|Removed |Added CC||kaelfandrew at gmail dot com --- Comment #

[Bug c/120303] [15/16 Regression] ICE , in groktypename at gcc/c/c-decl.cc:5442 with _Generic after an error

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

[Bug c/120303] [15/16 Regression] ICE , in groktypename at gcc/c/c-decl.cc:5442 with _Generic after an error

2025-05-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120303 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.2 Summary|ICE Segmentatio

[Bug c/120303] New: ICE Segmentation fault, in groktypename at gcc/c/c-decl.cc:5442

2025-05-15 Thread rundongyang22 at m dot fudan.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120303 Bug ID: 120303 Summary: ICE Segmentation fault, in groktypename at gcc/c/c-decl.cc:5442 Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal

[Bug target/108958] Powerpcle could generate mtvsrdd for zero extend DI to TI mode, when the TImode is in a vector register

2025-05-15 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108958 --- Comment #2 from Segher Boessenkool --- (A good patch is like: we currently generate X (because of Y Z A), but we could do B C D instead, and generate E).

[Bug target/108958] Powerpcle could generate mtvsrdd for zero extend DI to TI mode, when the TImode is in a vector register

2025-05-15 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108958 --- Comment #1 from Segher Boessenkool --- Sure. What do we need to improve on this? Please propose a patch :-)

[Bug c++/119930] [15/6 regression] g++.dg/coroutines/torture/pr103953.C FAILs with -O3

2025-05-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119930 --- Comment #10 from Sam James --- (In reply to Andrew Pinski from comment #9) > The only difference between the testcase in comment #8 and the one in the > testsuite is that the code is moved to a named function other than main and > then that

[Bug c++/120300] -Wmissing-noreturn is handled inconsistently for in-class and out-of-class definitions

2025-05-15 Thread leekillough at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120300 --- Comment #2 from Lee Killough --- > The problem is Wmissing-noreturn happens after optimizations so if a function is defined in-class it has an implicit vague linkage and not included. The problem is more with false -Wmissing-noreturn warni

[Bug ipa/120099] [16 regression] gfortran.dg/specifics_1.f90 FAILs since r16-372-g064cac730f88dc

2025-05-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120099 --- Comment #8 from Andrew Pinski --- Created attachment 61437 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61437&action=edit Compile with -O3 -fno-early-inlining This gets the failure before GCC 5 even.

[Bug fortran/120099] [16 regression] gfortran.dg/specifics_1.f90 FAILs since r16-372-g064cac730f88dc

2025-05-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120099 Andrew Pinski changed: What|Removed |Added Component|ipa |fortran --- Comment #9 from Andrew Pins

[Bug ipa/120099] [16 regression] gfortran.dg/specifics_1.f90 FAILs since r16-372-g064cac730f88dc

2025-05-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120099 --- Comment #7 from Andrew Pinski --- DCE removes this: Eliminating unnecessary statements: Deleting : _gfortran_f2c_specific__conjg_4 (&cmplx.0, &C.4660); This might be a front-end issue though.

[Bug ipa/120099] [16 regression] gfortran.dg/specifics_1.f90 FAILs since r16-372-g064cac730f88dc

2025-05-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120099 --- Comment #6 from Sam James --- (In reply to Sam James from comment #5) > ``` > $ gfortran-14 gfortran.dg/specifics_1.f90 -o a -ff2c -O2 --param > max-inline-insns-size=50 && ./a > STOP 1 > ``` It fails with this going back to GCC 9, but GCC

[Bug cobol/119324] cppcheck meets /cobol/

2025-05-15 Thread rdubner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119324 --- Comment #2 from Robert Dubner --- (In reply to David Binderman from comment #0) > I tried out the static analyser cppcheck on > the source code of /cobol/. > > The most important things it said were: David, I am not familiar with cppcheck.

[Bug ipa/120099] [16 regression] gfortran.dg/specifics_1.f90 FAILs since r16-372-g064cac730f88dc

2025-05-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120099 --- Comment #5 from Sam James --- ``` $ gfortran-14 gfortran.dg/specifics_1.f90 -o a -ff2c -O2 --param max-inline-insns-size=50 && ./a STOP 1 ```

[Bug cobol/119793] FR FE (parser): addition of BASED-STORAGE SECTION (Fujitsu)

2025-05-15 Thread jklowden at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119793 James K. Lowden changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug target/120292] amdgcn: Infinite recursion in vec_cmpudi_exec

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

[Bug target/120292] amdgcn: Infinite recursion in vec_cmpudi_exec

2025-05-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120292 Andrew Pinski changed: What|Removed |Added Keywords||internal-improvement --- Comment #1 fro

[Bug target/120263] RISC-V: FRM not restored if clobbered via inline asm

2025-05-15 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120263 --- Comment #3 from Vineet Gupta --- But then makes the case for removing following special case handling ``` static bool frm_unknown_dynamic_p (rtx_insn *insn) { /* Return true if there is a definition of FRM. */ if (reg_set_p (gen_rtx_RE

[Bug c++/119930] [15/6 regression] g++.dg/coroutines/torture/pr103953.C FAILs with -O3

2025-05-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119930 --- Comment #9 from Andrew Pinski --- The only difference between the testcase in comment #8 and the one in the testsuite is that the code is moved to a named function other than main and then that function is called from main. This is to remove

[Bug c++/119930] [15/6 regression] g++.dg/coroutines/torture/pr103953.C FAILs with -O3

2025-05-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119930 --- Comment #8 from Andrew Pinski --- Created attachment 61436 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61436&action=edit New testcase that fails at -O2 even with GCC 15.1.0

[Bug middle-end/120252] -fpatchable-function-entry doesn't work with -ffunction-sections

2025-05-15 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120252 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ipa/120295] [15/16 Regression] Wrong code on -O3 for trunk version (live code is wrongly eliminated) since r15-6294-g96fb71883d438b

2025-05-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120295 --- Comment #8 from Andrew Pinski --- (In reply to Sam James from comment #7) > .. and I guess with trunk, it starts to fail with the inlining changes? The original testcase yes, the one in comment #3 failed before the inlining changes.

[Bug ipa/120295] [15/16 Regression] Wrong code on -O3 for trunk version (live code is wrongly eliminated) since r15-6294-g96fb71883d438b

2025-05-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120295 --- Comment #7 from Sam James --- .. and I guess with trunk, it starts to fail with the inlining changes?

[Bug cobol/119632] section segments (cobol85) not implemented, "ignored" -> raising compile error

2025-05-15 Thread jklowden at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119632 --- Comment #10 from James K. Lowden --- > But it should really do that - and allow it for _any_ other standard, not > only ibm. We don't want to let nonstandard syntax slip by unnoticed. IBM Linux COBOL allows SECTION segment numbers as sy

[Bug cobol/119324] cppcheck meets /cobol/

2025-05-15 Thread jklowden at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119324 --- Comment #1 from James K. Lowden --- Partly fixed by 9b78ad2cbf0. 1. function eliminated: "Function parameter 'args'": 2. dts::regex_search emulates std::regex_search, which passes cm by reference, to write to it. 3. done: parameter 'name

[Bug target/120263] RISC-V: FRM not restored if clobbered via inline asm

2025-05-15 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120263 --- Comment #2 from Vineet Gupta --- https://godbolt.org/z/8b1scoWGd It seems llvm also follows the existing gcc behavior - so maybe this is INVALID ?

[Bug tree-optimization/120280] ABS < 0 is not optimized to false by match

2025-05-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120280 --- Comment #10 from Andrew Pinski --- (In reply to Andrew Pinski from comment #9) > So the easy workaround is not use tree_expr_nonnegative_p as predicate here > and just do: > ``` > (simplify > (cmp @0 zerop@1) > (if (tree_expr_nonnegativ

[Bug ipa/120295] [15/16 Regression] Wrong code on -O3 for trunk version (live code is wrongly eliminated)

2025-05-15 Thread mcccs at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120295 --- Comment #6 from mcccs at gmx dot com --- (In reply to Sam James from comment #5) > (In reply to mcccs from comment #4) > > (can't bisect, because) not reproducible on aarch64 > > What about with -fsigned-char? Thanks, that works. r15-6294-g

[Bug fortran/120302] New: ICE in gfc_trans_call

2025-05-15 Thread abensonca at gcc dot gnu.org via Gcc-bugs
: ../configure --prefix=/carnegie/nobackup/users/abenson/upstream --disable-multilib --enable-checking=release --enable-host-shared --with-pic --enable-languages=c,c++,fortran,jit,lto Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 16.0.0 20250515 (experimental) (GCC

[Bug c++/120161] [14/15/16 Regression] Deduction failure with nested dependent type with a class base classes of 2 of the inner type since r14-4112

2025-05-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120161 --- Comment #8 from GCC Commits --- The releases/gcc-15 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:488c997aeb6669c333287a1f0063ce5fb706a8b5 commit r15-9690-g488c997aeb6669c333287a1f0063ce5fb706a8b5 Author: Patrick Palka

[Bug c++/120161] [14 Regression] Deduction failure with nested dependent type with a class base classes of 2 of the inner type since r14-4112

2025-05-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120161 Patrick Palka changed: What|Removed |Added Summary|[14/15/16 Regression] |[14 Regression] Deduction

[Bug c/120301] RFE: context variables

2025-05-15 Thread hpa at zytor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120301 --- Comment #5 from H. Peter Anvin --- Overlays is something entirely different.

[Bug c/120301] RFE: context variables

2025-05-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120301 --- Comment #4 from Andrew Pinski --- overlays is a solved problem with GNU ld and GNU GDB already. to some extend it is outside of GCC: https://ftp.gnu.org/pub/old-gnu/Manuals/ld-2.9.1/html_node/ld_22.html https://sourceware.org/gdb/current/o

[Bug c/120301] RFE: context variables

2025-05-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120301 --- Comment #3 from Andrew Pinski --- What i am trying to say this feature is not so obvious of what you want/need. There have been already proposals before on overlays years ago. That is how most embedded folks do it except for the Linux kern

[Bug c/120301] RFE: context variables

2025-05-15 Thread hpa at zytor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120301 --- Comment #2 from H. Peter Anvin --- It certainly is not specific to the Linux kernel, although perhaps how I phrased it is (in particular tying it to sections is rather specific to embedded environments, of which the Linux kernel is but one.)

[Bug c++/120300] New: -Wmissing-noreturn is handled inconsistently for in-class and out-of-class definitions

2025-05-15 Thread leekillough at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120300 Bug ID: 120300 Summary: -Wmissing-noreturn is handled inconsistently for in-class and out-of-class definitions Product: gcc Version: 16.0 Status: UNCONFIRMED S

[Bug target/120008] RFE: x86: explicit compiler support for SMAP stac/clac (possibly via __attribute__((user))) or similar

2025-05-15 Thread hpa at zytor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120008 --- Comment #5 from H. Peter Anvin --- Having an -fkernel option would not be a bad thing, either; it could be used to hide anything the compiler does that is specific to kernel space. On a lot of platforms that would include stuff like __attrib

[Bug target/120008] RFE: x86: explicit compiler support for SMAP stac/clac (possibly via __attribute__((user))) or similar

2025-05-15 Thread hpa at zytor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120008 --- Comment #4 from H. Peter Anvin --- So I guess the real question is to what extent you actually want to support the Linux kernel -- and other kernels -- as a compilation target. I will agree with you that doing this with type attributes -- i

[Bug c/120301] RFE: context variables

2025-05-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120301 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #1 from Andrew

[Bug c++/120300] -Wmissing-noreturn is handled inconsistently for in-class and out-of-class definitions

2025-05-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120300 --- Comment #1 from Andrew Pinski --- >The handling of -Wmissing-noreturn should behave the same whether a member >function is defined in-class or out-of-class. The problem is Wmissing-noreturn happens after optimizations so if a function is

[Bug c/120301] New: RFE: context variables

2025-05-15 Thread hpa at zytor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120301 Bug ID: 120301 Summary: RFE: context variables Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee:

[Bug tree-optimization/120280] ABS < 0 is not optimized to false by match

2025-05-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120280 --- Comment #9 from Andrew Pinski --- Replaced redundant PHI node defining c_3 with c_6 Replaced redundant PHI node defining b_13 with 0 Removing unexecutable edge from if (b_13 != 0) Removing dead stmt b_13 = PHI <0(3)> Removing dead stmt c_3

[Bug tree-optimization/120280] ABS < 0 is not optimized to false by match

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

[Bug tree-optimization/120280] ABS < 0 is not optimized to false by match

2025-05-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120280 --- Comment #7 from Andrew Pinski --- Created attachment 61434 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61434&action=edit Reduced testcase This is the reduced testcase for running into the ICE issue with the patch.

[Bug tree-optimization/120280] ABS < 0 is not optimized to false by match

2025-05-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120280 --- Comment #6 from Andrew Pinski --- Created attachment 61433 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61433&action=edit testcase ``` t.cc:14:1: internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_

[Bug cobol/119632] section segments (cobol85) not implemented, "ignored" -> raising compile error

2025-05-15 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119632 --- Comment #9 from Simon Sobisch --- Note: GnuCOBOL also support that, just in case a paying customer comes around :-) To not break NIST85 gcobol should set -std=cobol85 to -dialect ibm, with the current implementation. (Note: "stacking" -dia

[Bug libstdc++/120299] GCC started using __flt128_t when __float128 exists but _Float128 does not

2025-05-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120299 --- Comment #11 from Andrew Pinski --- (In reply to Andrew Pinski from comment #9) > (In reply to Tymi from comment #8) > > (In reply to Andrew Pinski from comment #7) > > > (In reply to Tymi from comment #6) > > > > so it's a godbolt (compiler

[Bug libstdc++/120299] GCC started using __flt128_t when __float128 exists but _Float128 does not

2025-05-15 Thread tymi at tymi dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120299 --- Comment #10 from Tymi --- Oh okay, well it's not critical and I'm going to sleep now anyway Thank you for your quick response, and good night

[Bug libstdc++/120299] GCC started using __flt128_t when __float128 exists but _Float128 does not

2025-05-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120299 --- Comment #9 from Andrew Pinski --- (In reply to Tymi from comment #8) > (In reply to Andrew Pinski from comment #7) > > (In reply to Tymi from comment #6) > > > so it's a godbolt (compiler explorer) bug...? > > > > No, just godbolt build hap

[Bug fortran/85750] [12/13/14/15/16 Regression] Default initialization of derived type array missing

2025-05-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85750 --- Comment #15 from GCC Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:d31ab498b12ebbe4f50acb2aa240ff92c73f310c commit r16-669-gd31ab498b12ebbe4f50acb2aa240ff92c73f310c Author: Harald Anlauf Date: Th

[Bug libstdc++/120299] GCC started using __flt128_t when __float128 exists but _Float128 does not

2025-05-15 Thread tymi at tymi dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120299 --- Comment #8 from Tymi --- (In reply to Andrew Pinski from comment #7) > (In reply to Tymi from comment #6) > > so it's a godbolt (compiler explorer) bug...? > > No, just godbolt build happened between the 2 commits. Can we someone force/ask

[Bug libstdc++/120299] GCC started using __flt128_t when __float128 exists but _Float128 does not

2025-05-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120299 --- Comment #7 from Andrew Pinski --- (In reply to Tymi from comment #6) > so it's a godbolt (compiler explorer) bug...? No, just godbolt build happened between the 2 commits.

[Bug libstdc++/120299] GCC started using __flt128_t when __float128 exists but _Float128 does not

2025-05-15 Thread tymi at tymi dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120299 --- Comment #6 from Tymi --- so it's a godbolt (compiler explorer) bug...?

[Bug target/120008] RFE: x86: explicit compiler support for SMAP stac/clac (possibly via __attribute__((user))) or similar

2025-05-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120008 --- Comment #3 from Andrew Pinski --- (In reply to H. Peter Anvin from comment #2) > Could you please clarify why you think this is not a good idea? Because it is only specific to x86 and more over it is only specific to not userland. folks wil

[Bug cobol/119809] FE internal_error internal compiler error: in digits_from_float128, at cobol/genapi.cc:15293 (bit data items)

2025-05-15 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119809 --- Comment #4 from Simon Sobisch --- Looking forward to have a compiler targetting ISO COBOL to support that one day :-) Note: in C this would be a struct with int : 1, included, I think.

[Bug target/120008] RFE: x86: explicit compiler support for SMAP stac/clac (possibly via __attribute__((user))) or similar

2025-05-15 Thread hpa at zytor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120008 --- Comment #2 from H. Peter Anvin --- Could you please clarify why you think this is not a good idea?

[Bug libstdc++/120299] GCC started using __flt128_t when __float128 exists but _Float128 does not

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

[Bug libstdc++/120299] GCC started using __flt128_t when __float128 exists but _Float128 does not

2025-05-15 Thread tymi at tymi dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120299 --- Comment #4 from Tymi --- Why not check for __clang__ and fallback to a compatible solution then?

[Bug cobol/119810] FE: -include does not unset "included from"

2025-05-15 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119810 --- Comment #3 from Simon Sobisch --- Current GCC only raises that error if there is no NL after the final (which seems an interesting bug as well), so you won't see that error with the code example. Just use DATA DIVI. (= a syntax error), may

[Bug libstdc++/120299] GCC started using __flt128_t with no checking whatsoever

2025-05-15 Thread tymi at tymi dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120299 --- Comment #1 from Tymi --- The following code does not compile with libstdc++ under clang: ```cpp #include int main(){} ```

[Bug libstdc++/120299] GCC started using __flt128_t with no checking whatsoever

2025-05-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120299 --- Comment #3 from Andrew Pinski --- So the complex part of this is because clang does not implement the C23 defined types still (https://github.com/llvm/llvm-project/issues/97335) but does implement __float128 and libstdc++ looks like uses tho

[Bug libstdc++/120299] GCC started using __flt128_t with no checking whatsoever

2025-05-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120299 --- Comment #2 from Andrew Pinski --- For GCC: # 1923 "/opt/compiler-explorer/gcc-trunk-20250515/include/c++/16.0.0/format" 3 using __flt128_t = _Float128; # 1955 "/opt/compiler-explorer/gcc-trunk-20250515/include/c++/1

[Bug ipa/120295] [15/16 Regression] Wrong code on -O3 for trunk version (live code is wrongly eliminated)

2025-05-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120295 --- Comment #5 from Sam James --- (In reply to mcccs from comment #4) > (can't bisect, because) not reproducible on aarch64 What about with -fsigned-char?

[Bug libstdc++/120299] New: GCC started using __flt128_t with no checking whatsoever

2025-05-15 Thread tymi at tymi dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120299 Bug ID: 120299 Summary: GCC started using __flt128_t with no checking whatsoever Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal P

[Bug fortran/120298] Use of do concurrent breaks use of semicolon as statement separator

2025-05-15 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120298 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |DUPLICATE Status

[Bug fortran/120179] [15 Regression] Failure with do concurrent and semicolon

2025-05-15 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120179 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||j...@bolding-bruggeman.com -

[Bug cobol/119810] FE: -include does not unset "included from"

2025-05-15 Thread jklowden at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119810 James K. Lowden changed: What|Removed |Added CC||jklowden at gcc dot gnu.org --- Comme

[Bug cobol/119809] FE internal_error internal compiler error: in digits_from_float128, at cobol/genapi.cc:15293 (bit data items)

2025-05-15 Thread jklowden at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119809 James K. Lowden changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug fortran/120298] New: Use of do concurrent breaks use of semicolon as statement separator

2025-05-15 Thread jorn--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120298 Bug ID: 120298 Summary: Use of do concurrent breaks use of semicolon as statement separator Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/85750] [12/13/14/15/16 Regression] Default initialization of derived type array missing

2025-05-15 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85750 anlauf at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot gnu.

[Bug cobol/119632] section segments (cobol85) not implemented, "ignored" -> raising compile error

2025-05-15 Thread jklowden at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119632 --- Comment #8 from James K. Lowden --- > But it should really do that - and allow it for _any_ other standard, not > only ibm. We don't want to let nonstandard syntax slip by unnoticed. IBM Linux COBOL allows SECTION segment numbers as syn

[Bug tree-optimization/120288] [15/16 regression] spurious null pointer dereference in std::__detail::_Hashtable_base::_M_key_equals since gcc-15

2025-05-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120288 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > Looks like a missed optimization of non-nullness. But then again this is at -O1 so there will be less optmizations. It looks like there is less inlining for GC

[Bug tree-optimization/120288] [15/16 regression] spurious null pointer dereference in std::__detail::_Hashtable_base::_M_key_equals since gcc-15

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

[Bug cobol/119217] cobol: build broken on non-linux by unguarded use of Linux-specific facilities.

2025-05-15 Thread jklowden at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119217 James K. Lowden changed: What|Removed |Added CC||jklowden at gcc dot gnu.org --- Comme

[Bug target/120297] New: [16 Regression] RISC-V: Miscompile at -O3

2025-05-15 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120297 Bug ID: 120297 Summary: [16 Regression] RISC-V: Miscompile at -O3 Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug c++/120287] internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in is_std_substitution, at cp/mangle.cc:507

2025-05-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120287 Andrew Pinski changed: What|Removed |Added Target Milestone|15.2|--- Keywords|

[Bug c++/120287] [12/13/14/15/16 Regression] internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in is_std_substitution, at cp/mangle.cc:507

2025-05-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120287 --- Comment #5 from Jakub Jelinek --- And with s/auto/constexpr auto/g after even more errors ICEs starting with r5-2539-g4a4f287dc1ae6f111b28e

[Bug c++/120287] [12/13/14/15/16 Regression] internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in is_std_substitution, at cp/mangle.cc:507

2025-05-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120287 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.5 Keywords|needs-bisection

[Bug c++/120287] internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in is_std_substitution, at cp/mangle.cc:507

2025-05-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120287 --- Comment #3 from Jakub Jelinek --- With -std=c++0x #c1 ICEs starting with r5-2991-g5e0231c231404677aa1b9

[Bug middle-end/120278] [12/13/14/15 Regression] Switch expansion generates extra compares with -fno-jump-tables

2025-05-15 Thread selectstriker2 at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120278 --- Comment #10 from Ken Young --- "Correctness" (no dead code, no dead branches) matters more than performance in this instance.

[Bug c++/120291] internal compiler error: in tsubst_pack_expansion, at cp/pt.cc:13941 with -std=c++20

2025-05-15 Thread mcccs at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120291 --- Comment #1 from mcccs at gmx dot com --- r12-5952-g561414cdf8ef0d

[Bug c++/120285] [14/15/16 Regression] ice in digest_init_r, at cp/typeck2.cc:1397

2025-05-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120285 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug middle-end/120278] [12/13/14/15 Regression] Switch expansion generates extra compares with -fno-jump-tables

2025-05-15 Thread selectstriker2 at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120278 --- Comment #12 from Ken Young --- For what it's worth, it has worked well for our simple bare metal ARM applications written in C and this is the first instance where the generated object code did extra things that were not expected.

[Bug fortran/120139] [15 Regression] -fc-prototypes emits incorrect type for arrays with variable extents

2025-05-15 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120139 Thomas Koenig changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug fortran/120107] [15 regression] -fc-prototypes for ISO_FORTRAN_ENV generates duplicate typedefs

2025-05-15 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120107 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/120107] [15 regression] -fc-prototypes for ISO_FORTRAN_ENV generates duplicate typedefs

2025-05-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120107 --- Comment #4 from GCC Commits --- The releases/gcc-15 branch has been updated by Thomas Koenig : https://gcc.gnu.org/g:c6ec3a9bddb4224a2369b0284ade4b474cd4b0ce commit r15-9687-gc6ec3a9bddb4224a2369b0284ade4b474cd4b0ce Author: Thomas Koenig

[Bug fortran/120139] [15 Regression] -fc-prototypes emits incorrect type for arrays with variable extents

2025-05-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120139 --- Comment #2 from GCC Commits --- The releases/gcc-15 branch has been updated by Thomas Koenig : https://gcc.gnu.org/g:a85776f7f64271d628ae0a04f02717ee6572e6e8 commit r15-9688-ga85776f7f64271d628ae0a04f02717ee6572e6e8 Author: Thomas Koenig

[Bug testsuite/120251] cobol tests depend on locale

2025-05-15 Thread rdubner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120251 --- Comment #6 from Robert Dubner --- And this time I figured out how to change a locale to test it.

[Bug c++/120287] [15/16 Regression] internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in is_std_substitution, at cp/mangle.cc:507 since r15-2798

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

[Bug c++/112410] error when auto(x) is used in a variable initializer

2025-05-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112410 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.3

[Bug middle-end/120278] [12/13/14/15 Regression] Switch expansion generates extra compares with -fno-jump-tables

2025-05-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120278 --- Comment #11 from Jakub Jelinek --- Dead branches and dead code definitely appear in -O0 code just about everywhere, that is not about correctness but about efficiency, which is a non-goal for -O0. Even at higher optimization levels compiler

[Bug testsuite/120251] cobol tests depend on locale

2025-05-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120251 --- Comment #5 from GCC Commits --- The master branch has been updated by Robert Dubner : https://gcc.gnu.org/g:fae53928595341981f08ded4edcbba07ee1d5d04 commit r16-667-gfae53928595341981f08ded4edcbba07ee1d5d04 Author: Robert Dubner Date: Th

[Bug c++/120287] [15/16 Regression] internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in is_std_substitution, at cp/mangle.cc:507 since r15-2798

2025-05-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120287 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.2 Summary|[15/16 Regressi

  1   2   >