[Bug tree-optimization/97009] [9 Regression] Inlining with non-standard selected_int_kind leads to errors

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97009 Andrew Pinski changed: What|Removed |Added CC||dimitri.gorokhovik at free dot fr ---

[Bug ipa/94485] Inter-dependency between { tree-sra, ABI, inlining, loop-unrolling } leads to mis-optimization

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

[Bug ipa/94485] Inter-dependency between { tree-sra, ABI, inlining, loop-unrolling } leads to mis-optimization

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94485 --- Comment #11 from Andrew Pinski --- SRA in 10.2.0: ``` Created a replacement for D.14474 offset: 0, size: 64: SR.70D.14479 Created a replacement for D.14475 offset: 0, size: 64: SR.71D.14480 Removing load: D.13665 = D.14475; ``` in 10.3.0:

[Bug ipa/94485] Inter-dependency between { tree-sra, ABI, inlining, loop-unrolling } leads to mis-optimization

2024-03-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94485 --- Comment #10 from Sam James --- ok, on godbolt, 8.5 fails. I think we're fine here then?

[Bug ipa/94485] Inter-dependency between { tree-sra, ABI, inlining, loop-unrolling } leads to mis-optimization

2024-03-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94485 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #9

[Bug target/100754] Order of multiple inheritance can lead to illegal code jump

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100754 --- Comment #5 from Andrew Pinski --- The bug/issue is most likely inside microblaze_asm_output_mi_thunk .

[Bug ipa/80728] IPA-reference suppresses compiler memory barrier

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80728 --- Comment #9 from Andrew Pinski --- I am not 100% sure we should not transform this code. The way signals are defined that only volatile/atomic variables can be done via signals. This works: ``` static _Atomic int i; static _Atomic int b;

[Bug c/114493] [11/12/13/14 Regression] internal compiler error: in fld_incomplete_type_of, at ipa-free-lang-data.cc:257

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114493 Andrew Pinski changed: What|Removed |Added Depends on||35980 --- Comment #5 from Andrew

[Bug c/35980] The canonical type of types with may_alias attribute is incorrect

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35980 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > But starting in GCC 7, we no longer do. that changed in r7-1272-g5545a9071573a5 .

[Bug c/114493] [11/12/13/14 Regression] internal compiler error: in fld_incomplete_type_of, at ipa-free-lang-data.cc:257

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114493 --- Comment #4 from Andrew Pinski --- Also related is commit r7-1272-g5545a9071573a5 .

[Bug c/114493] [11/12/13/14 Regression] internal compiler error: in fld_incomplete_type_of, at ipa-free-lang-data.cc:257

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114493 Andrew Pinski changed: What|Removed |Added Known to work||8.1.0 Known to fail|

[Bug c++/80320] Constructor executed twice for the same static member when using -fno-implicit-templates

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80320 --- Comment #2 from Andrew Pinski --- For not emitting the guard: #define NEEDS_GUARD_P(decl) (TREE_PUBLIC (decl) && (DECL_COMMON (decl) \ || DECL_ONE_ONLY (decl) \

[Bug ipa/114493] internal compiler error: in fld_incomplete_type_of, at ipa-free-lang-data.cc:257

2024-03-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114493 --- Comment #2 from Sam James --- Pfff. ``` typedef struct git_midx_writer git_midx_writer; int git_futils_rmdir_flags; int __attribute__git_midx_writer_new(git_midx_writer **); struct __attribute__((__may_alias__)) git_midx_writer {}; ```

[Bug ipa/114493] internal compiler error: in fld_incomplete_type_of, at ipa-free-lang-data.cc:257

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

[Bug ipa/114493] New: internal compiler error: in fld_incomplete_type_of, at ipa-free-lang-data.cc:257

2024-03-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114493 Bug ID: 114493 Summary: internal compiler error: in fld_incomplete_type_of, at ipa-free-lang-data.cc:257 Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug target/113986] [14 regression] Build failure on aarch64-linux-musl or if ifunc support is disabled (error: 'export_load_16' aliased to undefined symbol 'libat_load_16')

2024-03-26 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113986 Khem Raj changed: What|Removed |Added CC||raj.khem at gmail dot com --- Comment #5

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

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

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

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

[Bug target/69041] Unnecessary push/pop of caller-save register (ecx) on 32bit with vector intrinsics.

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

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

2024-03-26 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114492 Bug ID: 114492 Summary: Invalid use of gcc_assert (notably in gcc/config/aarch64/aarch64-ldp-fusion.cc) Product: gcc Version: 13.2.0 Status: UNCONFIRMED

[Bug c++/58525] __cxa_throw_bad_array_new_length is generated with -fno-exceptions

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58525 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |4.9.0

[Bug c++/86347] [C++17] Incorrect call order of allocation function in new expression

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86347 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #5 from

[Bug tree-optimization/92860] [9/10/11/12 regression] Global flags affected by -O settings are clobbered by optimize attribute

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92860 Andrew Pinski changed: What|Removed |Added CC||bki at hacon dot de --- Comment #92

[Bug target/85961] scratch register rsi used after function call

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85961 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug target/85961] scratch register rsi used after function call

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85961 Andrew Pinski changed: What|Removed |Added Known to work||12.1.0 --- Comment #7 from Andrew

[Bug c++/12944] [meta-bug] C++ name-lookup problems

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12944 Bug 12944 depends on bug 114491, which changed state. Bug 114491 Summary: incorrect identifier namespacing with variadic templates https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114491 What|Removed |Added

[Bug c++/114491] incorrect identifier namespacing with variadic templates

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

[Bug c++/90189] Spurious "error: parameter packs not expanded" when a dependent name coincides

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90189 Andrew Pinski changed: What|Removed |Added CC||christoph.schied at gmail dot com ---

[Bug c++/114491] incorrect identifier namespacing with variadic templates

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

[Bug rtl-optimization/107051] redundant loads when copying a union

2024-03-26 Thread absoler at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107051 --- Comment #2 from absoler at smail dot nju.edu.cn --- (In reply to Richard Biener from comment #1) > With -O2 I see > > func_1: > .LFB0: > .cfi_startproc > movle(%rip), %eax > testl %eax, %eax > je

[Bug c++/83908] -fvisibility=hidden not setting the visibility of the resolver/ifunc created for attribute target

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

[Bug c++/114491] New: incorrect identifier namespacing with variadic templates

2024-03-26 Thread christoph.schied at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114491 Bug ID: 114491 Summary: incorrect identifier namespacing with variadic templates Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug libfortran/107031] endfile truncates file at wrong position

2024-03-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107031 --- Comment #10 from GCC Commits --- The master branch has been updated by Jerry DeLisle : https://gcc.gnu.org/g:41e767c482fc903ca5d54014b034c7526dbf8f1c commit r14-9681-g41e767c482fc903ca5d54014b034c7526dbf8f1c Author: Jerry DeLisle Date:

[Bug target/78253] [5/6/7 Regression] [ARM] call weak function instead of strong when called through pointer

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78253 Andrew Pinski changed: What|Removed |Added CC||bugdal at aerifal dot cx --- Comment #9

[Bug target/68178] [arm] Relative address expressions bind at as-time, even if symbol is weak

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

[Bug c++/101140] [modules] no matching function for call to ‘operator new(sizetype, void*)’

2024-03-26 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101140 --- Comment #5 from Nathaniel Shead --- (In reply to Patrick Palka from comment #4) > FWIW I was thinking we might want to perform two-phase name lookup for > new-expressions like we do for other operator expressions, wherein > unqualified

[Bug target/114490] Optimization: x86 "shl" condition codes never reused

2024-03-26 Thread Explorer09 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114490 --- Comment #3 from Kang-Che Sung --- (In reply to Andrew Pinski from comment #2) > > Basically if you are shifting by 0, then the CF bit never changes from the > previous and this can't be done. > > So the comment in the backend is correct

[Bug target/53192] Incorrect arguments to AVX2's gather intrinsics

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53192 --- Comment #7 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #5) > BTW, to avoid that warning, you could use in C: > extern __inline __m128i > __attribute__ ((__gnu_inline__, __always_inline__, __artificial__)) >

[Bug rtl-optimization/52876] [x32] - Sign extend 32 to 64bit then clear upper 32bits fails O1 or higher

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

[Bug target/114490] Optimization: x86 "shl" condition codes never reused

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

[Bug target/114490] Optimization: x86 "shl" condition codes never reused

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114490 --- Comment #1 from Andrew Pinski --- Hmm, the backend has: ;; This pattern can't accept a variable shift count, since shifts by ;; zero don't affect the flags. We assume that shifts by constant ;; zero are optimized away.

[Bug target/53192] Incorrect arguments to AVX2's gather intrinsics

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53192 Andrew Pinski changed: What|Removed |Added Keywords|wrong-code |diagnostic, rejects-valid

[Bug target/114490] New: Optimization: x86 "shl" condition codes never reused

2024-03-26 Thread Explorer09 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114490 Bug ID: 114490 Summary: Optimization: x86 "shl" condition codes never reused Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug lto/110710] LTO linker on Windows creates an invalid Makefile

2024-03-26 Thread peter0x44 at disroot dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110710 --- Comment #13 from peter0x44 at disroot dot org --- https://gcc.gnu.org/pipermail/gcc-patches/2024-March/648427.html Patch submitted. Couldn't figure out how to assign myself in bugzilla.

[Bug ipa/68331] [meta-bug] fipa-pta issues

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68331 Bug 68331 depends on bug 50577, which changed state. Bug 50577 Summary: IPA-PTA context insensitivity confuses pure-const analysis https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50577 What|Removed |Added

[Bug tree-optimization/50577] IPA-PTA context insensitivity confuses pure-const analysis

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

[Bug rtl-optimization/87600] Fix for PRs 86939 and 87479 causes build issues for several targets

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87600 --- Comment #11 from Andrew Pinski --- (In reply to Segher Boessenkool from comment #4) > Oh btw, the #c3 problem isn't new at all, it happens with 4.8 already for > example. Yes it was originally reported as PR 46164 against GCC 4.5.1 even.

[Bug rtl-optimization/87600] Fix for PRs 86939 and 87479 causes build issues for several targets

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87600 Andrew Pinski changed: What|Removed |Added CC||siarhei.siamashka at gmail dot com ---

[Bug middle-end/46164] Local variables in specified registers don't work correctly with inline asm operands

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

[Bug c++/114488] internal compiler error: unexpected expression static_cast ...

2024-03-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114488 --- Comment #5 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #4) > On the gcc-9 branch the first bad commit is r9-8623-g0296697cf9893d Which was the backport of r11-122. And as expected, the ICE began on gcc-10 with the

[Bug fortran/114474] [11/12/13/14 Regression] DATA statement with derived type, pointer component rejected

2024-03-26 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114474 --- Comment #2 from anlauf at gcc dot gnu.org --- Created attachment 57817 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57817=edit Draft patch This adds a fixup of the expression type of the actual argument of the DT constructor which

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

2024-03-26 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 Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/114488] internal compiler error: unexpected expression static_cast ...

2024-03-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114488 --- Comment #4 from Jonathan Wakely --- On the gcc-9 branch the first bad commit is r9-8623-g0296697cf9893d commit 0296697cf9893dc9509cdcd8e3fd4ba9fe422527 Author: Jason Merrill Date: Mon May 25 18:38:09 2020 -0400 c++: constexpr and

[Bug gcov-profile/113765] [14 Regression] ICE: autofdo: val-profiler-threads-1.c compilation, error: probability of edge from entry block not initialized

2024-03-26 Thread erozen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113765 --- Comment #7 from Eugene Rozenfeld --- I'll prepare a patch this week.

[Bug libstdc++/114387] Explicitly declared destructor makes basic_format_context sometimes not movable

2024-03-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114387 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/114485] [13/14 Regression] Wrong code with -O3 -march=rv64gcv on riscv or `-O3 -march=armv9-a` for aarch64

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114485 Andrew Pinski changed: What|Removed |Added Known to work||12.3.0 Target Milestone|---

[Bug lto/110710] LTO linker on Windows creates an invalid Makefile

2024-03-26 Thread peter0x44 at disroot dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110710 --- Comment #12 from peter0x44 at disroot dot org --- diff --git a/gcc/lto-wrapper.cc b/gcc/lto-wrapper.cc index 5186d040ce0..7119157d830 100644 --- a/gcc/lto-wrapper.cc +++ b/gcc/lto-wrapper.cc @@ -2024,9 +2024,7 @@ cont:

[Bug tree-optimization/114485] [14] Wrong code with -O3 -march=rv64gcv on riscv

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114485 Andrew Pinski changed: What|Removed |Added Target|riscv*-*-* |riscv*-*-* aarch64-*-* --- Comment #1

[Bug tree-optimization/114489] introduced redundant load facing different branches

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114489 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) >[local count: 375809640]: > _3 = g1; > goto ; [100.00%] > >[local count: 697932184]: > g2.1_2 = g2; > arr[0] = g2.1_2; > _8 = g1; > >

[Bug tree-optimization/114489] introduced redundant load facing different branches

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

[Bug tree-optimization/114489] New: introduced redundant load facing different branches

2024-03-26 Thread absoler at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114489 Bug ID: 114489 Summary: introduced redundant load facing different branches Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug libstdc++/89855] Inconsistent global namespace overload sets from #include

2024-03-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89855 Jonathan Wakely changed: What|Removed |Added CC||vincenzo.innocente at cern dot ch

[Bug target/114484] #include changes ::abs in std::abs

2024-03-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114484 Jonathan Wakely changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #11 from

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

2024-03-26 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114475 --- Comment #2 from anlauf at gcc dot gnu.org --- (In reply to Jürgen Reuter from comment #1) > I suspect this commit here, > https://gcc.gnu.org/git/?p=gcc.git;a=commit; > h=44c0398e65347def316700911a51ca8b4ec0a411 > but not totally certain.

[Bug target/114484] #include changes ::abs in std::abs

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

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

2024-03-26 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114475 anlauf at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1

[Bug target/114484] #include changes ::abs in std::abs

2024-03-26 Thread vincenzo.innocente at cern dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114484 --- Comment #9 from vincenzo Innocente --- We observe that including xmmintrin.h the behaviour of some code, notably abs(x), when x is float or double changes. And this depends on the platform as xmmintrin.h is x86_64 specific. Yes, is 20

[Bug c++/114488] internal compiler error: unexpected expression static_cast ...

2024-03-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114488 --- Comment #3 from Jonathan Wakely --- An ICE seems to have started on trunk with r11-122 and been fixed by r11-557

[Bug c++/114488] internal compiler error: unexpected expression static_cast ...

2024-03-26 Thread ing.russomauro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114488 --- Comment #2 from mauro russo --- If something is removed from sample code (e.g., b made bool instead of a shared_ptr, or some const is removed), the problem disappears.

[Bug c++/114488] internal compiler error: unexpected expression static_cast ...

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114488 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED See Also|

[Bug c++/97975] [8/9 Regression] ICE unexpected expression '(int)A< >::b' of kind implicit_conv_expr

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97975 Andrew Pinski changed: What|Removed |Added Known to fail||10.2.0 Known to work|

[Bug c++/104284] [9/10 Regression] ICE: unexpected expression '' of kind implicit_conv_expr since r9-6073-ge8b3c1bc3ba22dcf

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104284 Andrew Pinski changed: What|Removed |Added Known to work||11.3.0 Known to fail|

[Bug c++/91465] [9 Regression] unexpected expression of kind overload (ICE)

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91465 Andrew Pinski changed: What|Removed |Added Target Milestone|9.4 |10.0

[Bug c++/114488] New: internal compiler error: unexpected expression static_cast ...

2024-03-26 Thread ing.russomauro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114488 Bug ID: 114488 Summary: internal compiler error: unexpected expression static_cast ... Product: gcc Version: 9.5.0 Status: UNCONFIRMED Severity: normal

[Bug target/114484] #include changes ::abs in std::abs

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

[Bug libstdc++/89855] Inconsistent global namespace overload sets from #include

2024-03-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89855 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug target/114484] #include changes ::abs in std::abs

2024-03-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114484 --- Comment #7 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #6) > For the specific case of , you know that includes and > always adds abs(int) to the global namespace, right? It's actually a bug > that doesn't always

[Bug target/114431] bpf: GCC generates unverifiable code for systemd restrict_fs_bpf

2024-03-26 Thread cupertino.miranda at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114431 Cupertino Miranda changed: What|Removed |Added CC||cupertino.miranda at oracle dot co

[Bug target/114484] #include changes ::abs in std::abs

2024-03-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114484 --- Comment #6 from Jonathan Wakely --- But is not a standard C++ header, there's no guarantee it doesn't include (or any other header). For the specific case of , you know that includes and always adds abs(int) to the global namespace,

[Bug target/114484] #include changes ::abs in std::abs

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114484 --- Comment #5 from Andrew Pinski --- Note this header has been this way for almost 20 years too ...

[Bug target/114484] #include changes ::abs in std::abs

2024-03-26 Thread vincenzo.innocente at cern dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114484 --- Comment #4 from vincenzo Innocente --- in C++ one is supposed to #include not I do not think that there is an explicit version of C++ headers for the intrinsics that avoids the conflicts between C and C++.

[Bug target/114431] bpf: GCC generates unverifiable code for systemd restrict_fs_bpf

2024-03-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114431 --- Comment #5 from GCC Commits --- The master branch has been updated by Cupertino Miranda : https://gcc.gnu.org/g:fa60ac549649655a3f55e69f83d2e97423d3eb5c commit r14-9677-gfa60ac549649655a3f55e69f83d2e97423d3eb5c Author: Cupertino Miranda

[Bug target/114487] New: [14 regression] ICE when building libsdl2 on -mfpmath=sse x86 with LTO

2024-03-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114487 Bug ID: 114487 Summary: [14 regression] ICE when building libsdl2 on -mfpmath=sse x86 with LTO Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c++/103825] ICE on switch on enum class in bitfield

2024-03-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103825 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug testsuite/114486] new test gcc.c-torture/execute/pr111151.c in r14-9668-gc4f2c84e8fa369 fails

2024-03-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114486 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug testsuite/114486] new test gcc.c-torture/execute/pr111151.c in r14-9668-gc4f2c84e8fa369 fails

2024-03-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114486 --- Comment #1 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:f536ea9cc3226793dc156952340f21e55b60c04e commit r14-9676-gf536ea9cc3226793dc156952340f21e55b60c04e Author: Jakub Jelinek Date:

[Bug middle-end/111151] [12/13 Regression] Wrong code at -O0 on x86_64-pc-linux-gnu

2024-03-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51 --- Comment #17 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:f536ea9cc3226793dc156952340f21e55b60c04e commit r14-9676-gf536ea9cc3226793dc156952340f21e55b60c04e Author: Jakub Jelinek Date:

[Bug modula2/114478] isnormal builtin unavailable from m2

2024-03-26 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114478 Gaius Mulley changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/114057] [14 Regression] 435.gromacs fails verification with -Ofast -march={znver2,znver4} and PGO after r14-7272-g57f611604e8bab

2024-03-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114057 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug tree-optimization/114057] [14 Regression] 435.gromacs fails verification with -Ofast -march={znver2,znver4} and PGO after r14-7272-g57f611604e8bab

2024-03-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114057 --- Comment #11 from Richard Biener --- Created attachment 57816 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57816=edit manually reduced preprocessed source This is the TU reduced to idihs where I put flatten on, with just -Ofast

[Bug modula2/114478] isnormal builtin unavailable from m2

2024-03-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114478 --- Comment #2 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:b1af867d22e3108402c62f97d8fcd1df303c9dab commit r14-9675-gb1af867d22e3108402c62f97d8fcd1df303c9dab Author: Gaius Mulley Date:

[Bug tree-optimization/114057] [14 Regression] 435.gromacs fails verification with -Ofast -march={znver2,znver4} and PGO after r14-7272-g57f611604e8bab

2024-03-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114057 --- Comment #10 from Richard Biener --- So the ref output is -3.22397e+05 3.07684e+02 1.06621e+10 and before the change we get -3.22205e+05 3.05161e+02 1.06660e+10 while after it is -3.22401e+05 3.11606e+02 1.06579e+10 vectorization

[Bug target/114484] #include changes ::abs in std::abs

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114484 --- Comment #3 from Andrew Pinski --- Why do you think this is a bug? Including an intrinsic header will almost always pull in other headers.

[Bug testsuite/114486] New: new test gcc.c-torture/execute/pr111151.c in r14-9668-gc4f2c84e8fa369 fails

2024-03-26 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114486 Bug ID: 114486 Summary: new test gcc.c-torture/execute/pr51.c in r14-9668-gc4f2c84e8fa369 fails Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug target/54412] minimal 32-byte stack alignment with -mavx on 64-bit Windows

2024-03-26 Thread avraham.adler at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54412 --- Comment #41 from Avraham Adler --- It has been a few years since the last comment. I recently got hit by this bug for the first time in about a decade and a half of compiling R for Windows 64 using GCC 13.2.0 as packaged in Rtools44 [1].

[Bug target/112787] Codegen regression of large GCC vector extensions when enabling SVE

2024-03-26 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112787 --- Comment #13 from avieira at gcc dot gnu.org --- They have both been backported, @Eric the tests should be passing again now.

[Bug tree-optimization/110838] [14 Regression] wrong code on x365-3.5, -O3, sign extraction

2024-03-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110838 --- Comment #14 from GCC Commits --- The releases/gcc-12 branch has been updated by Andre Simoes Dias Vieira : https://gcc.gnu.org/g:d0eed43ff39a0bad4a02f8af7a4795e06aea6f80 commit r12-10294-gd0eed43ff39a0bad4a02f8af7a4795e06aea6f80 Author:

[Bug rtl-optimization/91838] [8/9 Regression] incorrect use of shr and shrx to shift by 64, missed optimization of vector shift

2024-03-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91838 --- Comment #22 from GCC Commits --- The releases/gcc-12 branch has been updated by Andre Simoes Dias Vieira : https://gcc.gnu.org/g:1ddd9f9e53bd649d3d236f7941106d8cc46e7358 commit r12-10293-g1ddd9f9e53bd649d3d236f7941106d8cc46e7358 Author:

[Bug c++/114484] #include changes ::abs in std::abs

2024-03-26 Thread vincenzo.innocente at cern dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114484 --- Comment #2 from vincenzo Innocente --- *** Bug 114483 has been marked as a duplicate of this bug. ***

[Bug c++/114483] #include changes ::abs in std::abs

2024-03-26 Thread vincenzo.innocente at cern dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114483 vincenzo Innocente changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

  1   2   >