[Bug c++/65866] Wrong warning when using list-initialization: operation on 'b' may be undefined [-Wsequence-point]

2024-07-12 Thread yshuiv7 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65866 Yuxuan Shui changed: What|Removed |Added CC||yshuiv7 at gmail dot com --- Comment #7 fr

[Bug target/115752] [13/14/15 Regression] [loongarch -O1] ICE: maximum number of generated reload insns per insn achieved (90)

2024-07-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115752 --- Comment #19 from GCC Commits --- The releases/gcc-13 branch has been updated by LuluCheng : https://gcc.gnu.org/g:616c3290785c204b3019e7aaff8a7d9bb425d336 commit r13-8910-g616c3290785c204b3019e7aaff8a7d9bb425d336 Author: Lulu Cheng Date:

[Bug target/115752] [13/14/15 Regression] [loongarch -O1] ICE: maximum number of generated reload insns per insn achieved (90)

2024-07-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115752 --- Comment #18 from GCC Commits --- The releases/gcc-14 branch has been updated by LuluCheng : https://gcc.gnu.org/g:89f9342980b7976f98ba43fac6a64a7a2214b6e6 commit r14-10417-g89f9342980b7976f98ba43fac6a64a7a2214b6e6 Author: Lulu Cheng Date:

[Bug ipa/106783] [12/13/14/15 Regression] ICE in ipa-modref.cc:analyze_function since r12-5247-ga34edf9a3e907de2

2024-07-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106783 --- Comment #5 from Andrew Pinski --- ``` /* To simplify debugging, compare IPA and local solutions. */ if (past_flags_known && summary) { size_t len = summary->arg_flags.length (); if (past_flags.length

[Bug c++/115888] GCC rejects valid program involving explict object member function

2024-07-12 Thread jlame646 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115888 --- Comment #3 from Jason Liam --- Reduced program to show the intent more clearly: ``` #include struct C{ int f(this int); }; decltype(C::f) func; //msvc accepts but clang and gcc rejects int func(int j) { std::cout << "called with:

[Bug middle-end/115863] [15 Regression] zlib-1.3.1 miscompilation since r15-1936-g80e446e829d818

2024-07-12 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115863 --- Comment #11 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #10) > Created attachment 58650 [details] > Testcase that illustrates performance issue Without ustrunc{m}{m}2 optab the loop in the testcase compiles to (gcc -O2): .L7

[Bug middle-end/115863] [15 Regression] zlib-1.3.1 miscompilation since r15-1936-g80e446e829d818

2024-07-12 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115863 --- Comment #10 from Uroš Bizjak --- Created attachment 58650 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58650&action=edit Testcase that illustrates performance issue

[Bug middle-end/115863] [15 Regression] zlib-1.3.1 miscompilation since r15-1936-g80e446e829d818

2024-07-12 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115863 --- Comment #9 from Uroš Bizjak --- (In reply to Li Pan from comment #8) > Thanks Richard. > Yes, the .SAT_TRUNC doesn't pay any attention the other possible use of > MIN_EXPR. > > As your suggestion, we may need one additional check here (lik

[Bug tree-optimization/115256] [15 Regression] 502.gcc_r Run failed with '-march=native -Ofast -funroll-loops -flto' since r15-571-g1e0ae1f52741f7

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

[Bug middle-end/115863] [15 Regression] zlib-1.3.1 miscompilation since r15-1936-g80e446e829d818

2024-07-12 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115863 --- Comment #8 from Li Pan --- (In reply to Richard Biener from comment #7) > (In reply to Uroš Bizjak from comment #6) > > Please note that w/o .SAT_TRUNC the compiler is able to optimize hot loop in > > compress2 to: > > > >[local count:

[Bug c++/115888] GCC rejects valid program involving explict object member function

2024-07-12 Thread jlame646 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115888 --- Comment #2 from Jason Liam --- (In reply to Andrew Pinski from comment #1) > https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#2688 This is not CWG2688. Note that in the given example here, gcc and clang rejects `decltype(C::f)`

[Bug rtl-optimization/115901] [15 regression] ICE when building coreutils-9.5 on arm64 with -O3 -flto -fno-vect-cost-model -ftrivial-auto-var-init=zero

2024-07-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115901 --- Comment #9 from Andrew Pinski --- ``` trying to combine definition of r63 in: 21: v31:DI=x0:DI into: 22: v30:V2DI=v31:V2DI successfully matched this instruction to *aarch64_simd_movv2di: (set (reg:V2DI 62 v30 [orig:106 _3 ] [106])

[Bug rtl-optimization/115901] [15 regression] ICE when building coreutils-9.5 on arm64 with -O3 -flto -fno-vect-cost-model -ftrivial-auto-var-init=zero

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

[Bug rtl-optimization/115879] ICE: verify_flow_info failed: missing REG_EH_REGION note at the end of bb 6 with -O -fnon-call-exceptions -finstrument-functions and _BitInt()

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

[Bug rtl-optimization/115901] [15 regression] ICE when building coreutils-9.5 on arm64 with -O3 -flto -fno-vect-cost-model -ftrivial-auto-var-init=zero

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

[Bug rtl-optimization/115901] [15 regression] ICE when building coreutils-9.5 on arm64 with -O3 -flto -fno-vect-cost-model -ftrivial-auto-var-init=zero

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

[Bug rtl-optimization/115901] [15 regression] ICE when building coreutils-9.5 on arm64 with -O3 -flto -fno-vect-cost-model -ftrivial-auto-var-init=zero

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

[Bug rtl-optimization/115901] [15 regression] ICE when building coreutils-9.5 on arm64 with -O3 -flto -fno-vect-cost-model -ftrivial-auto-var-init=zero

2024-07-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115901 --- Comment #4 from Andrew Pinski --- Created attachment 58646 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58646&action=edit single file ICEing ` -fwhole-program -O3 -fno-vect-cost-model -ftrivial-auto-var-init=zero` during RTL pass

[Bug rtl-optimization/115901] [15 regression] ICE when building coreutils-9.5 on arm64 with -O3 -flto -fno-vect-cost-model -ftrivial-auto-var-init=zero

2024-07-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115901 --- Comment #3 from Andrew Pinski --- (In reply to Sam James from comment #2) > That's straight from cvise so not tidied at all. I need to do some other > bits now. It should be doable to kill LTO dependence next Just combine the 2 sources and

[Bug rtl-optimization/115901] [15 regression] ICE when building coreutils-9.5 on arm64 with -O3 -flto -fno-vect-cost-model -ftrivial-auto-var-init=zero

2024-07-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115901 --- Comment #2 from Sam James --- expr.i: ``` void mpz_tdiv_r(); void mpz_get_str(); void main() { mpz_tdiv_r(mpz_get_str); } ``` libcoreutils_a-mini-gmp-gnulib.i: ``` typedef long mp_limb_t; int mpn_div_qr_invert___clz_c; mp_limb_t mpn_div_qr_

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2024-07-12 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug rtl-optimization/115901] [15 regression] ICE when building coreutils-9.5 on arm64 with -O3 -flto -fno-vect-cost-model -ftrivial-auto-var-init=zero

2024-07-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115901 Andrew Pinski changed: What|Removed |Added Version|unknown |15.0 CC|

[Bug rtl-optimization/115901] [15 regression] ICE when building coreutils-9.5 on arm64 with -O3 -flto -fno-vect-cost-model -ftrivial-auto-var-init=zero

2024-07-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115901 --- Comment #1 from Sam James --- Created attachment 58645 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58645&action=edit libcoreutils_a-mini-gmp-gnulib.i

[Bug rtl-optimization/115901] New: [15 regression] ICE when building coreutils-9.5 on arm64 with -O3 -flto -fno-vect-cost-model -ftrivial-auto-var-init=zero

2024-07-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
tap --disable-valgrind-annotations --disable-vtable-verify --disable-libvtv --with-zstd --without-isl --enable-default-pie --enable-host-pie --enable-host-bind-now --enable-default-ssp --disable-fixincludes --with-build-config=bootstrap-O3 Thread model: posix Supported LTO compression algorithms: zli

[Bug target/97367] powerpc64 g5 and cell optimizations result in .machine power7

2024-07-12 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97367 Peter Bergner changed: What|Removed |Added Ever confirmed|0 |1 Target Milestone|---

[Bug c++/115888] GCC rejects valid program involving explict object member function

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

[Bug c/68524] Please support attributes between function definition and opening brace

2024-07-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68524 --- Comment #3 from Andrew Pinski --- Just FYI, Apple's corefoundation headers now "require" this support. See PR 115880 .

[Bug target/115880] [13/14/15 regression] GCC 14+ fails to parse CoreFoundation header

2024-07-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115880 --- Comment #5 from Andrew Pinski --- (In reply to Eric Gallager from comment #3) > ...it looks like the caret is underlining the CF_INLINE macro Note the caret is just wrong place; I have not looked why though.

[Bug target/115880] [13/14/15 regression] GCC 14+ fails to parse CoreFoundation header

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

[Bug c++/115900] [14/15 Regression] constexpr object modification during construction gives "Modifying a const object is not allowed in a constant expression"

2024-07-12 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115900 --- Comment #4 from Marek Polacek --- Reverting r14-409 fixes the problem on trunk, so that change must mean something. I added the modifying-const-objects constexpr checking, so maybe I should poke more at this.

[Bug c++/115900] [14/15 Regression] constexpr object modification during construction gives "Modifying a const object is not allowed in a constant expression"

2024-07-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115900 --- Comment #3 from Andrew Pinski --- (In reply to Marek Polacek from comment #1) > Started with r14-409: > > commit 4b8d0d4d7fd245ef85c7801e7838845502a5a61d > Author: Jason Merrill > Date: Mon May 1 17:41:44 2023 -0400 > > c++: std::va

[Bug c++/115900] [14/15 Regression] constexpr object modification during construction gives "Modifying a const object is not allowed in a constant expression"

2024-07-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115900 --- Comment #2 from Andrew Pinski --- Reduced slightly more: ``` struct A { char m; constexpr A() { m = 0; } }; struct C { constexpr C(){ }; }; struct B : C { A a; constexpr B() {} }; struct D : B { }; static constexpr A a; sta

[Bug c++/115900] [14/15 Regression] constexpr object modification during construction gives "Modifying a const object is not allowed in a constant expression"

2024-07-12 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115900 Marek Polacek changed: What|Removed |Added Summary|[14 Regression] constexpr |[14/15 Regression] |o

[Bug libstdc++/115838] libstdc++-14 with clang 17 (18 is ok) in C++23 mode is broken due to limited C++23 support in clang 17 (unknown references in constexpr)

2024-07-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115838 --- Comment #4 from Jonathan Wakely --- We might be able to just disable the new code for clang 17 like this: diff --git a/libstdc++-v3/include/bits/version.def b/libstdc++-v3/include/bits/version.def index 0604bc2c520..fc2fa0c195f 100644 ---

[Bug c++/115900] New: [14 Regression] constexpr object modification during construction gives "Modifying a const object is not allowed in a constant expression"

2024-07-12 Thread valentin at tolmer dot fr via Gcc-bugs
^ ``` This compiles fine with GCC 13.3.0, but fails with GCC 14.1.0 or trunk (on godbolt as of this writing, g++ (Compiler-Explorer-Build-gcc-88ff0504ab3286df57e27514065494a30c365ec5-binutils-2.42) 15.0.0 20240712 (experimental) ). https://godbolt.org/z/TvjM4qjb6 AFAIK, a c

[Bug rtl-optimization/115877] [15 Regression] wrong code at -Os (missing zero extension)

2024-07-12 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115877 --- Comment #2 from Jeffrey A. Law --- Fairly sure the root cause is the TImode assignments. Based on what I'm seeing, we may have a problem with vectors as well -- worth keeping mind if there's additional bug reports against ext-dce.

[Bug rtl-optimization/56479] Register allocator can't allocate two 4-byte variables into 8 registers for inline asm on avr-gcc

2024-07-12 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56479 Georg-Johann Lay changed: What|Removed |Added Version|4.7.2 |14.1.0 Last reconfirmed|2013-03-02

[Bug rtl-optimization/115876] ext-dce.cc has ubsan issues; shifting negative values

2024-07-12 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115876 --- Comment #3 from David Binderman --- I find doing a bootstrap build with -O3 -march=native, with asan & ubsan, is a useful weekly sanity check. I only have access to arm & x86_64, so the option exists to extend this testing to other machine

[Bug sanitizer/115899] Signed integer overflow check is not done if on left side comma operator and unused

2024-07-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115899 Andrew Pinski changed: What|Removed |Added Summary|[14 Regression] Misaligned |Signed integer overflow

[Bug middle-end/115527] -ftrivial-auto-var-init appears to clobber explicit initializer

2024-07-12 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115527 --- Comment #5 from qinzhao at gcc dot gnu.org --- the following code in gimple-fold.cc has issue: 4440 tree dst = build2_loc (buf->loc, MEM_REF, atype, buf->base, 4441 build_int_cst (buf->alias_type, 4

[Bug sanitizer/115899] [14 Regression] Misaligned address check missing

2024-07-12 Thread bic60176 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115899 --- Comment #1 from Bi6c --- Created attachment 58643 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58643&action=edit testcase

[Bug sanitizer/115899] [14 Regression] Misaligned address check missing

2024-07-12 Thread bic60176 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115899 --- Comment #2 from Bi6c --- OS: Ubuntu 22.04.3 LTS We found that GCC failed to detect a signed integer overflow error in gcc-14.1.0 at optimization level 0. $ ~/compiler-builds/gcc-13.2.0_build/bin/gcc -fsanitize=undefined -g -lgcc_s -w -O0 te

[Bug sanitizer/115899] New: [14 Regression] Misaligned address check missing

2024-07-12 Thread bic60176 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115899 Bug ID: 115899 Summary: [14 Regression] Misaligned address check missing Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug rtl-optimization/115876] ext-dce.cc has ubsan issues; shifting negative values

2024-07-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115876 --- Comment #2 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:a6f551d079de1d151b272bcdd3d42316857c9d4e commit r15-2011-ga6f551d079de1d151b272bcdd3d42316857c9d4e Author: Jeff Law Date: Fri Jul 12

[Bug middle-end/115527] -ftrivial-auto-var-init appears to clobber explicit initializer

2024-07-12 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115527 --- Comment #4 from qinzhao at gcc dot gnu.org --- when checking the expanded IR for __builtin_clear_padding in the below: the builtin __builtin_clear_padding (&o, 0B); was expanded as the following sequence D.4430 = &o + 0; _2

[Bug c++/107211] [11/12/13/14/15 Regression] GCC compiles invalid use of non static member function in noexcept operator

2024-07-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107211 Andrew Pinski changed: What|Removed |Added CC||luigighiron at gmail dot com --- Commen

[Bug c++/115898] Invalid use of non-static member function in noexcept is not diagnosed

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

[Bug c++/115898] Invalid use of non-static member function in noexcept is not diagnosed

2024-07-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115898 --- Comment #3 from Andrew Pinski --- I think this is a dup of bug 107211.

[Bug c++/115898] Invalid use of non-static member function in noexcept is not diagnosed

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

[Bug c++/115898] Invalid use of non-static member function in noexcept is not diagnosed

2024-07-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115898 --- Comment #1 from Andrew Pinski --- Short testcase: ``` struct f { void g(); void g(int); } tt; bool t = noexcept(tt.g); ```

[Bug c++/115898] New: Invalid use of non-static member function in noexcept is not diagnosed

2024-07-12 Thread luigighiron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115898 Bug ID: 115898 Summary: Invalid use of non-static member function in noexcept is not diagnosed Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/115527] -ftrivial-auto-var-init appears to clobber explicit initializer

2024-07-12 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115527 --- Comment #3 from qinzhao at gcc dot gnu.org --- I believe that this is a bug in __builtin_clear_padding. when I change the testing case to: struct inner { double a; char b; long l; }; struct outer { struct inner in_array[3];

[Bug target/115874] sh.c appears to be missing include of stdio.h

2024-07-12 Thread joel at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115874 --- Comment #3 from Joel Sherrill --- config.h includes auto-host.h which appears to be defining the macros: /* Define to 1 if we found a declaration for 'fputc_unlocked', otherwise define to 0. */ #ifndef USED_FOR_TARGET #define HAVE_DECL_F

[Bug lto/115890] ICE: verify_gimple failed with -flto

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

[Bug lto/85047] cdd2a01 (and others) FAIL with -flto (VLA type in struct causes issues)

2024-07-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85047 Andrew Pinski changed: What|Removed |Added CC||iamanonymous.cs at gmail dot com --- Co

[Bug tree-optimization/115896] Failure to optimize shift+compare involving constants to and+compare

2024-07-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115896 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org Se

[Bug target/115893] AVR documentation in x86_64 build

2024-07-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115893 --- Comment #4 from Andrew Pinski --- A couple of notes here. 1) Georg-Johann Lay is right there is only one documentation for all of GCC. So compiling for x86_64 will cause the documentation to be the same as compiling for avr. 2) The version

[Bug target/115891] [15 regression] libgcrypt tests segfault in crc32_less_than_16 with LTO with late-combine

2024-07-12 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115891 Richard Sandiford changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug rtl-optimization/115883] [15 Regression] late-combine exposing LRA problems

2024-07-12 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115883 Hans-Peter Nilsson changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug c++/115897] [14/15 Regression] vector_size attribute on alias template has no effect when used in a dependent variable template-id

2024-07-12 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115897 Patrick Palka changed: What|Removed |Added Target Milestone|--- |14.2 Assignee|unassigned at g

[Bug c++/115897] [14/15 Regression] vector_si

2024-07-12 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115897 Patrick Palka changed: What|Removed |Added Summary|[14/15 Regression] |[14/15 Regression] |_

[Bug libstdc++/86843] Allow separating debug mode into ABI-changing part and rest

2024-07-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86843 --- Comment #7 from GCC Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:08776bef53835ff6318ecfeade8f6c6896ffd81f commit r15-2009-g08776bef53835ff6318ecfeade8f6c6896ffd81f Author: Daniel Bertalan Date:

[Bug c++/115897] [14/15 Regression] __is_same fails for vector builtin

2024-07-12 Thread mkretz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115897 --- Comment #1 from Matthias Kretz (Vir) --- It seems '__is_same' is not the problem here. New test case (https://compiler-explorer.com/z/fsoc3hzMK): --- template constexpr bool same_size_v = s

[Bug c++/115897] New: [14/15 Regression] __is_same fails for vector builtin

2024-07-12 Thread mkretz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115897 Bug ID: 115897 Summary: [14/15 Regression] __is_same fails for vector builtin Product: gcc Version: 14.1.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal

[Bug target/115893] AVR documentation in x86_64 build

2024-07-12 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115893 --- Comment #3 from Georg-Johann Lay --- (In reply to David Binderman from comment #2) > IMHO, an x86_64 build shouldn't be doing *anything* with any avr > documentation. The GCC user documentation as well as the Internals manual covers all targ

[Bug rtl-optimization/115785] [15 regression] ICE when building embree-4.3.1 on amd64

2024-07-12 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115785 Richard Sandiford changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug rtl-optimization/115785] [15 regression] ICE when building embree-4.3.1 on amd64

2024-07-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115785 --- Comment #4 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:6e7053a641393211f52c176e540c8922288ab8db commit r15-2008-g6e7053a641393211f52c176e540c8922288ab8db Author: Richard Sandiford Da

[Bug target/115893] AVR documentation in x86_64 build

2024-07-12 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115893 --- Comment #2 from David Binderman --- (In reply to Georg-Johann Lay from comment #1) > So I think this is invalid as a GCC PR. When you are annoyed by that > warning, use a texinfo version with a fix. It looks like you missed my point. Maybe

[Bug tree-optimization/115895] FAIL: gcc.dg/vect/pr115385.c execution test with -march=znver4 --param partial-vector-usage=2

2024-07-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115895 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org L

[Bug tree-optimization/115896] New: Failure to optimize shift+compare involving constants to and+compare

2024-07-12 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115896 Bug ID: 115896 Summary: Failure to optimize shift+compare involving constants to and+compare Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c++/103524] [meta-bug] modules issue

2024-07-12 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 115798, which changed state. Bug 115798 Summary: [15 Regression][modules] ICE when re-exporting a type exported from base module's GMF https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115798 What|Removed

[Bug c++/115798] [15 Regression][modules] ICE when re-exporting a type exported from base module's GMF

2024-07-12 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115798 Nathaniel Shead changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/115798] [15 Regression][modules] ICE when re-exporting a type exported from base module's GMF

2024-07-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115798 --- Comment #4 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:13757e50ff0b4e0dccfabc67b1322a2724bf3a5c commit r15-2005-g13757e50ff0b4e0dccfabc67b1322a2724bf3a5c Author: Nathaniel Shead Date:

[Bug c++/114683] [modules] name declared in GMF in inline namespace and exported via using-decl from parent namespace is not visible to importer

2024-07-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114683 --- Comment #4 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:d6bf4b1c93221118b3008a878ec508f6412dfc55 commit r15-2003-gd6bf4b1c93221118b3008a878ec508f6412dfc55 Author: Nathaniel Shead Date:

[Bug target/114189] Target implements obsolete vcond{,u,eq} expanders

2024-07-12 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114189 --- Comment #9 from rguenther at suse dot de --- On Fri, 12 Jul 2024, ebotcazou at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114189 > > Eric Botcazou changed: > >What|Removed |A

[Bug tree-optimization/115895] New: FAIL: gcc.dg/vect/pr115385.c execution test with -march=znver4 --param partial-vector-usage=2

2024-07-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115895 Bug ID: 115895 Summary: FAIL: gcc.dg/vect/pr115385.c execution test with -march=znver4 --param partial-vector-usage=2 Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug target/115889] [15 Regression] FAIL: gcc.dg/vect/vect-vfa-03.c execution test with -march=znver4 --param vect-partial-vector-usage=1

2024-07-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115889 Richard Biener changed: What|Removed |Added Component|tree-optimization |target --- Comment #5 from Richard Bie

[Bug tree-optimization/115889] [15 Regression] FAIL: gcc.dg/vect/vect-vfa-03.c execution test with -march=znver4 --param vect-partial-vector-usage=1

2024-07-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115889 --- Comment #4 from Richard Biener --- With -mno-avx512bf16 the gcc.dg/vect/vect-vfa-03.c testcase succeeds.

[Bug target/115893] AVR documentation in x86_64 build

2024-07-12 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115893 --- Comment #1 from Georg-Johann Lay --- A native build on x86_64 produces warnings about avr documentation.(In reply to David Binderman from comment #0) > A native build on x86_64 produces warnings about avr documentation. This is an issue in

[Bug rtl-optimization/115894] [15 regression] gcc.target/arm/pr111235.c test failure

2024-07-12 Thread jskumari at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115894 Surya Kumari Jangala changed: What|Removed |Added Target Milestone|--- |15.0 CC|

[Bug rtl-optimization/115894] [15 regression] gcc.target/arm/pr111235.c test failure

2024-07-12 Thread jskumari at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115894 Surya Kumari Jangala changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug rtl-optimization/115894] New: [15 regression] gcc.target/arm/pr111235.c test failure

2024-07-12 Thread jskumari at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115894 Bug ID: 115894 Summary: [15 regression] gcc.target/arm/pr111235.c test failure Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug tree-optimization/115889] [15 Regression] FAIL: gcc.dg/vect/vect-vfa-03.c execution test with -march=znver4 --param vect-partial-vector-usage=1

2024-07-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115889 Richard Biener changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment

[Bug lto/115890] ICE: verify_gimple failed with -flto

2024-07-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115890 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code, lto Last reconfir

[Bug target/115891] [15 regression] libgcrypt tests segfault in crc32_less_than_16 with LTO with late-combine

2024-07-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115891 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.0 Target|

[Bug target/80881] Implement Windows native TLS

2024-07-12 Thread alexandre.nunes at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 --- Comment #23 from Alexandre Pereira Nunes --- Created attachment 58642 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58642&action=edit My latest gcc tls support patch

[Bug rtl-optimization/115892] [15 regression] gcc.target/aarch64/sve/acle/general/cpy_1.c test failure

2024-07-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115892 Richard Biener changed: What|Removed |Added Version|unknown |15.0 Target Milestone|---

[Bug target/80881] Implement Windows native TLS

2024-07-12 Thread alexandre.nunes at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 --- Comment #22 from Alexandre Pereira Nunes --- (In reply to Julian Waters from comment #19) > > Alexandre, how's your progress on Windows TLS going? Could we collaborate to > get this into gcc somehow? Hi Julian, I used to manage a collect

[Bug fortran/84868] [11/12/13/14/15 Regression] ICE in gfc_conv_descriptor_offset, at fortran/trans-array.c:208

2024-07-12 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84868 --- Comment #16 from Paul Thomas --- Created attachment 58641 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58641&action=edit Fix for this PR The only way that I have found to fix this is to simplify the len_trim expression. In doing so,

[Bug middle-end/115882] Don't alwsys promote memory_order_consume to memory_order_acquire

2024-07-12 Thread uis9936 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115882 --- Comment #7 from uis --- (In reply to Andrew Pinski from comment #1) > http://wg21.link/P0735 > http://wg21.link/P0750 > http://wg21.link/P0190 > http://wg21.link/P0462 > > > There might be more. After re-reading P0750 it seems I misunders

[Bug target/115893] New: AVR documentation in x86_64 build

2024-07-12 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115893 Bug ID: 115893 Summary: AVR documentation in x86_64 build Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug libstdc++/115522] [13/14 Regression] std::to_array no longer works for struct which is trivial but not default constructible

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

[Bug libstdc++/115522] [13/14 Regression] std::to_array no longer works for struct which is trivial but not default constructible

2024-07-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115522 --- Comment #12 from GCC Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:08463348c5cce84dc3c64ac4fbb20e2795ee104f commit r13-8908-g08463348c5cce84dc3c64ac4fbb20e2795ee104f Author: Jonathan Wak

[Bug c++/85723] [C++17][DR 1496] __is_trivial intrinsic fails with no trivial non-deleted default c'tor

2024-07-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85723 --- Comment #8 from GCC Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:08463348c5cce84dc3c64ac4fbb20e2795ee104f commit r13-8908-g08463348c5cce84dc3c64ac4fbb20e2795ee104f Author: Jonathan Wakel

[Bug libstdc++/115522] [13/14 Regression] std::to_array no longer works for struct which is trivial but not default constructible

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

[Bug libstdc++/115522] [13/14 Regression] std::to_array no longer works for struct which is trivial but not default constructible

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

[Bug libstdc++/113376] [14 Regression] Confusing notes when using C++17 parallel algorithms

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

[Bug libstdc++/115522] [13/14 Regression] std::to_array no longer works for struct which is trivial but not default constructible

2024-07-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115522 --- Comment #9 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:21c8708ba638f57cf904c8af3355318d9cf0f9e0 commit r14-10412-g21c8708ba638f57cf904c8af3355318d9cf0f9e0 Author: Jonathan Wak

[Bug libstdc++/113376] [14 Regression] Confusing notes when using C++17 parallel algorithms

2024-07-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113376 --- Comment #9 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:d920658cbb200729b7c2ad069fa4b6498e028ff1 commit r14-10413-gd920658cbb200729b7c2ad069fa4b6498e028ff1 Author: Jonathan Wak

[Bug c++/85723] [C++17][DR 1496] __is_trivial intrinsic fails with no trivial non-deleted default c'tor

2024-07-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85723 --- Comment #7 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:21c8708ba638f57cf904c8af3355318d9cf0f9e0 commit r14-10412-g21c8708ba638f57cf904c8af3355318d9cf0f9e0 Author: Jonathan Wake

  1   2   >