[Bug libgcc/31180] #if __cplusplus should be #ifdef in libgcc/unwind-pe.h

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

[Bug tree-optimization/114555] New: ICE: definition in block 14 does not dominate use in block 15 at -O and above with _BitInt() bitfield

2024-04-02 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114555 Bug ID: 114555 Summary: ICE: definition in block 14 does not dominate use in block 15 at -O and above with _BitInt() bitfield Product: gcc Version: 14.0 Status: UNCONFIR

[Bug middle-end/114509] [11/12/13/14 Regression] an infinite loop or ICE with openmp after errors in some cases

2024-04-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114509 Richard Biener changed: What|Removed |Added Priority|P1 |P2

[Bug tree-optimization/114511] [11/12/13/14 Regression] Missed optimization: x = -y; x = c + x + y; ==> x=c;

2024-04-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114511 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.5

[Bug rtl-optimization/114515] [14 Regression] Failure to use aarch64 lane forms after PR101523

2024-04-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114515 Richard Biener changed: What|Removed |Added Priority|P2 |P1 Ever confirmed|0

[Bug target/112980] 64-bit powerpc ELFv2 does not allow nops to be generated before function global entry point

2024-04-02 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112980 --- Comment #10 from Kewen Lin --- Created attachment 57844 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57844&action=edit patch changing the current implementation Considering the current implementation is not useful at all for both ke

[Bug testsuite/114518] [14 regression] gcc.target/powerpc/combine-2-2.c fails after r14-9692-g839bc42772ba7a

2024-04-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114518 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.0 Priority|P3

[Bug target/112980] 64-bit powerpc ELFv2 does not allow nops to be generated before function global entry point

2024-04-02 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112980 --- Comment #11 from Kewen Lin --- (In reply to Giuliano Belinassi from comment #9) > Yes, this is for userspace livepatching. > > Assume the following example: > https://godbolt.org/z/b9M8nMbo1 > > As one can see, the sequence of 14 nops are

[Bug rtl-optimization/114522] [14 regression] gcc.target/arm/aes_xor_combine.c scan-assembler-not veor fails after r14-9692-g839bc42772ba7a

2024-04-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114522 Richard Biener changed: What|Removed |Added Target||arm Priority|P2

[Bug rtl-optimization/114556] New: weird loop unrolling when there's attribute aligned in side the loop

2024-04-02 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114556 Bug ID: 114556 Summary: weird loop unrolling when there's attribute aligned in side the loop Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c++/114525] [11/12/13/14 Regression] Incorrect code generated when setting a value through a pointer-to-member on a ternary returning an object reference

2024-04-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114525 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug target/88309] [11/12/13/14 Regression] ICE: Floating point exception (in is_miss_rate_acceptable), target assigning alignent of 4 bits(!) to vector

2024-04-02 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88309 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org --- Comment #4 from

[Bug tree-optimization/114527] [meta-bug] missed sccp (final value) optimizations

2024-04-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114527 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug ipa/114531] Feature proposal for an `-finline-functions-aggressive` compiler option

2024-04-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114531 Richard Biener changed: What|Removed |Added Severity|normal |enhancement

[Bug libgcc/111731] [13/14 regression] gcc_assert is hit at libgcc/unwind-dw2-fde.c#L291

2024-04-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111731 --- Comment #21 from GCC Commits --- The releases/gcc-13 branch has been updated by Thomas Neumann : https://gcc.gnu.org/g:11f37868bb5812c4f0ac023909f5421595f68a43 commit r13-8555-g11f37868bb5812c4f0ac023909f5421595f68a43 Author: Thomas Neuman

[Bug ipa/113907] [11/12/13/14 regression] ICU miscompiled on x86 since r14-5109-ga291237b628f41

2024-04-02 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113907 --- Comment #70 from Jan Hubicka --- Hello, over easter I did some analysis of the cases where ICF is now disabled due to jump function miscompare. Most common case (seen also on GCC) is the situation where function is originally static inline

[Bug modula2/114529] profiledbootstrap fails to build and m2 causes odr violations during build

2024-04-02 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114529 --- Comment #2 from Arsen Arsenović --- full build.log also: https://dev.gentoo.org/~arsen/gcc-14.0.1_pre20240331-Werror-odr-build.log.gz

[Bug tree-optimization/114557] New: ehcleanup cleanup_empty_eh_merge_phis eats a lot of memory

2024-04-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114557 Bug ID: 114557 Summary: ehcleanup cleanup_empty_eh_merge_phis eats a lot of memory Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Pr

[Bug c/114558] New: GCC 13.2.1 encountered a segmentation fault error when compiling PyTorch.

2024-04-02 Thread wencan at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114558 Bug ID: 114558 Summary: GCC 13.2.1 encountered a segmentation fault error when compiling PyTorch. Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: no

[Bug middle-end/114559] New: After function inlining some optimizations missing

2024-04-02 Thread antoshkka at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114559 Bug ID: 114559 Summary: After function inlining some optimizations missing Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug c++/114560] New: Compilation error when using _mm512_maskz_expandloadu_epi16 with only -mavx512vbmi2

2024-04-02 Thread meirav.grimberg at redis dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114560 Bug ID: 114560 Summary: Compilation error when using _mm512_maskz_expandloadu_epi16 with only -mavx512vbmi2 Product: gcc Version: 11.4.0 Status: UNCONFIRMED Se

[Bug tree-optimization/114557] ehcleanup cleanup_empty_eh_merge_phis eats a lot of memory

2024-04-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114557 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/114558] GCC 13.2.1 encountered a segmentation fault error when compiling PyTorch.

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

[Bug c++/114561] New: Comma operator with forwarding reference to pointer raises invalid lvalue required error

2024-04-02 Thread Liam.Jackson--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114561 Bug ID: 114561 Summary: Comma operator with forwarding reference to pointer raises invalid lvalue required error Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug c++/114562] New: ICE when trying to bind rvalue reference to lvalue with comma operator and forwarding reference to pointer

2024-04-02 Thread Liam.Jackson--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114562 Bug ID: 114562 Summary: ICE when trying to bind rvalue reference to lvalue with comma operator and forwarding reference to pointer Product: gcc Version: 14.0

[Bug gcov-profile/114115] xz-utils segfaults when built with -fprofile-generate (bad interaction between IFUNC and binding?)

2024-04-02 Thread jasonwucj at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114115 --- Comment #9 from Chung-Ju Wu --- (In reply to Sam James from comment #1) > One of the xz developers, Jia Tan, has kindly minimised it to not need > BIND_NOW. I've adapted it a bit to cleanup flags and warnings. > CVE-2024-3094 Jia Tan is t

[Bug middle-end/114563] New: ggc_internal_alloc is slow

2024-04-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114563 Bug ID: 114563 Summary: ggc_internal_alloc is slow Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end

[Bug middle-end/114563] ggc_internal_alloc is slow

2024-04-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114563 Richard Biener changed: What|Removed |Added Keywords||compile-time-hog See Also|

[Bug tree-optimization/114557] ehcleanup cleanup_empty_eh_merge_phis eats a lot of memory

2024-04-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114557 --- Comment #2 from Richard Biener --- The free_phinodes buckets itself could better use the ->next chain of the gimple stmts rather than a (re-allocated) GC vector. Given the current bucket structure a single chain for the 4-argument case migh

[Bug gcov-profile/114115] xz-utils segfaults when built with -fprofile-generate (bad interaction between IFUNC and binding?)

2024-04-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114115 --- Comment #10 from Sam James --- I'm aware, but there's a minimised test case attached here which shows this is still somewhat of a problem by itself. Either a better diagnostic is needed or to not instrument the resolver.

[Bug gcov-profile/114115] xz-utils segfaults when built with -fprofile-generate (bad interaction between IFUNC and binding?)

2024-04-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114115 --- Comment #11 from Sam James --- (In reply to Sam James from comment #10) > I'm aware, but there's a minimised test case attached here which shows this > is still somewhat of a problem by itself. > > Either a better diagnostic is needed or to

[Bug c++/114462] [C++26] P2809R3 - Trivial infinite loops are not undefined behavior

2024-04-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114462 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/114564] New: Accessing template Base via template Derived fails

2024-04-02 Thread benni.buch at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114564 Bug ID: 114564 Summary: Accessing template Base via template Derived fails Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug ipa/109817] internal error in ICF pass on Ada interfaces

2024-04-02 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109817 Jan Hubicka changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #5

[Bug ipa/109817] internal error in ICF pass on Ada interfaces

2024-04-02 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109817 --- Comment #6 from Eric Botcazou --- It's not visible in release builds and testing shows that it's a very rare situation in practice, so no real need IMO.

[Bug c++/114561] Comma operator with forwarding reference to pointer raises invalid lvalue required error

2024-04-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114561 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2024-04-02 See Also|

[Bug c++/57573] [C++1y] bogus "taking address of temporary" error

2024-04-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57573 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug libgcc/111731] [13/14 regression] gcc_assert is hit at libgcc/unwind-dw2-fde.c#L291

2024-04-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111731 Richard Biener changed: What|Removed |Added Known to work||13.2.1 Known to fail|

[Bug target/114036] Test failure of gcov-14.c on darwin

2024-04-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114036 --- Comment #4 from GCC Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:ad8e34eaa870608e2b07b4e7147e6ef2944bb8b5 commit r14-9747-gad8e34eaa870608e2b07b4e7147e6ef2944bb8b5 Author: Iain Sandoe Date: Sun

[Bug c++/114561] Comma operator with forwarding reference to pointer raises invalid lvalue required error

2024-04-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114561 --- Comment #2 from Jonathan Wakely --- Reduced: void* const NONE = nullptr; //Compiles void beforeParam(); template void create(U && u) noexcept { const void* const& r = ( (void) beforeParam(), u ); } void test_func() { create(NONE)

[Bug libquadmath/114533] libquadmath: printf: fix misaligned access on args

2024-04-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114533 Richard Biener changed: What|Removed |Added Keywords||ABI CC|

[Bug fortran/114535] [13/14 regression] ICE with elemental finalizer

2024-04-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114535 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.3 Priority|P3

[Bug testsuite/114034] Failure of tests gcov-dump-{1,2}.C

2024-04-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114034 --- Comment #3 from GCC Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:799a056cf804f433ce0050a5a6bf900f7a01ecb1 commit r14-9748-g799a056cf804f433ce0050a5a6bf900f7a01ecb1 Author: Iain Sandoe Date: Sun

[Bug c++/114549] [11/12/13 Regression] GCC >= 10.1 selects the wrong overload of C++20 reversed operator== function

2024-04-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114549 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug tree-optimization/114551] [14 Regression] wrong code at -O3 on x86_64-linux-gnu

2024-04-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114551 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Version|unknown

[Bug c++/114561] Comma operator with forwarding reference to pointer raises invalid lvalue required error

2024-04-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114561 --- Comment #3 from Jonathan Wakely --- Further reduced: void create(void* u) { const void* const& r = ( (void)0, u ); } void test_func() { create(0); } The result of (0, u) is an lvalue of type void* which should then be converted t

[Bug middle-end/114552] [13/14 Regression] wrong code at -O1 and above on x86_64-linux-gnu

2024-04-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114552 Richard Biener changed: What|Removed |Added Version|unknown |14.0 Priority|P3

[Bug c++/114561] Comma operator with forwarding reference to pointer raises invalid lvalue required error

2024-04-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114561 --- Comment #4 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #3) > Further reduced: Actually now that it's no longer a function template we don't even need to instantiate it to trigger the error, so this is the minimal repr

[Bug c++/114558] GCC 13.2.1 encountered a segmentation fault error when compiling PyTorch.

2024-04-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114558 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0

[Bug libstdc++/114553] Undefined symbol in directory_iterator move assignment operator with -Os

2024-04-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114553 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/114553] Undefined symbol in directory_iterator move assignment operator with -Os

2024-04-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114553 --- Comment #2 from Jonathan Wakely --- (In reply to Toni Lammi from comment #0) > The issue does not seem to be present in trunk. It seems to be a change in inlining decisions on trunk, because the swap symbol still isn't exported from the sha

[Bug bootstrap/106472] No rule to make target '../libbacktrace/libbacktrace.la', needed by 'libgo.la'.

2024-04-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106472 --- Comment #38 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:9a5e4aade2b847c5262577a1490ce6f3df9a9841 commit r14-9751-g9a5e4aade2b847c5262577a1490ce6f3df9a9841 Author: Jakub Jelinek Date:

[Bug libquadmath/114533] libquadmath: printf: fix misaligned access on args

2024-04-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114533 --- Comment #2 from Jakub Jelinek --- >From what I can see, glibc uses there the same thing as libquadmath does, so why is it ok on the glibc side and not on the libquadmath side? I mean https://sourceware.org/git/?p=glibc.git;a=blob;f=stdio-co

[Bug libquadmath/114533] libquadmath: printf: fix misaligned access on args

2024-04-02 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114533 --- Comment #3 from Andreas Schwab --- Is the stack properly aligned at this point?

[Bug target/114036] Test failure of gcov-14.c on darwin

2024-04-02 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114036 --- Comment #5 from Iain Sandoe --- fixed on trunk, needed on open branches.

[Bug testsuite/114034] Failure of tests gcov-dump-{1,2}.C

2024-04-02 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114034 --- Comment #4 from Iain Sandoe --- fixed on trunk, needed on open branches.

[Bug libquadmath/114533] libquadmath: printf: fix misaligned access on args

2024-04-02 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114533 --- Comment #4 from Florian Weimer --- This looks like a glibc bug to me.

[Bug fortran/107426] [12/13/14 Regression] ICE in gfc_compare_derived_types, at fortran/interface.cc:636

2024-04-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107426 --- Comment #12 from GCC Commits --- The releases/gcc-12 branch has been updated by Mikael Morin : https://gcc.gnu.org/g:38dd703d368c9e60159e6f19cfc8303ad639b557 commit r12-10305-g38dd703d368c9e60159e6f19cfc8303ad639b557 Author: Mikael Morin

[Bug fortran/107426] [12/13/14 Regression] ICE in gfc_compare_derived_types, at fortran/interface.cc:636

2024-04-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107426 --- Comment #13 from GCC Commits --- The releases/gcc-11 branch has been updated by Mikael Morin : https://gcc.gnu.org/g:3d05b9ac1c6ad950339f9487702c3165c189fe9e commit r11-11305-g3d05b9ac1c6ad950339f9487702c3165c189fe9e Author: Mikael Morin

[Bug fortran/107426] [12/13/14 Regression] ICE in gfc_compare_derived_types, at fortran/interface.cc:636

2024-04-02 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107426 Mikael Morin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug fortran/114475] [14 Regression] Regression with iso_c_binding and submodules

2024-04-02 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114475 Mikael Morin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug fortran/111781] Fortran compiler complains about variable bound in array dummy argument

2024-04-02 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111781 Mikael Morin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug go/106813] getSiginfo() libgo/runtime/go-signal.c missing Solaris specific code to get ret.sigpc

2024-04-02 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106813 Rainer Orth changed: What|Removed |Added CC||ro at gcc dot gnu.org --- Comment #1 from

[Bug fortran/112407] [13/14 Regression] Fix for PR37336 triggers an ICE in gfc_format_decoder while constructing a vtab

2024-04-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112407 --- Comment #10 from GCC Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:35408b3669fac104cd380582b32e32c64a603d8b commit r14-9752-g35408b3669fac104cd380582b32e32c64a603d8b Author: Paul Thomas Date: Tue

[Bug go/106813] getSiginfo() libgo/runtime/go-signal.c missing Solaris specific code to get ret.sigpc

2024-04-02 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106813 --- Comment #2 from Rainer Orth --- Created attachment 57848 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57848&action=edit Alternative patch.

[Bug libquadmath/114533] libquadmath: printf: fix misaligned access on args

2024-04-02 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114533 Andreas Schwab changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug tree-optimization/114551] [14 Regression] wrong code at -O3 on x86_64-linux-gnu

2024-04-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114551 --- Comment #2 from Jakub Jelinek --- Started with r14-2944-g3d48c11ad082def8ee237e5778d8a5d569bff96d a is -1, so the testcase shouldn't do much except almost empty loops with a few iterations. The continue in there seems to be important, but du

[Bug tree-optimization/114403] [14 regression] LLVM miscompiled with -O3 -march=znver2 -fno-vect-cost-model since r14-6822-g01f4251b8775c8

2024-04-02 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114403 Tamar Christina changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/114480] g++: internal compiler error: Segmentation fault signal terminated program cc1plus

2024-04-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114480 --- Comment #16 from Richard Biener --- Created attachment 57849 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57849&action=edit patch for expand Interestingly this patch for RTL expansion, more specifically add_scope_conflicts, only slo

[Bug middle-end/114552] [13/14 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r13-990

2024-04-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114552 Jakub Jelinek changed: What|Removed |Added Summary|[13/14 Regression] wrong|[13/14 Regression] wrong

[Bug fortran/106987] [11/12/13/14 Regression] ICE in simplify_intrinsic_op, at fortran/expr.cc:1305

2024-04-02 Thread paul.richard.thomas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106987 --- Comment #7 from paul.richard.thomas at gmail dot com --- Hi Harald, I will have a stab at backporting r14-1629 later this afternoon and will let you know what happens. I am just rebuilding after applying the fix for pr112407 (yes, I did add

[Bug libquadmath/114533] libquadmath: printf: fix misaligned access on args

2024-04-02 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114533 Andreas Schwab changed: What|Removed |Added Status|WAITING |UNCONFIRMED Ever confirmed|1

[Bug middle-end/114552] [13/14 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r13-990

2024-04-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114552 --- Comment #4 from Jakub Jelinek --- The r13-989 to r13-990 difference is - movlk(%rip), %eax - movl%eax, (%rsp) - movzwl k+4(%rip), %eax - movw%ax, 4(%rsp) + movw$1, (%rsp) + movl$0, 2(%

[Bug gcov-profile/114115] xz-utils segfaults when built with -fprofile-generate (bad interaction between IFUNC and binding?)

2024-04-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114115 --- Comment #12 from Andrew Pinski --- For anyone reading this, -fprofile-generate with ifunc attributes should be fixed and is not related to the xz backdoor. The issue will show up in valid usage of ifuncs even ones which don't call external/

[Bug target/114492] Invalid use of gcc_assert (notably in gcc/config/aarch64/aarch64-ldp-fusion.cc)

2024-04-02 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114492 Alex Coplan changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug middle-end/114552] [13/14 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r13-990

2024-04-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114552 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/107945] static constexpr incomplete (depedent) data member of a class template and in-member initialized incorrectly accepted

2024-04-02 Thread jlame646 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107945 --- Comment #4 from Jason Liam --- Here is another invalid snippet that gcc accepts but both clang and msvc rejects correctly. https://godbolt.org/z/sz4rczEaG ``` #include template requires std::is_arithmetic_v && (N >= 1) class Vector {

[Bug c++/114562] [11/12/13/14 Regression] ICE when trying to bind rvalue reference to lvalue with comma operator and forwarding reference to pointer since r10-7410

2024-04-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114562 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |11.5 Priority|P3

[Bug target/88309] [11/12/13/14 Regression] ICE: Floating point exception (in is_miss_rate_acceptable), target assigning alignent of 4 bits(!) to vector

2024-04-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88309 --- Comment #5 from Andrew Pinski --- (In reply to Kewen Lin from comment #4) > (In reply to Andrew Pinski from comment #3) > > Found it: > > /* In GIMPLE the type of the MEM_REF specifies the alignment. The > > required alignment (pow

[Bug c++/114561] [11/12/13/14 Regression] Comma operator with forwarding reference to pointer raises invalid lvalue required error since r10-7410

2024-04-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114561 Jakub Jelinek changed: What|Removed |Added Summary|Comma operator with |[11/12/13/14 Regression]

[Bug c++/114561] [11/12/13/14 Regression] Comma operator with forwarding reference to pointer raises invalid lvalue required error since r10-7410

2024-04-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114561 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |11.5 Priority|P3

[Bug fortran/106987] [11/12/13/14 Regression] ICE in simplify_intrinsic_op, at fortran/expr.cc:1305

2024-04-02 Thread paul.richard.thomas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106987 --- Comment #8 from paul.richard.thomas at gmail dot com --- Hi Harald, After a lot of messing around, I managed to backport the patch; essentially by hand. However, two of the testcases ICEd in trans-array.cc and so there were obviously depen

[Bug c++/114561] [11/12/13/14 Regression] Comma operator with forwarding reference to pointer raises invalid lvalue required error since r10-7410

2024-04-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114561 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug middle-end/114552] [13/14 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r13-990

2024-04-02 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114552 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com --- Co

[Bug tree-optimization/111407] [11/12/13 Regression] ICE: SSA corruption due to widening_mul opt on conflict across an abnormal edge

2024-04-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111407 --- Comment #14 from GCC Commits --- The releases/gcc-13 branch has been updated by Qing Zhao : https://gcc.gnu.org/g:2d9a9488e26233eb9497722fa9ccb88258f7402c commit r13-8556-g2d9a9488e26233eb9497722fa9ccb88258f7402c Author: Qing Zhao Date:

[Bug c++/114564] Accessing template Base via template Derived fails

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

[Bug c++/114562] [11/12/13/14 Regression] ICE when trying to bind rvalue reference to lvalue with comma operator and forwarding reference to pointer since r10-7410

2024-04-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114562 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org Assi

[Bug fortran/106999] [11/12/13/14 Regression] ICE tree check: expected record_type or union_type or qual_union_type, have function_type in gfc_class_data_get, at fortran/trans-expr.cc:233

2024-04-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106999 --- Comment #6 from GCC Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:a7aa9455a8b9cb080649a7357b7360f2d99bcbf1 commit r14-9753-ga7aa9455a8b9cb080649a7357b7360f2d99bcbf1 Author: Paul Thomas Date: Tue A

[Bug modula2/114565] New: progress trace would be useful to isolate ICE for users

2024-04-02 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114565 Bug ID: 114565 Summary: progress trace would be useful to isolate ICE for users Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Prior

[Bug modula2/114565] progress trace would be useful to isolate ICE for users

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

[Bug target/114560] Compilation error when using _mm512_maskz_expandloadu_epi16 with only -mavx512vbmi2

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

[Bug modula2/114565] progress trace would be useful to isolate ICE for users

2024-04-02 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114565 --- Comment #2 from Gaius Mulley --- Created attachment 57851 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57851&action=edit Proposed patch Here is a proposed patch which introduces the option -fm2-debug-trace= and allows a comma separa

[Bug tree-optimization/111407] [11/12/13 Regression] ICE: SSA corruption due to widening_mul opt on conflict across an abnormal edge

2024-04-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111407 --- Comment #15 from GCC Commits --- The releases/gcc-12 branch has been updated by Qing Zhao : https://gcc.gnu.org/g:5f23f9f141c4b52e8f4a9aadc88b8155cf1959a3 commit r12-10306-g5f23f9f141c4b52e8f4a9aadc88b8155cf1959a3 Author: Qing Zhao Date:

[Bug c/114526] ISO C does not prohibit extensions: fix misconception.

2024-04-02 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114526 --- Comment #8 from Joseph S. Myers --- "rejects", in the ISO C sense, only applies to errors and pedwarns in GCC; not to warnings conditional on -pedantic (of which there are also some, but which don't turn into errors with -pedantic). If you

[Bug target/114560] Compilation error when using _mm512_maskz_expandloadu_epi16 with only -mavx512vbmi2

2024-04-02 Thread meirav.grimberg at redis dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114560 --- Comment #2 from Meirav Grimberg --- (In reply to Jakub Jelinek from comment #1) > AVX512BW is needed to be able to use __mmask32/__mmask64, those aren't > supported in AVX512F, which only supports __mmask16. __mmask8 needs > AVX512DQ (thoug

[Bug c/114526] ISO C does not prohibit extensions: fix misconception.

2024-04-02 Thread harald at gigawatt dot nl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114526 --- Comment #9 from Harald van Dijk --- (In reply to Joseph S. Myers from comment #8) > "rejects", in the ISO C sense, only applies to errors and pedwarns in GCC; > not to warnings conditional on -pedantic (of which there are also some, but > wh

[Bug c/114526] ISO C does not prohibit extensions: fix misconception.

2024-04-02 Thread harald at gigawatt dot nl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114526 --- Comment #10 from Harald van Dijk --- Sorry, sent my earlier comment too soon. (In reply to Joseph S. Myers from comment #8) > I believe conversions between function and object pointers are undefined as > a property of the translation unit -

[Bug tree-optimization/114403] [14 regression] LLVM miscompiled with -O3 -march=znver2 -fno-vect-cost-model since r14-6822-g01f4251b8775c8

2024-04-02 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114403 --- Comment #20 from Tamar Christina --- This is a bad interaction with early break and peeling for gaps. when peeling for gaps we set bias_for_lowest to 0, which then negates the ceil for the upper bound calculation when the div is exact. We

[Bug modula2/114565] progress trace would be useful to isolate ICE for users

2024-04-02 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114565 Gaius Mulley changed: What|Removed |Added Attachment #57851|0 |1 is obsolete|

[Bug target/114560] Compilation error when using _mm512_maskz_expandloadu_epi16 with only -mavx512vbmi2

2024-04-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114560 --- Comment #3 from Jakub Jelinek --- (In reply to Meirav Grimberg from comment #2) > (In reply to Jakub Jelinek from comment #1) > > AVX512BW is needed to be able to use __mmask32/__mmask64, those aren't > > supported in AVX512F, which only sup

  1   2   3   >