[Bug analyzer/106626] Improvements to wording of -Wanalyzer-out-of-bounds

2023-06-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106626 --- Comment #8 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:0e466e978c728697f18c67c4eace9ba4633f9ef5 commit r14-2029-g0e466e978c728697f18c67c4eace9ba4633f9ef5 Author: David Malcolm Date:

[Bug fortran/110311] [14 Regression] gfortran 14.0 regression

2023-06-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110311 --- Comment #8 from Andrew Pinski --- (In reply to Jürgen Reuter from comment #7) > The problem seems really connected to optimization, if I compile our code > with -g -O0 or -g -O1, everything works ok. Next, I will try to check why it > is

[Bug testsuite/101002] Some powerpc tests fail with -mlong-double-64

2023-06-21 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101002 --- Comment #9 from Segher Boessenkool --- (In reply to Peter Bergner from comment #4) > These die because the struct we're using to check the alignment of uses long > double as the "big" aligned type. We could either disable the tests using a

[Bug c++/110346] [C++26] P2752R3 - Static storage for braced initializers

2023-06-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110346 --- Comment #2 from Marek Polacek --- Probably resolved by r14-1500-g4d935f52b0d5c0.

[Bug tree-optimization/110252] [14 Regression] Wrong code at -O2/3/s on x86_64-linux-gnu

2023-06-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110252 --- Comment #6 from Andrew Pinski --- *** Bug 110337 has been marked as a duplicate of this bug. ***

[Bug c/110337] Wrong code at -O2/s on x86_64-linux-gnu

2023-06-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110337 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/110341] [C++26] P1854R4 - Making non-encodable string literals ill-formed

2023-06-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110341 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/110348] [C++26] P2741R3 - User-generated static_assert messages

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

[Bug c++/110346] [C++26] P2752R3 - Static storage for braced initializers

2023-06-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110346 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/110341] [C++26] P1854R4 - Making non-encodable string literals ill-formed

2023-06-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110341 --- Comment #1 from Andrew Pinski --- I don't think there is anything to do for this paper: `GCC exposes the same behavior(the one proposed by this paper) in all language modes.`

[Bug middle-end/88873] missing vectorization for decomposed operations on a vector type

2023-06-21 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88873 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com ---

[Bug fortran/110360] ABI issue with character,value dummy argument

2023-06-21 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110360 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last

[Bug fortran/110360] ABI issue with character,value dummy argument

2023-06-21 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110360 anlauf at gcc dot gnu.org changed: What|Removed |Added Attachment #55380|0 |1 is obsolete|

[Bug c++/110340] [C++26] P2621R2 - Remove undefined behavior from lexing

2023-06-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110340 --- Comment #1 from Andrew Pinski --- Full testcase for the first 2 issues raised in the paper: ``` int \\ u\ 0\ 3\ 9\ 1 = 0; #define CONCAT(x,y) x##y int CONCAT(\,u0393)=0; ``` Testcase for the last one: ``` const char * foo=" // { dg-error

[Bug fortran/100650] Passing a derived-type array constructor to the reshape intrinsic gives incorrect results

2023-06-21 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100650 Paul Thomas changed: What|Removed |Added Last reconfirmed||2023-06-21 CC|

[Bug fortran/108961] Segfault when associating to pointer from C_F_POINTER

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

[Bug fortran/88688] Incorrect association in SELECT TYPE

2023-06-21 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88688 --- Comment #4 from Paul Thomas --- Fixed on trunk and closing. I will build a composite patch for 13-branch in a few weeks. Thanks for the report Paul

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

2023-06-21 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 107900, which changed state. Bug 107900 Summary: Select type with intrinsic type inside associate causes ICE / Segmenation fault https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107900 What|Removed

[Bug fortran/107900] Select type with intrinsic type inside associate causes ICE / Segmenation fault

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

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

2023-06-21 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 110224, which changed state. Bug 110224 Summary: Rejects valid: function reference with data pointer result as lhs in assignment https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110224 What|Removed

[Bug fortran/110224] Rejects valid: function reference with data pointer result as lhs in assignment

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

[Bug fortran/110360] ABI issue with character,value dummy argument

2023-06-21 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110360 --- Comment #2 from anlauf at gcc dot gnu.org --- For reference: testcase, cross-checked with NAG 7.1: ! { dg-do run } ! PR fortran/110360 program p implicit none character, allocatable :: ca character, pointer :: cp

[Bug tree-optimization/110332] [14 regression] ICE in dominated_by_p when building LLVM with -O3

2023-06-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110332 --- Comment #8 from Andrew Pinski --- (In reply to Andrew Pinski from comment #7) Another one reduced C testcase, very similar to the previous one but slightly more reduced: ``` _Bool a; struct s { int t; } c, d; unsigned e, f; unsigned

[Bug c++/110164] Improve diagnostic for incomplete standard library types due to missing include

2023-06-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110164 Andrew Pinski changed: What|Removed |Added Status|WAITING |ASSIGNED --- Comment #4 from Andrew

[Bug fortran/110360] ABI issue with character,value dummy argument

2023-06-21 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110360 --- Comment #1 from anlauf at gcc dot gnu.org --- Created attachment 55380 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55380=edit Patch The attached patch fixes up the case of non-constant string expressions passed to CHARACTER,VALUE

[Bug c++/110164] Improve diagnostic for incomplete standard library types due to missing include

2023-06-21 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110164 David Malcolm changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug testsuite/101002] Some powerpc tests fail with -mlong-double-64

2023-06-21 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101002 --- Comment #8 from Peter Bergner --- (In reply to Peter Bergner from comment #7) > There are a few other testsuite regressions due to a linker warning the > testsuite wouldn't ignore: > > /opt/binutils-power10/bin/ld: /tmp/ccysrhL7.o uses

[Bug target/54089] [SH] Refactor shift patterns

2023-06-21 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54089 --- Comment #88 from Segher Boessenkool --- (In reply to Oleg Endo from comment #85) > > +/* { dg-final { scan-assembler > >

[Bug testsuite/101002] Some powerpc tests fail with -mlong-double-64

2023-06-21 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101002 --- Comment #7 from Peter Bergner --- (In reply to Peter Bergner from comment #6) > I'm going to test the following to see whether anything bad falls out: > > --- a/gcc/config/rs6000/rs6000-builtin.cc > +++

[Bug target/54089] [SH] Refactor shift patterns

2023-06-21 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54089 --- Comment #87 from Segher Boessenkool --- (In reply to Oleg Endo from comment #53) > (In reply to Segher Boessenkool from comment #52) > > There is TARGET_LEGITIMATE_COMBINED_INSN though, which is a workaround for > > if > > you really do not

[Bug middle-end/101836] __builtin_object_size(P->M, 1) where M is an array and the last member of a struct fails

2023-06-21 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101836 qinzhao at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug tree-optimization/101832] __builtin_object_size(P->M, 1) where M ends with a flex-array behaves like sizeof()

2023-06-21 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101832 --- Comment #11 from qinzhao at gcc dot gnu.org --- > (In reply to Jakub Jelinek from comment #3) > > This is intentional, if you embed an aggregate with flex array into another > > struct and ask not to cross the field boundaries (i.e. bos1),

[Bug c++/110358] requesting nicer suppression for Wdangling-reference

2023-06-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110358 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug c++/109642] False Positive -Wdangling-reference with std::span-like classes

2023-06-21 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109642 --- Comment #10 from Barry Revzin --- Check out the report I opened for an example where the #pragma around the whole class isn't really enough anyway - since you might want to disable the warning for specializations of class/function

[Bug fortran/110360] New: ABI issue with character,value dummy argument

2023-06-21 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110360 Bug ID: 110360 Summary: ABI issue with character,value dummy argument Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/109642] False Positive -Wdangling-reference with std::span-like classes

2023-06-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109642 --- Comment #9 from Marek Polacek --- My plan is to allow users to do #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wdangling-reference" ... #pragma GCC diagnostic pop around the *class* itself to suppress the warning, not

[Bug d/110359] New: d: Suboptimal codegen for __builtin_expect(cond, false) since PR96435

2023-06-21 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110359 Bug ID: 110359 Summary: d: Suboptimal codegen for __builtin_expect(cond, false) since PR96435 Product: gcc Version: 11.3.0 Status: UNCONFIRMED Severity:

[Bug c++/109642] False Positive -Wdangling-reference with std::span-like classes

2023-06-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109642 Andrew Pinski changed: What|Removed |Added CC||barry.revzin at gmail dot com ---

[Bug c++/110358] requesting nicer suppression for Wdangling-reference

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

[Bug c++/110358] requesting nicer suppression for Wdangling-reference

2023-06-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110358 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic --- Comment #1 from Andrew

[Bug c++/110358] New: requesting nicer suppression for Wdangling-reference

2023-06-21 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110358 Bug ID: 110358 Summary: requesting nicer suppression for Wdangling-reference Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug fortran/110350] Intrinsic handling inside nested associate blocks

2023-06-21 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110350 kargl at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug testsuite/101002] Some powerpc tests fail with -mlong-double-64

2023-06-21 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101002 --- Comment #6 from Peter Bergner --- (In reply to Peter Bergner from comment #5) > The creation of the __ibm128 type is guarded by: > > if (TARGET_LONG_DOUBLE_128 && (!TARGET_IEEEQUAD || TARGET_FLOAT128_TYPE)) > > Since the __ibm128 type

[Bug libstdc++/110357] New: [C++26] P2592R3 Hashing support for std::chrono value classes

2023-06-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110357 Bug ID: 110357 Summary: [C++26] P2592R3 Hashing support for std::chrono value classes Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug testsuite/101002] Some powerpc tests fail with -mlong-double-64

2023-06-21 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101002 --- Comment #5 from Peter Bergner --- (In reply to Peter Bergner from comment #4) > gcc.target/powerpc/pr85657-3.c > gcc.target/powerpc/signbit-1.c > pr85657-3.c:38:20: error: unknown type name ‘__ibm128’; did you mean > ‘__int128’? > > These

[Bug libstdc++/110356] New: [C++26] P2637R3 Member visit

2023-06-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110356 Bug ID: 110356 Summary: [C++26] P2637R3 Member visit Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug libstdc++/110355] std::format("{}", 1e-7) returns "1e-07" instead of "1e-7"

2023-06-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110355 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2023-06-21

[Bug libstdc++/110355] New: std::format("{}", 1e-7) returns "1e-07" instead of "1e-7"

2023-06-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110355 Bug ID: 110355 Summary: std::format("{}", 1e-7) returns "1e-07" instead of "1e-7" Product: gcc Version: 13.1.1 Status: UNCONFIRMED Keywords: wrong-code

[Bug libstdc++/110354] [C++26] P2587R3 to_string or not to_string

2023-06-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110354 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug libstdc++/110354] New: [C++26] P2587R3 to_string or not to_string

2023-06-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110354 Bug ID: 110354 Summary: [C++26] P2587R3 to_string or not to_string Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug libstdc++/110353] New: [C++26] P1383R2 More constexpr for cmath and complex

2023-06-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110353 Bug ID: 110353 Summary: [C++26] P1383R2 More constexpr for cmath and complex Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug libstdc++/110352] New: [C++26] P2630R4 submdspan

2023-06-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110352 Bug ID: 110352 Summary: [C++26] P2630R4 submdspan Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug tree-optimization/110332] [14 regression] ICE in dominated_by_p when building LLVM with -O3

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

[Bug tree-optimization/110332] [14 regression] ICE in dominated_by_p when building LLVM with -O3

2023-06-21 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110332 Sergei Trofimovich changed: What|Removed |Added CC||slyfox at gcc dot gnu.org ---

[Bug target/109989] RISC-V: Missing sign extension with int to float conversion with 64bit soft floats

2023-06-21 Thread palmer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109989 --- Comment #4 from palmer at gcc dot gnu.org --- I left some cruft in that reproducer, it should have been volatile float f[2]; int x[2]; void func() { x[0] = -1; x[1] = 2; for (int i = 0; i < 1; ++i) f[i] = x[i]; } Not sure

[Bug tree-optimization/110332] [14 regression] ICE in dominated_by_p when building LLVM with -O3

2023-06-21 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110332 --- Comment #5 from Sam James --- Created attachment 55379 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55379=edit reduced.ii

[Bug target/109989] RISC-V: Missing sign extension with int to float conversion with 64bit soft floats

2023-06-21 Thread palmer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109989 palmer at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug debug/110351] gcc does not recognize gcodeview as debuglevel

2023-06-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110351 Andrew Pinski changed: What|Removed |Added Resolution|FIXED |INVALID --- Comment #3 from Andrew

[Bug debug/110351] gcc does not recognize gcodeview as debuglevel

2023-06-21 Thread fabian_kessler at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110351 fabian_kessler at gmx dot de changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #2

[Bug debug/110351] gcc does not recognize gcodeview as debuglevel

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

[Bug debug/110351] New: gcc does not recognize gcodeview as debuglevel

2023-06-21 Thread fabian_kessler at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110351 Bug ID: 110351 Summary: gcc does not recognize gcodeview as debuglevel Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug fortran/110350] New: Intrinsic handling inside nested associate blocks

2023-06-21 Thread rimvydas.jas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110350 Bug ID: 110350 Summary: Intrinsic handling inside nested associate blocks Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/110347] [OpenMP] private/firstprivate of a C++ member variable mishandled

2023-06-21 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110347 --- Comment #1 from Tobias Burnus --- I note that for the ICE example, the OG13 compiles it without an ICE and has as result: firstprivate(this) map(tofrom:*this [len: 16]) map(firstprivate:this [pointer assign, bias: 0]) For the main

[Bug c++/110349] New: [C++26] P2169R4 - Placeholder variables with no name

2023-06-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110349 Bug ID: 110349 Summary: [C++26] P2169R4 - Placeholder variables with no name Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/110348] New: [C++26] P2741R3 - User-generated static_assert messages

2023-06-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110348 Bug ID: 110348 Summary: [C++26] P2741R3 - User-generated static_assert messages Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c++/110347] New: [OpenMP] private/firstprivate of a C++ member variable mishandled

2023-06-21 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110347 Bug ID: 110347 Summary: [OpenMP] private/firstprivate of a C++ member variable mishandled Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords:

[Bug c++/110346] New: [C++26] P2752R3 - Static storage for braced initializers

2023-06-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110346 Bug ID: 110346 Summary: [C++26] P2752R3 - Static storage for braced initializers Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c++/110345] New: [C++26] P2552R3 - On the ignorability of standard attributes

2023-06-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110345 Bug ID: 110345 Summary: [C++26] P2552R3 - On the ignorability of standard attributes Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c++/110344] New: [C++26] P2738R1 - constexpr cast from void*

2023-06-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110344 Bug ID: 110344 Summary: [C++26] P2738R1 - constexpr cast from void* Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/110343] New: [C++26] P2558R2 - Add @, $, and ` to the basic character set

2023-06-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110343 Bug ID: 110343 Summary: [C++26] P2558R2 - Add @, $, and ` to the basic character set Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c++/110342] New: [C++26] P2361R6 - Unevaluated strings

2023-06-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110342 Bug ID: 110342 Summary: [C++26] P2361R6 - Unevaluated strings Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/110341] New: [C++26] P1854R4 - Making non-encodable string literals ill-formed

2023-06-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110341 Bug ID: 110341 Summary: [C++26] P1854R4 - Making non-encodable string literals ill-formed Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/110224] Rejects valid: function reference with data pointer result as lhs in assignment

2023-06-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110224 --- Comment #10 from CVS Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:577223aebc7acdd31e62b33c1682fe54a622ae27 commit r14-2022-g577223aebc7acdd31e62b33c1682fe54a622ae27 Author: Paul Thomas Date: Wed

[Bug fortran/94380] Nested associate+select type blocks cause compiler segfault

2023-06-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94380 --- Comment #2 from CVS Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:577223aebc7acdd31e62b33c1682fe54a622ae27 commit r14-2022-g577223aebc7acdd31e62b33c1682fe54a622ae27 Author: Paul Thomas Date: Wed

[Bug fortran/107900] Select type with intrinsic type inside associate causes ICE / Segmenation fault

2023-06-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107900 --- Comment #3 from CVS Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:577223aebc7acdd31e62b33c1682fe54a622ae27 commit r14-2022-g577223aebc7acdd31e62b33c1682fe54a622ae27 Author: Paul Thomas Date: Wed

[Bug fortran/95398] ICE on invalid code

2023-06-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95398 --- Comment #6 from CVS Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:577223aebc7acdd31e62b33c1682fe54a622ae27 commit r14-2022-g577223aebc7acdd31e62b33c1682fe54a622ae27 Author: Paul Thomas Date: Wed

[Bug fortran/88688] Incorrect association in SELECT TYPE

2023-06-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88688 --- Comment #3 from CVS Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:577223aebc7acdd31e62b33c1682fe54a622ae27 commit r14-2022-g577223aebc7acdd31e62b33c1682fe54a622ae27 Author: Paul Thomas Date: Wed

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

2023-06-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87477 --- Comment #5 from CVS Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:577223aebc7acdd31e62b33c1682fe54a622ae27 commit r14-2022-g577223aebc7acdd31e62b33c1682fe54a622ae27 Author: Paul Thomas Date: Wed

[Bug c++/110340] New: [C++26] P2621R2 - Remove undefined behavior from lexing

2023-06-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110340 Bug ID: 110340 Summary: [C++26] P2621R2 - Remove undefined behavior from lexing Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/108961] Segfault when associating to pointer from C_F_POINTER

2023-06-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108961 --- Comment #5 from CVS Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:caf0892eea67349d9a1e44590c3440768136fe2b commit r14-2021-gcaf0892eea67349d9a1e44590c3440768136fe2b Author: Paul Thomas Date: Wed

[Bug libstdc++/110339] Implement C++26 library features

2023-06-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110339 Marek Polacek changed: What|Removed |Added Keywords||meta-bug Ever confirmed|0

[Bug libstdc++/110339] New: Implement C++26 library features

2023-06-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110339 Bug ID: 110339 Summary: Implement C++26 library features Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug c++/110338] Implement C++26 language features

2023-06-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110338 Marek Polacek changed: What|Removed |Added Keywords||meta-bug Alias|

[Bug c++/110338] New: Implement C++26 language features

2023-06-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110338 Bug ID: 110338 Summary: Implement C++26 language features Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug preprocessor/109704] #pragma {push,pop}_macro broken for identifiers that contain dollar signs at nonfirst positions

2023-06-21 Thread lhyatt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109704 Lewis Hyatt changed: What|Removed |Added CC||lhyatt at gcc dot gnu.org --- Comment #3

[Bug c/110337] New: Wrong code at -O2/s on x86_64-linux-gnu

2023-06-21 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110337 Bug ID: 110337 Summary: Wrong code at -O2/s on x86_64-linux-gnu Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug middle-end/110018] Missing vectorizable_conversion(unsigned char -> double) for BB vectorizer

2023-06-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110018 --- Comment #8 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:b9401c3a323c59705eca177bf72c13c0d2f462b6 commit r14-2020-gb9401c3a323c59705eca177bf72c13c0d2f462b6 Author: Uros Bizjak Date: Wed

[Bug tree-optimization/110243] [13/14 Regression] Wrong code at -O3 on x86_64-linux-gnu

2023-06-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110243 --- Comment #4 from Richard Biener --- There's now a single strip_offset left in IVOPTs, the problematic one. That one isn't trivial to convert to split_constant_offset since that only deals with pointer or sizetype quantities in a way that's

[Bug middle-end/106081] missed vectorization

2023-06-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106081 Richard Biener changed: What|Removed |Added Depends on||96208 --- Comment #5 from Richard

[Bug tree-optimization/96208] non-grouped load can be SLP vectorized for 2-element vectors case

2023-06-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96208 Richard Biener changed: What|Removed |Added Last reconfirmed||2023-06-21 Ever confirmed|0

[Bug middle-end/88873] missing vectorization for decomposed operations on a vector type

2023-06-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88873 Richard Biener changed: What|Removed |Added CC||linkw at gcc dot gnu.org,

[Bug tree-optimization/110251] [13/14 Regression] Hang at -O3 on x86_64-linux-gnu

2023-06-21 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110251 --- Comment #5 from Andrew Macleod --- hmm. yeah. its triggering some kind of pathological edge evaluation between GORI and cache updating. There is a long sequence of dependent stmts, presumably the unrolled loop, and a sequential series of

[Bug tree-optimization/46006] vectorization outside of loops starting from loads

2023-06-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46006 Richard Biener changed: What|Removed |Added Last reconfirmed|2021-08-24 00:00:00 |2023-6-21 --- Comment #4 from Richard

[Bug tree-optimization/110062] missed vectorization in graphicsmagick

2023-06-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110062 --- Comment #9 from Richard Biener --- Note SLPing k[u] won't help to reduce the VF, only selecting a smaller vector size would. The alternative is to have a power-of-two group size by using masking for the 'opacity' field.

[Bug fortran/110311] [14 Regression] gfortran 14.0 regression

2023-06-21 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110311 --- Comment #7 from Jürgen Reuter --- The problem seems really connected to optimization, if I compile our code with -g -O0 or -g -O1, everything works ok. Next, I will try to check why it is actually failing (my guess, unconfirmed yet, is that

[Bug tree-optimization/105651] [12 Regression] bogus "may overlap" memcpy warning with std::string and operator+ at -O3

2023-06-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105651 --- Comment #29 from Jonathan Wakely --- I've pushed the workaround from comment 17 to the gcc-12 branch.

[Bug tree-optimization/105651] [12 Regression] bogus "may overlap" memcpy warning with std::string and operator+ at -O3

2023-06-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105651 --- Comment #28 from CVS Commits --- The releases/gcc-12 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:636795a6dfc17ead7b22b9f76b0fc47bdb9d357d commit r12-9716-g636795a6dfc17ead7b22b9f76b0fc47bdb9d357d Author: Jason

[Bug tree-optimization/110062] missed vectorization in graphicsmagick

2023-06-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110062 --- Comment #8 from Richard Biener --- Since r14-2007-g6f19cf7526168f we now vectorize the loop but without SLP which means we get interleaving and a vectorization factor of 64. Turning off loop vectorization yields the following which is now

[Bug target/54089] [SH] Refactor shift patterns

2023-06-21 Thread klepikov.alex+bugs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54089 --- Comment #86 from Alexander Klepikov --- (In reply to Oleg Endo from comment #85) >For now, can you try to run the style check script on your changes? Thank you, that's what I've been missing! > > bool > > expand_ashiftrt (rtx *operands) >

[Bug rtl-optimization/110307] ICE in move_insn, at haifa-sched.cc:5473 when building Ruby on alpha with -fPIC -O2 (or -fpeephole2 -fschedule-insns2)

2023-06-21 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110307 --- Comment #8 from Alexander Monakov --- REG_EH_REGION is handled further down that function, but copy_reg_eh_region_note_backward does not copy the note. Perhaps it needs diff --git a/gcc/except.cc b/gcc/except.cc index

  1   2   >