[Bug c/119350] New: flexible array initialization is allowed when initialized with `{}` with C23

2025-03-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119350 Bug ID: 119350 Summary: flexible array initialization is allowed when initialized with `{}` with C23 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: a

[Bug fortran/119349] New: [15 Regression] polymorphic array dummy argument with function result actual argument in elemental function

2025-03-17 Thread damian at archaeologic dot codes via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119349 Bug ID: 119349 Summary: [15 Regression] polymorphic array dummy argument with function result actual argument in elemental function Product: gcc Version: 15.0 Status: UN

[Bug target/117452] ICE: in patch_jump_insn, at cfgrtl.cc:1303 with -Ofast -mavx10.2 and __bf16

2025-03-17 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117452 Hongtao Liu changed: What|Removed |Added Status|NEW |ASSIGNED CC|

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

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

[Bug target/119348] [15 Regression] risc-v vector tuple casting optimization regression

2025-03-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119348 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization, ra Ever confir

[Bug target/119348] risc-v vector tuple casting optimization regression

2025-03-17 Thread shuizhuyuanluo at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119348 --- Comment #2 from nihui --- aha, just found that pointer casting works in gcc :) though clang seems unhappy about it ```c #include vfloat32m8_t convert_vfloat32m1x8_to_vfloat32m8(vfloat32m1x8_t tuple) { return *(vfloat32m8_t*)(&tuple);

[Bug target/119348] risc-v vector tuple casting optimization regression

2025-03-17 Thread shuizhuyuanluo at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119348 --- Comment #1 from nihui --- tested commit gcc 7efe3aa9b5d4d7aba3736d1393b007705522dc45 binutils cf4fdbd491bbf60267d4ba6ec3f533944e376e6c

[Bug target/119348] New: risc-v vector tuple casting optimization regression

2025-03-17 Thread shuizhuyuanluo at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119348 Bug ID: 119348 Summary: risc-v vector tuple casting optimization regression Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug c++/119346] ICE: in tsubst_pack_expansion, at cp/pt.cc:13899 when using fold expression with a lambda without a pack

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

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

2025-03-17 Thread rsworktech at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119012 --- Comment #20 from Levi Zim --- I have minified it to the following commands: git -C gcc checkout 1cd744a6828f6ab9179906d16434ea40b6404737 mkdir gcc-build && cd $_ export CFLAGS="-march=rv64gc -mabi=lp64d -O2 -Wp,-D_FORTIFY_SOURCE=3 -g -ffil

[Bug c++/119347] ICE: in tsubst, at cp/pt.cc:16632

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

[Bug c++/119347] New: ICE: in tsubst, at cp/pt.cc:16632

2025-03-17 Thread eczbek.void at gmail dot com via Gcc-bugs
::xform<0>; int main() {} ``` ``` Using built-in specs. COLLECT_GCC=/opt/compiler-explorer/gcc-snapshot/bin/g++ Target: x86_64-linux-gnu Configured with: ../gcc-trunk-20250317/configure --prefix=/opt/compiler-explorer/gcc-build/staging --enable-libstdcxx-backtrace=yes --build=x86_64-lin

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

2025-03-17 Thread gwen3293940943 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119222 --- Comment #14 from Gwen Fu --- and I will send the patch at the same time

[Bug c++/119346] New: ICE: in tsubst_pack_expansion, at cp/pt.cc:13899

2025-03-17 Thread eczbek.void at gmail dot com via Gcc-bugs
/compiler-explorer/gcc-snapshot/bin/g++ Target: x86_64-linux-gnu Configured with: ../gcc-trunk-20250317/configure --prefix=/opt/compiler-explorer/gcc-build/staging --enable-libstdcxx-backtrace=yes --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --disable-bootstrap --enable

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

2025-03-17 Thread gwen3293940943 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119222 --- Comment #13 from Gwen Fu --- When executing the conversion_warning function, if you do not add any of the three compilation options -Warn-conversion or -Warn_sign_conversion or -Warn-float-conversion, the function will return directly.

[Bug c++/119345] [14/15 Regression] ICE segfault on capturing lambda in fold expression in capturing lambda

2025-03-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119345 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.3 Status|UNCONFIRMED

[Bug c++/119345] ICE segfault on capturing lambda in fold expression in capturing lambda

2025-03-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119345 --- Comment #1 from Andrew Pinski --- Created attachment 60799 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60799&action=edit C++17 testcase

[Bug c++/119345] New: ICE segfault on capturing lambda in fold expression in capturing lambda

2025-03-17 Thread eczbek.void at gmail dot com via Gcc-bugs
; }); }.template operator()<0>(); } int main() { f(); } ``` ``` Using built-in specs. COLLECT_GCC=/opt/compiler-explorer/gcc-snapshot/bin/g++ Target: x86_64-linux-gnu Configured with: ../gcc-trunk-20250317/configure --prefix=/opt/compiler-explorer/gcc-build/staging --enable-lib

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

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

[Bug target/119327] [12/13/14/15 Regression] -Os breaks inlining: raw_hash_set.h: error: inlining failed in call to 'always_inline': target specific option mismatch

2025-03-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119327 --- Comment #8 from Andrew Pinski --- (In reply to Andrew Pinski from comment #5) > So it is not related at all to s2geometry sources as far as I can tell. Except for the `pragma GCC optimize` :).

[Bug target/119340] [14 regression] ICE when building gegl-0.4.52 on ppc64

2025-03-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119340 --- Comment #2 from Sam James --- Created attachment 60797 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60797&action=edit reduced.i

[Bug target/119327] [12/13/14/15 Regression] -Os breaks inlining: raw_hash_set.h: error: inlining failed in call to 'always_inline': target specific option mismatch

2025-03-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119327 Andrew Pinski changed: What|Removed |Added Target|powerpc64-linux-gnu |powerpc*-linux-gnu |

[Bug target/119327] [12/13/14/15 Regression] -Os breaks inlining: raw_hash_set.h: error: inlining failed in call to 'always_inline': target specific option mismatch

2025-03-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119327 Andrew Pinski changed: What|Removed |Added Known to work||11.2.0 Target|powerpc-apple

[Bug target/119327] -Os breaks inlining: raw_hash_set.h: error: inlining failed in call to 'always_inline': target specific option mismatch

2025-03-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119327 --- Comment #6 from Andrew Pinski --- Created attachment 60798 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60798&action=edit Reduced testcase

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

2025-03-17 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117069 --- Comment #14 from Hongtao Liu --- (In reply to Sam James from comment #13) > (In reply to Hongtao Liu from comment #9) > > I didn't find this commit in gcc trunk? > > Ah, sorry for confusion: it's from my local test results. Only the date >

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

2025-03-17 Thread root at hsnovel dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119314 --- Comment #13 from Novel --- (In reply to Andrew Pinski from comment #3) > Before `DEBUG_LOG_INFO("2 Data %p\n", dest.Data);` > is there any calls before hand? Like say to memcpy? or anything that might > have the nonnull attribute on it and u

[Bug target/119327] -Os breaks inlining: raw_hash_set.h: error: inlining failed in call to 'always_inline': target specific option mismatch

2025-03-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119327 --- Comment #5 from Andrew Pinski --- Note the quick and dirty short function testcase just includes absl and libstdc++ classes (note is not a full testcase just what I have done so far manually to testcase): ``` void BuildPolygonBoundaries() {

[Bug target/119327] -Os breaks inlining: raw_hash_set.h: error: inlining failed in call to 'always_inline': target specific option mismatch

2025-03-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119327 --- Comment #4 from Andrew Pinski --- Trying to reduce it. But yes I can reproduce it on the trunk and -O2 works but -Os does not. This might be due to the code savings with the C++ front-end and constructors. Or it could be something else.

[Bug target/119327] -Os breaks inlining: raw_hash_set.h: error: inlining failed in call to 'always_inline': target specific option mismatch

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

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

2025-03-17 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119312 --- Comment #11 from Joseph S. Myers --- A struct with a const field is not a modifiable lvalue in C, so it's not valid to assign to it. Modifying a const field with memcpy / byte accesses would probably also violate "If an attempt is made to mo

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

2025-03-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119314 Andrew Pinski changed: What|Removed |Added Summary|Possibly wrong code |Possibly wrong code |

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

2025-03-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119314 --- Comment #11 from Sam James --- Or, to put it another way: you're familiar with the code enough to share those comments about whether something is pure and so on, so it should be doable for you to then replace the function names with some stu

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

2025-03-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119314 --- Comment #10 from Sam James --- (We also don't care if the reduced version has the same real typedefs and so on as the original, as long as the reduced version reproduces it, of course.)

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

2025-03-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119314 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #9 fr

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

2025-03-17 Thread root at hsnovel dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119314 --- Comment #8 from Novel --- (In reply to Sam James from comment #7) > Please try to reduce the relevant functions and we can take a look with a > testcase. I am not sure to what extend it is possible for you to make a testcase for it because

[Bug c++/111379] comparison between unequal pointers to void should be illegal during constant evaluation

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

[Bug c++/55004] [meta-bug] constexpr issues

2025-03-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 111379, which changed state. Bug 111379 Summary: comparison between unequal pointers to void should be illegal during constant evaluation https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111379 What|Removed

[Bug c++/119343] No SFINAE for deleted explicit specializations

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

[Bug c++/57419] Access control doesn't stop referring to a deleted function

2025-03-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57419 --- Comment #7 from Andrew Pinski --- r0-123716-g2e6491515ec153

[Bug c++/37208] C++0x deleted functions and SFINAE

2025-03-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37208 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |4.4.0

[Bug fortran/119338] Type-spec in ALLOCATE of dummy with assumed length shall use asterisk

2025-03-17 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119338 anlauf at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFI

[Bug c++/119343] No SFINAE for deleted explicit specializations

2025-03-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119343 --- Comment #1 from Andrew Pinski --- 4.8.0 used to do something similar for has_f too. Maybe that can help someone.

[Bug c++/119344] [14/15 Regression] internal compiler error related to template parameters and pointers to member functions

2025-03-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119344 --- Comment #4 from Marek Polacek --- I guess we need --- a/gcc/tree.cc +++ b/gcc/tree.cc @@ -4101,7 +4101,7 @@ skip_simple_arithmetic (tree expr) computations if they actually occur. */ while (true) { - if (UNARY_CLASS_P (e

[Bug target/119327] -Os breaks inlining: raw_hash_set.h: error: inlining failed in call to 'always_inline': target specific option mismatch

2025-03-17 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119327 --- Comment #3 from Sergey Fedorov --- And result of running the command manually: $ sudo /opt/local/bin/g++-mp-14 -v -save-temps -DABSL_MIN_LOG_LEVEL=1 -Ds2_EXPORTS -I/opt/local/libexec/openssl3/include -I/opt/local/var/macports/build/_opt_loc

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

2025-03-17 Thread rdubner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119211 Bug 119211 depends on bug 119213, which changed state. Bug 119213 Summary: gcc/cobol/Make-lang.in: suspicious -DEXEC_LIB with hardcoded lib64 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119213 What|Removed |A

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

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

[Bug target/119327] -Os breaks inlining: raw_hash_set.h: error: inlining failed in call to 'always_inline': target specific option mismatch

2025-03-17 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119327 --- Comment #2 from Sergey Fedorov --- Created attachment 60796 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60796&action=edit Preprocessed source file which fails to compile

[Bug c++/119344] [14/15 Regression] internal compiler error related to template parameters and pointers to member functions

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

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

2025-03-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119213 --- Comment #11 from GCC Commits --- The master branch has been updated by Robert Dubner : https://gcc.gnu.org/g:aa68eb8d5687f8e0944512cbc8533a77cd312873 commit r15-8239-gaa68eb8d5687f8e0944512cbc8533a77cd312873 Author: Bob Dubner Date: Mon

[Bug c++/119344] [14/15 Regression] internal compiler error related to template parameters and pointers to member functions

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

[Bug c++/119344] internal compiler error related to template parameters and pointers to member functions

2025-03-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119344 --- Comment #1 from Andrew Pinski --- Created attachment 60795 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60795&action=edit C++98 testcase

[Bug c++/119343] New: No SFINAE for deleted explicit specializations

2025-03-17 Thread herring at lanl dot gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119343 Bug ID: 119343 Summary: No SFINAE for deleted explicit specializations Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

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

2025-03-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119314 --- Comment #7 from Sam James --- Please try to reduce the relevant functions and we can take a look with a testcase.

[Bug c++/119344] New: internal compiler error related to template parameters and pointers to member functions

2025-03-17 Thread ivan.lazaric.gcc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119344 Bug ID: 119344 Summary: internal compiler error related to template parameters and pointers to member functions Product: gcc Version: 14.2.0 Status: UNCONFIRMED

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

2025-03-17 Thread root at hsnovel dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119314 --- Comment #6 from Novel --- (In reply to Andrew Pinski from comment #5) > (In reply to Novel from comment #0) > > > ; CODE XREF from sym.IGNORE_THIS_ITS_FUNCTION_NAME @ 0x8bcc(x) > > ; 0x28f58

[Bug target/115842] [15 Regression] 6.5% slowdown of 548.exchange2_r on Intel Ice Lake

2025-03-17 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115842 Tamar Christina changed: What|Removed |Added CC||tnfchris at gcc dot gnu.org --- Comme

[Bug rust/119342] New: block in rust-gcc.cc could use some comments

2025-03-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119342 Bug ID: 119342 Summary: block in rust-gcc.cc could use some comments Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: internal-improvement Severity: normal

[Bug rust/119341] statement_list in rust-gcc.cc can use range for

2025-03-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119341 --- Comment #3 from Andrew Pinski --- function_ptr_type uses it already for an example.

[Bug rust/119341] statement_list in rust-gcc.cc can use range for

2025-03-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119341 --- Comment #2 from Andrew Pinski --- function_type_variadic

[Bug rust/119341] statement_list in rust-gcc.cc can use range for

2025-03-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119341 --- Comment #1 from Andrew Pinski --- a few others: block_add_statements block function_set_parameters

[Bug rust/119342] block in rust-gcc.cc could use some comments

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

[Bug rust/119341] statement_list in rust-gcc.cc can use range for

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

[Bug rust/119341] New: statement_list in rust-gcc.cc can use range for

2025-03-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119341 Bug ID: 119341 Summary: statement_list in rust-gcc.cc can use range for Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: internal-improvement Severity: normal

[Bug c++/119339] New: Allows invalid constexpr of addresses with references initialized to itself

2025-03-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119339 Bug ID: 119339 Summary: Allows invalid constexpr of addresses with references initialized to itself Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: ac

[Bug target/117452] ICE: in patch_jump_insn, at cfgrtl.cc:1303 with -Ofast -mavx10.2 and __bf16

2025-03-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117452 --- Comment #3 from Sam James --- (In reply to Xi Ruoyao from comment #1) > It's reported building gegl-0.4.56 on powerpc with GCC-14.2.0 triggers an > ICE on the same line: > > https://buildit.aosc.io/logs/73101-gimp-3-ppc64el-power8-2025-03-1

[Bug c++/119334] error: loop variable '' creates a copy from type 'const std::pair' [-Werror=range-loop-construct]

2025-03-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119334 Jonathan Wakely changed: What|Removed |Added Resolution|FIXED |DUPLICATE --- Comment #3 from Jonatha

[Bug c++/116731] Incorrect behavior of -Wrange-loop-construct in GCC 14

2025-03-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116731 --- Comment #14 from Jonathan Wakely --- *** Bug 119334 has been marked as a duplicate of this bug. ***

[Bug c++/119334] error: loop variable '' creates a copy from type 'const std::pair' [-Werror=range-loop-construct]

2025-03-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119334 Jonathan Wakely changed: What|Removed |Added Resolution|DUPLICATE |FIXED --- Comment #2 from Jonathan Wa

[Bug target/119340] [14 regression] ICE when building gegl-0.4.52 on ppc64

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

[Bug target/119340] [14 regression] ICE when building gegl-0.4.52 on ppc64

2025-03-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119340 --- Comment #1 from Sam James --- Created attachment 60794 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60794&action=edit gegl_ctx.c.i.xz

[Bug target/119340] New: [14 regression] ICE when building gegl-0.4.52 on ppc64

2025-03-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119340 Bug ID: 119340 Summary: [14 regression] ICE when building gegl-0.4.52 on ppc64 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: norma

[Bug c++/119339] Allows invalid constexpr of addresses with references initialized to itself

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

[Bug cobol/119331] New: cobol: unimplemented exceptions abort compilation - even if requested to NOT use them

2025-03-17 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119331 Bug ID: 119331 Summary: cobol: unimplemented exceptions abort compilation - even if requested to NOT use them Product: gcc Version: 15.0 Status: UNCONFIRMED Se

[Bug rtl-optimization/119285] [15 Regression] 5% slowdown of 519.lbm_r on Zen2 and Zen4 since r15-7932-ge355fe414aa3aa

2025-03-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119285 --- Comment #3 from GCC Commits --- The master branch has been updated by Vladimir Makarov : https://gcc.gnu.org/g:8e0e17677afc1a93aa31b8b83849848b7bb52b9b commit r15-8237-g8e0e17677afc1a93aa31b8b83849848b7bb52b9b Author: Vladimir N. Makarov

[Bug c++/119303] [12/13/14/15 Regression] ICE: error reporting routines re-entered. in warning_at (diagnostic-global-context.cc:185)

2025-03-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119303 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org A

[Bug c++/96868] C++20 designated initializer erroneous warnings

2025-03-17 Thread meven at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96868 Méven changed: What|Removed |Added CC||meven at kde dot org --- Comment #10 from Méven

[Bug rust/119333] [15 regression] Rust bootstrap fails with cargo trying to download polonius crates

2025-03-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119333 --- Comment #2 from Sam James --- .cargo/ at top-level with: .cargo/config.toml: ``` [net] offline = true ``` and CARGO_HOME="${srcdir}/.cargo" or something like that would work.

[Bug middle-end/119325] [15 Regression] libgomp.c/simd-math-1.c (gcn offloading): timeout (for fmodf, remainderf) since r15-7257-g54bdeca3c62144

2025-03-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119325 --- Comment #7 from Tobias Burnus --- I was wondering whether setting GCN_STACK_SIZE= would help; default is 32*1024. Answer: it does not seem to help, but I noticed that from time to time, it succeeds. I have a couple in a semi-row, but then 2

[Bug target/117452] ICE: in patch_jump_insn, at cfgrtl.cc:1303 with -Ofast -mavx10.2 and __bf16

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

[Bug fortran/119338] Type-spec in ALLOCATE of dummy with assumed length shall use asterisk

2025-03-17 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119338 --- Comment #1 from anlauf at gcc dot gnu.org --- In F2003 the same text appears as C626.

[Bug middle-end/119325] [15 Regression] libgomp.c/simd-math-1.c (gcn offloading): timeout (for fmodf, remainderf) since r15-7257-g54bdeca3c62144

2025-03-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119325 --- Comment #6 from Tobias Burnus --- Some more testing: Copying gfx908/libm.a of the 'failing' build directory to the install directory + re-compiling will make the binary fail, copying from the 'working' build directory, it will work. Thus,

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

2025-03-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615 --- Comment #25 from Sam James --- Vlad, could you take a look? (It doesn't reproduce on trunk because it got reverted, see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615#c22).

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

2025-03-17 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119319 --- Comment #10 from Hans-Peter Nilsson --- (In reply to Hans-Peter Nilsson from comment #0) > The -ftree-dump-original output shows an extra > return statement for the listed target, which looks correlated. (I have not > traced its target-spec

[Bug cobol/119336] New: cobol: missing copybooks break parser

2025-03-17 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119336 Bug ID: 119336 Summary: cobol: missing copybooks break parser Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: cobol

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

2025-03-17 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119244 --- Comment #28 from Iain Sandoe --- did not succeed in testing on powerpc64le (it built OK, but the testsuite does not run because of PR119308)

[Bug c++/116731] Incorrect behavior of -Wrange-loop-construct in GCC 14

2025-03-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116731 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #13 from Marek Pol

[Bug fortran/119338] New: Type-spec in ALLOCATE of dummy with assumed length shall use asterisk

2025-03-17 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119338 Bug ID: 119338 Summary: Type-spec in ALLOCATE of dummy with assumed length shall use asterisk Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug target/112980] 64-bit powerpc ELFv2 does not allow nops to be generated before function global entry point

2025-03-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112980 --- Comment #23 from GCC Commits --- The master branch has been updated by Michael Matz : https://gcc.gnu.org/g:96698551b8e19fc33637908190f121e039301993 commit r15-8236-g96698551b8e19fc33637908190f121e039301993 Author: Michael Matz Date: We

[Bug testsuite/119286] [15 Regression] GCN vs. "middle-end: delay checking for alignment to load [PR118464]"

2025-03-17 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119286 Tamar Christina changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug cobol/119323] cppcheck meets libgcobol

2025-03-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119323 --- Comment #2 from Jonathan Wakely --- More important than the missing self-assignment check and the missing copy constructor, there's no destructor. The missing check and copy ctor only matter if the type actually is assigned to itself or cop

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

2025-03-17 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119244 Iain Sandoe changed: What|Removed |Added Attachment #60792|0 |1 is obsolete|

[Bug cobol/119335] New: cobol frontend ignores -M

2025-03-17 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119335 Bug ID: 119335 Summary: cobol frontend ignores -M Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: cobol Assign

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

2025-03-17 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119337 Bug ID: 119337 Summary: cobol: gcobc wrapper should deduce output name Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/119334] New: error: loop variable '' creates a copy from type 'const std::pair' [-Werror=range-loop-construct]

2025-03-17 Thread rogerio.souza at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119334 Bug ID: 119334 Summary: error: loop variable '' creates a copy from type 'const std::pair' [-Werror=range-loop-construct] Product: gcc Version: 14.2.0

[Bug rust/119333] [15 regression] Rust bootstrap fails with cargo trying to download polonius crates

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

[Bug target/119298] [15 Regression] 538.imagick_r is faster when compiled with GCC 14.2 and -Ofast -flto -march=native than with master on Zen5

2025-03-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119298 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0 Summary|538.imagick_r i

[Bug cobol/119323] cppcheck meets libgcobol

2025-03-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119323 --- Comment #4 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #3) > Why is the new array allocated for 1 + input.nec items? Ah, I bet it's to handle the case where input.nec == 0. But that's not needed, C++ allows new T[n] e

[Bug target/117452] ICE: in patch_jump_insn, at cfgrtl.cc:1303 with -Ofast -mavx10.2 and __bf16

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

[Bug c/31362] gcc should not inline functions with 'section' attribute

2025-03-17 Thread stefan.tauner at gmx dot at via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31362 stefan.tauner at gmx dot at changed: What|Removed |Added CC||stefan.tauner at gmx dot at

[Bug fortran/119330] New: [OpenMP] GCC wrongly rejects depend(out:var%a(1:10))

2025-03-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119330 Bug ID: 119330 Summary: [OpenMP] GCC wrongly rejects depend(out:var%a(1:10)) Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: openmp, rejects-valid Severity: nor

  1   2   3   >