[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/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 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 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 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/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/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 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/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 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/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 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 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 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/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 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 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/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 Andrew Pinski changed: What|Removed |Added Component|preprocessor|target Summary|[14/15 regres

[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 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 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 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 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 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 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] 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 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 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 CC||sjames at gcc dot gnu.org --- Comment #2 fr

[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] 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] 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 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++/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 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 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 --- 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 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 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 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 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 #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 #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 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 #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 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 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] 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/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 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 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 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/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 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 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 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 CC||tkoenig at gcc dot gnu.org --- Comment

[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 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 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 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 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 #4 from anlauf at gcc dot gnu.org --- (In reply to Thomas Koenig from comment #3) > > $ cat z2.f90 > > program p > >integer, target :: x(3) = [7, 8, 9] > >type t > > integer, pointer :: a(:) > >end type > >type(t)

[Bug fortran/55207] [F08] Variables declared in the main program should implicitly get the SAVE attribute

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

[Bug fortran/102390] IMPLICIT SAVE not properly implemented

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

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

2025-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118809 Andrew Pinski changed: What|Removed |Added Keywords||compile-time-hog --- Comment #1 from An

[Bug driver/118810] New: collect2 should delay creating of temp .cdtor.c/.cdtor.o files until needed

2025-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118810 Bug ID: 118810 Summary: collect2 should delay creating of temp .cdtor.c/.cdtor.o files until needed Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: co

[Bug rtl-optimization/118598] [12/13/14/15 Regression] Shrink-wrapping multiple conditions

2025-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118598 --- Comment #3 from Andrew Pinski --- (In reply to Jeffrey A. Law from comment #2) > It looks like it shrink-wraps to me. The frame setup happens after the a == > 42 early exit. Where you expecting something else? There should be a shrink wra

[Bug rtl-optimization/118598] [12/13/14/15 Regression] Shrink-wrapping multiple conditions

2025-02-09 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118598 --- Comment #2 from Jeffrey A. Law --- It looks like it shrink-wraps to me. The frame setup happens after the a == 42 early exit. Where you expecting something else?

[Bug c++/118574] [15 regression] Crashes with coroutines in KDE Plasma

2025-02-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118574 --- Comment #9 from Sam James --- (In reply to Jakub Jelinek from comment #7) > Can you bisect to one TU using -f{,no-}range-for-ext-temps? I started last night, but the crashers are plugins which makes it a nuisance. I'll work more on it if th

[Bug c++/118574] [15 regression] Crashes with coroutines in KDE Plasma

2025-02-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118574 --- Comment #8 from Jakub Jelinek --- In the rhbz bug Alessandro Astone came up with: #include #include #include #include #include #include using namespace std::chrono_literals; struct TimerAwaiter { std::chrono::milliseconds duratio

[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 since r15-6173

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

[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 --- Comment #3 from Thomas Koenig --- (In reply to Roland Illig from comment #2) > Maybe you can ask Martin Sebor for details regarding the diagnostics. > > There are several other code smells in that area, such as: "Code smells" is not a prob

[Bug middle-end/100733] [12/13/14/15 Regression] -fcompare-debug failure for pr85213.c at -O1 -fdisable-tree-phiopt2

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

[Bug tree-optimization/114385] [12/13/14/15 regression] -Wrestrict false positive creating std::string from iterators

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

[Bug tree-optimization/114622] [12/13/14/15 regression] memcmp -Wstringop-overread false positive with -O0

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

[Bug preprocessor/118168] -Wmisleading-indentation causes 10x+ overhead or higher (visible on mypy-1.13.0)

2025-02-09 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118168 --- Comment #20 from David Malcolm --- Thanks!

[Bug target/115123] [15 Regression] RISCV vector scan-assembler failures

2025-02-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115123 --- Comment #2 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:22e30d60b971eed9a4754ea920d05b1b7e89090a commit r15-7451-g22e30d60b971eed9a4754ea920d05b1b7e89090a Author: Jeff Law Date: Sun Feb 9 0

[Bug target/115123] [15 Regression] RISCV vector scan-assembler failures

2025-02-09 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115123 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

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

2025-02-09 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118791 --- Comment #4 from sandra at gcc dot gnu.org --- Ooops, I meant "specific to OG14 branch" in my last comment.

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

2025-02-09 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118791 --- Comment #3 from sandra at gcc dot gnu.org --- Curiously, on the OG14 development branch the rvalue calls work but the lvalue ones are broken instead: $ install/bin/x86_64-none-linux-gnu-g++ -fopenmp -S quux.C quux.C: In instantiation of 'vo

[Bug middle-end/117263] [12/13/14 Regression] genautomata.cc does not compile with -DNDEBUG due to unused but set variable

2025-02-09 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117263 Jeffrey A. Law changed: What|Removed |Added Summary|[12/13/14/15 Regression]|[12/13/14 Regression]

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

2025-02-09 Thread daklishch at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118809 Bug ID: 118809 Summary: Excessive memory usage with global std::vector> in C++20 mode Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/117263] [12/13/14/15 Regression] genautomata.cc does not compile with -DNDEBUG due to unused but set variable

2025-02-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117263 --- Comment #3 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:b81bb3ed216213fdaba82addae9fc34619ad6ec7 commit r15-7450-gb81bb3ed216213fdaba82addae9fc34619ad6ec7 Author: Dario Gjorgjevski Date: Su

[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 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 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 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 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 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 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 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 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/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

  1   2   >