[Bug target/118815] [15 Regression] Getting `Vector size conflicts between AVX10.1 and AVX512, using 512 as max vector size` warning with -Wsystem-headers

2025-02-09 Thread haochen.jiang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118815 --- Comment #3 from Haochen Jiang --- Which makes this thing more weird than my expected is that avx10_2rounding and avx10_2minmax intrin file seems not reporting the warning. It also should from my understanding, but it may shed the light of th

[Bug target/118815] [15 Regression] Getting `Vector size conflicts between AVX10.1 and AVX512, using 512 as max vector size` warning with -Wsystem-headers

2025-02-09 Thread haochen.jiang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118815 --- Comment #4 from Haochen Jiang --- (In reply to Haochen Jiang from comment #3) > Which makes this thing more weird than my expected is that avx10_2rounding > and avx10_2minmax intrin file seems not reporting the warning. It also > should from

[Bug target/47253] Conditional jump to tail function is not generated

2025-02-09 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47253 --- Comment #9 from H.J. Lu --- Created attachment 60445 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60445&action=edit A patch [hjl@gnu-tgl-3 pr47253]$ cat y.c void t(), f(); void decide(bool ok) { if (ok) t(); else f(); }

[Bug middle-end/96900] [12/13/14/15 Regression] bogus -Warray-bounds on strlen with valid pointer obtained from just-past-the-end

2025-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96900 Andrew Pinski changed: What|Removed |Added Keywords||false-positive --- Comment #10 from Andr

[Bug fortran/88124] Wrong results with procedure in seperate file

2025-02-09 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88124 Thomas Koenig changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug libstdc++/118811] New: SIGABRT (or ASAN heap-use-after-free) in chrono::locate_zone--chrono::tzdb_list during exit handlers

2025-02-09 Thread nicholas at nicholaswilliams dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118811 Bug ID: 118811 Summary: SIGABRT (or ASAN heap-use-after-free) in chrono::locate_zone--chrono::tzdb_list during exit handlers Product: gcc Version: 14.2.1

[Bug tree-optimization/108608] [12 Regression] AArch64 vectorizer ICE in vect_transform_reduction and __builtin_fmax

2025-02-09 Thread fengfei.xi at horizon dot auto via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108608 fengfei.xi at horizon dot auto changed: What|Removed |Added CC||fengfei.xi at horizon do

[Bug libstdc++/118811] SIGABRT (or ASAN heap-use-after-free) in chrono::locate_zone--chrono::tzdb_list during exit handlers

2025-02-09 Thread nicholas at nicholaswilliams dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118811 --- Comment #5 from Nicholas Williams --- Created attachment 60442 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60442&action=edit .ii file from buggy RHEL/GCC14

[Bug ipa/117315] [12/13/14/15 regression] Wireshark miscompiled with LTO since r11-5391-gbb07490abba850

2025-02-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117315 --- Comment #14 from Sam James --- Looking at this again, wmem_tree_new_autoreset has __attribute__((malloc)) which promises that the memory returned isn't aliased by anything else ("fresh"). In wmem_test_tree, we birth 'tree' with wmem_tree_ne

[Bug ipa/117315] [12/13/14/15 regression] Wireshark miscompiled with LTO since r11-5391-gbb07490abba850

2025-02-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117315 --- Comment #15 from Sam James --- (In reply to Sam James from comment #14) > Is this like a 'lifetime-dse' thing? Is it legal for wmem_tree_new_autoreset > to modify 'tree' before it's returned like that for the malloc attribute? (The issue no

[Bug libstdc++/118811] SIGABRT (or ASAN heap-use-after-free) in chrono::locate_zone--chrono::tzdb_list during exit handlers

2025-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118811 --- Comment #9 from Andrew Pinski --- So looking into this slightly, tzdb_list deconstructor will call the deconstructor of shared_ptr<_Node>. But that should always be called after the deconstructor of BackgroundThread. Oh I get the failure o

[Bug ipa/117315] [12/13/14/15 regression] Wireshark miscompiled with LTO since r11-5391-gbb07490abba850

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

[Bug tree-optimization/118796] [15 Regression] ICE when building atlas-ecmwf 0.40.0 (copy_reference_ops_from_ref, at tree-ssa-sccvn.cc:1109)

2025-02-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118796 --- Comment #3 from Sam James --- (In reply to Sam James from comment #2) Ignore the last install. We obviously don't want/need that. If you do for some reason, then add the custom install prefix on the cmake command.

[Bug libstdc++/118811] SIGABRT (or ASAN heap-use-after-free) in chrono::locate_zone--chrono::tzdb_list during exit handlers

2025-02-09 Thread nicholas at nicholaswilliams dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118811 --- Comment #6 from Nicholas Williams --- Created attachment 60443 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60443&action=edit .ii file from working Ubuntu/GCC13

[Bug libstdc++/118811] SIGABRT (or ASAN heap-use-after-free) in chrono::locate_zone--chrono::tzdb_list during exit handlers

2025-02-09 Thread nicholas at nicholaswilliams dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118811 --- Comment #7 from Nicholas Williams --- I think I have now attached everything. Under the "What we do not want" on the bug reporting instructions, it says "An attached archive (tar, zip, shar, whatever) containing all (or some) of the above."

[Bug libstdc++/118811] SIGABRT (or ASAN heap-use-after-free) in chrono::locate_zone--chrono::tzdb_list during exit handlers

2025-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118811 --- Comment #8 from Andrew Pinski --- Works on the trunk. [apinski@xeond2 upstream-gcc-isel]$ ~/upstream-gcc-isel/bin/g++ -std=c++20 -fsanitize=address -fsanitize-address-use-after-scope -Wall -Wextra -Werror -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_DEB

[Bug tree-optimization/118796] [15 Regression] ICE when building atlas-ecmwf 0.40.0 (copy_reference_ops_from_ref, at tree-ssa-sccvn.cc:1109)

2025-02-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118796 --- Comment #2 from Sam James --- ``` mkdir /tmp/fortran && cd /tmp/fortran # Unfortunately, we have to install at least one library, so we do it in /tmp/fortran/prefix to keep it off the real system. mkdir /tmp/fortran/prefix git clone https:/

[Bug libstdc++/118811] SIGABRT (or ASAN heap-use-after-free) in chrono::locate_zone--chrono::tzdb_list during exit handlers

2025-02-09 Thread nicholas at nicholaswilliams dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118811 --- Comment #1 from Nicholas Williams --- Created attachment 60438 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60438&action=edit gcc -v output from buggy RHEL/GCC14

[Bug libstdc++/118811] SIGABRT (or ASAN heap-use-after-free) in chrono::locate_zone--chrono::tzdb_list during exit handlers

2025-02-09 Thread nicholas at nicholaswilliams dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118811 --- Comment #4 from Nicholas Williams --- Created attachment 60441 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60441&action=edit runtime output from working Ubuntu/GCC13

[Bug libstdc++/118811] SIGABRT (or ASAN heap-use-after-free) in chrono::locate_zone--chrono::tzdb_list during exit handlers

2025-02-09 Thread nicholas at nicholaswilliams dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118811 --- Comment #2 from Nicholas Williams --- Created attachment 60439 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60439&action=edit gcc -v output from working Ubuntu/GCC13

[Bug libstdc++/118811] SIGABRT (or ASAN heap-use-after-free) in chrono::locate_zone--chrono::tzdb_list during exit handlers

2025-02-09 Thread nicholas at nicholaswilliams dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118811 --- Comment #3 from Nicholas Williams --- Created attachment 60440 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60440&action=edit runtime output from buggy RHEL/GCC14

[Bug c++/96957] [12/13/14/15 Regression] GCC thinks a non-dependent base is dependent because of template alias

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

[Bug c++/118812] Improve diagnostic for non class used as a base class (even a typedef)

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

[Bug preprocessor/118813] New: Compile error when using __OPTIMIZE__ without value

2025-02-09 Thread kistlin at protonmail dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118813 Bug ID: 118813 Summary: Compile error when using __OPTIMIZE__ without value Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug c++/118812] New: Improve diagnostic for non class used as a base class (even a typedef)

2025-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118812 Bug ID: 118812 Summary: Improve diagnostic for non class used as a base class (even a typedef) Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: diagnos

[Bug c/97991] [12/13/14/15 Regression] ICE in c_parser_consume_token, at c/c-parser.c:850

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

[Bug target/116594] [meta-bug] xtheadvector brokeness

2025-02-09 Thread cooper.qu at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116594 Bug 116594 depends on bug 116590, which changed state. Bug 116590 Summary: unrecognized opcode th.vmv8r.v th.vfrec7.v when compiling for risc-v xtheadvector https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116590 What|Removed

[Bug jit/117047] [15 regression] Segfault in libgccjit garbage collection when compiling GNU Emacs with Native Compilation

2025-02-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117047 Richard Biener changed: What|Removed |Added Priority|P3 |P1 --- Comment #7 from Richard Biener

[Bug target/116590] unrecognized opcode th.vmv8r.v th.vfrec7.v when compiling for risc-v xtheadvector

2025-02-09 Thread cooper.qu at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116590 Cooper Qu changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/56423] F08/0071: Shall reject invalid Vector subscript target with Pointer assignment

2025-02-09 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56423 Thomas Koenig changed: What|Removed |Added Last reconfirmed|2015-10-10 00:00:00 |2025-2-9 CC|

[Bug modula2/118761] gm2 driver doesn't behave as gcc for --help=BLA

2025-02-09 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118761 Gaius Mulley changed: What|Removed |Added Last reconfirmed||2025-02-09 Status|UNCONFIRME

[Bug fortran/99302] untranslated diagnostic from gfc_compare_interfaces

2025-02-09 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99302 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org Last reconf

[Bug target/118806] New: [avr] Optimize running main (-mo-call-main)

2025-02-09 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118806 Bug ID: 118806 Summary: [avr] Optimize running main (-mo-call-main) Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component:

[Bug target/118806] [avr] Optimize running main (-mo-call-main)

2025-02-09 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118806 Georg-Johann Lay changed: What|Removed |Added Keywords||missed-optimization Targ

[Bug c++/60551] __attribute__((unused)) is ignored for 'static' declarations

2025-02-09 Thread pskocik at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60551 Petr Skocik changed: What|Removed |Added CC||pskocik at gmail dot com --- Comment #3 fr

[Bug c++/118808] operator new allocates wrong size for object of a template class with two variants

2025-02-09 Thread bugzilla--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118808 Kio changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug fortran/118159] link from Fortran documentation, coco is now an online casino

2025-02-09 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118159 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org --- Comment

[Bug fortran/118159] link from Fortran documentation, coco is now an online casino

2025-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118159 --- Comment #6 from Andrew Pinski --- (In reply to Thomas Koenig from comment #5) > Andrew, are you still onto this? If not, I could do it. No I am not working on this.

[Bug fortran/118159] link from Fortran documentation, coco is now an online casino

2025-02-09 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118159 Thomas Koenig changed: What|Removed |Added Assignee|pinskia at gcc dot gnu.org |tkoenig at gcc dot gnu.org ---

[Bug preprocessor/118813] Compile error when using __OPTIMIZE__ without value

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

[Bug c/118814] New: -Warray-bounds causes internal compiler error: Segmentation fault during GIMPLE pass: vrp

2025-02-09 Thread lukeshu at lukeshu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118814 Bug ID: 118814 Summary: -Warray-bounds causes internal compiler error: Segmentation fault during GIMPLE pass: vrp Product: gcc Version: 14.2.1 Status: UNCONFIRMED

[Bug preprocessor/118813] [14/15 regression] Compile error when using __OPTIMIZE__ without value since r14-4490-g03a8504815d539

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

[Bug preprocessor/118813] [14/15 regression] Compile error when using __OPTIMIZE__ without value since r14-4490-g03a8504815d539

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

[Bug preprocessor/118813] [14/15 regression] Compile error when using __OPTIMIZE__ without value since r14-4490-g03a8504815d539

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

[Bug preprocessor/118813] [14/15 regression] Compile error when using __OPTIMIZE__ without value since r14-4490-g03a8504815d539

2025-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118813 --- Comment #7 from Andrew Pinski --- (In reply to Andrew Pinski from comment #6) > Or PR 96174. it was definitely to workaround PR 96174 (just checked and srsran uses _mm512_cmp_ps_mask ).

[Bug target/96174] AVX-512 functions missing when compiled without optimization

2025-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96174 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.4 Known to work|

[Bug preprocessor/118813] [14/15 regression] Compile error when using __OPTIMIZE__ without value since r14-4490-g03a8504815d539

2025-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118813 --- Comment #8 from Andrew Pinski --- https://github.com/srsran/srsRAN_4G/commit/94a06867a3c3efbb8c6eb36e1ac2fa5f1aa2dc07 I like how it was someone else that reported the issue to GCC 3 years later.

[Bug tree-optimization/118814] [13/14/15 regression] -Warray-bounds causes internal compiler error: Segmentation fault during GIMPLE pass: vrp

2025-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118814 --- Comment #2 from Andrew Pinski --- Wait this is a dup.

[Bug tree-optimization/118814] [13/14/15 regression] -Warray-bounds causes internal compiler error: Segmentation fault during GIMPLE pass: vrp

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

[Bug c/109828] [13/14/15 Regression] static compound literal with flexible array in initializer leads to invalid size and ICE

2025-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109828 Andrew Pinski changed: What|Removed |Added CC||lukeshu at lukeshu dot com --- Comment

[Bug ipa/117315] [12/13/14/15 regression] Wireshark miscompiled with LTO since r11-5391-gbb07490abba850

2025-02-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117315 --- Comment #17 from Sam James --- Looking at trunk. LHS (-) is with malloc attribute (-> crashes), RHS (+) is without (-> works). In local-pure-const, we get: ``` --- a/libwsutil.so-wmem_tree.c.054t.local-pure-const1 +++ b/libwsutil.so-wmem_tr

[Bug preprocessor/118813] [14/15 regression] Compile error when using __OPTIMIZE__ without value since r14-4490-g03a8504815d539

2025-02-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118813 Sam James changed: What|Removed |Added Summary|Compile error when using|[14/15 regression] Compile

[Bug preprocessor/118813] Compile error when using __OPTIMIZE__ without value

2025-02-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118813 Sam James changed: What|Removed |Added Keywords||internal-improvement --- Comment #1 from Sa

[Bug c/118814] [13/14/15 regression] -Warray-bounds causes internal compiler error: Segmentation fault during GIMPLE pass: vrp

2025-02-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118814 Sam James changed: What|Removed |Added Summary|-Warray-bounds causes |[13/14/15 regression] |in

[Bug target/118813] [14/15 regression] avx512bwintrin.h is not `-Wsystem-headers -Wundef` clean since r14-4490-g03a8504815d539

2025-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118813 Andrew Pinski changed: What|Removed |Added Component|preprocessor|target Summary|[14/15 regres

[Bug target/118813] [14/15 regression] avx512bwintrin.h is not `-Wsystem-headers -Wundef` clean since r14-4490-g03a8504815d539

2025-02-09 Thread haochen.jiang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118813 --- Comment #11 from Haochen Jiang --- It should be #ifdef instead of #if here from my first glance.

[Bug target/118813] [14/15 regression] avx512bwintrin.h is not `-Wsystem-headers -Wundef` clean since r14-4490-g03a8504815d539

2025-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118813 --- Comment #10 from Andrew Pinski --- ``` In file included from /opt/compiler-explorer/gcc-trunk-20250209/lib/gcc/x86_64-linux-gnu/15.0.1/include/immintrin.h:61, from :1: /opt/compiler-explorer/gcc-trunk-20250209/lib/gcc

[Bug target/118815] [15 Regression] Getting `Vector size conflicts between AVX10.1 and AVX512, using 512 as max vector size` warning with -Wsystem-headers

2025-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118815 --- Comment #1 from Andrew Pinski --- Also notice the diagnostic does NOT mention which function this is from either.

[Bug target/118815] New: [15 Regression] Getting `Vector size conflicts between AVX10.1 and AVX512, using 512 as max vector size` warning with -Wsystem-headers

2025-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
: --- Target: x86_64 ``` #include ``` With -Wsystem-headers -std=c17 gives notices: ``` In file included from /opt/compiler-explorer/gcc-trunk-20250209/lib/gcc/x86_64-linux-gnu/15.0.1/include/immintrin.h:151: /opt/compiler-explorer/gcc-trunk-20250209/lib/gcc/x86_64-linux-gnu/15.0.1/include

[Bug target/118813] [14/15 regression] avx512bwintrin.h is not `-Wsystem-headers -Wundef` clean since r14-4490-g03a8504815d539

2025-02-09 Thread haochen.jiang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118813 --- Comment #12 from Haochen Jiang --- And the define seems not to be the workaround for those two PRs. It is much like a typo when moving things around for AVX10 since GCC13 (before AVX10 introduction), it is still wrapped by #ifdef.

[Bug c/114870] [13/14/15 Regression] stddef.h problem with -Wsystem-headers and -std=c23

2025-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114870 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRM

[Bug target/118815] [15 Regression] Getting `Vector size conflicts between AVX10.1 and AVX512, using 512 as max vector size` warning with -Wsystem-headers

2025-02-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118815 Sam James changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/118813] [14/15 regression] avx512bwintrin.h is not `-Wsystem-headers -Wundef` clean since r14-4490-g03a8504815d539

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

[Bug c++/118809] Excessive memory usage with global std::vector> in C++20 mode

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

[Bug target/118815] [15 Regression] Getting `Vector size conflicts between AVX10.1 and AVX512, using 512 as max vector size` warning with -Wsystem-headers

2025-02-09 Thread haochen.jiang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118815 --- Comment #2 from Haochen Jiang --- My guess (and probably it should be) is on the push and pop target for AVX10 related options and evex512 usage causing the issue. AVX10.2-256 will only use 256 size, and there is elsewhere enabling evex512

[Bug fortran/118789] [15 Regression] ICE in gfc_add_modify_loc, at fortran/trans.cc:229

2025-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118789 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org --- Comment

[Bug fortran/56423] F08/0071: Shall reject invalid Vector subscript target with Pointer assignment

2025-02-09 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56423 --- Comment #6 from anlauf at gcc dot gnu.org --- Created attachment 60435 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60435&action=edit Patch This patch diagnoses the rank mismatch as well as the vector subscripts, and is currently regt

[Bug fortran/56423] F08/0071: Shall reject invalid Vector subscript target with Pointer assignment

2025-02-09 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56423 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org ---

[Bug c++/118791] declare variant messes up template instantiation with rvalue arguments

2025-02-09 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118791 Tobias Burnus changed: What|Removed |Added CC||jason at redhat dot com --- Comment #5

[Bug middle-end/96564] [12/13/14/15 Regression] New maybe use of uninitialized variable warning since r11-959

2025-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96564 --- Comment #21 from Andrew Pinski --- So after r15-580, we can optimize: ``` extern void* malloc (long unsigned int); void fun (unsigned *x) { if (x == 0) __builtin_unreachable(); unsigned *a = malloc (*x); if (a == 0) return;

[Bug c++/70349] FAIL: g++.dg/abi/abi-tag18a.C -std=gnu++98 scan-assembler _ZZ1fB7__test1vEN1T1gB7__test2Ev

2025-02-09 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70349 --- Comment #3 from John David Anglin --- Created attachment 60436 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60436&action=edit 64-bit assembler output

[Bug preprocessor/117166] [15 regression] ICE when building lxml-5.3.0 with LTO (linemap_line_start, at libcpp/line-map.cc:949)

2025-02-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117166 Sam James changed: What|Removed |Added Resolution|--- |WORKSFORME Status|WAITING

[Bug target/118806] [avr] Optimize running main (-mo-call-main)

2025-02-09 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118806 --- Comment #2 from Georg-Johann Lay --- (In reply to Xi Ruoyao from comment #1) > Maybe it can also be done if main is [[noreturn]]? Not sure about that. The proposed patch /sets/ [[noreturn]] provided the conditions are right, i.e. -mno-call-

[Bug ipa/115767] [12/13/14/15 regression] GCC loses track of value on aarch64 with -O2 since r11-3308-gd119f34c952f87

2025-02-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115767 --- Comment #23 from Sam James --- (In reply to Xi Ruoyao from comment #22) > Maybe it's worthy to try the new LLVM TBAA sanitizer for this? Good idea. It has no complaints.

[Bug target/118772] BPF doesn't actually support effective-target 'exceptions'?

2025-02-09 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118772 Thomas Schwinge changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c++/118807] New: [modules] ICE in c_tree_chain_next during GGC with explicit instantiations

2025-02-09 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118807 Bug ID: 118807 Summary: [modules] ICE in c_tree_chain_next during GGC with explicit instantiations Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: nor

[Bug c++/118808] operator new allocates wrong size for object of a template class with two variants

2025-02-09 Thread bugzilla--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118808 --- Comment #1 from Kio --- line 82826

[Bug c++/118808] New: operator new allocates wrong size for object of a template class with two variants

2025-02-09 Thread bugzilla--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118808 Bug ID: 118808 Summary: operator new allocates wrong size for object of a template class with two variants Product: gcc Version: 13.2.1 Status: UNCONFIRMED Sev

[Bug ipa/117315] [12/13/14/15 regression] Wireshark miscompiled with LTO since r11-5391-gbb07490abba850

2025-02-09 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117315 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P1 --- Comment #13 from Jeffrey A. Law

[Bug ipa/118785] [15 Regression] ICE when building vpl-gpu-rt (during IPA pass, ICE in decompose, at wide-int.h:1049)

2025-02-09 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118785 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P1

[Bug tree-optimization/118805] [15 Regression] wrong code at -O1 with "-fno-tree-ccp -fno-tree-copy-prop -fno-tree-forwprop -fno-tree-fre" on x86_64-linux-gnu

2025-02-09 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118805 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P1

[Bug lto/118790] [15 Regression] ICE when building fiat (crash in loc_list_from_tree_1)

2025-02-09 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118790 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P1

[Bug tree-optimization/118616] [15 regression] false positive -Waggressive-loop-optimizations warnings in tree-vect-generic.cc with LTO and -O3

2025-02-09 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118616 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P2

[Bug preprocessor/117166] [15 regression] ICE when building lxml-5.3.0 with LTO (linemap_line_start, at libcpp/line-map.cc:949)

2025-02-09 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117166 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P1

[Bug target/117957] [15 regression] vectorization pessimizes std::vector push/pop test

2025-02-09 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117957 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P2

[Bug rtl-optimization/116479] [15 Regression] wrong code with -O -funroll-loops -finline-stringops -fmodulo-sched --param=max-iterations-computation-cost=637924876 on aarch64

2025-02-09 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116479 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P4

[Bug target/116215] [12/13/14/15 regression] -Wstringop-overflow in i386-expand.cc since r12-2132-ga110855667782d

2025-02-09 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116215 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P2

[Bug middle-end/115675] [15 Regression] truncv4hiv4qi affect r14-1402-gd8545fb2c71683's optimization.

2025-02-09 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115675 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P2

[Bug tree-optimization/117764] [15 Regression] cddce should handle __builtin_unreachable guards

2025-02-09 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117764 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P2

[Bug ipa/115767] [12/13/14/15 regression] GCC loses track of value on aarch64 with -O2 since r11-3308-gd119f34c952f87

2025-02-09 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115767 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P1 --- Comment #21 from Jeffrey A. Law

[Bug ipa/115767] [12/13/14/15 regression] GCC loses track of value on aarch64 with -O2 since r11-3308-gd119f34c952f87

2025-02-09 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115767 --- Comment #22 from Xi Ruoyao --- Maybe it's worthy to try the new LLVM TBAA sanitizer for this?

[Bug tree-optimization/115202] [12/13/14/15 Regression] Missed optimization: std::min(f ? (unsigned short)m : a, ~0)

2025-02-09 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115202 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P2

[Bug target/117006] [15 regression] GCC trunk generates larger code than GCC 14 at -Os

2025-02-09 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117006 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P2

[Bug driver/118803] cannot pass parameter `--save-temps` to `collect2`

2025-02-09 Thread lzsiga at freemail dot c3.hu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118803 --- Comment #5 from Lorinczy Zsigmond --- Thank you. Does this also explain why `-Wl,--save-temps` cannot be used?

[Bug libgcc/118685] FreeBSD static executables segfault due to libgcc missing crtbeginT.o

2025-02-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118685 --- Comment #9 from GCC Commits --- The releases/gcc-14 branch has been updated by Gerald Pfeifer : https://gcc.gnu.org/g:796849274c155d6f3430d94500cfa3c11fb59a1d commit r14-11282-g796849274c155d6f3430d94500cfa3c11fb59a1d Author: Dimitry Andri

[Bug fortran/99302] untranslated diagnostic from gfc_compare_interfaces

2025-02-09 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99302 --- Comment #2 from Roland Illig --- If compare_fsyms produces an error message, it may look like this: > Statement function bei file.f:123 In this message, the word "bei" is in German, while "Statement function" is in English. Maybe you can a

[Bug target/118806] [avr] Optimize running main (-mo-call-main)

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

[Bug rtl-optimization/116028] [15 Regression] gcc.dg/pr10474.c test failure since r15-1619-g3b9b8d6cfdf593

2025-02-09 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116028 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org --- Comm

[Bug middle-end/118801] Excessive compile time with -g -O2 -fpeel-loops -fno-var-tracking

2025-02-09 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118801 --- Comment #2 from David Binderman --- (In reply to Andrew Pinski from comment #1) > Note you might also want to use -fno-checking for the trunk. Thanks for the tip. Still a 26 times expansion. foundBugs $ time ../results/bin/gcc -c -w -g -O2

[Bug driver/118803] cannot pass parameter `--save-temps` to `collect2`

2025-02-09 Thread lzsiga at freemail dot c3.hu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118803 --- Comment #3 from Lorinczy Zsigmond --- > On elf targets including Linux, collect2 does not produce any `*cdtor.c` > files. Instead there is an elf section which gets used. Well `strace(1)` shows the creation of the *cdtor.c file, but it is

  1   2   >