[Bug c++/120013] SIGSEGV ICE with modules related to instantiation of templates across partition units

2025-04-29 Thread miuna.oshino at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120013 --- Comment #5 from Amber Ehrlich --- Ehh he's not sure so I'll do it anyways. Removing the other 2 cases from this post

[Bug ipa/120006] [15 Regression] wrong code with -O2 -fipa-pta

2025-04-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120006 --- Comment #4 from Sam James --- I can have a look at reducing if nobody else can, just it may be a few days. But are you sure fsck.c is actually the miscompiled file (verified that)? > > I diffed the new preprocessed file with the old one a

[Bug c++/120015] internal compiler error: in unify, at cp/pt.cc:25969

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

[Bug rust/120018] internal compiler error: in redirect_to_unreachable, at ipa-fnsummary.cc:258 for 32-bits

2025-04-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120018 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug rust/120018] internal compiler error: in redirect_to_unreachable, at ipa-fnsummary.cc:258 for 32-bits

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

[Bug target/111107] i686-w64-mingw32 does not realign stack when __attribute__((aligned)) or __attribute__((vector_size)) are used

2025-04-29 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=07 --- Comment #31 from LIU Hao --- (In reply to Gabriel Ivăncescu from comment #30) > Why would it not be safe? For MinGW specifically, what's not safe about it? > The entire Windows stack assumes only 4-byte alignment for i386, because > that's w

[Bug c++/120017] New: Nested diagnostics could be slightly improved for concepts-related diagnostics

2025-04-29 Thread ensadc at mailnesia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120017 Bug ID: 120017 Summary: Nested diagnostics could be slightly improved for concepts-related diagnostics Product: gcc Version: unknown Status: UNCONFIRMED Keywor

[Bug c++/120015] New: internal compiler error: in unify, at cp/pt.cc:25969

2025-04-29 Thread ldalessandro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120015 Bug ID: 120015 Summary: internal compiler error: in unify, at cp/pt.cc:25969 Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug c++/120014] New: SIGSEGV ICE with modules related to instantiation of templates across partition units (case 2)

2025-04-29 Thread miuna.oshino at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120014 Bug ID: 120014 Summary: SIGSEGV ICE with modules related to instantiation of templates across partition units (case 2) Product: gcc Version: 15.1.0 Status: UNCONFIRMED

[Bug ipa/120006] [15 Regression] wrong code with -O2 -fipa-pta

2025-04-29 Thread anhollander516 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120006 --- Comment #5 from Avraham Hollander --- (In reply to Sam James from comment #4) > I can have a look at reducing if nobody else can, just it may be a few days. > But > are you sure fsck.c is actually the miscompiled file (verified that)? > >

[Bug ipa/120006] [15/16 Regression] wrong code with -O2 -fipa-pta

2025-04-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120006 --- Comment #7 from Sam James --- Created attachment 61247 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61247&action=edit fsck.i.xz Reduced (but could do with more) testcase attached. $ gcc fsck.c -o fsck -save-temps -O2 -fsigned-char

[Bug ipa/120006] [15/16 Regression] wrong code with -O2 -fipa-pta

2025-04-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120006 --- Comment #9 from Sam James --- I need to do other things for tonight so won't be reducing it further for now. Feel free to take over.

[Bug ipa/120006] [15/16 Regression] wrong code with -O2 -fipa-pta

2025-04-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120006 --- Comment #8 from Sam James --- Created attachment 61248 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61248&action=edit fsck.c

[Bug ada/112958] [12/13/14/15/16 regression] s-exnllf.ads etc. don't compile on 32-bit FreeBSD/x86

2025-04-29 Thread kostikbel at ukr dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112958 --- Comment #11 from Konstantin Belousov --- Also the following regression was introduced in 15: --- gcc/ada/init.c~ 2025-04-25 11:18:00.0 +0300 +++ gcc/ada/init.c 2025-04-26 08:07:51.804119000 +0300 @@ -1686,8 +1686,8 @@ #inc

[Bug ada/112958] [12/13/14/15/16 regression] s-exnllf.ads etc. don't compile on 32-bit FreeBSD/x86

2025-04-29 Thread kostikbel at ukr dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112958 Konstantin Belousov changed: What|Removed |Added CC||kostikbel at ukr dot net --- Comm

[Bug c++/120013] SIGSEGV ICE with modules related to instantiation of templates across partition units

2025-04-29 Thread miuna.oshino at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120013 --- Comment #6 from Amber Ehrlich --- Ahh I can't edit, well, https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120014 and https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120016 are crash 2 and 3 respectively

[Bug target/120011] [15/16 Regression] Impossible asm constraints in 32 bit libgcc when compiling with -march=x86-64-v4 -Os since r15-9176-g564e4e08190229

2025-04-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120011 Sam James changed: What|Removed |Added Summary|[15/16 Regression] |[15/16 Regression] |Impos

[Bug ipa/120006] [15 Regression] wrong code with -O2 -fipa-pta

2025-04-29 Thread anhollander516 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120006 --- Comment #3 from Avraham Hollander --- (In reply to Andrew Pinski from comment #2) > Can you try the backporting the commit in PR 119973 and seeing if that fixes > this one too? If so please close this as a dup of bug 119973. It did not fix

[Bug target/117312] RFE: x86 (and perhaps others): inline assembly: "red-zone" clobber

2025-04-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117312 Sam James changed: What|Removed |Added Target Milestone|--- |15.0

[Bug libstdc++/109162] C++23 improvements to std::format

2025-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109162 --- Comment #27 from GCC Commits --- The master branch has been updated by Tomasz Kaminski : https://gcc.gnu.org/g:2ca5725e104d432317a44ad45183a4f555da3b82 commit r16-293-g2ca5725e104d432317a44ad45183a4f555da3b82 Author: Tomasz KamiÅski Date:

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

2025-04-29 Thread neil.n.carlson at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119986 --- Comment #4 from Neil Carlson --- (In reply to kargls from comment #3) > Also note, that the above generates the expected temporary arrays. A tangential question: Why is this expected? I would have naively thought that a dope vector with a s

[Bug target/119547] RISC-V: VSETVL mistakenly modified other data

2025-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119547 --- Comment #19 from GCC Commits --- The releases/gcc-14 branch has been updated by Kito Cheng : https://gcc.gnu.org/g:ae6ce4cd33d00b8acc9503b0d4883fa92c1a696d commit r14-11700-gae6ce4cd33d00b8acc9503b0d4883fa92c1a696d Author: Robin Dapp Date

[Bug target/119533] RISC-V: libgo build failures (ICE) with Vector enabled

2025-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119533 --- Comment #15 from GCC Commits --- The releases/gcc-14 branch has been updated by Kito Cheng : https://gcc.gnu.org/g:e363940e1cef7f6face970414ffaa565daf413bd commit r14-11701-ge363940e1cef7f6face970414ffaa565daf413bd Author: Vineet Gupta Da

[Bug ipa/120006] [15/16 Regression] wrong code with -O2 -fipa-pta

2025-04-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120006 --- Comment #11 from Sam James --- Created attachment 61249 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61249&action=edit small.c This cvise-mangled one (tidied up a fair bit after) seems to do it, but it's weird, e.g. swapping g/h mak

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

2025-04-29 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119986 --- Comment #5 from kargls at comcast dot net --- On 4/29/25 17:01, neil.n.carlson at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119986 > > --- Comment #4 from Neil Carlson --- > (In reply to kargls from comment #3) >>

[Bug c++/62244] Function parameter should be in scope in its own default argument

2025-04-29 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62244 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/120012] [12/13/14/15/16 Regression] P1008R1 causes tail padding reuse in C++20 mode

2025-04-29 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120012 Jason Merrill changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/120016] New: SIGSEGV ICE with modules related to instantiation of templates across partition units (case 3)

2025-04-29 Thread miuna.oshino at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120016 Bug ID: 120016 Summary: SIGSEGV ICE with modules related to instantiation of templates across partition units (case 3) Product: gcc Version: 15.1.0 Status: UNCONFIRMED

[Bug ipa/120006] [15 Regression] wrong code with -O2 -fipa-pta

2025-04-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120006 --- Comment #6 from Sam James --- (In reply to Avraham Hollander from comment #5) > So it could be code from either of those files. How would you narrow that > down further? What I usually do is: * Build it manually (git clone ... && cd ... &&

[Bug ipa/120006] [15 Regression] wrong code with -O2 -fipa-pta

2025-04-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120006 Sam James changed: What|Removed |Added Known to fail||15.1.0, 16.0 Keywords|

[Bug ipa/120006] [15/16 Regression] wrong code with -O2 -fipa-pta

2025-04-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120006 --- Comment #10 from Sam James --- It's definitely related to the x* functions. Using __builtin_XXX() instead makes it work.

[Bug c++/120017] Nested diagnostics could be slightly improved for concepts-related diagnostics

2025-04-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120017 Andrew Pinski changed: What|Removed |Added Blocks||67491 Severity|normal

[Bug target/99217] [MIPS] wrong function entry with -fpatchable-function-entry

2025-04-29 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99217 --- Comment #8 from chenglulu --- Patch https://gcc.gnu.org/pipermail/gcc-patches/2025-April/682268.html can fix this bug

[Bug c++/120012] [12/13/14/15/16 Regression] P1008R1 causes tail padding reuse in C++20 mode

2025-04-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120012 --- Comment #1 from Jakub Jelinek --- Tried clang++ on godbolt and it has the C++17 layout for all language modes.

[Bug ipa/120018] New: internal compiler error: in redirect_to_unreachable, at ipa-fnsummary.cc:258 for 32-bits

2025-04-29 Thread dkm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120018 Bug ID: 120018 Summary: internal compiler error: in redirect_to_unreachable, at ipa-fnsummary.cc:258 for 32-bits Product: gcc Version: 16.0 Status: UNCONFIRMED

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

2025-04-29 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119986 kargls at comcast dot net changed: What|Removed |Added CC||kargls at comcast dot net --

[Bug rtl-optimization/92080] Missed CSE of _mm512_set1_epi8(c) with _mm256_set1_epi8(c)

2025-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92080 --- Comment #12 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:d1cada7481420a23fbec525548ef5bdf64839a34 commit r16-271-gd1cada7481420a23fbec525548ef5bdf64839a34 Author: H.J. Lu Date: Fri Nov 29 18:

[Bug target/117839] Redundant vector XOR instructions

2025-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117839 --- Comment #5 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:d1cada7481420a23fbec525548ef5bdf64839a34 commit r16-271-gd1cada7481420a23fbec525548ef5bdf64839a34 Author: H.J. Lu Date: Fri Nov 29 18:

[Bug target/117839] Redundant vector XOR instructions

2025-04-29 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117839 H.J. Lu changed: What|Removed |Added Target Milestone|--- |16.0 Status|NEW

[Bug target/117547] FAIL: gcc.target/i386/*-pr93673.c without TARGET_PROMOTE_PROTOTYPES

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

[Ada] incorrectly specified array of record aggregates in protected object causes bug box in GNAT 12.2.0

2025-04-29 Thread babiak via Gcc-bugs
(Sorry if I included too much information, this is my first time making a manual bug report by email.) I ran into this error when I forgot to specify all the elements in an array aggregate, but instead of a compiler error or warning, I got a bug box. To be specific: Inside a protected object,

[Bug target/111657] Memory copy with structure assignment from named address space should be improved

2025-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111657 --- Comment #12 from GCC Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:aa29654b1128a572c97fcaba94095f493662a0db commit r16-276-gaa29654b1128a572c97fcaba94095f493662a0db Author: Uros Bizjak Date: Tue A

[Bug target/111657] Memory copy with structure assignment from named address space should be improved

2025-04-29 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111657 Uroš Bizjak changed: What|Removed |Added Resolution|--- |FIXED Status|REOPENED

[Bug tree-optimization/119960] [15/16 Regression] vectorizer seems not to do as much any more since r15-5863

2025-04-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119960 --- Comment #7 from Richard Biener --- So I do have a patch amending the r15-5863 revision to allow vectorizing the cases again but it regresses gcc.dg/vect/pr116352.c (the testcase the code was added for) since we run into a similar issue in SL

[Bug target/120001] On RISC-V with -O2 and -O3 __sync_or_and_fetch in a loop renders as an endless loop and multiple amoor

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

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

2025-04-29 Thread Chris.Bazley at arm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119317 --- Comment #5 from Chris Bazley --- Patch has been emailed to gcc-patc...@gcc.gnu.org for review.

[Bug target/120002] R_AARCH64_ABS64 emitted against hidden symbol

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

[Bug target/120002] R_AARCH64_ABS64 emitted against hidden symbol

2025-04-29 Thread gcc--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120002 Thomas Weißschuh changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #2 from Thomas Wei

[Bug target/120001] On RISC-V with -O2 and -O3 __sync_or_and_fetch in a loop renders as an endless loop and multiple amoor

2025-04-29 Thread vincenzo.romano at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120001 --- Comment #4 from Vincenzo Romano --- Id the double amoor op intentional? If so, why?

[Bug middle-end/119999] [12/13 Regression] explicit infinite goto loop removed causing assert

2025-04-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11 --- Comment #4 from Jonathan Wakely --- It stopped aborting with r14-2709-g65ff4a45b11b5ab13ef849bd5721ab28ff316202 Author: Jan Hubicka AuthorDate: Fri Jul 21 13:54:23 2023 loop-ch improvements, part 5 Currently loop-ch skips all

[Bug middle-end/119999] [12/13 Regression] explicit infinite goto loop removed causing assert

2025-04-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11 --- Comment #6 from Jonathan Wakely --- Using -fno-finite-loops prevents the assertion from failing: -ffinite-loops Assume that a loop with an exit will eventually take the exit and not loop indefinitely. This allows the compiler to remov

[Bug middle-end/119999] [12/13 Regression] explicit infinite goto loop removed causing assert

2025-04-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11 --- Comment #7 from Jonathan Wakely --- N.B. with -O3 we just exit without aborting or looping, even after r14-2709. That's OK, because the behaviour is undefined. It would be nice if we inserted an unreachable or a trap that -fsanitize=undefine

[Bug target/113484] Add support for _Float16 type on PowerPC

2025-04-29 Thread john_platts at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113484 --- Comment #5 from John Platts --- (In reply to Segher Boessenkool from comment #4) > Ah, this was about *actual* half-precision float, which indeed is 3.0 > (Power9). > > But all the same holds: it needs to be added to the ABI before we can h

[Bug middle-end/119999] [12/13 Regression] explicit infinite goto loop removed causing assert

2025-04-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11 --- Comment #5 from Jonathan Wakely --- It started aborting with r272234 aka r10-1052-gc29c92c789d938 Author: Feng Xue AuthorDate: Thu Jun 13 05:17:42 2019 PR tree-optimization/89713 - Assume loop with an exit is finite gcc/Change

[Bug middle-end/119999] [12/13 Regression] explicit infinite goto loop removed causing assert

2025-04-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11 Jonathan Wakely changed: What|Removed |Added Keywords|needs-bisection | --- Comment #8 from Jonathan Wakely

[Bug c++/119806] OpenACC, OpenMP 'target' offloading vs. C++ 'typeinfo' parts

2025-04-29 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119806 --- Comment #2 from Thomas Schwinge --- Similarly (I suppose, but have not checked the details), OpenMP_VV 'tests/5.0/application_kernels/declare_target_base_and_derived_class.cpp': GCN: ld: error: undefined symbol: vtable for S1 >>> r

[Bug c++/119844] Incomplete types are displayed after the import module

2025-04-29 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119844 Nathaniel Shead changed: What|Removed |Added Keywords||diagnostic CC|

[Bug middle-end/120003] New: Missed Optimisation / Regression

2025-04-29 Thread phdiv at fastmail dot fm via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120003 Bug ID: 120003 Summary: Missed Optimisation / Regression Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end

[Bug target/119235] Argument pointer survives LRA with -m31 -mzarch

2025-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119235 --- Comment #4 from GCC Commits --- The releases/gcc-12 branch has been updated by Stefan Schulze Frielinghaus : https://gcc.gnu.org/g:d41ce9f7c392d5110a63d61c4c85fb7a5f2f commit r12-11075-gd41ce9f7c392d5110a63d61c4c85fb7a5f2f Author:

[Bug c/120001] New: On RISC-V with -O2 and -O3 __sync_or_and_fetch in a loop renders as an endless loop and multiple amoor

2025-04-29 Thread vincenzo.romano at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120001 Bug ID: 120001 Summary: On RISC-V with -O2 and -O3 __sync_or_and_fetch in a loop renders as an endless loop and multiple amoor Product: gcc Version: 15.1.0 Status: UNCON

[Bug target/118794] The attached c++ openmp offload code fails, because the c sqrt function makes nonlocal gotos..

2025-04-29 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118794 Thomas Schwinge changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment

[Bug target/119235] Argument pointer survives LRA with -m31 -mzarch

2025-04-29 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119235 Stefan Schulze Frielinghaus changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resoluti

gcc-bugs@gcc.gnu.org

2025-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119997 --- Comment #2 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:fc62834533f357125b9c1934f80c2ba249adbf9e commit r16-281-gfc62834533f357125b9c1934f80c2ba249adbf9e Author: Richard Biener Date:

gcc-bugs@gcc.gnu.org

2025-04-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119997 Richard Biener changed: What|Removed |Added Known to fail||13.1.0, 15.1.0 Summary|[13/

[Bug libstdc++/119427] std::erase_if(std::flat_map) does not work

2025-04-29 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119427 Patrick Palka changed: What|Removed |Added Target Milestone|--- |14.3

[Bug libstdc++/119427] std::erase_if(std::flat_map) does not work

2025-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119427 --- Comment #3 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:aa93272cfd2233858da0792761387cc27f4d5ff3 commit r16-282-gaa93272cfd2233858da0792761387cc27f4d5ff3 Author: Patrick Palka Date: Tu

[Bug c++/104734] -isystem hides -Woverloaded-virtual warning

2025-04-29 Thread eugene.shalygin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104734 Eugene Shalygin changed: What|Removed |Added CC||eugene.shalygin at gmail dot com ---

[Bug target/119900] [16 regression] imagick slowdown with -Ofast -march=native -fprofile-use since r16-39-gf6859fb621179e (interaction of rpad and late-combine)

2025-04-29 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119900 Jan Hubicka changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org S

[Bug target/120002] R_AARCH64_ABS64 emitted against hidden symbol

2025-04-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120002 Andrew Pinski changed: What|Removed |Added Resolution|FIXED |INVALID --- Comment #3 from Andrew Pins

[Bug c++/119964] [15/16 regression] GCC 15 does not delete explicitly-defaulted move constructor with (const T&&) parameter

2025-04-29 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119964 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

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

2025-04-29 Thread gandalf at winds dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119317 --- Comment #6 from Byron Stanoszek --- I confirm that Chris's patch does indeed fix the compile issue. Thanks!

[Bug middle-end/120003] [12/13/14/15/16 Regression] missed optimization around a loop with a checker

2025-04-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120003 --- Comment #1 from Andrew Pinski --- Maybe r12-3453-g01b5038718056b024b370b74a874fbd92c5bbab3 .

[Bug target/120002] R_AARCH64_ABS64 emitted against hidden symbol

2025-04-29 Thread gcc--- via Gcc-bugs
GCC from emitting absolute relocations? Similar to how this code works with clang or -mcmodel=small? > If you want that you should do the similar thing as what the 32bit compat > does for a similar reasons. This is what I am doing for now: https://lore.kernel.org/lkml/20250429-vd

[Bug tree-optimization/120003] [12/13/14/15/16 Regression] missed optimization around a loop with a checker

2025-04-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120003 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.5 Component|middle-end

[Bug middle-end/120003] [12/13/14/15/16 Regression] missed optimization around a loop with a checker

2025-04-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120003 --- Comment #2 from Richard Biener --- I bet it's caused by some jump threading changes for FSM threading opportunities.

[Bug target/120001] On RISC-V with -O2 and -O3 __sync_or_and_fetch in a loop renders as an endless loop and multiple amoor

2025-04-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120001 --- Comment #5 from Andrew Pinski --- (In reply to Vincenzo Romano from comment #4) > Id the double amoor op intentional? > > If so, why? I said why: Unrolling the infinite loop is what happens. We copy the inner basic block of the loop to "u

[Bug target/110800] [gcn] ICE (segfault) 'during RTL pass: jump' in delete_trivially_dead_insns -> count_reg_usage when C++ exceptions are enabled + used

2025-04-29 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110800 Thomas Schwinge changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/120001] On RISC-V with -O2 and -O3 __sync_or_and_fetch in a loop renders as an endless loop and multiple amoor

2025-04-29 Thread vincenzo.romano at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120001 --- Comment #1 from Vincenzo Romano --- Please, mark this bug as INVALID. At least for the endless loop part. I am not sure about the double amoor instruction, though.

[Bug target/111107] i686-w64-mingw32 does not realign stack when __attribute__((aligned)) or __attribute__((vector_size)) are used

2025-04-29 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=07 LIU Hao changed: What|Removed |Added Attachment #61234|0 |1 is obsolete|

[Bug target/111107] i686-w64-mingw32 does not realign stack when __attribute__((aligned)) or __attribute__((vector_size)) are used

2025-04-29 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=07 LIU Hao changed: What|Removed |Added Attachment #61236|0 |1 is obsolete|

[Bug c/120002] New: R_AARCH64_ABS64 emitted against hidden symbol

2025-04-29 Thread gcc--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120002 Bug ID: 120002 Summary: R_AARCH64_ABS64 emitted against hidden symbol Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/120001] On RISC-V with -O2 and -O3 __sync_or_and_fetch in a loop renders as an endless loop and multiple amoor

2025-04-29 Thread vincenzo.romano at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120001 --- Comment #2 from Vincenzo Romano --- If I put __sync_fetch_and_or instead of __sync_or_and_fetch I objously get the expected behavior as fas as the endless loop is concerned.

[Bug tree-optimization/120003] [12/13/14/15/16 Regression] missed optimization around a loop with a checker

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

[Bug target/119980] wrong aliasing decision with structure acces

2025-04-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119980 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug target/117547] FAIL: gcc.target/i386/*-pr93673.c without TARGET_PROMOTE_PROTOTYPES

2025-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117547 --- Comment #7 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:a0a64aa5da0af5ecb022675cdb9140ccfa098ce3 commit r16-270-ga0a64aa5da0af5ecb022675cdb9140ccfa098ce3 Author: H.J. Lu Date: Tue Nov 12 09:

[Bug target/119980] wrong aliasing decision with structure acces

2025-04-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119980 --- Comment #4 from Richard Biener --- (In reply to Richard Biener from comment #3) > Yes, it looks very very similar. > > In peephole2 the redundant load/store pair keeping the = 2 store data > dependent on the later load vanishes (with -fdisa

[Bug c++/119999] New: Wrong Pointer Comparison in GCC 10/11/12/13 with -Os/-Oz Flags

2025-04-29 Thread bouncy12578 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11 Bug ID: 11 Summary: Wrong Pointer Comparison in GCC 10/11/12/13 with -Os/-Oz Flags Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal

[Bug c++/119998] New: ICE (segfault) on missing constraint in redeclaration.

2025-04-29 Thread luc.grosheintz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119998 Bug ID: 119998 Summary: ICE (segfault) on missing constraint in redeclaration. Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 C

[Bug middle-end/119999] [12/13 Regression] explicit infinite goto loop removed causing assert

2025-04-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.5 --- Comment #1 from Andrew Pinski

[Bug debug/78685] -Og generates too many ""s

2025-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78685 --- Comment #32 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:3cf97980aaab6971ae179625a5e1188255dcf925 commit r16-273-g3cf97980aaab6971ae179625a5e1188255dcf925 Author: Richard Biener Date:

[Bug debug/78685] -Og generates too many ""s

2025-04-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78685 --- Comment #31 from Jakub Jelinek --- That is nonsense. -O0 -fvar-tracking doesn't work and would be substantial amount of work, far more than artificially adding uses of all vars at the end of their scopes for -Og.

[Bug debug/78685] -Og generates too many ""s

2025-04-29 Thread Hi-Angel at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78685 --- Comment #33 from Konstantin Kharlamov --- @Richard Biener: thank you for the change! If I may point out though, the new text still says: > […]-Og should be the optimization level of choice for the standard > edit-compile-debug cycle, offerin

[Bug debug/78685] -Og generates too many ""s

2025-04-29 Thread Hi-Angel at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78685 --- Comment #34 from Konstantin Kharlamov --- > which is a problem, because it which is a problem, because it the actual > situation whoops, sorry, not sure what happened to that part, it's supposed to be "which is a problem, because it contrad

[Bug rtl-optimization/119982] [16 Regression] FAIL: gcc.target/i386/pr109362.c scan-assembler \tmovq\t8\\(%rdi\\), %r by r16-190-g6901d56fea2132

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

[Bug c++/119983] Member function in unnamed type causes internal compiler error in module.

2025-04-29 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119983 Nathaniel Shead changed: What|Removed |Added CC||nshead at gcc dot gnu.org K

[Bug c++/103524] [meta-bug] modules issue

2025-04-29 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 119983, which changed state. Bug 119983 Summary: Member function in unnamed type causes internal compiler error in module. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119983 What|Removed

[Bug c++/119983] Member function in unnamed type causes internal compiler error in module.

2025-04-29 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119983 --- Comment #3 from Nathaniel Shead --- I will note that making the variable internal linkage will silence GCC 15, since a TU-local variable itself is not an exposure; this is appropriate if you only need the variable within that TU. For exampl

[Bug rtl-optimization/119982] [16 Regression] FAIL: gcc.target/i386/pr109362.c scan-assembler \tmovq\t8\\(%rdi\\), %r by r16-190-g6901d56fea2132

2025-04-29 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119982 --- Comment #4 from rguenther at suse dot de --- On Tue, 29 Apr 2025, pinskia at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119982 > > Andrew Pinski changed: > >What|Removed |Add

[Bug gcov-profile/118581] auto_profile can't annotate bb with all debug_stmt which assigned value with constant

2025-04-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118581 --- Comment #6 from GCC Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:59e853308bd797f91df15fd0fa65a3b5ce2cf4a2 commit r16-274-g59e853308bd797f91df15fd0fa65a3b5ce2cf4a2 Author: hongtao.liu Date: Wed Ja

[Bug debug/78685] -Og generates too many ""s

2025-04-29 Thread lukas.graetz--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78685 --- Comment #35 from Lukas Grätz --- (In reply to Jakub Jelinek from comment #31) > That is nonsense. > -O0 -fvar-tracking doesn't work and would be substantial amount of work, far > more than artificially adding uses of all vars at the end of th

  1   2   3   >