https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99456
--- Comment #17 from GCC Commits ---
The trunk branch has been updated by Jason Merrill :
https://gcc.gnu.org/g:e6ae0de72ef696c4016cc66c53a4aa49a1e900a6
commit r16-55-ge6ae0de72ef696c4016cc66c53a4aa49a1e900a6
Author: Jason Merrill
Date: Wed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99456
cqwrteur changed:
What|Removed |Added
CC||unlvsur at live dot com
--- Comment #16 from
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99456
Jakub Jelinek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99456
--- Comment #14 from CVS Commits ---
The master branch has been updated by Jakub Jelinek :
https://gcc.gnu.org/g:82bb66730bc42b8694fdebef607ea6e49e8496bf
commit r11-7740-g82bb66730bc42b8694fdebef607ea6e49e8496bf
Author: Jakub Jelinek
Date: F
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99456
Jakub Jelinek changed:
What|Removed |Added
Attachment #50331|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99456
--- Comment #12 from Jakub Jelinek ---
Unfortunately the #c9 patch caused
+FAIL: g++.dg/cpp1y/constexpr-82304.C -std=c++14 (test for errors, line 9)
+FAIL: g++.dg/cpp1y/constexpr-82304.C -std=c++17 (test for errors, line 9)
+FAIL: g++.dg/cpp1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99456
--- Comment #11 from Nathan Sidwell ---
gcc11-pr99456.patch looks good, can we add a scan-not for the _ZGV guard
variables too? If the optimizer's turned on, I think __static_init... gets
inlined into the global constructor, might be good to mak
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99456
Jakub Jelinek changed:
What|Removed |Added
Attachment #50330|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99456
Jakub Jelinek changed:
What|Removed |Added
Last reconfirmed||2021-03-08
Status|UNCONFIRME
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99456
--- Comment #8 from Jakub Jelinek ---
I'm not misreading the testcase, I'm just reacting on the fact that my patch
changed the behavior of it and looking into related issues when analyzing why.
It is up to the compiler to decide if it can or can'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99456
--- Comment #7 from Nathan Sidwell ---
You're misreading this particular testcase. I don't believe it contains
anything invalid -- the only constexpr is on:
static constexpr unsigned &descRef = desc;
(and I don't think it's necessary there, bu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99456
--- Comment #6 from Jakub Jelinek ---
Another thing is that perhaps we should be rejecting reinterpret_cast only in
the
pedantic constant expression evaluation mode, not when we allow extensions and
fold as much as we can. So something like (inc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99456
--- Comment #5 from Jakub Jelinek ---
Created attachment 50330
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50330&action=edit
gcc11-pr99456.patch
On one side, we have still accepts-invalid issue, e.g. in your testcase:
constexpr inline C
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99456
--- Comment #4 from Nathan Sidwell ---
It's an ABI issue, because all compilers must agree on which parts of an inline
object are dynamically initialized. (gcc-11 does not agree with gcc-10).
consider:
inline Type Var = Expr;
That'll be emitt
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99456
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99456
Richard Biener changed:
What|Removed |Added
Keywords||missed-optimization
Priority|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99456
Andrew Pinski changed:
What|Removed |Added
Keywords||ABI
Target Milestone|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99456
--- Comment #2 from Nathan Sidwell ---
Created attachment 50328
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50328&action=edit
trunk output (unoptimized)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99456
--- Comment #1 from Nathan Sidwell ---
Created attachment 50327
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50327&action=edit
gcc-10 output (unoptimized)
19 matches
Mail list logo