[Bug fortran/120889] [16 regression] gfortran.dg/asan/array_constructor_1.f90 Fails since r16-1696-gdff66a690f6d47

2025-07-06 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120889 Andre Vehreschild changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/120495] error: non-template type 'coroutine_handle' used as a template

2025-07-06 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120495 LIU Hao changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug c++/120495] error: non-template type 'coroutine_handle' used as a template

2025-07-06 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120495 --- Comment #5 from Iain Sandoe --- this was reported against GCC-15.1 - I was expecting to back-port for 15.2, so perhaps re-open so that it does not get forgotten?

[Bug c++/88853] ICE: verify_type failed (error: type variant differs by TYPE_PACKED) with -fpack-struct -g

2025-07-06 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88853 --- Comment #6 from David Binderman --- For this C++ code: cvise $ more bug1108.cc template constexpr bool is_trivially_destructible_v = __is_trivially_destructible(_Tp); template struct _Traits { static constexpr bool _S_trivial_dtor =

[Bug c++/120495] error: non-template type 'coroutine_handle' used as a template

2025-07-06 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120495 LIU Hao changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/63164] unnecessary calls to __dynamic_cast

2025-07-06 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63164 --- Comment #8 from Florian Weimer --- There's this big comment in typeinfo: // Determine whether typeinfo names for the same type are merged (in which // case comparison can just compare pointers) or not (in which case strings // must be compar

[Bug middle-end/120709] [15/16 Regression] ICE in expand_builtin_crc_table_based with __builtin_crc8_data8 and non constant poly argument

2025-07-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120709 --- Comment #6 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:be07dd9a96a7a6f8fb59c939eda84d74b54f8182 commit r16-2044-gbe07dd9a96a7a6f8fb59c939eda84d74b54f8182 Author: Andrew Pinski Date: Su

[Bug middle-end/120709] [15 Regression] ICE in expand_builtin_crc_table_based with __builtin_crc8_data8 and non constant poly argument

2025-07-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120709 Andrew Pinski changed: What|Removed |Added Summary|[15/16 Regression] ICE in |[15 Regression] ICE in

[Bug libstdc++/120976] error: static_assert( !is_same_v<__float128, long double> failed

2025-07-06 Thread tkaminsk at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120976 --- Comment #3 from Tomasz Kamiński --- I have posted this patch in May, that will fix the issue: https://gcc.gnu.org/pipermail/libstdc++/2025-May/061450.html I think we should merge it. The only architecture where __float128 exists and is diff

[Bug tree-optimization/120980] Vectorizer (early exit) introduces out-of-bounds memory access

2025-07-06 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120980 --- Comment #1 from Tamar Christina --- I'm not sure that I'd draw the same conclusion. I view it as the vectorizer has put a 32-byte alignment requirement on the object and so I'd consider the object itself to be 32-bytes sized. So to the not

[Bug target/120763] [meta-bug] Tracker for bugs to visit during weekly RISC-V meeting

2025-07-06 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120763 Bug 120763 depends on bug 118241, which changed state. Bug 118241 Summary: RISC-V ICE: internal compiler error: in int_mode_for_mode, at stor-layout.cc:407 caused by prefetch instructions https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118241

[Bug target/118241] RISC-V ICE: internal compiler error: in int_mode_for_mode, at stor-layout.cc:407 caused by prefetch instructions

2025-07-06 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118241 Vineet Gupta changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug rtl-optimization/101882] [16 Regression] combine vs. insn with earlyclobber and input and output set to a hard register

2025-07-06 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101882 --- Comment #26 from Segher Boessenkool --- (In reply to chenglulu from comment #25) > > And if the input is non-sensical, the compiler output will be as well, or > > the > > compiler can give up in some cases. > > > I also don't quite agree t

[Bug rtl-optimization/101882] [16 Regression] combine vs. insn with earlyclobber and input and output set to a hard register

2025-07-06 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101882 --- Comment #25 from chenglulu --- (In reply to Segher Boessenkool from comment #24) > (In reply to Xi Ruoyao from comment #21) > > (In reply to Segher Boessenkool from comment #20) > > > (In reply to Peter Bergner from comment #17) > > > > The

[Bug rtl-optimization/120983] recog violates earlyclobber with user-defined hard register before reload (causing ICE on gcc.target/loongarch/bitwise-shift-reassoc-clobber.c)

2025-07-06 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120983 --- Comment #6 from Xi Ruoyao --- (In reply to Andrew Pinski from comment #4) > Oh look: > /* Both the earlyclobber operand and conflicting operand >cannot both be user defined hard registers. */ >

[Bug rtl-optimization/120983] recog violates earlyclobber with user-defined hard register before reload (causing ICE on gcc.target/loongarch/bitwise-shift-reassoc-clobber.c)

2025-07-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120983 --- Comment #5 from Andrew Pinski --- gcc.target/loongarch/bitwise-shift-reassoc-clobber.c: ``` /* { dg-do run } */ /* { dg-options "-O2" } */ register long x asm ("s0"); #define TEST(x) (int)(((x & 0x114) << 3) + x) [[gnu::noipa]] void test

[Bug rtl-optimization/120983] recog violates earlyclobber with user-defined hard register before reload (causing ICE on gcc.target/loongarch/bitwise-shift-reassoc-clobber.c)

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

[Bug rtl-optimization/120983] recog violates earlyclobber with user-defined hard register before reload (causing ICE on gcc.target/loongarch/bitwise-shift-reassoc-clobber.c)

2025-07-06 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120983 --- Comment #3 from Segher Boessenkool --- Please attach a testcase, and how to compile the code (-O2 etc.). Oh, and fill in the target field :-)

[Bug rtl-optimization/120983] recog violates earlyclobber with user-defined hard register before reload (causing ICE on gcc.target/loongarch/bitwise-shift-reassoc-clobber.c)

2025-07-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120983 Andrew Pinski changed: What|Removed |Added Keywords||ra --- Comment #2 from Andrew Pinski -

[Bug rtl-optimization/120983] recog violates earlyclobber with user-defined hard register before reload (causing ICE on gcc.target/loongarch/bitwise-shift-reassoc-clobber.c)

2025-07-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120983 --- Comment #1 from Andrew Pinski --- So the problem is before reload only the predicates are used and not the constraints. The early clobbered is never looked at. I wonder why IRA could not generate a reload here though since it could push (re

[Bug rtl-optimization/101882] [16 Regression] combine vs. insn with earlyclobber and input and output set to a hard register

2025-07-06 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101882 --- Comment #24 from Segher Boessenkool --- (In reply to Xi Ruoyao from comment #21) > (In reply to Segher Boessenkool from comment #20) > > (In reply to Peter Bergner from comment #17) > > > The reason operands 0, 1 and 4 all use the register r

[Bug rtl-optimization/101882] [16 Regression] combine vs. insn with earlyclobber and input and output set to a hard register

2025-07-06 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101882 --- Comment #23 from Segher Boessenkool --- It is a different target. Your issue has nothing at all to do with the problem we used to have. The root cause is very likely completely unrelated. Etc. etc. etc.

[Bug rtl-optimization/101882] [16 Regression] combine vs. insn with earlyclobber and input and output set to a hard register

2025-07-06 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101882 Xi Ruoyao changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug rtl-optimization/120983] New: recog violates earlyclobber with user-defined hard register before reload (causing ICE on gcc.target/loongarch/bitwise-shift-reassoc-clobber.c)

2025-07-06 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120983 Bug ID: 120983 Summary: recog violates earlyclobber with user-defined hard register before reload (causing ICE on gcc.target/loongarch/bitwise-shift-reassoc-clobber.c) Prod

[Bug rtl-optimization/101882] [16 Regression] combine vs. insn with earlyclobber and input and output set to a hard register

2025-07-06 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101882 --- Comment #21 from Xi Ruoyao --- (In reply to Segher Boessenkool from comment #20) > (In reply to Peter Bergner from comment #17) > > The reason operands 0, 1 and 4 all use the register r23, is that each > > operand is using the same pseudo, c

[Bug tree-optimization/120982] New: Incorrect alignment after vectorization

2025-07-06 Thread kristerw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120982 Bug ID: 120982 Summary: Incorrect alignment after vectorization Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-opt

[Bug tree-optimization/120981] New: Vectorizer introduces UB address calculation

2025-07-06 Thread kristerw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120981 Bug ID: 120981 Summary: Vectorizer introduces UB address calculation Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tre

[Bug c/120978] Punctuators that contain # or %: are incorrectly rejected within attributes

2025-07-06 Thread harald at gigawatt dot nl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120978 Harald van Dijk changed: What|Removed |Added CC||harald at gigawatt dot nl --- Comment

[Bug rtl-optimization/101882] [16 Regression] combine vs. insn with earlyclobber and input and output set to a hard register

2025-07-06 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101882 --- Comment #20 from Segher Boessenkool --- (In reply to Peter Bergner from comment #17) > The reason operands 0, 1 and 4 all use the register r23, is that each > operand is using the same pseudo, coming from variable "x", which is a user > defi

[Bug rtl-optimization/101882] [16 Regression] combine vs. insn with earlyclobber and input and output set to a hard register

2025-07-06 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101882 --- Comment #19 from Segher Boessenkool --- Hi Peter! (In reply to Peter Bergner from comment #18) > So the error message is coming from this hunk in my patch: > > + /* Both the earlyclobber operand and conflicting operand > +

[Bug rtl-optimization/101882] [16 Regression] combine vs. insn with earlyclobber and input and output set to a hard register

2025-07-06 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101882 --- Comment #18 from Peter Bergner --- (In reply to Xi Ruoyao from comment #13) > I'm almost sure this is causing > gcc.target/loongarch/bitwise-shift-reassoc-clobber.c ICE in GCC 16: > > bitwise-shift-reassoc-clobber.c:12:1: error: unable to g

[Bug tree-optimization/120980] New: Vectorizer introduces out-of-bounds memory access

2025-07-06 Thread kristerw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120980 Bug ID: 120980 Summary: Vectorizer introduces out-of-bounds memory access Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug c/120978] Punctuators that contain # or %: are incorrectly rejected within attributes

2025-07-06 Thread luigighiron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120978 --- Comment #8 from Halalaluyafail3 --- (In reply to Andrew Pinski from comment #6) > Because otherwise it would mean: > ``` > [[ignored( > #)]]int main(){} > ``` > > Would be invalid C while: > ``` > [[ignored(#)]]int main(){} > ``` > > Would

[Bug rtl-optimization/101882] [16 Regression] combine vs. insn with earlyclobber and input and output set to a hard register

2025-07-06 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101882 --- Comment #17 from Peter Bergner --- (In reply to Xi Ruoyao from comment #15) > The problem is operand 4 does not have "0", and it's also assigned the hard > register r23. It's fine for operand 0 and 1 to be the same, also for > operand 1 and

[Bug tree-optimization/120979] Missed strdup to malloc + memcpy for known strings

2025-07-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120979 --- Comment #3 from Andrew Pinski --- Also as I mentioned xstrdup is not linked at all to the normal strdup (it is a wrapper around strdup which will error out [and exit] if strdup returns NULL).

[Bug tree-optimization/120979] Missed strdup to malloc + memcpy for known strings

2025-07-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120979 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > Note xstrdup is not the same as strdup ... > > ``` > char *a() > { > return __builtin_strdump (""); Sorry typo, __builtin_strdup. > } > ``` > > Would

[Bug tree-optimization/120979] Missed strdup to malloc + memcpy for known strings

2025-07-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120979 --- Comment #1 from Andrew Pinski --- Note xstrdup is not the same as strdup ... ``` char *a() { return __builtin_strdump (""); } ``` Would need to be changed into: ``` char *a() { const char tt[] = ""; char *t = __builtin_mallo

[Bug tree-optimization/120979] Missed strdup to malloc + memcpy for known strings

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

[Bug tree-optimization/120979] New: Missed strdup to malloc + memcpy for known strings

2025-07-06 Thread kaelfandrew at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120979 Bug ID: 120979 Summary: Missed strdup to malloc + memcpy for known strings Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug c/120978] Punctuators that contain # or %: are incorrectly rejected within attributes

2025-07-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120978 Andrew Pinski changed: What|Removed |Added See Also||https://github.com/llvm/llv

[Bug c/120978] Punctuators that contain # or %: are incorrectly rejected within attributes

2025-07-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120978 --- Comment #6 from Andrew Pinski --- The way I read the standard is the following: during phase 4: Preprocessing directives are executed, And it is invalid for `#` or the `##` operator to be outside of `the replacement list of a function-like

[Bug c/120978] Punctuators that contain # or %: are incorrectly rejected within attributes

2025-07-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120978 --- Comment #5 from Andrew Pinski --- (In reply to Halalaluyafail3 from comment #4) > They are only considered operators during macro expansion. The standard > provides the following example: > > > #define hash_hash # ## # > > #define mkstr(a)

[Bug c/120978] Punctuators that contain # or %: are incorrectly rejected within attributes

2025-07-06 Thread luigighiron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120978 --- Comment #4 from Halalaluyafail3 --- (In reply to Andrew Pinski from comment #3) > (In reply to Andrew Pinski from comment #2) > > The C23 spec says: > > any token other than a parenthesis, a bracket, or a brace > > > > But # is not a token

[Bug c/120978] Punctuators that contain # or %: are incorrectly rejected within attributes

2025-07-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120978 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > The C23 spec says: > any token other than a parenthesis, a bracket, or a brace > > But # is not a token in C; it is only a preprocessor token ... I was wrong t

[Bug c/120978] Punctuators that contain # or %: are incorrectly rejected within attributes

2025-07-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120978 --- Comment #2 from Andrew Pinski --- The C23 spec says: any token other than a parenthesis, a bracket, or a brace But # is not a token in C; it is only a preprocessor token ...

[Bug c/120978] Punctuators that contain # or %: are incorrectly rejected within attributes

2025-07-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120978 --- Comment #1 from Andrew Pinski --- MSVC also rejects this: (1): error C2014: preprocessor command must start as first nonwhite space (1): error C2958: the left '[[' found at '(1)' was not matched correctly EDG also rejects this: "", line 1:

[Bug c/120978] New: Punctuators that contain # or %: are incorrectly rejected within attributes

2025-07-06 Thread luigighiron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120978 Bug ID: 120978 Summary: Punctuators that contain # or %: are incorrectly rejected within attributes Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: no

[Bug tree-optimization/109934] [14 Regression] Wrong code at -O3 on x86_64-linux-gnu

2025-07-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109934 --- Comment #9 from Sam James --- (In reply to Fangrui Song from comment #8) > I am curious when the regression started to happen. I think it's probably the same as https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117100#c1 (it got broken by a back

[Bug tree-optimization/109934] [14 Regression] Wrong code at -O3 on x86_64-linux-gnu

2025-07-06 Thread maskray at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109934 Fangrui Song changed: What|Removed |Added CC||maskray at gcc dot gnu.org --- Comment #

[Bug libstdc++/120976] error: static_assert( !is_same_v<__float128, long double> failed

2025-07-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120976 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/120976] error: static_assert( !is_same_v<__float128, long double> failed

2025-07-06 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120976 --- Comment #1 from John David Anglin --- I would have thought __float128 and long double should have been the same on this target.

[Bug target/120977] [16 Regression] ICE on Cortex-M23/M33/M55/M85 with -mcmse

2025-07-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120977 Andrew Pinski changed: What|Removed |Added Target||arm Keywords|

[Bug target/120977] New: [16 Regression] ICE on Cortex-M23/M33/M55/M85 with -mcmse

2025-07-06 Thread azoff at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120977 Bug ID: 120977 Summary: [16 Regression] ICE on Cortex-M23/M33/M55/M85 with -mcmse Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Pri

[Bug tree-optimization/119920] Missed vectorization for conditioned adds

2025-07-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119920 --- Comment #5 from Andrew Pinski --- (In reply to Alfie Richards from comment #4) > Ah okay great, I'll shelve this for now and check back later. I am going to start working on this today. I should have a prototype by the end of this week.

[Bug c++/120955] [15/16 Regression] 50 % increase in data segment size on avr-gcc for -Os

2025-07-06 Thread fiesh at zefix dot tv via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120955 --- Comment #6 from fiesh at zefix dot tv --- Alas, running `avr-size` on the individual modules doesn't produce anything of significant data size. They also don't add up even remotely to the final linked file. Am I doing something wrong? I'm

[Bug middle-end/120709] [15/16 Regression] ICE in expand_builtin_crc_table_based with __builtin_crc8_data8 and non constant poly argument

2025-07-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120709 --- Comment #5 from Andrew Pinski --- Created attachment 61809 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61809&action=edit Patch which I am testing

[Bug libstdc++/120976] New: error: static_assert( !is_same_v<__float128, long double> failed

2025-07-06 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120976 Bug ID: 120976 Summary: error: static_assert( !is_same_v<__float128, long double> failed Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/120817] [13/14/15/16 regression] Wrong code when compiled with -O1 -ftree-loop-vectorize for AArch64 target

2025-07-06 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120817 --- Comment #12 from Tamar Christina --- Looks like the problem is that during ao_ref_init_from_ptr_and_range when initializing vectp_target.14_54 = &targetD.4595 + _55; we don't enter the block splitting apart POINTER_PLUS_EXPR. So it ends up

[Bug bootstrap/119430] profiledbootstrap fails on armv7a-unknown-linux-gnueabhif (crashes in elists__append_elmt during stagefeedback)

2025-07-06 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119430 --- Comment #13 from Alexandre Oliva --- I'm not sure how to tell, but the fact that it has an lto-related symbolic name suggested to me it was generated by the compiler rather than by the linker: __sinput__get_source_file_index__assertions.0.lt

[Bug c++/120975] GCC incorrectly accepts requires-clause for virtual functions

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

[Bug c++/105699] [Concepts] Constrained virtual functions are accepted by GCC

2025-07-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105699 Andrew Pinski changed: What|Removed |Added CC||ykakeyama3014 at gmail dot com --- Comm

[Bug c++/120975] New: GCC incorrectly accepts requires-clause for virtual functions

2025-07-06 Thread ykakeyama3014 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120975 Bug ID: 120975 Summary: GCC incorrectly accepts requires-clause for virtual functions Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/120817] [13/14/15/16 regression] Wrong code when compiled with -O1 -ftree-loop-vectorize for AArch64 target

2025-07-06 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120817 --- Comment #11 from Tamar Christina --- (In reply to Richard Biener from comment #10) > (In reply to Tamar Christina from comment #8) > > C testcase > > > > typedef struct { > > int _M_current; > > } __normal_iterator; > > > > typedef str

[Bug middle-end/120973] ICE on x86_64-linux-gnu: verify_flow_info failed at -O2 and above with naked attribute: wrong insn in the fallthru edge

2025-07-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120973 Andrew Pinski changed: What|Removed |Added Component|rtl-optimization|middle-end Ever confirmed|0

[Bug rtl-optimization/120973] ICE on x86_64-linux-gnu: verify_flow_info failed at -O2 and above with naked attribute: wrong insn in the fallthru edge

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

[Bug tree-optimization/120951] [16 regression] error: gimple cond condition cannot throw

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

[Bug tree-optimization/120951] [16 regression] error: gimple cond condition cannot throw

2025-07-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120951 --- Comment #11 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:e17e3de4bbb1848ce1ce7d69d7786b92f1969b11 commit r16-2039-ge17e3de4bbb1848ce1ce7d69d7786b92f1969b11 Author: Andrew Pinski Date: S

[Bug c/101057] [meta-bug] [gimplefe] GIMPLE frontend issues

2025-07-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101057 Bug 101057 depends on bug 120921, which changed state. Bug 120921 Summary: gimple verifier (and gimple FE) accepts CST on LHS https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120921 What|Removed |Added

[Bug c/120921] gimple verifier (and gimple FE) accepts CST on LHS

2025-07-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120921 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |16.0 Status|ASSIGNED

[Bug c/120921] gimple verifier (and gimple FE) accepts CST on LHS

2025-07-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120921 --- Comment #6 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:5c2dc85c1923af118a9ec9657dc969fd3d95498a commit r16-2038-g5c2dc85c1923af118a9ec9657dc969fd3d95498a Author: Andrew Pinski Date: Sa

[Bug testsuite/120805] [16 Regression] gcc.target/powerpc/p9-vec-length-epil-4.c fail starting with r16-1645-g309dbcea2cabb3

2025-07-06 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120805 --- Comment #3 from Tamar Christina --- before the bounds variable didn't have any range attached to it. e.g. bnd.704_180 = _181 - _132; but now it shows # RANGE [irange] unsigned int [1, 2147483647] bnd.704_180 = _181 - _132; For some reas

[Bug target/120959] [16 Regression] 9% slowdown of 549.fotonik3d_r on Zen5 since r16-1645-g309dbcea2cabb3

2025-07-06 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120959 Tamar Christina changed: What|Removed |Added Assignee|tnfchris at gcc dot gnu.org|unassigned at gcc dot gnu.org

[Bug rtl-optimization/120973] ICE on x86_64-linux-gnu: verify_flow_info failed at -O2 and above with naked attribute: wrong insn in the fallthru edge

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

[Bug c++/120974] New: Default -fdeps-file and -fdeps-target arguments don't support output directories with spaces

2025-07-06 Thread nicolas.werner at hotmail dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120974 Bug ID: 120974 Summary: Default -fdeps-file and -fdeps-target arguments don't support output directories with spaces Product: gcc Version: 15.1.0 Status: UNCONFIRMED

[Bug rtl-optimization/120973] New: ICE on x86_64-linux-gnu: verify_flow_info failed with naked attribute: wrong insn in the fallthru edge

2025-07-06 Thread jiangchangwu at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120973 Bug ID: 120973 Summary: ICE on x86_64-linux-gnu: verify_flow_info failed with naked attribute: wrong insn in the fallthru edge Product: gcc Version: 16.0 Status: UNCONFI

[Bug c++/120955] [15/16 Regression] 50 % increase in data segment size on avr-gcc for -Os

2025-07-06 Thread fiesh at zefix dot tv via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120955 --- Comment #5 from fiesh at zefix dot tv --- Ah of course, sizing individual object files might make it much easier. Thank you, I think I'll be able to create a proper testcase this way. I'll get back to here when I've reduced it.

[Bug tree-optimization/120972] restrict does not work for not-parameter pointer

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

[Bug tree-optimization/120972] New: restrict does not work for not-parameter pointer

2025-07-06 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120972 Bug ID: 120972 Summary: restrict does not work for not-parameter pointer Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug bootstrap/119430] profiledbootstrap fails on armv7a-unknown-linux-gnueabhif (crashes in elists__append_elmt during stagefeedback)

2025-07-06 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119430 Eric Botcazou changed: What|Removed |Added Status|WAITING |NEW --- Comment #12 from Eric Botcazou

[Bug c++/90569] __STDCPP_DEFAULT_NEW_ALIGNMENT__ is wrong for i386-pc-solaris2.11

2025-07-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90569 --- Comment #12 from Jonathan Wakely --- That's why the bug is still open.

[Bug c/120971] New: ICE on x86_64-linux-gnu: in omp_extract_for_data, at omp-general.cc:423

2025-07-06 Thread jiangchangwu at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120971 Bug ID: 120971 Summary: ICE on x86_64-linux-gnu: in omp_extract_for_data, at omp-general.cc:423 Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal

[Bug sanitizer/120970] New: -static-pie together with -fsanitize=address should be disallowed

2025-07-06 Thread christian.morales.vega at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120970 Bug ID: 120970 Summary: -static-pie together with -fsanitize=address should be disallowed Product: gcc Version: 15.1.1 Status: UNCONFIRMED Severity: normal