[Bug libstdc++/88935] std::random_shuffle does not work if the sequence is longer than RAND_MAX elements

2024-06-18 Thread agriff at tin dot it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88935 Andrea Griffini changed: What|Removed |Added CC||agriff at tin dot it --- Comment #12 f

[Bug debug/115543] DWARF call_site_parameter entries are not generated for stack-passed parameters

2024-06-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115543 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/115548] New: ICE: verify_cgraph_node failed with attribute malloc and simd enabled

2024-06-18 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115548 Bug ID: 115548 Summary: ICE: verify_cgraph_node failed with attribute malloc and simd enabled Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/115528] [15 regression] segmentation fault in legacy F77 code

2024-06-18 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115528 --- Comment #8 from Jürgen Reuter --- (In reply to Jürgen Reuter from comment #6) > (In reply to kargls from comment #5) > > (In reply to Jürgen Reuter from comment #4) > > > Created attachment 58462 [details] > > > Input file that triggers the

[Bug tree-optimization/115547] `(a ^ c) & (a | c)` -> `a ^ c` not done on the gimple/tree level

2024-06-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115547 Andrew Pinski changed: What|Removed |Added See Also||https://github.com/llvm/llv

[Bug tree-optimization/115547] New: `(a ^ c) & (a | c)` -> `a ^ c` not done on the gimple/tree level

2024-06-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115547 Bug ID: 115547 Summary: `(a ^ c) & (a | c)` -> `a ^ c` not done on the gimple/tree level Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimi

[Bug testsuite/115545] [15 regression] missing/excess errors after r15-1394

2024-06-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115545 --- Comment #4 from Andrew Pinski --- (In reply to uecker from comment #3) > And I introduced a similar issue with PR115157. Except that was about enum where here we are talking about size of long. You could have tested on x86_64 with -m32 to g

[Bug testsuite/115545] [15 regression] missing/excess errors after r15-1394

2024-06-18 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115545 uecker at gcc dot gnu.org changed: What|Removed |Added CC||uecker at gcc dot gnu.org

[Bug target/101017] ICE: Segmentation fault, convert_memory_address_addr_space_1 with vector_size(32) and target_clone arch=core-avx2/default

2024-06-18 Thread haochen.jiang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101017 --- Comment #8 from Haochen Jiang --- One potential solution is to let the resolver ISA level becomes the highest one in target_clones instead of the default one. Then it will not get the memory/register mismatch when passing/returning argument

[Bug c++/87178] Compilation failure when program contains multiple variables allocated in particular section, and at least one variable is C++17 "inline"

2024-06-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87178 Andrew Pinski changed: What|Removed |Added CC||nikhilg1 at uci dot edu --- Comment #10

[Bug c++/115546] [14.1.0 Regression] Section Type Conflict Error

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

[Bug c++/41091] Using section attribute in c and c++ function causes section type conflict

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

[Bug c++/87178] Compilation failure when program contains multiple variables allocated in particular section, and at least one variable is C++17 "inline"

2024-06-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87178 Andrew Pinski changed: What|Removed |Added CC||mark at gcc dot gnu.org --- Comment #9 f

[Bug c++/115546] [14.1.0 Regression] Section Type Conflict Error

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

[Bug c++/115546] [14.1.0 Regression] Section Type Conflict Error

2024-06-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115546 --- Comment #2 from Andrew Pinski --- But starting with GCC 14, they are not ignored. In this case you have one variable that is in a comdat section named "A" and another one which is in a regular section named "A" which conflict.

[Bug c++/115546] [14.1.0 Regression] Section Type Conflict Error

2024-06-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115546 --- Comment #1 from Andrew Pinski --- the section attribute was ignored before GCC 14.

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

2024-06-18 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114759 Peter Bergner changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug testsuite/115545] [15 regression] missing/excess errors after r15-1394

2024-06-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115545 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-06-18 Status|UNCONFIRM

[Bug target/101324] powerpc64le: hashst appears before mflr at -O1 or higher

2024-06-18 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101324 --- Comment #27 from Peter Bergner --- FYI, as part of the work for PR114759, I have come to the conclusion that disabling shrink-wrapping in the presence of -mrop-protect is a big hammer and we shouldn't really need to do that. I plan on "fixi

[Bug testsuite/115545] [15 regression] missing/excess errors after r15-1394

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

[Bug c++/115546] New: [14.1.0 Regression] Section Type Conflict Error

2024-06-18 Thread nikhilg1 at uci dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115546 Bug ID: 115546 Summary: [14.1.0 Regression] Section Type Conflict Error Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug other/115545] [15 regression] missing/excess errors after r15-1394

2024-06-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115545 Andrew Pinski changed: What|Removed |Added Summary|[15 regression] |[15 regression] |miss

[Bug libstdc++/115497] [15 Regression] __is_pointer doesn't compile with clang since 014879ea4c86b3b8ab6b61a1226ee5b31e816c8b

2024-06-18 Thread richard-gccbugzilla at metafoo dot co.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115497 --- Comment #15 from Richard Smith --- (In reply to Jonathan Wakely from comment #14) > I assume clang doesn't have __is_arithmetic, __is_scalar and __is_void > built-ins yet, because also defines class templates > with those names. Clang has

[Bug other/115545] New: [15 regression] missing/excess errors after r15-1395-g01044471ea39f9

2024-06-18 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115545 Bug ID: 115545 Summary: [15 regression] missing/excess errors after r15-1395-g01044471ea39f9 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug ada/115535] negative value returned by 'Image applied to array with nonnegative integer component

2024-06-18 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115535 Eric Botcazou changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/115544] ICE: in lower_complexexpr_stmt, at gimple-lower-bitint.cc:4719 with -O -fno-tree-fre -fno-tree-ccp -fno-tree-forwprop and _BitInt() __builtin_mul_overflow()

2024-06-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115544 --- Comment #3 from Andrew Pinski --- Note the gimple stmt/complex_expr in this case: _6 = COMPLEX_EXPR ; where _6 is fully unused. Complex lowering changes: _6 = COMPLEX_EXPR ; _2 = REALPART_EXPR <_6>; into: _6 = COMPLEX_EXPR ; _2

[Bug ada/115507] bogus Constraint_Error for Wide_Wide_Value with wide enumeration literal

2024-06-18 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115507 Eric Botcazou changed: What|Removed |Added Summary|'Wide_Wide_Value failed for |bogus Constraint_Error for

[Bug middle-end/115528] [15 regression] segmentation fault in legacy F77 code

2024-06-18 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115528 --- Comment #7 from Jürgen Reuter --- First data point: after the commit from Uros, https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=8bb6b2f4ae19c3aab7d7a5e5c8f5965f89d90e01 at Sun, 9 Jun 2024 10:09:13 all was still fine.

[Bug middle-end/115528] [15 regression] segmentation fault in legacy F77 code

2024-06-18 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115528 --- Comment #6 from Jürgen Reuter --- (In reply to kargls from comment #5) > (In reply to Jürgen Reuter from comment #4) > > Created attachment 58462 [details] > > Input file that triggers the test case with segmentation fault > > > > This test

[Bug tree-optimization/115544] ICE: in lower_complexexpr_stmt, at gimple-lower-bitint.cc:4719 with -O -fno-tree-fre -fno-tree-ccp -fno-tree-forwprop and _BitInt() __builtin_mul_overflow()

2024-06-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115544 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-06-18 Status|UNCONFIRM

[Bug tree-optimization/115544] ICE: in lower_complexexpr_stmt, at gimple-lower-bitint.cc:4719 with -O -fno-tree-fre -fno-tree-ccp -fno-tree-forwprop and _BitInt() __builtin_mul_overflow()

2024-06-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115544 Andrew Pinski changed: What|Removed |Added Host|x86_64-pc-linux-gnu | Target|x86_64-pc-linux-gnu

[Bug c++/58074] [C++11][DR 1333] __is_trivial intrinsic fails for deleted members and for non-trivial copy-c'tors

2024-06-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58074 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug libstdc++/115497] [15 Regression] __is_pointer doesn't compile with clang since 014879ea4c86b3b8ab6b61a1226ee5b31e816c8b

2024-06-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115497 --- Comment #14 from Jonathan Wakely --- I assume clang doesn't have __is_arithmetic, __is_scalar and __is_void built-ins yet, because also defines class templates with those names. At least __are_same, __is_integer and __is_floating don't cla

[Bug libstdc++/103191] vector doesn't have any checks enabled by _GLIBCXX_ASSERTIONS

2024-06-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103191 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |15.0 Assignee|unassigned at

[Bug fortran/115390] Bogus -Wuninitialized warning when using CHARACTER(*) argument in BIND(C) function

2024-06-18 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115390 anlauf at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 Assignee|unassi

[Bug libstdc++/111250] __glibcxx_requires_subscript assertions are not checked during constant evaluation

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

[Bug libstdc++/115497] [15 Regression] __is_pointer doesn't compile with clang since 014879ea4c86b3b8ab6b61a1226ee5b31e816c8b

2024-06-18 Thread richard-gccbugzilla at metafoo dot co.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115497 Richard Smith changed: What|Removed |Added CC||richard-gccbugzilla@metafoo

[Bug c++/108769] [C++20] __is_trivial returns true even if a default constructor's constraints are unsatisfied

2024-06-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108769 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/96288] [DR 1734] __is_trivial and __is_trivially_copyable fails for deleted members

2024-06-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96288 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Ever con

[Bug middle-end/115544] New: ICE: in lower_complexexpr_stmt, at gimple-lower-bitint.cc:4719 with -O -fno-tree-fre -fno-tree-ccp -fno-tree-forwprop and _BitInt() __builtin_mul_overflow()

2024-06-18 Thread zsojka at seznam dot cz via Gcc-bugs
r15-1418-20240618085924-gadadb5c7ba0-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20240618 (experimental) (GCC)

[Bug middle-end/115534] intermediate stack use not eliminated

2024-06-18 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115534 --- Comment #5 from Tamar Christina --- (In reply to Andrew Pinski from comment #4) > This might be improved by > https://gcc.gnu.org/pipermail/gcc-patches/2024-June/654819.html . Or it > might be the case the vectorizer case needs to be improve

[Bug debug/115543] DWARF call_site_parameter entries are not generated for stack-passed parameters

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

[Bug middle-end/115528] [15 regression] segmentation fault in legacy F77 code

2024-06-18 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115528 kargls at comcast dot net changed: What|Removed |Added CC||kargls at comcast dot net --

[Bug c++/115358] [13/14/15 Regression] template argument deduction/substitution failed in generic lambda function use of static constexpr array type whos initializer defines the size since r13-2540

2024-06-18 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115358 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug middle-end/115534] intermediate stack use not eliminated

2024-06-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115534 --- Comment #4 from Andrew Pinski --- This might be improved by https://gcc.gnu.org/pipermail/gcc-patches/2024-June/654819.html . Or it might be the case the vectorizer case needs to be improved afterwards. But I think that is the infrastructure

[Bug middle-end/115534] intermediate stack use not eliminated

2024-06-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115534 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-06-18 Status|UNCONFIRM

[Bug c++/115504] [14/15 Regression] Wrong decltype result for a captured reference inside lambda since r14-5330

2024-06-18 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115504 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/85723] [C++17][DR 1496] __is_trivial intrinsic fails with no trivial non-deleted default c'tor

2024-06-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85723 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c/115543] New: DWARF call_site_parameter entries are not generated for stack-passed parameters

2024-06-18 Thread spevnev16 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115543 Bug ID: 115543 Summary: DWARF call_site_parameter entries are not generated for stack-passed parameters Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severi

[Bug middle-end/32667] block copy with exact overlap is expanded as memcpy

2024-06-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32667 Andrew Pinski changed: What|Removed |Added See Also||https://github.com/llvm/llv

[Bug middle-end/32667] block copy with exact overlap is expanded as memcpy

2024-06-18 Thread lopresti at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32667 --- Comment #64 from Patrick J. LoPresti --- The C (and POSIX) standards have had "restrict" on the arguments to memcpy() since C99. So calling it with overlapping arguments is undefined behavior and always has been. This bug should be trivial t

[Bug c++/85723] [C++17][DR 1496] __is_trivial intrinsic fails with no trivial non-deleted default c'tor

2024-06-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85723 --- Comment #4 from Andrew Pinski --- (In reply to Jonathan Wakely from comment #3) > And again, causing PR 115522 oh and clang has not implemented this DR either which made me think that was more of a libstdc++ issue :).

[Bug fortran/115542] New: Invalid finalization in derived type containing allocatable entities

2024-06-18 Thread federico.perini at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115542 Bug ID: 115542 Summary: Invalid finalization in derived type containing allocatable entities Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/32667] block copy with exact overlap is expanded as memcpy

2024-06-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32667 Andrew Pinski changed: What|Removed |Added CC||mikulas at artax dot karlin.mff.cu

[Bug middle-end/115541] gcc generates calls to memcpy that violate the memcpy specification

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

[Bug middle-end/115541] New: gcc generates calls to memcpy that violate the memcpy specification

2024-06-18 Thread mikulas at artax dot karlin.mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115541 Bug ID: 115541 Summary: gcc generates calls to memcpy that violate the memcpy specification Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/115539] Misoptimization of application at -O2 -g on x86-64 causing segfaults on valid memory accesses where it works on both clang and gcc at -g (no -O2)

2024-06-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115539 Andrew Pinski changed: What|Removed |Added Component|c |middle-end Keywords|

[Bug tree-optimization/115537] [15 Regression] vectorizable_reduction ICEs after g:d66b820f392aa9a7c34d3cddaf3d7c73bf23f82d

2024-06-18 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115537 --- Comment #6 from rguenther at suse dot de --- > Am 18.06.2024 um 16:11 schrieb tnfchris at gcc dot gnu.org > : > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115537 > > --- Comment #5 from Tamar Christina --- > Thanks for the fix! > >

[Bug middle-end/115527] -ftrivial-auto-var-init appears to clobber explicit initializer

2024-06-18 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115527 qinzhao at gcc dot gnu.org changed: What|Removed |Added CC||qinzhao at gcc dot gnu.org

[Bug c++/115476] [13/14/15 Regression] __has_unique_object_representation ICE with array of uninstantiated type of unknown bound

2024-06-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115476 --- Comment #8 from Marek Polacek --- Patch posted: https://gcc.gnu.org/pipermail/gcc-patches/2024-June/654985.html but I'm not changing __has_trivial_destructor in that patch. That and its kin are extensions: https://gcc.gnu.org/onlinedocs/gcc

[Bug target/115458] [15 regression] [RISC-V] ICE in lra_split_hard_reg_for, at lra-assigns.cc:1868 unable to find a register to spill since r15-518-g99b1daae18c095

2024-06-18 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115458 --- Comment #5 from Li Pan --- (In reply to Richard Biener from comment #4) > The bisected rev only exposes this. Thanks Richard for hint, will take a look into it.

[Bug tree-optimization/115537] [15 Regression] vectorizable_reduction ICEs after g:d66b820f392aa9a7c34d3cddaf3d7c73bf23f82d

2024-06-18 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115537 --- Comment #5 from Tamar Christina --- Thanks for the fix! I think the testcase needs SVE enabled to ICE no? shouldn't that be -mcpu=neoverse-v1 and not -mcpu=neoverse-n1?

[Bug c++/115501] [13/14/15 Regression] ICE: in build_call_a with dynamic_cast after invalid definition of __cxxabiv1::__dynamic_cast since r13-3299

2024-06-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115501 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/115537] [15 Regression] vectorizable_reduction ICEs after g:d66b820f392aa9a7c34d3cddaf3d7c73bf23f82d

2024-06-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115537 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/115537] [15 Regression] vectorizable_reduction ICEs after g:d66b820f392aa9a7c34d3cddaf3d7c73bf23f82d

2024-06-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115537 --- Comment #3 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:7f9be55a4630134a237219af9cc8143e02080380 commit r15-1407-g7f9be55a4630134a237219af9cc8143e02080380 Author: Richard Biener Date:

[Bug modula2/115540] New: "gcc/m2/mc-boot-ch/Gtermios.cc:292:20: error: return-statement with a value, in function returning 'void' [-fpermissive]" when HAVE_CFMAKERAW is defined

2024-06-18 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115540 Bug ID: 115540 Summary: "gcc/m2/mc-boot-ch/Gtermios.cc:292:20: error: return-statement with a value, in function returning 'void' [-fpermissive]" when HAVE_CFMAKERAW is defined

[Bug middle-end/115534] intermediate stack use not eliminated

2024-06-18 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115534 --- Comment #2 from Tamar Christina --- (In reply to Andrew Pinski from comment #1) > I suspect there is a dup of this already. See the bug which I made this one > blocking for a list of related bugs. Most of the other bugs relate to the argume

[Bug c/115539] Misoptimization of application at -O2 -g on x86-64 causing segfaults on valid memory accesses where it works on both clang and gcc at -g (no -O2)

2024-06-18 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115539 Sam James changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0

[Bug c/115539] Misoptimization of application at -O2 -g on x86-64 causing segfaults on valid memory accesses where it works on both clang and gcc at -g (no -O2)

2024-06-18 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115539 --- Comment #6 from Sam James --- (In reply to Sam James from comment #5) > fastreadl_fetch in particular looks aliasing unsafe, let alone the rest. The code looks derived from 86box or similar. They build with -fno-strict-aliasing: https://git

[Bug libstdc++/115522] [13/14/15 Regression] std::to_array no longer works for struct which is trivial but not default constructible

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

[Bug c/115539] Misoptimization of application at -O2 -g on x86-64 causing segfaults on valid memory accesses where it works on both clang and gcc at -g (no -O2)

2024-06-18 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115539 --- Comment #5 from Sam James --- fastreadl_fetch in particular looks aliasing unsafe, let alone the rest.

[Bug middle-end/115534] intermediate stack use not eliminated

2024-06-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115534 Andrew Pinski changed: What|Removed |Added Component|tree-optimization |middle-end Severity|normal

[Bug tree-optimization/115534] intermediate stack use not eliminated

2024-06-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115534 --- Comment #1 from Andrew Pinski --- I suspect there is a dup of this already. See the bug which I made this one blocking for a list of related bugs.

[Bug c/115539] Misoptimization of application at -O2 -g on x86-64 causing segfaults on valid memory accesses where it works on both clang and gcc at -g (no -O2)

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

[Bug c++/85723] [C++17][DR 1496] __is_trivial intrinsic fails with no trivial non-deleted default c'tor

2024-06-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85723 --- Comment #3 from Jonathan Wakely --- And again, causing PR 115522

[Bug libstdc++/115522] [13/14/15 Regression] std::to_array no longer works for struct which is trivial but not default constructible

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

[Bug c/115539] Misoptimization of application at -O2 -g on x86-64 causing segfaults on valid memory accesses where it works on both clang and gcc at -g (no -O2)

2024-06-18 Thread melodygoad18 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115539 --- Comment #3 from fuel --- Created attachment 58463 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58463&action=edit Preprocessed source

[Bug c/115539] Misoptimization of application at -O2 -g on x86-64 causing segfaults on valid memory accesses where it works on both clang and gcc at -g (no -O2)

2024-06-18 Thread melodygoad18 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115539 fuel changed: What|Removed |Added CC||melodygoad18 at gmail dot com --- Comment #2 fro

[Bug tree-optimization/115537] [15 Regression] vectorizable_reduction ICEs after g:d66b820f392aa9a7c34d3cddaf3d7c73bf23f82d

2024-06-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115537 --- Comment #2 from Richard Biener --- So w/o SLP we reject this with if ((double_reduc || reduction_type != TREE_CODE_REDUCTION) && ncopies > 1) { if (dump_enabled_p ()) dump_printf_loc (MSG_MISSED_OPTIMIZATI

[Bug c/115539] Misoptimization of application at -O2 -g on x86-64 causing segfaults on valid memory accesses where it works on both clang and gcc at -g (no -O2)

2024-06-18 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115539 --- Comment #1 from Andreas Schwab --- Please read https://gcc.gnu.org/bugs/ and follow the instructions.

[Bug c/115539] New: Misoptimization of application at -O2 -g on x86-64 causing segfaults on valid memory accesses where it works on both clang and gcc at -g (no -O2)

2024-06-18 Thread melodygoad18 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115539 Bug ID: 115539 Summary: Misoptimization of application at -O2 -g on x86-64 causing segfaults on valid memory accesses where it works on both clang and gcc at -g (no -O2) Pr

[Bug tree-optimization/115537] [15 Regression] vectorizable_reduction ICEs after g:d66b820f392aa9a7c34d3cddaf3d7c73bf23f82d

2024-06-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115537 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.0 Status|UNCONFIRMED

[Bug tree-optimization/115538] New: wrong-code with SLP vectorization of conversions

2024-06-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115538 Bug ID: 115538 Summary: wrong-code with SLP vectorization of conversions Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug libstdc++/115514] Nonconforming reverse_iterator::operator->

2024-06-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115514 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/115517] Fix x86 regressions after dropping uses of vcond{,u,eq}_optab

2024-06-18 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115517 --- Comment #6 from Hongtao Liu --- (In reply to rguent...@suse.de from comment #5) > On Tue, 18 Jun 2024, liuhongt at gcc dot gnu.org wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115517 > > > > --- Comment #4 from Hongtao Liu --

[Bug target/115464] [14 Backport] ICE when building libaom on arm64 (neon sve bridge usage with tbl/perm)

2024-06-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115464 --- Comment #12 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:6bd4fbae45d11795a9a6f54b866308d4d7134def commit r15-1399-g6bd4fbae45d11795a9a6f54b866308d4d7134def Author: Richard Sandiford D

[Bug target/115517] Fix x86 regressions after dropping uses of vcond{,u,eq}_optab

2024-06-18 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115517 --- Comment #5 from rguenther at suse dot de --- On Tue, 18 Jun 2024, liuhongt at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115517 > > --- Comment #4 from Hongtao Liu --- > (In reply to rguent...@suse.de from comme

[Bug libstdc++/115514] Nonconforming reverse_iterator::operator->

2024-06-18 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115514 Jiang An changed: What|Removed |Added CC||de34 at live dot cn --- Comment #3 from Jian

[Bug tree-optimization/115537] New: [15 Regression] vectorizable_reduction ICEs after g:d66b820f392aa9a7c34d3cddaf3d7c73bf23f82d

2024-06-18 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115537 Bug ID: 115537 Summary: [15 Regression] vectorizable_reduction ICEs after g:d66b820f392aa9a7c34d3cddaf3d7c73bf23f82d Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug target/115517] Fix x86 regressions after dropping uses of vcond{,u,eq}_optab

2024-06-18 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115517 --- Comment #4 from Hongtao Liu --- (In reply to rguent...@suse.de from comment #3) > On Tue, 18 Jun 2024, liuhongt at gcc dot gnu.org wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115517 > > > > --- Comment #2 from Hongtao Liu --

[Bug c/115109] Incorrect type of enumeration constant in redeclaration of enumeration constant (C23)

2024-06-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115109 --- Comment #8 from GCC Commits --- The master branch has been updated by Martin Uecker : https://gcc.gnu.org/g:c9b96a68860bfdee49d40b4a844af7c5ef69cd12 commit r15-1394-gc9b96a68860bfdee49d40b4a844af7c5ef69cd12 Author: Martin Uecker Date: S

[Bug target/115517] Fix x86 regressions after dropping uses of vcond{,u,eq}_optab

2024-06-18 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115517 --- Comment #3 from rguenther at suse dot de --- On Tue, 18 Jun 2024, liuhongt at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115517 > > --- Comment #2 from Hongtao Liu --- > (In reply to Richard Biener from comment

[Bug middle-end/115528] [15 regression] segmentation fault in legacy F77 code

2024-06-18 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115528 --- Comment #4 from Jürgen Reuter --- Created attachment 58462 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58462&action=edit Input file that triggers the test case with segmentation fault This test case needs Whizard 3.1.4 to be downlo

[Bug modula2/115536] Expression is evaluated incorrectly when encountering relops and indirection

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

[Bug ipa/115533] [12/13/14/15 regression] flac miscompiled with -O3 -march=znver2 -fipa-pta -fno-vect-cost-model

2024-06-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115533 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org

[Bug modula2/115536] New: Expression is evaluated incorrectly when encountering relops and indirection

2024-06-18 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115536 Bug ID: 115536 Summary: Expression is evaluated incorrectly when encountering relops and indirection Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: n

[Bug rtl-optimization/114996] [15 Regression] [RISC-V] 2->2 combination no longer occurring

2024-06-18 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114996 Richard Sandiford changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org --- Com

[Bug libstdc++/115514] Nonconforming reverse_iterator::operator->

2024-06-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115514 --- Comment #2 from Jonathan Wakely --- The constraint on reverse_iterator::operator->() checks it for an lvalue, which suggests nobody considered (or cared) about annoying iterators that do something different for lvalues and rvalues. I'm incl

[Bug libstdc++/115514] Nonconforming reverse_iterator::operator->

2024-06-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115514 --- Comment #1 from Jonathan Wakely --- (In reply to frankhb1989 from comment #0) > (Another difference is it only applies the resolution for C++17 onward.) C++20 onward, I think.

[Bug target/115517] Fix x86 regressions after dropping uses of vcond{,u,eq}_optab

2024-06-18 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115517 --- Comment #2 from Hongtao Liu --- (In reply to Richard Biener from comment #1) > Btw, I had opened PR115490 with my results for this already. Some mitigation > should be from optimizing ISEL expansion to vcond_mask and I'd start with > lookin

  1   2   >