[Bug fortran/87448] ICE at trans-expr:3417 in allocate statement with type signature using an associated variable

2024-07-19 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87448 Paul Thomas changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug fortran/87477] [meta-bug] [F03] issues concerning the ASSOCIATE statement

2024-07-19 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87477 Bug 87477 depends on bug 87448, which changed state. Bug 87448 Summary: ICE at trans-expr:3417 in allocate statement with type signature using an associated variable https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87448 What|Removed

[Bug fortran/32834] [Meta-bug] 'Fortran 95'-only failures

2024-07-19 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32834 Bug 32834 depends on bug 59104, which changed state. Bug 59104 Summary: Wrong result with SIZE specification expression https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59104 What|Removed |Added

[Bug fortran/59104] Wrong result with SIZE specification expression

2024-07-19 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59104 Paul Thomas changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug fortran/59104] Wrong result with SIZE specification expression

2024-07-19 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59104 --- Comment #10 from Paul Thomas --- > (cherry picked from commit ccaa39a268bef2a1d8880022696ff2dcaa6af941) Backporting to 13-branch fails: [pault@pc30 gcc-13]$ git gcc-backport r15-1468-gccaa39a268bef2a1d8880022696ff2dcaa6af941 Auto-mergin

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

2024-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #22 from GCC Commits --- The trunk branch has been updated by Andi Kleen : https://gcc.gnu.org/g:7db47f7b915c5f5d645fa536547e26b92290afe3 commit r15-2170-g7db47f7b915c5f5d645fa536547e26b92290afe3 Author: Andi Kleen Date: Wed Jan

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

2024-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #23 from GCC Commits --- The trunk branch has been updated by Andi Kleen : https://gcc.gnu.org/g:56f824cc206ff00d466aaeb11211d8005c4668bc commit r15-2172-g56f824cc206ff00d466aaeb11211d8005c4668bc Author: Andi Kleen Date: Tue Jan

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

2024-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #21 from GCC Commits --- The trunk branch has been updated by Andi Kleen : https://gcc.gnu.org/g:59dd1d7ab21ad9a7ebf641ec9aeea609c003ad2f commit r15-2169-g59dd1d7ab21ad9a7ebf641ec9aeea609c003ad2f Author: Andi Kleen Date: Tue Jan

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

2024-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #20 from GCC Commits --- The trunk branch has been updated by Andi Kleen : https://gcc.gnu.org/g:5c4c1fe6df0f752764cdfd7404a60bfd2b4f5057 commit r15-2168-g5c4c1fe6df0f752764cdfd7404a60bfd2b4f5057 Author: Andi Kleen Date: Wed May

[Bug fortran/87477] [meta-bug] [F03] issues concerning the ASSOCIATE statement

2024-07-19 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87477 Bug 87477 depends on bug 113363, which changed state. Bug 113363 Summary: ICE on ASSOCIATE and unlimited polymorphic function https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113363 What|Removed |Added -

[Bug fortran/113363] ICE on ASSOCIATE and unlimited polymorphic function

2024-07-19 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113363 Paul Thomas changed: What|Removed |Added Resolution|--- |FIXED Status|REOPENED

[Bug fortran/113363] ICE on ASSOCIATE and unlimited polymorphic function

2024-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113363 --- Comment #13 from GCC Commits --- The releases/gcc-13 branch has been updated by Paul Thomas : https://gcc.gnu.org/g:7c81ff02a943cda82cc1a82b36ae8ab14470b00a commit r13-8926-g7c81ff02a943cda82cc1a82b36ae8ab14470b00a Author: Paul Thomas Dat

gcc-bugs@gcc.gnu.org

2024-07-19 Thread hstong at ca dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116011 --- Comment #4 from Hubert Tong --- (In reply to Andrew Pinski from comment #3) > The reality of the issue comes down to accepting this: > ``` > struct foo { int val; }; > > int main() { decltype(&(foo::val)) ptr; } > ``` Yes, which was added

gcc-bugs@gcc.gnu.org

2024-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116011 --- Comment #3 from Andrew Pinski --- The reality of the issue comes down to accepting this: ``` struct foo { int val; }; int main() { decltype(&(foo::val)) ptr; } ```

gcc-bugs@gcc.gnu.org

2024-07-19 Thread hstong at ca dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116011 --- Comment #2 from Hubert Tong --- The fix for Clang is in the works: https://github.com/llvm/llvm-project/pull/89713#issuecomment-2240767267 An issue has been filed against the Itanium ABI: https://github.com/itanium-cxx-abi/cxx-abi/issues/18

[Bug target/115526] [14/15 regression] invalid assember emitted for alpha, "Error: duplicate !tlsgd!62" since r14-5109-ga291237b628f41

2024-07-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115526 --- Comment #28 from Sam James --- Many thanks both.

gcc-bugs@gcc.gnu.org

2024-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116011 --- Comment #1 from Andrew Pinski --- Clang also rejects this: ``` :13:55: error: no matching function for call to 'f' 13 | constexpr int g(char (*p)[sizeof(char)] = 0) { return f(p); } |

gcc-bugs@gcc.gnu.org

2024-07-19 Thread hstong at ca dot ibm.com via Gcc-bugs
anguages=c,c++ --disable-multilib --without-ppl --without-cloog-ppl --enable-checking=release --disable-nls --enable-lto LDFLAGS=-Wl,-rpath,/opt/wandbox/gcc-head/lib,-rpath,/opt/wandbox/gcc-head/lib64,-rpath,/opt/wandbox/gcc-head/lib32 Thread model: posix Supported LTO compression algorithms: zlib gcc version 15.0.0 20240719 (experimental) (GCC)

[Bug target/96846] [x86] Prefer xor/test/setcc over test/setcc/movzx sequence

2024-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96846 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/116005] Class template argument deduction for alias templates error in C++20

2024-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116005 --- Comment #5 from Andrew Pinski --- If I change the definition of B to: template using B = A; Then it works in GCC and MSVC but still fails on clang (but that might be a clang issue). Note EDG also rejects it. ``` "", line 20: error: no in

[Bug c++/116005] Class template argument deduction for alias templates error in C++20

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

[Bug c++/116005] Class template argument deduction for alias templates error in C++20

2024-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116005 --- Comment #3 from Andrew Pinski --- I tested the trunk of clang.

[Bug c++/116005] Class template argument deduction for alias templates error in C++20

2024-07-19 Thread raplonu.jb at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116005 --- Comment #2 from Julien Bernard --- Which version of clang did you use ? cppreference.com indicate that "class template argument deduction for alias templates" support started with clang 19 which seems to be not released yet. gcc introducte

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

2024-07-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115767 --- Comment #8 from Sam James --- While we wait for Honza, Ignacy, if you could try reduce it to get rid of the Boost dependency, it'd be appreciated. You can cvise for runtime testcases, just add several checks with different compilers and UBS

[Bug testsuite/115140] [15 regression] libgomp.oacc-c++/../libgomp.oacc-c-c++-common/acc_prof-kernels-1.c excess errors after r15-579-ga9251ab3c91c8c

2024-07-19 Thread thiago.bauermann at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115140 Thiago Jung Bauermann changed: What|Removed |Added CC||thiago.bauermann at linaro dot

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

2024-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97367 --- Comment #14 from GCC Commits --- The releases/gcc-13 branch has been updated by Peter Bergner : https://gcc.gnu.org/g:44fe2c06a156a63f7ae359fd5dd3ce98afa3e92a commit r13-8925-g44fe2c06a156a63f7ae359fd5dd3ce98afa3e92a Author: René Rebe Date

[Bug rtl-optimization/116009] [15 regression] ICE when building cython-3.0.10 on arm64 for Python 3.12 (insert_def_after, at rtl-ssa/accesses.cc:622)

2024-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116009 --- Comment #5 from Andrew Pinski --- Created attachment 58712 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58712&action=edit slightly different testcase So it looks like an interaction between ccmp and late_combine.

[Bug rtl-optimization/116009] [15 regression] ICE when building cython-3.0.10 on arm64 for Python 3.12 (insert_def_after, at rtl-ssa/accesses.cc:622)

2024-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116009 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/116009] [15 regression] ICE when building cython-3.0.10 on arm64 for Python 3.12 (insert_def_after, at rtl-ssa/accesses.cc:622)

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

[Bug rtl-optimization/116009] [15 regression] ICE when building cython-3.0.10 on arm64 for Python 3.12 (insert_def_after, at rtl-ssa/accesses.cc:622)

2024-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116009 --- Comment #2 from Andrew Pinski --- Created attachment 58710 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58710&action=edit Cleanup reduced testcase

[Bug rtl-optimization/116009] [15 regression] ICE when building cython-3.0.10 on arm64 for Python 3.12 (insert_def_after, at rtl-ssa/accesses.cc:622)

2024-07-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116009 --- Comment #1 from Sam James --- ``` int _Py_NoneStruct, __pyx_pw_6Cython_7Tempita_8_tempita_29parse_signature___pyx_t_9, __pyx_pw_6Cython_7Tempita_8_tempita_29parse_signature___pyx_t_12; int *__pyx_pw_6Cython_7Tempita_8_tempita_29parse

[Bug rtl-optimization/116009] [15 regression] ICE when building cython-3.0.10 on arm64 for Python 3.12 (insert_def_after, at rtl-ssa/accesses.cc:622)

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

[Bug middle-end/45215] Tree-optimization misses a trick with bit tests

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

[Bug rtl-optimization/108508] [11 Backport] ICE in insert_def_after, at rtl-ssa/accesses.cc:622 since r12-4759-g95bb87b2458bfa

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

[Bug tree-optimization/82189] Two stage SLP needed

2024-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82189 --- Comment #4 from Andrew Pinski --- Note starting GCC 14 on aarch64 we get: ldp s31, s30, [x1] add x1, x2, 4 dup v0.4s, v0.s[0] ld1 {v30.s}[1], [x1] ld1 {v31.s}[1], [x2] zip1

[Bug target/116010] [15 regression] vectorization regressions on arm and aarch64 since r15-491-gc290e6a0b7a9de

2024-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116010 Andrew Pinski changed: What|Removed |Added Keywords||testsuite-fail --- Comment #1 from Andr

[Bug target/116007] libquadmath fails to build with libgcc/soft-fp/quad.h:69:1: error: unable to emulate 'TF'

2024-07-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116007 --- Comment #5 from Jakub Jelinek --- See r10-4792

[Bug target/116007] libquadmath fails to build with libgcc/soft-fp/quad.h:69:1: error: unable to emulate 'TF'

2024-07-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116007 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug target/116010] New: [15 regression] vectorization regressions on arm and aarch64 since r15-491-gc290e6a0b7a9de

2024-07-19 Thread thiago.bauermann at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116010 Bug ID: 116010 Summary: [15 regression] vectorization regressions on arm and aarch64 since r15-491-gc290e6a0b7a9de Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug c++/85012] GCC does not inline extern "C" functions defined in a different namespace

2024-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85012 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Last reconfirmed|2018-03-2

[Bug rtl-optimization/98986] Try matching both orders of commutative RTX operations when there is no canonical order

2024-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98986 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Target|

[Bug target/93594] Missed optimization with _mm256_set/setr_m128i intrinsics

2024-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93594 --- Comment #11 from Andrew Pinski --- I know the missed optimization is fixed in GCC 10 at the RTL level. But shouldn't these optimized at gimple level to similar to: ``` __m256i cvt_setr1(__m128i low) { return __builtin_shufflevector (low,

[Bug target/93613] Missed optimization with _mm256_permute2x128_si256 intrinsic

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

[Bug rtl-optimization/98289] [8/9/10 Regression] [x86] Suboptimal optimization of stack usage when function call does not occur

2024-07-19 Thread amylaar at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98289 Jorn Wolfgang Rennecke changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIX

[Bug middle-end/116003] [15 Regression] ICE: in register_initial_def, at value-relation.cc:610 with -O2 -fnon-call-exceptions -fprofile-arcs -finstrument-functions -fno-tree-copy-prop and _BitInt()

2024-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116003 --- Comment #2 from GCC Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:01c095ab77f8f43bf77e4c0be6c4f4c0d15a4c29 commit r15-2165-g01c095ab77f8f43bf77e4c0be6c4f4c0d15a4c29 Author: Andrew MacLeod Date:

[Bug ipa/105728] dead store to static var not optimized out

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

[Bug target/100929] gcc fails to optimize less to min for SIMD code

2024-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100929 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/116009] New: [15 regression] ICE when building cython-3.0.10 on arm64 for Python 3.12 (insert_def_after, at rtl-ssa/accesses.cc:622)

2024-07-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
now --enable-default-ssp --disable-fixincludes --with-build-config=bootstrap-O3 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20240719 (experimental) cea6473e48b4cfbf16f7b4a804f1562f8da8f25b (Gentoo Hardened 15.0. p, commit 3147d1f67ddd03e579d1ff19aea8b9cfeb490564) ```

[Bug target/116004] PPC64 vector Intrinsic vec_first_mismatch_or_eos_index generates poor code

2024-07-19 Thread munroesj at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116004 --- Comment #2 from Steven Munroe --- Actually: abnez = (vui8_t) vec_cmpnez (vra, vrb); result = vec_cntlz_lsbb (abnez);

[Bug target/116007] libquadmath fails to build with libgcc/soft-fp/quad.h:69:1: error: unable to emulate 'TF'

2024-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116007 --- Comment #3 from Andrew Pinski --- > --enable-libquadmath --enable-libquadmath-support You should not need this since the libc should already have support for 128bit FP (either double double or IEEE 128bit).

[Bug target/116007] libquadmath fails to build with libgcc/soft-fp/quad.h:69:1: error: unable to emulate 'TF'

2024-07-19 Thread thomas.petazzoni--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116007 --- Comment #2 from Thomas Petazzoni --- (In reply to Andrew Pinski from comment #1) > This might just be fixed on the trunk. Thanks for the super fast feedback. Do you have a pointer to the commit fixing this? I quickly looked at the recent ch

[Bug target/116007] libquadmath fails to build with libgcc/soft-fp/quad.h:69:1: error: unable to emulate 'TF'

2024-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116007 Andrew Pinski changed: What|Removed |Added Keywords||build Target|

[Bug tree-optimization/102951] failure to optimize MIN_EXPR of subobject addresses of the same object

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

[Bug tree-optimization/108017] ptr+v >= ptr + d should converted into (long)v >= CST(/sizeof(*ptr))

2024-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108017 --- Comment #3 from Andrew Pinski --- Related is optimizing: _1 = (long unsigned int) j_5(D); _2 = _1 * 4; t_7 = i_6(D) + _2; _3 = (long unsigned int) k_8(D); _4 = _3 * 4; t1_9 = i_6(D) + _4; _10 = MAX_EXPR ; into: i_6(D) + MAX_EX

[Bug tree-optimization/116008] MAX should simplify to MAX+i

2024-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116008 --- Comment #1 from Andrew Pinski --- Note clang/LLVM can optimize the case where j/k are constants but gcc still does not. e.g. ``` int f2(int i, int j, int k) { j = 1; k = 2; int t = i+j; int t1 = i+k; r

[Bug tree-optimization/116008] New: MAX should simplify to MAX+i

2024-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116008 Bug ID: 116008 Summary: MAX should simplify to MAX+i Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement Priorit

[Bug libquadmath/116007] New: libquadmath fails to build with libgcc/soft-fp/quad.h:69:1: error: unable to emulate 'TF'

2024-07-19 Thread thomas.petazzoni--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116007 Bug ID: 116007 Summary: libquadmath fails to build with libgcc/soft-fp/quad.h:69:1: error: unable to emulate 'TF' Product: gcc Version: 14.1.0 Status

[Bug fortran/113363] ICE on ASSOCIATE and unlimited polymorphic function

2024-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113363 --- Comment #12 from GCC Commits --- The releases/gcc-14 branch has been updated by Paul Thomas : https://gcc.gnu.org/g:d15664f71c150a1b0e6cc07c0534b356b111344d commit r14-10478-gd15664f71c150a1b0e6cc07c0534b356b111344d Author: Paul Thomas Da

[Bug fortran/59104] Wrong result with SIZE specification expression

2024-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59104 --- Comment #9 from GCC Commits --- The releases/gcc-14 branch has been updated by Paul Thomas : https://gcc.gnu.org/g:5034af8223c0db07cdec01cef70048ec44cdd47b commit r14-10477-g5034af8223c0db07cdec01cef70048ec44cdd47b Author: Paul Thomas Date

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

2024-07-19 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97367 --- Comment #13 from Peter Bergner --- (In reply to Peter Bergner from comment #11) > Fixed on trunk. I'll push the backports after a little burn-in time on > trunk. All of Bill's CI testers were green wrt this test case, so I've started backpo

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

2024-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97367 --- Comment #12 from GCC Commits --- The releases/gcc-14 branch has been updated by Peter Bergner : https://gcc.gnu.org/g:1205104bbef40abe3baa5965a676f3b0f68971dd commit r14-10476-g1205104bbef40abe3baa5965a676f3b0f68971dd Author: René Rebe Dat

[Bug rtl-optimization/86901] [AArch64] Suboptimal register allocation for int/float reinterpret

2024-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86901 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0 Status|NEW

[Bug target/101200] Unneeded AND after shift

2024-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101200 --- Comment #8 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > For aarch64 we get: > adrpx1, .LANCHOR0 > add x0, x1, :lo12:.LANCHOR0 > add x0, x0, 8 > ldrbw1, [x1, #:lo12:.LANC

[Bug fortran/55858] When scalarizing contiguous whole-arrays, consider folding into a single loop

2024-07-19 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55858 anlauf at gcc dot gnu.org changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug fortran/103115] [12/13/14/15 Regression] reallocation of character array fails when appending a constant size 4 array

2024-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103115 --- Comment #17 from GCC Commits --- The releases/gcc-14 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:ca0fa18adda03faae3464d8f44c215672b71baa5 commit r14-10475-gca0fa18adda03faae3464d8f44c215672b71baa5 Author: Harald Anlauf

[Bug testsuite/116000] [15 Regression] gcc.dg/vect/vect-reduc-chain-dot-slp-1.c etc. FAIL

2024-07-19 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116000 seurer at gcc dot gnu.org changed: What|Removed |Added CC||seurer at gcc dot gnu.org

[Bug libstdc++/115907] Libstdc++ and GCC itself should avoid glibc above 2.34 dependency

2024-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115907 --- Comment #42 from Andrew Pinski --- (In reply to frankhb1989 from comment #41) > I ran into exact the same trouble of C23 missing symbols on old systems. In > my case it is a custom build (with tailored source) of libfreeimage which > has som

[Bug libstdc++/115907] Libstdc++ and GCC itself should avoid glibc above 2.34 dependency

2024-07-19 Thread frankhb1989 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115907 frankhb1989 at gmail dot com changed: What|Removed |Added CC||frankhb1989 at gmail dot c

[Bug target/115406] [15 Regression] wrong code with vector compare at -O0 with -mavx512f since r15-920-gb6c6d5abf0d31c

2024-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115406 --- Comment #9 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:348d890c287a7ec4c88d3082ae6105537bd39398 commit r15-2161-g348d890c287a7ec4c88d3082ae6105537bd39398 Author: Richard Sandiford Da

[Bug target/115406] [15 Regression] wrong code with vector compare at -O0 with -mavx512f since r15-920-gb6c6d5abf0d31c

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

[Bug c++/115783] GCC accepts invalid program involving calling explicit object member function from static member function

2024-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115783 --- Comment #2 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:2ee70c9f83a1033f2897a35bff9e9ffdd03cc651 commit r15-2159-g2ee70c9f83a1033f2897a35bff9e9ffdd03cc651 Author: Patrick Palka Date: F

[Bug middle-end/116003] [15 Regression] ICE: in register_initial_def, at value-relation.cc:610 with -O2 -fnon-call-exceptions -fprofile-arcs -finstrument-functions -fno-tree-copy-prop and _BitInt()

2024-07-19 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116003 --- Comment #1 from Andrew Macleod --- When registering an equivalence, the oracle creates an initial equivalence for an SSA_NAME with itself in the def block. This prevents dominator queries from searching past the definition block. In this

[Bug ipa/110057] Missed devirtualization opportunities

2024-07-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110057 --- Comment #21 from Jonathan Wakely --- Yes, I think that's valid, so shouldn't be devirtualized.

[Bug libstdc++/115939] Cannot unambiguously compare iterators in std::unordered_map with mapped type std::expected>

2024-07-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115939 --- Comment #5 from Jonathan Wakely --- Agreed, that's what the patch in comment 3 is for, and that's why I implemented that before working on the std::expected changes.

[Bug analyzer/116006] RFE: detect usage of pointers to local variables that are out of scope

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

[Bug target/103548] Identical MMA assemble quads are incorrectly combined

2024-07-19 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103548 Peter Bergner changed: What|Removed |Added Known to fail|12.0| Resolution|---

[Bug fortran/77504] [12/13/14 Regression] "is used uninitialized" with allocatable string and array constructors

2024-07-19 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77504 Paul Thomas changed: What|Removed |Added Summary|[12/13/14/15 Regression]|[12/13/14 Regression] "is

[Bug driver/115990] Consider deprecating -Ofast

2024-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115990 --- Comment #17 from Andrew Pinski --- Note the argument about nobody reads documentation does not hold much weight about doing what we think is right. If that was the argument then -fwrapv and -fno-strict-aliasing would be defaults in compilers

[Bug analyzer/116006] New: RFE: detect usage of pointers to local variables that are out of scope

2024-07-19 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116006 Bug ID: 116006 Summary: RFE: detect usage of pointers to local variables that are out of scope Product: gcc Version: unknown Status: UNCONFIRMED Severity: norm

[Bug driver/115990] Consider deprecating -Ofast

2024-07-19 Thread gonzalo.gadeschi at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115990 --- Comment #16 from gnzlbg --- Maybe if it was called "-Ounsafe-fast" people may end up reading the docs to find out what that unsafe means. If we had that option as an alias to "-Ofast", then maybe -Ofast could just warn with: > -Ofast is de

[Bug c++/108563] [12 Regression] [concepts] ICE (segfault) when requiring sizeof(variable_tempalate_v) since r10-7441-ga7ea3d2ced786c45

2024-07-19 Thread ldalessandro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108563 --- Comment #5 from Luke Dalessandro --- Just checked again, this seems to be resolved in the 13 and 14 lines, as well as trunk. Still fails in 12.4.0.

[Bug fortran/110288] [11/12/13/14] Regression: segfault in findloc with allocatable array of allocatable characters

2024-07-19 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110288 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||mscfd at gmx dot net --- Com

[Bug fortran/115997] Findloc does not find the result of a function with a deferred-length character return value

2024-07-19 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115997 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |DUPLICATE Status

[Bug fortran/108889] [12/13/14 Regression] (Re)Allocate in assignment shows used uninitialized memory warning with -Wall if LHS is unallocated

2024-07-19 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108889 --- Comment #11 from Paul Thomas --- Note to self: Backport https://gcc.gnu.org/pipermail/gcc-cvs/2024-July/406082.html when backporting this patch.

[Bug c++/116005] Class template argument deduction for alias templates error in C++20

2024-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116005 --- Comment #1 from Andrew Pinski --- clang rejects it with: :11:1: error: deduction guide template contains a template parameter that cannot be deduced 11 | A(std::vector const &) -> A; | ^ :10:33: note: non-deducible template paramet

[Bug fortran/83209] [12/13/14/15 Regression] [Coarray] Failure of allocation of a coarray with a pointer component

2024-07-19 Thread paul.richard.thomas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83209 --- Comment #12 from paul.richard.thomas at gmail dot com --- Yes, indeed. Thanks Paul On Thu, 11 Jul 2024 at 12:28, vehre at gcc dot gnu.org < gcc-bugzi...@gcc.gnu.org> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83209 > > Andre Ve

[Bug testsuite/115989] [15 regression] libgomp.oacc-fortran/privatized-ref-2.f90 fails after r15-2135-gc3aa339ea50f05

2024-07-19 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115989 Paul Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/116005] New: Class template argument deduction for alias templates error in C++20

2024-07-19 Thread raplonu.jb at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116005 Bug ID: 116005 Summary: Class template argument deduction for alias templates error in C++20 Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/103115] [12/13/14/15 Regression] reallocation of character array fails when appending a constant size 4 array

2024-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103115 --- Comment #16 from GCC Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:c93be1606ecf8e0f65b96b67aa023fb456ceb3a3 commit r15-2156-gc93be1606ecf8e0f65b96b67aa023fb456ceb3a3 Author: Harald Anlauf Date:

[Bug ipa/108007] [12 Regression] wrong code at -Os and above with "-fno-dce -fno-tree-dce" on x86_64-linux-gnu since r10-3311-gff6686d2e5f797

2024-07-19 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108007 Martin Jambor changed: What|Removed |Added Resolution|--- |FIXED Status|REOPENED

[Bug testsuite/115988] New test case gcc.target/powerpc/pr114759-3.c from r15-2081-g6f2bab9b5d1ce1 fails on BE

2024-07-19 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115988 Peter Bergner changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/116004] PPC64 vector Intrinsic vec_first_mismatch_or_eos_index generates poor code

2024-07-19 Thread munroesj at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116004 --- Comment #1 from Steven Munroe --- Compile test code examples: int test_intrn_first_mismatch_or_eos_index_PWR9 (vui8_t vra, vui8_t vrb) { return vec_first_mismatch_or_eos_index (vra, vrb); } int test_first_mismatch_byte_or_eos_index_PWR9

[Bug testsuite/115988] New test case gcc.target/powerpc/pr114759-3.c from r15-2081-g6f2bab9b5d1ce1 fails on BE

2024-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115988 --- Comment #3 from GCC Commits --- The master branch has been updated by Peter Bergner : https://gcc.gnu.org/g:b2f47a5c1d5204131660ea0372a08e692df8844e commit r15-2155-gb2f47a5c1d5204131660ea0372a08e692df8844e Author: Peter Bergner Date: T

[Bug target/114759] Power: multiple issues with -mrop-protect

2024-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114759 --- Comment #10 from GCC Commits --- The master branch has been updated by Peter Bergner : https://gcc.gnu.org/g:b2f47a5c1d5204131660ea0372a08e692df8844e commit r15-2155-gb2f47a5c1d5204131660ea0372a08e692df8844e Author: Peter Bergner Date:

[Bug c++/109464] gcc does not instantiate constructor for explicitly instantiated template

2024-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109464 --- Comment #8 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:58a9f3ded1a0ccc2c8b0a42f976950041734798e commit r15-2154-g58a9f3ded1a0ccc2c8b0a42f976950041734798e Author: Patrick Palka Date: F

[Bug tree-optimization/115766] [12/13/14/15 Regression] wrong code at optimization levels -O2, -O3

2024-07-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115766 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c/116004] New: PPC64 vector Intrinsic vec_first_mismatch_or_eos_index generates poor code

2024-07-19 Thread munroesj at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116004 Bug ID: 116004 Summary: PPC64 vector Intrinsic vec_first_mismatch_or_eos_index generates poor code Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: n

[Bug target/115982] [15 Regression] ICE: unrecognizable insn in ira_remove_insn_scratches with -mavx512vl since r15-1742

2024-07-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115982 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug rtl-optimization/116002] GCC Compiler time-hog with large basic block in Function

2024-07-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116002 Richard Biener changed: What|Removed |Added Known to fail||13.3.0 --- Comment #3 from Richard Bie

[Bug middle-end/116003] [15 Regression] ICE: in register_initial_def, at value-relation.cc:610 with -O2 -fnon-call-exceptions -fprofile-arcs -finstrument-functions -fno-tree-copy-prop and _BitInt()

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

  1   2   3   4   5   6   7   8   9   10   >