[Bug c++/118047] [12/13/14/15 Regression] Incorrect list initialization of vector of struct of array of struct of enum since r12-7803-gf0530882d99abc

2024-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118047 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/102990] [9/10 Regression] ICE in tsubst_copy_and_build with NSDMI and double to int conversion

2024-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102990 Andrew Pinski changed: What|Removed |Added Target Milestone|9.5 |11.3

[Bug c++/118047] [12/13/14/15 Regression] Incorrect list initialization of vector of struct of array of struct of enum since r12-7803-gf0530882d99abc

2024-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118047 --- Comment #9 from Andrew Pinski --- (In reply to Andrew Pinski from comment #8) > (In reply to Sam James from comment #7) > > (In reply to Sam James from comment #6) > > > r12-7803-gf0530882d99abc > > > > .. but that patch got backported to 1

[Bug tree-optimization/118046] [15 Regression] wrong code at -O{2, 3} on x86_64-linux-gnu since r15-6173-ge8febb641415fd

2024-12-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118046 Sam James changed: What|Removed |Added Summary|[15 Regression] wrong code |[15 Regression] wrong code

[Bug target/118008] [14/15 regression] ICE when bootstrapping with Go on arm (gen_movdi, at config/arm/arm.md:6296)

2024-12-14 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118008 --- Comment #10 from Ian Lance Taylor --- I was not able to recreate the compiler crash using a cross-compiler to arm-eabi, using either GCC tip or GCC 14 branch. Are you building on an arm-linux system? Are there any such systems left in the

[Bug c++/118047] [12/13/14/15 Regression] Incorrect list initialization of vector of struct of array of struct of enum since r12-7803-gf0530882d99abc

2024-12-14 Thread MillerBenjaminT at johndeere dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118047 --- Comment #10 from Benjamin Miller --- In case you're interested, here's the failing part of the Qt sources: ``` std::vector extContexts { { /* 0 - Always available */ } }; ``` https://github.com/qt/qtquick3d/blob/6.8.0/src/runtimerender/rende

[Bug middle-end/118024] ICE when building openssh-9.9_p1 with -fstrub=all (internal compiler error: tree check: expected tree_list, have identifier_node in matching_alloc_calls_p, at gimple-ssa-warn-a

2024-12-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118024 --- Comment #5 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:9537ca5ad9bc23d7e9c446b4a7cbb98f63bddb6a commit r15-6253-g9537ca5ad9bc23d7e9c446b4a7cbb98f63bddb6a Author: Jakub Jelinek Date: S

[Bug middle-end/118011] -fshort-enums reported as enabled by default

2024-12-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118011 --- Comment #3 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:18f0b7d5f370c47633837e935f8a6e1b8616b56b commit r15-6252-g18f0b7d5f370c47633837e935f8a6e1b8616b56b Author: Jakub Jelinek Date: S

[Bug other/118041] install.texi typos in --enable-host-pie

2024-12-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118041 --- Comment #1 from Jonathan Wakely --- Thanks, I'll apply this patch, but for next time please just send the patch to gcc-patc...@gcc.gnu.org - there's no need to open a bug if you already have a patch.

[Bug other/118041] install.texi typos in --enable-host-pie

2024-12-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118041 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug other/118041] install.texi typos in --enable-host-pie

2024-12-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118041 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |15.0

[Bug rtl-optimization/118042] New: ICE: maximum number of generated reload insns per insn achieved (90) with -O1 -fexpensive-optimizations -favoid-store-forwarding -mavx10.1 -mprefer-vector-width=128

2024-12-14 Thread zsojka at seznam dot cz via Gcc-bugs
--disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-20241214122823-r15-6251-ga6a15bc5b77c87-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20241214 (experimental) (GCC)

[Bug modula2/117120] case ch with a nul char constant causes ICE

2024-12-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117120 --- Comment #4 from GCC Commits --- The releases/gcc-14 branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:cfe21668f3a7a0f07fa1e79ef2561a107a09a67d commit r14-11089-gcfe21668f3a7a0f07fa1e79ef2561a107a09a67d Author: Gaius Mulley D

[Bug c/118043] New: -Wattributes: [[gnu::access(wo, n)]]: False positive with VLA

2024-12-14 Thread alx at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118043 Bug ID: 118043 Summary: -Wattributes: [[gnu::access(wo, n)]]: False positive with VLA Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/118025] gcc.dg/field-merge-9.c FAILs

2024-12-14 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118025 John David Anglin changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug c/118044] New: -Wvla-parameter: False positive with [[gnu::access(wo, n)]]

2024-12-14 Thread alx at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118044 Bug ID: 118044 Summary: -Wvla-parameter: False positive with [[gnu::access(wo, n)]] Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal

[Bug other/118041] New: install.texi typos in --enable-host-pie

2024-12-14 Thread heiko at hexco dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118041 Bug ID: 118041 Summary: install.texi typos in --enable-host-pie Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other

[Bug tree-optimization/118023] [15 Regression] ICE: verify_gimple failed: 'bit_field_ref' of non-mode-precision operand at -O1 and above when reinterpreting _BitInt() as _Complex since r15-6173

2024-12-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118023 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/118024] ICE when building openssh-9.9_p1 with -fstrub=all (internal compiler error: tree check: expected tree_list, have identifier_node in matching_alloc_calls_p, at gimple-ssa-warn-a

2024-12-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118024 --- Comment #6 from Jakub Jelinek --- Fixed on the trunk so far.

[Bug tree-optimization/118023] [15 Regression] ICE: verify_gimple failed: 'bit_field_ref' of non-mode-precision operand at -O1 and above when reinterpreting _BitInt() as _Complex since r15-6173

2024-12-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118023 --- Comment #5 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:7f4e85a954d24cc30bf85f4040fcd204bd5e23fd commit r15-6254-g7f4e85a954d24cc30bf85f4040fcd204bd5e23fd Author: Jakub Jelinek Date: S

[Bug c++/116807] About c++ 20 module,chrono header file

2024-12-14 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116807 Nathaniel Shead changed: What|Removed |Added CC||nshead at gcc dot gnu.org --- Comment

[Bug c++/103827] function which takes an argument via (hidden) reference should assume the argument does not escape or is only read from

2024-12-14 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103827 Jan Hubicka changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug libstdc++/80331] unused const std::string not optimized away

2024-12-14 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80331 --- Comment #15 from Jan Hubicka --- Original testcase is solved by https://gcc.gnu.org/pipermail/gcc-patches/2024-December/671599.html We still won't optimize longer strings because _M_create is not inline.

[Bug libstdc++/87502] Poor code generation for std::string("c-style string")

2024-12-14 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87502 --- Comment #16 from Jan Hubicka --- https://gcc.gnu.org/pipermail/gcc-patches/2024-December/671599.html optimizes the string constructors. Having strlen pass catching more cases would be nice, too.

[Bug libstdc++/80331] unused const std::string not optimized away

2024-12-14 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80331 Jan Hubicka changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug libstdc++/94960] extern template prevents inlining of standard library objects

2024-12-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94960 --- Comment #17 from Sam James --- (In reply to Jan Hubicka from comment #15) > > Oh, sorry, that was linked earlier. But still, isn't the problem that > > "inline" > > is too strong? > Do we have some data on this? I at least don't have any.

[Bug tree-optimization/117924] unused std::vector are not optimized out fully at gimple level

2024-12-14 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117924 Jan Hubicka changed: What|Removed |Added Last reconfirmed||2024-12-14 Ever confirmed|0

[Bug c/26154] [12/13/14/15 Regression] OpenMP extensions to the C language is not documented or doumented in the wrong spot

2024-12-14 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26154 sandra at gcc dot gnu.org changed: What|Removed |Added CC||tschwinge at gcc dot gnu.org

[Bug libbacktrace/117812] zstd dependency 1.5.1

2024-12-14 Thread jeffrey.cliff at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117812 --- Comment #3 from jeffrey.cliff at gmail dot com --- > replace ZSTD_CLEVEL_DEFAULT with 3 check diff --git a/libbacktrace/zstdtest.c b/libbacktrace/zstdtest.c index b9552ab1b88..0835ce5398d 100644 --- a/libbacktrace/zstdtest.c +++ b/libbacktr

[Bug fortran/117897] [13/14/15 Regression] Bug in gfortran compiled windows run time with the latest release (14.2.0)

2024-12-14 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117897 --- Comment #4 from Paul Thomas --- Created attachment 59868 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59868&action=edit Fix for this PR It needs tidying up and the testcase dejagnu-ifying but it does regtest OK. I didn't realise th

[Bug c++/118033] [Missing optimization] Keep __builtin_unreachable for asserts in the release build

2024-12-14 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118033 Xi Ruoyao changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug target/118039] New: [15 Regression] s390x/-m31: libsanitizer: interception_type_test.cpp: static assertion failed

2024-12-14 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118039 Bug ID: 118039 Summary: [15 Regression] s390x/-m31: libsanitizer: interception_type_test.cpp: static assertion failed Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug sanitizer/118040] New: GCC's Address Sanitizer misses 'global-buffer-overflow',while clang can detect it

2024-12-14 Thread 652023330028 at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118040 Bug ID: 118040 Summary: GCC's Address Sanitizer misses 'global-buffer-overflow',while clang can detect it Product: gcc Version: 15.0 Status: UNCONFIRMED Severi

[Bug target/118039] [15 Regression] s390x/-m31: libsanitizer: interception_type_test.cpp: static assertion failed

2024-12-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118039 Sam James changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug sanitizer/117725] [15 Regression] s390 -m31 bootstrap failure in interception.h since r15-5164-gfa321004f3f628

2024-12-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117725 --- Comment #4 from Sam James --- *** Bug 118039 has been marked as a duplicate of this bug. ***

[Bug sanitizer/118040] GCC's Address Sanitizer misses 'global-buffer-overflow',while clang can detect it

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

[Bug sanitizer/118040] GCC's Address Sanitizer misses 'global-buffer-overflow',while clang can detect it

2024-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118040 --- Comment #2 from Andrew Pinski --- It is about where Arr is placed.

[Bug fortran/117897] [13/14/15 Regression] Bug in gfortran compiled windows run time with the latest release (14.2.0)

2024-12-14 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117897 Paul Thomas changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org --- Comme

[Bug sanitizer/118040] GCC's Address Sanitizer misses 'global-buffer-overflow',while clang can detect it

2024-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118040 Andrew Pinski changed: What|Removed |Added Resolution|WONTFIX |DUPLICATE --- Comment #3 from Andrew Pi

[Bug sanitizer/117959] Address Sanitizer misses 'global-buffer-overflow' for a[-1]

2024-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117959 --- Comment #5 from Andrew Pinski --- *** Bug 118040 has been marked as a duplicate of this bug. ***

[Bug sanitizer/118040] GCC's Address Sanitizer misses 'global-buffer-overflow',while clang can detect it

2024-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118040 --- Comment #4 from Andrew Pinski --- Just happens the order of variables layout is different between GCC and clang. Note I will note clang has 2 different layouts too, one for C and one for C++.

[Bug fortran/102689] Segfault with RESHAPE of CLASS as actual argument

2024-12-14 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102689 --- Comment #10 from Jerry DeLisle --- (In reply to Jerry DeLisle from comment #9) --- snip --- > > The mention of binutils jogged my memory. I had a test failure that showed > up randomly one time. It was related to class_transformational_2.f9

[Bug rtl-optimization/118042] ICE: maximum number of generated reload insns per insn achieved (90) with -O1 -fexpensive-optimizations -favoid-store-forwarding -mavx10.1 -mprefer-vector-width=128 --par

2024-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118042 --- Comment #1 from Andrew Pinski --- (insn 228 230 227 2 (set (reg:TI 345) (subreg:TI (reg:HI 389) 0)) "/app/example.cpp":6:5 94 {*movti_internal} (expr_list:REG_DEAD (reg:HI 389) (nil)))

[Bug c/118043] -Wattributes: [[gnu::access(wo, n)]]: False positive with VLA

2024-12-14 Thread alx at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118043 --- Comment #3 from Alejandro Colomar --- (In reply to Andrew Pinski from comment #1) > /* The two specs designate different size arguments. It's okay > for the explicit spec to specify a size where none is provided >

[Bug target/118017] [15 Regression] ICE: maximum number of generated reload insns per insn achieved (90) with -Og -frounding-math -mno-80387 -mno-mmx

2024-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118017 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug middle-end/114087] RISC-V optimization on checking certain bits set ((x & mask) == val)

2024-12-14 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114087 --- Comment #4 from Jeffrey A. Law --- So just a couple notes. The more Oliver and I discuss this BZ, the more I suspect the right place to tackle these problems is either in the match.pd framework or at the gimple->rtl expansion phase. I thin

[Bug middle-end/114087] RISC-V optimization on checking certain bits set ((x & mask) == val)

2024-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114087 --- Comment #5 from Andrew Pinski --- >From https://gcc.gnu.org/wiki/GimpleCanonical: (a | CST0) == CST1 or (a & CST2) == CST3 (where CST2 == ~CST0 and CST3 == CST1&~CST0 (PR 86975, related to PR 08) (LLVM chooses the &)

[Bug tree-optimization/118032] Bootstrap slowdown for risc-v

2024-12-14 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118032 --- Comment #1 from Jeffrey A. Law --- No, I'm not seeing this in my BPI bootstraps. My bootstrap + regression test is sitting at 26-27hrs. It's been in that range since I turned bootstrapping on back in mid Oct.

[Bug tree-optimization/118046] New: wrong code at -O{2,3} on x86_64-linux-gnu

2024-12-14 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
tware/local/gcc-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 15.0.0 20241214 (experimental) (GCC) [611] % [611] % gcctk -O1 small.c; ./a.out [612] % [612] % gcctk -O2 small.c [613] % ./

[Bug libbacktrace/117812] zstd dependency 1.5.1

2024-12-14 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117812 Ian Lance Taylor changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug libbacktrace/117812] zstd dependency 1.5.1

2024-12-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117812 --- Comment #4 from GCC Commits --- The master branch has been updated by Ian Lance Taylor : https://gcc.gnu.org/g:3e343ef7f0ac0eb9e526b4f6d3bf3f69be3f0684 commit r15-6258-g3e343ef7f0ac0eb9e526b4f6d3bf3f69be3f0684 Author: Ian Lance Taylor Dat

[Bug tree-optimization/118046] [15 Regression] wrong code at -O{2, 3} on x86_64-linux-gnu

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

[Bug tree-optimization/118046] [15 Regression] wrong code at -O{2, 3} on x86_64-linux-gnu

2024-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118046 --- Comment #2 from Andrew Pinski --- From: ``` // char _6; // int _5; _5 = *i.3_4; _6 = (char) _5; ... _8 = (int) _6; if (_8 >= 0) // sign bit is not set goto ; [59.00%] else goto ; [41.00%] [local count: 220117072]:

[Bug tree-optimization/118046] [15 Regression] wrong code at -O{2, 3} on x86_64-linux-gnu

2024-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118046 --- Comment #3 from Andrew Pinski --- Reduced down to just: ``` __attribute__((noipa)) int f(int *a,int *d) { signed char b = *a; int c = b; *d = c; // This store is important even if otherwise unused if (c < 0 && (b&1)) return 1;

[Bug driver/118048] `-h`support does not work everywhere

2024-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118048 Andrew Pinski changed: What|Removed |Added Known to fail||13.1.0 --- Comment #1 from Andrew Pinsk

[Bug driver/118048] `-h`support does not work everywhere

2024-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118048 --- Comment #2 from Andrew Pinski --- So I think r13-4467-g6d3c634c8baebd changed the behavior to be correct in erroring out. Which means I think most LINK_SPECs were incorrect before and was not noticed either. Note aarch64 linux most likely

[Bug c/118043] -Wattributes: [[gnu::access(wo, n)]]: False positive with VLA

2024-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118043 Andrew Pinski changed: What|Removed |Added Keywords|diagnostic |documentation --- Comment #1 from Andre

[Bug c/118043] -Wattributes: [[gnu::access(wo, n)]]: False positive with VLA

2024-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118043 --- Comment #2 from Andrew Pinski --- *** Bug 118044 has been marked as a duplicate of this bug. ***

[Bug c/118044] -Wvla-parameter: False positive with [[gnu::access(wo, n)]]

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

[Bug c/118044] -Wvla-parameter: False positive with [[gnu::access(wo, n)]]

2024-12-14 Thread alx at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118044 --- Comment #2 from Alejandro Colomar --- Hmmm, interesting. Thanks!

[Bug c/118043] -Wattributes: [[gnu::access(wo, n)]]: False positive with VLA

2024-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118043 --- Comment #4 from Andrew Pinski --- (In reply to Alejandro Colomar from comment #3) > (In reply to Andrew Pinski from comment #1) > > /* The two specs designate different size arguments. It's okay > > for the explicit s

[Bug target/118008] [14/15 regression] ICE when bootstrapping with Go on arm (gen_movdi, at config/arm/arm.md:6296)

2024-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118008 Andrew Pinski changed: What|Removed |Added Keywords||ice-checking --- Comment #9 from Andrew

[Bug modula2/118045] New: [15 Regression] libm2iso.so.20.0.0 contains an unresolvable reference to symbol casin (and 171 other similar warnings)

2024-12-14 Thread doko at gcc dot gnu.org via Gcc-bugs
Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2 Assignee: gaius at gcc dot gnu.org Reporter: doko at gcc dot gnu.org Target Milestone: --- trunk 20241214 produced an underlinked libm2iso.so on x86_64-linux

[Bug fortran/104819] Reject NULL without MOLD as actual to an assumed-rank dummy

2024-12-14 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104819 --- Comment #18 from anlauf at gcc dot gnu.org --- Patch for the case of derived type dummies: https://gcc.gnu.org/pipermail/fortran/2024-December/061410.html

[Bug c++/118047] New: Incorrect direct-initialization of vector of struct of array of struct of enum

2024-12-14 Thread MillerBenjaminT at johndeere dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118047 Bug ID: 118047 Summary: Incorrect direct-initialization of vector of struct of array of struct of enum Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severit

[Bug c++/118047] [12/13/14/15 Regression]Incorrect list initialization of vector of struct of array of struct of enum

2024-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118047 Andrew Pinski changed: What|Removed |Added Summary|Incorrect list |[12/13/14/15 |initial

[Bug c++/118047] Incorrect list initialization of vector of struct of array of struct of enum

2024-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118047 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.4 Known to fail|

[Bug c++/118047] [12/13/14/15 Regression]Incorrect list initialization of vector of struct of array of struct of enum

2024-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118047 Andrew Pinski changed: What|Removed |Added Attachment #59870|0 |1 is obsolete|

[Bug c++/118047] [12/13/14/15 Regression]Incorrect list initialization of vector of struct of array of struct of enum

2024-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118047 Andrew Pinski changed: What|Removed |Added Known to work||11.4.0 Status|UNCONFIRMED

[Bug c++/118047] [12/13/14/15 Regression]Incorrect list initialization of vector of struct of array of struct of enum

2024-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118047 --- Comment #1 from Andrew Pinski --- Created attachment 59870 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59870&action=edit unincluded version

[Bug driver/118048] New: `-h`support does not work everywhere

2024-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118048 Bug ID: 118048 Summary: `-h`support does not work everywhere Product: gcc Version: 14.2.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P

[Bug c++/118047] [12/13/14/15 Regression] Incorrect list initialization of vector of struct of array of struct of enum

2024-12-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118047 Sam James changed: What|Removed |Added Summary|[12/13/14/15|[12/13/14/15 Regression]

[Bug c++/118047] [12/13/14/15 Regression] Incorrect list initialization of vector of struct of array of struct of enum

2024-12-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118047 --- Comment #5 from Andrew Pinski --- here is a compile time testcase: ``` #include enum E { One }; struct A { E e = One; }; struct B { A as[1] {}; }; struct v { constexpr v(const std::initializer_list &a) : size(a.size()){}

[Bug c++/118047] [12/13/14/15 Regression] Incorrect list initialization of vector of struct of array of struct of enum since r12-7803-gf0530882d99abc

2024-12-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118047 Sam James changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Summ

[Bug c++/118047] [12/13/14/15 Regression] Incorrect list initialization of vector of struct of array of struct of enum since r12-7803-gf0530882d99abc

2024-12-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118047 --- Comment #7 from Sam James --- (In reply to Sam James from comment #6) > r12-7803-gf0530882d99abc .. but that patch got backported to 11?

[Bug c++/117658] Different ADL behavior between gcc and clang

2024-12-14 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117658 Nathaniel Shead changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill