[Bug c++/120134] [14/15/16 regression] Internal compiler error: in coerce_template_parms, at cp/pt.cc:9488 since r14-2170

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

[Bug target/120181] Bug in alpha jump tables

2025-05-09 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120181 --- Comment #11 from John Paul Adrian Glaubitz --- (In reply to camm from comment #10) > Greetings! It is a linker issue -- thanks again for the suggestion and all > the other comments. Closing this now. Could you please link to the binutils

[Bug c++/120136] [12/13/14/15/16 Regression] internal compiler error: tree check: accessed elt 1 of 'tree_vec' with -1 elts in add_to_template_args, at cp/pt.cc:612

2025-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120136 --- Comment #6 from Andrew Pinski --- Note the ICE only happens for comment #0 if configured with --enable-checking=yes (which is the default on the trunk).

[Bug c++/120136] [12/13/14/15/16 Regression] internal compiler error: tree check: accessed elt 1 of 'tree_vec' with -1 elts in add_to_template_args, at cp/pt.cc:612

2025-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120136 Andrew Pinski changed: What|Removed |Added Summary|internal compiler error:|[12/13/14/15/16 Regression]

[Bug target/120186] [pa] internal compiler error: in fail, at selftest.cc:47 during bootstrap with LRA enabled

2025-05-09 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120186 --- Comment #5 from John Paul Adrian Glaubitz --- (In reply to John David Anglin from comment #3) > I presume you edited pa.opt to enable LRA. Yes. > Would you provide full configure command and relevant environment options. I built with: ./

[Bug fortran/120049] ICE when using IS_C_ASSOCIATED ()

2025-05-09 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120049 --- Comment #25 from kargls at comcast dot net --- On 5/9/25 20:22, jvdelisle at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120049 > > --- Comment #24 from Jerry DeLisle --- > It is interestingly complex. As I try dif

[Bug target/118603] aarch64-cores.def causes narrowing conversion warnings due to -1 for variant

2025-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118603 --- Comment #2 from Andrew Pinski --- Patch finally submitted: https://gcc.gnu.org/pipermail/gcc-patches/2025-May/683175.html

[Bug fortran/120049] ICE when using IS_C_ASSOCIATED ()

2025-05-09 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120049 --- Comment #24 from Jerry DeLisle --- It is interestingly complex. As I try different test cases I learn new things. For example this error is caught already somewhere else in the code path. I am going to identify where tomorrow. This may be a

[Bug sanitizer/120201] generates a misaligned vector operation for std::memcpy with -march=znver4

2025-05-09 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120201 H.J. Lu changed: What|Removed |Added Component|target |sanitizer CC|

[Bug c++/120204] `is not usable as a 'constexpr' function because` and no reason why

2025-05-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120204 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug preprocessor/119753] gcc -E is not POSIX-compliant

2025-05-09 Thread love4boobies at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119753 --- Comment #10 from Bogdan --- Actually, EDG seems to have a GCC compatibility mode on godbolt where it doesn't use the #line format. I haven't tested to see whether it prints flags or not, just wanted wanted to correct that bit.

[Bug fortran/120049] ICE when using IS_C_ASSOCIATED ()

2025-05-09 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120049 --- Comment #23 from kargls at comcast dot net --- On 5/9/25 17:50, jvdelisle at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120049 > > Jerry DeLisle changed: > > What|Removed |Adde

[Bug preprocessor/119753] gcc -E is not POSIX-compliant

2025-05-09 Thread love4boobies at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119753 --- Comment #9 from Bogdan --- MSVC and ICC do not follow POSIX whatsoever. Everything from default paths to command-line options is different there so I don't think these count. As for EDG, that's true but there is no common ground between its

[Bug tree-optimization/120206] Removal of forward_propagate_into_gimple_cond/forward_propagate_into_comparison

2025-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120206 --- Comment #1 from Andrew Pinski --- Created attachment 61390 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61390&action=edit Current patch This includes some additional match.pd pattern changes which I will submit seperately but tree-s

[Bug tree-optimization/120206] Removal of forward_propagate_into_gimple_cond/forward_propagate_into_comparison

2025-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120206 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug fortran/120049] ICE when using IS_C_ASSOCIATED ()

2025-05-09 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120049 --- Comment #22 from Jerry DeLisle --- I forgot to mention that when you flip the test example around: print *, c_associated(42, c_loc(val)) It also gives an internal error. So I am taking care of it as well.

[Bug middle-end/120205] [15/16 regression] unifdef miscompiled since r15-4414-g51b85dfeb19652

2025-05-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120205 Sam James changed: What|Removed |Added See Also||https://bugs.gentoo.org/sho

[Bug tree-optimization/120206] New: Removal of forward_propagate_into_gimple_cond/forward_propagate_into_comparison

2025-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120206 Bug ID: 120206 Summary: Removal of forward_propagate_into_gimple_cond/forward_propagate_i nto_comparison Product: gcc Version: 14.0 Status: UNCONFIRM

[Bug c++/120204] `is not usable as a 'constexpr' function because` and no reason why

2025-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120204 --- Comment #1 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:b5f61a09c1ab3a45398333b50963e533a980b62d commit r16-506-gb5f61a09c1ab3a45398333b50963e533a980b62d Author: Jason Merrill Date: Fri

[Bug tree-optimization/114999] A few missing optimizations due to `a - b` and `b - a` not being detected as negatives of each other

2025-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114999 --- Comment #15 from Andrew Pinski --- (In reply to Jennifer Schmitz from comment #12) > Created attachment 60149 [details] > Proposed patch for detecting abs diff for signed integers Note the change for `-(A - B) -> B - A` with the addition of

[Bug fortran/120049] ICE when using IS_C_ASSOCIATED ()

2025-05-09 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120049 Jerry DeLisle changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jvdelisle at gcc dot gnu.org

[Bug middle-end/120205] [15/16 regression] unifdef miscompiled since r15-4414-g51b85dfeb19652

2025-05-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120205 Sam James changed: What|Removed |Added Summary|[15/16 regression] unifdef |[15/16 regression] unifdef

[Bug tree-optimization/114999] A few missing optimizations due to `a - b` and `b - a` not being detected as negatives of each other

2025-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114999 --- Comment #14 from Andrew Pinski --- (In reply to Jennifer Schmitz from comment #12) > Created attachment 60149 [details] > Proposed patch for detecting abs diff for signed integers That is actually PR 50856.

[Bug libstdc++/119714] [15/16 Regression] Failure when using == operator on a class derived from std::expected

2025-05-09 Thread erikbsolem at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119714 Erik BrĂ¥then Solem changed: What|Removed |Added CC||erikbsolem at hotmail dot com ---

[Bug web/114649] Would be useful to link to CTF and BTF debug information specifications from https://gcc.gnu.org/readings.html

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

[Bug middle-end/120205] [15/16 regression] unifdef miscompiled since r15-5597-g684595188dea02

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

[Bug middle-end/120205] [15/16 regression] unifdef miscompiled since r15-5597-g684595188dea02

2025-05-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120205 Sam James changed: What|Removed |Added Summary|[15/16 regression] unifdef |[15/16 regression] unifdef

[Bug middle-end/120205] [15/16 regression] unifdef miscompiled

2025-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120205 --- Comment #10 from Andrew Pinski --- Computing maximum subobject size for _21: Visiting use-def links for _21 _21: maximum subobject size 4106 vs: Computing maximum subobject size for _21: Visiting use-def links for _21

[Bug middle-end/120205] [15/16 regression] unifdef miscompiled

2025-05-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120205 Sam James changed: What|Removed |Added Attachment #61388|0 |1 is obsolete|

[Bug target/120181] Bug in alpha jump tables

2025-05-09 Thread camm at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120181 camm at debian dot org changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug middle-end/120205] [15/16 regression] unifdef miscompiled

2025-05-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120205 Sam James changed: What|Removed |Added Attachment #61386|0 |1 is obsolete|

[Bug middle-end/120205] [15/16 regression] unifdef miscompiled

2025-05-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120205 --- Comment #7 from Sam James --- (In reply to Sam James from comment #5) > Created attachment 61386 [details] > unifdef.c > > This is a bit better. It needs 'whitespace.c' as input data. .. with return added in fgets.

[Bug middle-end/120205] [15/16 regression] unifdef miscompiled

2025-05-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120205 --- Comment #5 from Sam James --- Created attachment 61386 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61386&action=edit unifdef.c This is a bit better. It needs 'whitespace.c' as input data.

[Bug middle-end/120205] [15/16 regression] unifdef miscompiled

2025-05-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120205 --- Comment #6 from Sam James --- Created attachment 61387 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61387&action=edit whitespace.c

[Bug target/120186] [pa] internal compiler error: in fail, at selftest.cc:47 during bootstrap with LRA enabled

2025-05-09 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120186 --- Comment #4 from John David Anglin --- My last LRA build was at r15-9116-g28751389a68.

[Bug c++/120204] `is not usable as a 'constexpr' function because` and no reason why

2025-05-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120204 Jason Merrill changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/120186] [pa] internal compiler error: in fail, at selftest.cc:47 during bootstrap with LRA enabled

2025-05-09 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120186 --- Comment #3 from John David Anglin --- Hi Adrian, I haven't tested LRA in sometime. There are are at least two bugs preventing migration to LRA on hppa, although they didn't previously break bootstrap. I don't believe these are problems wi

[Bug middle-end/120205] [15/16 regression] unifdef miscompiled

2025-05-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120205 --- Comment #1 from Sam James --- Needs -std=gnu17.

[Bug middle-end/120205] [15/16 regression] unifdef miscompiled

2025-05-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120205 --- Comment #4 from Sam James --- yes, lemme fix it up

[Bug middle-end/120205] [15/16 regression] unifdef miscompiled

2025-05-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120205 --- Comment #3 from Jakub Jelinek --- The reduction is wrong in many ways. main shouldn't have a single char argument, fgets inline doesn't return anything if __bdos is not -1, otherwise it calls fgets without any arguments, all that is UB.

[Bug debug/120051] [15/16 regression] codeview ICE/segfault starting with 15.1.0

2025-05-09 Thread bc-info at styx dot cabel.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120051 --- Comment #12 from Iouri Kharon --- FYI: Yet cc1/cc1plus can be linked with --pdb :) - secondary patch for ld added to https://sourceware.org/bugzilla/show_bug.cgi?id=32942

[Bug middle-end/120205] [15/16 regression] unifdef miscompiled

2025-05-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120205 --- Comment #2 from Sam James --- In objsz1: ``` [local count: 118111600]: __builtin_puts (&"foo"[0]); - parseline_len.1_4 = parseline_len; - parseline_len.2_5 = (sizetype) parseline_len.1_4; - _20 = MAX_EXPR ; - _19 = _20 - parseline

[Bug middle-end/120205] [15/16 regression] unifdef miscompiled

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

[Bug middle-end/120205] New: [15/16 regression] unifdef miscompiled

2025-05-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120205 Bug ID: 120205 Summary: [15/16 regression] unifdef miscompiled Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-en

[Bug bootstrap/120068] The new contrib/relpath.sh script should be made executable otherwise the build fails

2025-05-09 Thread guido2022 at trentalancia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120068 guido2022 at trentalancia dot com changed: What|Removed |Added Resolution|INVALID |--- Stat

[Bug bootstrap/120068] The new contrib/relpath.sh script should be made executable otherwise the build fails

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

[Bug cobol/119335] cobol frontend ignores -M

2025-05-09 Thread jklowden at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119335 James K. Lowden changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0

[Bug cobol/119337] cobol: gcobc wrapper should deduce output name

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

[Bug target/120203] RISC-V: Frm restore missing after call insn (float-point-dynamic-frm-74.c)

2025-05-09 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120203 --- Comment #1 from Vineet Gupta --- Fix posted here https://gcc.gnu.org/pipermail/gcc-patches/2025-May/683159.html

[Bug target/119164] RISC-V: Extra FRM read/writes around call insns

2025-05-09 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119164 --- Comment #4 from Vineet Gupta --- Fix posted here https://gcc.gnu.org/pipermail/gcc-patches/2025-May/683159.html

[Bug debug/120051] [15/16 regression] codeview ICE/segfault starting with 15.1.0

2025-05-09 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120051 --- Comment #11 from Christoph Reiter --- Thanks. With the latest patch + the patch for binutils, babl builds fine now.

[Bug c++/120204] New: `is not usable as a 'constexpr' function because` and no reason why

2025-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120204 Bug ID: 120204 Summary: `is not usable as a 'constexpr' function because` and no reason why Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: diagnostic

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

2025-05-09 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 Status|NEW |RESOLVED Resolution|

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

2025-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120179 --- Comment #6 from GCC Commits --- The releases/gcc-15 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:c60183d8265b5bd509007cf494549667c8c08faa commit r15-9646-gc60183d8265b5bd509007cf494549667c8c08faa Author: Harald Anlauf

[Bug fortran/119986] Complex array part references are being passed incorrectly to a procedure

2025-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119986 --- Comment #11 from GCC Commits --- The releases/gcc-15 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:01324ffac8bcc6813ffbc78993a674bcac7b52ab commit r15-9645-g01324ffac8bcc6813ffbc78993a674bcac7b52ab Author: Harald Anlauf

[Bug libgomp/120194] USM offloading vs. 'libgomp.c++/declare_target-1.C'

2025-05-09 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120194 Thomas Schwinge changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/120202] ICE with constexpr function for constant expression

2025-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120202 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/120202] ICE with constexpr function for constant expression

2025-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120202 --- Comment #2 from Andrew Pinski --- I will file the diagnostic issue seperately.

[Bug target/120203] New: RISC-V: Frm restore missing after call insn (float-point-dynamic-frm-74.c)

2025-05-09 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120203 Bug ID: 120203 Summary: RISC-V: Frm restore missing after call insn (float-point-dynamic-frm-74.c) Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: wro

[Bug c++/87765] Internal compiler error: coerce_template_parms (8.2) or cxx_eval_constant_expression (trunk)

2025-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87765 Andrew Pinski changed: What|Removed |Added CC||calvin at cmpct dot info --- Comment #10

[Bug c++/120202] ICE with constexpr function for constant expression

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

[Bug c++/120202] New: ICE with constexpr function for constant expression

2025-05-09 Thread calvin at cmpct dot info via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120202 Bug ID: 120202 Summary: ICE with constexpr function for constant expression Product: gcc Version: 12.4.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug c++/120185] [16 Regression] nss-3.11 ICE since r16-479-gabab79397ef97a in type_has_converting_constructor

2025-05-09 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120185 --- Comment #3 from Sergei Trofimovich --- The change also fixed nss-3.11 build for me. Thank you!

[Bug tree-optimization/119712] [14 Regression] compiler hang at -O{1,2,3,s} since r14-5109

2025-05-09 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119712 Bug 119712 depends on bug 120048, which changed state. Bug 120048 Summary: [14/15/16 Regression] ICE on valid code at -O{s,2} with "-fno-tree-vrp -fno-tree-fre" on x86_64-linux-gnu: in type, at value-range.h:982 since r16-244-gce489c870bf28e ht

[Bug target/120201] G++ generates a misaligned vector operation for std::memcpy

2025-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120201 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code Ever confirmed|0

[Bug ipa/120048] [14/15/16 Regression] ICE on valid code at -O{s,2} with "-fno-tree-vrp -fno-tree-fre" on x86_64-linux-gnu: in type, at value-range.h:982 since r16-244-gce489c870bf28e

2025-05-09 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120048 Andrew Macleod changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/120201] G++ generates a misaligned vector operation for std::memcpy

2025-05-09 Thread stuart.a.hayhurst at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120201 --- Comment #2 from Stuart --- Sure, sorry if the bug report was a little slapdash, my dinner was ready to come out of the oven :) g++ test.cpp -O3 -march=native -fsanitize=address -std=c++23 -g -v: ``` Using built-in specs. COLLECT_GCC=g++ CO

[Bug target/120201] G++ generates a misaligned vector operation for std::memcpy

2025-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120201 --- Comment #1 from Andrew Pinski --- I can't reproduce this on the trunk but I am running on a skylake-avx512 machine. Can you provide the -v output as requested?

[Bug target/120192] Internal compiler error when building ring Rust crate

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

[Bug target/120192] Internal compiler error when building ring Rust crate

2025-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120192 --- Comment #11 from Andrew Pinski --- I can only get it to ICE at -O0. And it still ICEs after r16-178-gdea7b9a78b11b5 .

[Bug analyzer/120201] New: G++ generates a misaligned vector operation for std::memcpy

2025-05-09 Thread stuart.a.hayhurst at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120201 Bug ID: 120201 Summary: G++ generates a misaligned vector operation for std::memcpy Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal

[Bug target/120192] Internal compiler error when building ring Rust crate

2025-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120192 --- Comment #10 from Andrew Pinski --- -mavx is enough to reproduce the ICE.

[Bug target/120192] Internal compiler error when building ring Rust crate

2025-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120192 --- Comment #9 from Andrew Pinski --- /* We handle highly aligned variables in expand_stack_vars. */ gcc_assert (byte_align * BITS_PER_UNIT <= MAX_SUPPORTED_STACK_ALIGNMENT);

[Bug target/120192] Internal compiler error when building ring Rust crate

2025-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120192 Andrew Pinski changed: What|Removed |Added Known to fail||16.0 --- Comment #8 from Andrew Pinski

[Bug libfortran/120196] In findloc2_s* when "back" is true loop goes one more step than needed.

2025-05-09 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120196 --- Comment #2 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #1) > Here's a testcase that fails under valgrind: > > program p > implicit none > character(:), allocatable :: a(:), s > allocate (character(16) :: a(10),

[Bug target/120192] Internal compiler error when building ring Rust crate

2025-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120192 --- Comment #7 from Andrew Pinski --- [apinski@xeond2 gcc]$ ./xgcc -B. t.c -S -march=skylake-avx512 -w during RTL pass: expand In file included from E:\Cache\rust\cargo\registry\src\index.crates.io-1949cf8c6b5b557f\ring-0.17.14\crypto/curve25519

[Bug libfortran/120196] In findloc2_s* when "back" is true loop goes one more step than needed.

2025-05-09 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120196 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/120180] [OpenMP] ICE in C (c_parser_consume_token) / C++ cp_parser_skip_to_pragma_eol in error recovery for metadirective

2025-05-09 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120180 Tobias Burnus changed: What|Removed |Added Keywords||rejects-valid --- Comment #3 from Tobia

[Bug libstdc++/120198] [14/15/16 Regression] std::scoped_lock disabled for non-gthread environments (such as arm-none-eabi)

2025-05-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120198 --- Comment #3 from Jonathan Wakely --- It doesn't need to require hosted either.

[Bug middle-end/110027] [11 regression] Stack objects with extended alignments (vectors etc) misaligned on detect_stack_use_after_return

2025-05-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110027 --- Comment #32 from Sam James --- (In reply to Stuart from comment #31) > I can reproduce this with GCC 14.2 and GCC 15.1 on Debian Sid. > > In my case it was std::memcpy that gave me an issue, but the reproducer here > is the same issue. Ple

[Bug libstdc++/120198] [14/15/16 Regression] std::scoped_lock disabled for non-gthread environments (such as arm-none-eabi)

2025-05-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120198 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|unassigne

[Bug libstdc++/120198] std::scoped_lock disabled for non-gthread environments (such as arm-none-eabi)

2025-05-09 Thread ajcozzol at us dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120198 --- Comment #1 from Anthony Cozzolino --- Copying the code and compiler error here for convenience: #include struct MutexLike { void lock() { } void unlock() { } bool try_lock() { return true; } }; int main() { MutexLike m1,

[Bug middle-end/110027] [11 regression] Stack objects with extended alignments (vectors etc) misaligned on detect_stack_use_after_return

2025-05-09 Thread stuart.a.hayhurst at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110027 --- Comment #31 from Stuart --- I can reproduce this with GCC 14.2 and GCC 15.1 on Debian Sid. In my case it was std::memcpy that gave me an issue, but the reproducer here is the same issue.

[Bug c++/120199] ICE when using __builtin_addressof on overload function inside a template

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

[Bug fortran/120191] Functions minloc() and maxloc() ignore the "back" parameter when "kind" is present.

2025-05-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120191 --- Comment #7 from Jakub Jelinek --- Created attachment 61384 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61384&action=edit gcc16-pr120191.patch This seems to work even when the kind argument is not named, just doing for minmaxloc wha

[Bug c++/120199] ICE when using __builtin_addressof on overload function inside a template

2025-05-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120199 Andrew Pinski changed: What|Removed |Added Summary|ICE when using |ICE when using |__bui

[Bug target/120200] New: [16 Regression] profiledbootstrap broken on x86_64-linux with -Wstringop-overflow in i386-expand.cc

2025-05-09 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120200 Bug ID: 120200 Summary: [16 Regression] profiledbootstrap broken on x86_64-linux with -Wstringop-overflow in i386-expand.cc Product: gcc Version: 16.0

[Bug c++/120199] New: ICE in type_dependent_expression_p when using __builtin_addressof on templated function

2025-05-09 Thread mario.rodriguezb1 at um dot es via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120199 Bug ID: 120199 Summary: ICE in type_dependent_expression_p when using __builtin_addressof on templated function Product: gcc Version: 16.0 Status: UNCONFIRMED

[Bug libstdc++/120198] New: std::scoped_lock disabled for non-gthread environments (such as arm-none-eabi)

2025-05-09 Thread ajcozzol at us dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120198 Bug ID: 120198 Summary: std::scoped_lock disabled for non-gthread environments (such as arm-none-eabi) Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severit

[Bug c++/120185] [16 Regression] nss-3.11 ICE since r16-479-gabab79397ef97a in type_has_converting_constructor

2025-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120185 --- Comment #1 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:21842fe301caa5dbc69a69033cdc17bb29b8c399 commit r16-503-g21842fe301caa5dbc69a69033cdc17bb29b8c399 Author: Jason Merrill Date: Fri

[Bug c++/120185] [16 Regression] nss-3.11 ICE since r16-479-gabab79397ef97a in type_has_converting_constructor

2025-05-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120185 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/99599] [12/13 Regression] Concepts requirement falsely reporting cyclic dependency, breaks tag_invoke pattern

2025-05-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99599 --- Comment #30 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:21842fe301caa5dbc69a69033cdc17bb29b8c399 commit r16-503-g21842fe301caa5dbc69a69033cdc17bb29b8c399 Author: Jason Merrill Date: Fri

[Bug gcov-profile/120086] FAIL: gcc.misc-tests/gcov-29.c

2025-05-09 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120086 --- Comment #20 from John David Anglin --- (In reply to John David Anglin from comment #19) > It's not clear why gcov-30 passes on Linux. I searched the entire tree and > couldn't find how TARGET_HAVE_LIBATOMIC gets set on Linux. Also, always

[Bug c++/120197] New: ICE in GCC with decltype(cout << a) in default function parameter leads to recursive diagnostics with -std=c++20

2025-05-09 Thread mario.rodriguezb1 at um dot es via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120197 Bug ID: 120197 Summary: ICE in GCC with decltype(cout << a) in default function parameter leads to recursive diagnostics with -std=c++20 Product: gcc Version: 16

[Bug libfortran/120196] New: In findloc2_s* when "back" is true loop goes one more step than needed.

2025-05-09 Thread daniil2472s at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120196 Bug ID: 120196 Summary: In findloc2_s* when "back" is true loop goes one more step than needed. Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: norm

[Bug fortran/120191] Functions minloc() and maxloc() ignore the "back" parameter when "kind" is present.

2025-05-09 Thread daniil2472s at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120191 --- Comment #5 from Daniil Kochergin --- Done. Thank you!

[Bug fortran/120191] Functions minloc() and maxloc() ignore the "back" parameter when "kind" is present.

2025-05-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120191 --- Comment #4 from Jakub Jelinek --- Yes. You need to write a ChangeLog entry, which would be in this case I think something like PR fortran/120191 * trans-intrinsic.cc (gfc_conv_intrinsic_minmaxloc): Call strip_kind_fr

[Bug other/105404] Update in-tree copy of zlib to zlib-1.3.1

2025-05-09 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105404 --- Comment #17 from Iain Sandoe --- (In reply to Joel Sherrill from comment #16) > Over at RTEMS.org, we have a report from a Mac user that the gcc zlib needs > updating or patched to build there. We are seeing this with GCC 13 but the > versio

[Bug fortran/120191] Functions minloc() and maxloc() ignore the "back" parameter when "kind" is present.

2025-05-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120191 --- Comment #6 from Jakub Jelinek --- Note, the test even with your patch FAILs for -O0 and -Os, first on STOP 17, I see quite a few invocations still with 6 arguments: grep maxloc.*,.*,.*,.*,.*,.* pr120191.f90.007t.gimple [pr

[Bug c++/120195] New: [modules] export using of purview 'extern "C++"' declaration not bound in importers

2025-05-09 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120195 Bug ID: 120195 Summary: [modules] export using of purview 'extern "C++"' declaration not bound in importers Product: gcc Version: 16.0 Status: UNCONFIRMED Keyw

  1   2   >