https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104601
--- Comment #12 from CVS Commits ---
The master branch has been updated by Jakub Jelinek :
https://gcc.gnu.org/g:9251b457eb8df912f2e8203d0ee8ab300c041520
commit r12-7371-g9251b457eb8df912f2e8203d0ee8ab300c041520
Author: Jakub Jelinek
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104601
Jakub Jelinek changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104601
--- Comment #10 from Jakub Jelinek ---
But:
--- gcc/tree-ssa-sccvn.cc.jj2022-02-11 00:19:22.432063254 +0100
+++ gcc/tree-ssa-sccvn.cc 2022-02-23 16:16:25.873557626 +0100
@@ -5218,7 +5218,11 @@ visit_reference_op_call (tree lhs, gcall
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104601
--- Comment #9 from Jakub Jelinek ---
But
--- gcc/tree-ssa-sccvn.cc.jj2022-02-11 00:19:22.432063254 +0100
+++ gcc/tree-ssa-sccvn.cc 2022-02-23 16:07:36.697893998 +0100
@@ -5218,7 +5218,11 @@ visit_reference_op_call (tree lhs, gcall
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104601
Jakub Jelinek changed:
What|Removed |Added
CC||rguenth at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104601
Richard Biener changed:
What|Removed |Added
Priority|P3 |P2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104601
--- Comment #7 from Jakub Jelinek ---
And it ICEs again with -O2 -fno-ipa-pure-const if I add [[gnu::const]]
or [[gnu::pure]] attribute to f.
The function seems to be const in that it only returns the result and doesn't
access any other memory,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104601
--- Comment #6 from Jakub Jelinek ---
-O2 -fno-ipa-pure-const helps though and the patch affected both.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104601
--- Comment #5 from Andrew Pinski ---
But adding noipa to f does though:
[[gnu::noipa]]
std::optional f() { return 1; }
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104601
--- Comment #4 from Andrew Pinski ---
(In reply to Jakub Jelinek from comment #2)
> This changed with r11-3408-ge977dd5edbcc3a3b88c3bd7efa1026c845af7487
Hmm, even -fno-ipa-modref does not prevent the wrong code from showing up.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104601
--- Comment #3 from Jakub Jelinek ---
Testcase without the unneeded which aborts if miscompiled.
#include
#include
inline std::optional a(std::vector::iterator b,
std::vector::iterator c,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104601
Jakub Jelinek changed:
What|Removed |Added
Last reconfirmed||2022-02-18
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104601
Andrew Pinski changed:
What|Removed |Added
Summary|[11 Regression] Invalid |[11/12 Regression] Invalid
13 matches
Mail list logo