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

2024-04-03 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113363 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug target/114577] New: Inefficient codegen for SVE/NEON bridge

2024-04-03 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114577 Bug ID: 114577 Summary: Inefficient codegen for SVE/NEON bridge Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal P

[Bug target/85236] missing _mm256_atan2_ps

2024-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85236 --- Comment #6 from Andrew Pinski --- https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#!=undefined&techs=SVML&text=_mm256_atan2_ps&ig_expand=393

[Bug libstdc++/93672] std::basic_istream::ignore hangs if delim MSB is set

2024-04-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93672 --- Comment #3 from Jonathan Wakely --- So maybe: --- a/libstdc++-v3/src/c++98/istream.cc +++ b/libstdc++-v3/src/c++98/istream.cc @@ -112,7 +112,10 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION basic_istream:: ignore(streamsize __n, int_type __d

[Bug target/85236] missing _mm256_atan2_ps

2024-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85236 --- Comment #7 from Andrew Pinski --- clang does not implement this intrinsics either and there is no issue filed there about it either (I am kinda of shocked). Note ICX (which is the new ICC but with using clang/LLVM) does and it calls __svml_a

[Bug middle-end/85620] Missing ENDBR after swapcontext

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

[Bug target/81652] [meta-bug] -fcf-protection=full bugs

2024-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81652 Bug 81652 depends on bug 85620, which changed state. Bug 85620 Summary: Missing ENDBR after swapcontext https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85620 What|Removed |Added

[Bug target/85919] Incomplete transition to IFNs for scatter/gather support, drop vectorize.builtin_{gather,scatter} target hooks

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

[Bug target/85919] Incomplete transition to IFNs for scatter/gather support, drop vectorize.builtin_{gather,scatter} target hooks

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

[Bug target/86027] string literals get corrupted with -O3 and gas on solaris i386

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

[Bug bootstrap/84017] [6/7/8 regression] Bootstrap failure on Solaris 10/x86 with gas/ld

2024-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84017 Andrew Pinski changed: What|Removed |Added CC||subscribe at teskor dot de --- Comment #

[Bug fortran/113412] ATAN(Y,X) does not check arguments and generates wrong error message.

2024-04-03 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113412 --- Comment #6 from anlauf at gcc dot gnu.org --- (In reply to kargls from comment #5) > The pointers to expr->symtree is NULL. This new patch catches your example. It does, but behaves weird for some other cases. Try: program main complex

[Bug c++/86303] Constructor is not used for type conversion

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

[Bug target/86466] [X86] gcc checks the range of the immediate to _mm_blend_ps, but not _mm_blend_epi32

2024-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86466 --- Comment #1 from Andrew Pinski --- Created attachment 57870 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57870&action=edit testcase Please next time attach or place the testcase inline instead of just linking to godbolt, we were just

[Bug target/86466] [X86] gcc checks the range of the immediate to _mm_blend_ps, but not _mm_blend_epi32

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

[Bug c/23872] .original dump weirdness

2024-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23872 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/99426] [modules] failed to read compiled module cluster 1186: Bad file data

2024-04-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99426 --- Comment #7 from Patrick Palka --- There's a patch pending review at https://gcc.gnu.org/pipermail/gcc-patches/2024-March/647203.html Until that's merged, one should be able to work around this error with a trunk compiler by using --param=ggc

[Bug target/34629] cexp call broken on solaris 10 32bit code with gcc and -fPIC option

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

[Bug target/32775] init_machine_status doc bug

2024-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32775 Andrew Pinski changed: What|Removed |Added Keywords||documentation Last reconfirmed|2010-02

[Bug driver/81358] libatomic not automatically linked with C11 code

2024-04-03 Thread bunk at stusta dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81358 --- Comment #15 from Adrian Bunk --- (In reply to Tobias Burnus from comment #11) > RFC draft patch – also to solve an offload problem with atomic and nvptx > libgomp: > https://gcc.gnu.org/pipermail/gcc-patches/2020-October/556297.html > See rep

[Bug target/36512] relocation overflow

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

[Bug target/101865] _ARCH_PWR8 is not defined when using -mcpu=power8

2024-04-03 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101865 Peter Bergner changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|willschm at

[Bug target/40988] incorrect code when using ..._bit macros from asm/bitops.h in a loop in userspace program

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

[Bug target/114576] [14 regression]VEX-prefixed AES instruction without AVX enabled

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

[Bug target/40988] incorrect code when using ..._bit macros from asm/bitops.h in a loop in userspace program

2024-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40988 --- Comment #3 from Andrew Pinski --- One more note the Linux kernel sources has been corrected already. They do now: asm volatile(__ASM_SIZE(btr) " %2,%1" CC_SET(c) : CC_OUT(c) (oldbit)

[Bug middle-end/47048] misc vect.exp failures with -fgraphite-identity enabled at -O2.

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

[Bug target/114576] [14 regression] VEX-prefixed AES instruction without AVX enabled

2024-04-03 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114576 --- Comment #4 from Thiago Macieira --- (In reply to Jakub Jelinek from comment #3) > vaesenc etc. instructions can be used even if just -maes -mavx, not just > -mvaes -mavx512vl. Correct, that's just VEX-prefixed AESNI instructions. VAES adde

[Bug c++/28017] lack of guard variables for explicitly instantiated template static data

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

[Bug c/28141] thread-local ptr initialized to address of thread-local misclassified as non-constant initializer

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

[Bug middle-end/29231] need a way to produce trampolines not on the stack

2024-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29231 Andrew Pinski changed: What|Removed |Added CC||iains at gcc dot gnu.org --- Comment #6

[Bug target/40771] generated code is ~25% slower when autovectorization is enabled

2024-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40771 --- Comment #4 from Andrew Pinski --- AARCH64 vectorization looks decent too: ``` dup v31.8h, w0 adrpx2, .LC0 adrpx0, .LC1 adrpx1, .LANCHOR0 ldr q30, [x2, #:lo12:.LC0] ldr q2

[Bug c++/10118] Bad diagnostic with cast in template argument expression

2024-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10118 --- Comment #12 from Andrew Pinski --- Hmm, clang accepts this also for -std=c++17 (and above). While EDG accepts this for --c++11 (and above). Is this valid in C++11+ or C++17+ now?

[Bug c++/60284] [DR 253] Default-initialization without user-provided constructor allowed

2024-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60284 Andrew Pinski changed: What|Removed |Added Status|SUSPENDED |NEW --- Comment #2 from Andrew Pinski -

[Bug c++/57820] [DR 253] NSDMI and const objects

2024-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57820 Andrew Pinski changed: What|Removed |Added Status|SUSPENDED |NEW --- Comment #6 from Andrew Pinski -

[Bug c++/89305] CWG DR 253 is not implemented

2024-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89305 --- Comment #2 from Andrew Pinski --- I should note even though the other examples of DR 253 seems to be correctly accepting now; this one still fails. Note also EDG rejects this even though accepting the other examples of DR 253 issues; maybe E

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

2024-04-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113765 --- Comment #8 from GCC Commits --- The master branch has been updated by Eugene Rozenfeld : https://gcc.gnu.org/g:fe385c219994f6d5c1ffe00bcaf5a62c3d18caaf commit r14-9780-gfe385c219994f6d5c1ffe00bcaf5a62c3d18caaf Author: Eugene Rozenfeld Dat

[Bug c++/25548] Rejects dependent destructor on a non dedendent name (for basic types) too late

2024-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25548 Andrew Pinski changed: What|Removed |Added Known to fail|| Keywords|accepts-invalid

[Bug c++/33068] volatile struct bit fields not treated as volatile

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

[Bug fortran/113412] ATAN(Y,X) does not check arguments and generates wrong error message.

2024-04-03 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113412 --- Comment #7 from kargls at comcast dot net --- (In reply to anlauf from comment #6) > (In reply to kargls from comment #5) > > The pointers to expr->symtree is NULL. This new patch catches your example. > > It does, but behaves weird for som

[Bug lto/114574] [14 regression] ICE when building curl with LTO (fld_incomplete_type_of, at ipa-free-lang-data.cc:257) since r14-9763

2024-04-03 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114574 --- Comment #7 from uecker at gcc dot gnu.org --- What is strange is that not updating TYPE_CANONICAL also seems wrong even before C23, because then it seems we should be able to get pointers with different TYPE_CANONICAL which are compatible (to

[Bug c++/49395] Non-class prvalues seem to have cv-qualification with GCC

2024-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49395 --- Comment #5 from Andrew Pinski --- line 8 is rejected by clang and MSVC also.

[Bug lto/114574] [14 regression] ICE when building curl with LTO (fld_incomplete_type_of, at ipa-free-lang-data.cc:257) since r14-9763

2024-04-03 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114574 --- Comment #8 from uecker at gcc dot gnu.org --- If we do not care too much about TYPE_CANONICAL being correct in this case anyway, we could turn off the test and add a condition flag_isoc23 as a precaution in the FE to not risk any other regre

[Bug c++/56248] [DR 580] access checking of template parameters done too early

2024-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56248 Andrew Pinski changed: What|Removed |Added CC||jlame646 at gmail dot com --- Comment #1

[Bug c++/111872] GCC rejects out of class definition of inner private class template

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

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

2024-04-03 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 Status|RESOLVED|WAITING Resolution|FIXED

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

2024-04-03 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 c++/56506] variadic class template specialization not selected as best match

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

[Bug c++/56506] variadic class template specialization not selected as best match

2024-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56506 --- Comment #6 from Andrew Pinski --- (In reply to Andrew Pinski from comment #5) > Confirmed. This ICEs on the trunk (but I don't think it is a regression as > the assert is a gcc_checking_assert). > > The ICE: > > :12:28: internal compiler er

[Bug c++/56506] variadic class template specialization not selected as best match

2024-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56506 --- Comment #7 from Andrew Pinski --- (In reply to Andrew Pinski from comment #6) > I should note clang accepts the code. But EDG does not. While MSVC accepts it.

[Bug c++/57005] alias template's pseudo-destructor is rejected

2024-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57005 --- Comment #3 from Andrew Pinski --- MSVC also rejects it.

[Bug lto/114574] [14 regression] ICE when building curl with LTO (fld_incomplete_type_of, at ipa-free-lang-data.cc:257) since r14-9763

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

[Bug c++/102635] Wrong rejection of function default argument value depending on argument name

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

[Bug c++/50479] Unevaluated usage of parameters in function default arguments is accepted

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

[Bug c++/114569] GCC accepts forming pointer to function type which is ref qualified

2024-04-03 Thread jens.maurer at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114569 Jens Maurer changed: What|Removed |Added CC||jens.maurer at gmx dot net --- Comment #3

[Bug c++/84373] g++ incorrectly resolves names for default parameters

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

[Bug c++/62244] Function parameter should be in scope in its own default argument

2024-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62244 Andrew Pinski changed: What|Removed |Added CC||smcallis at gmail dot com --- Comment #2

<    1   2