https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66618
--- Comment #9 from Alex Henrie ---
(In reply to Andrew Pinski from comment #7)
> (In reply to Alex Henrie from comment #6)
> > This wasn't fixed properly, or it was broken again before the release of GCC
> > 8.1: In GCC 8.1 and later no warning
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66618
--- Comment #8 from Andrew Pinski ---
(In reply to Andrew Pinski from comment #7)
> (In reply to Alex Henrie from comment #6)
> > This wasn't fixed properly, or it was broken again before the release of GCC
> > 8.1: In GCC 8.1 and later no
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66618
--- Comment #7 from Andrew Pinski ---
(In reply to Alex Henrie from comment #6)
> This wasn't fixed properly, or it was broken again before the release of GCC
> 8.1: In GCC 8.1 and later no warning at all is issued for the example
> program,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66618
Alex Henrie changed:
What|Removed |Added
CC||alexhenrie24 at gmail dot com
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66618
Jakub Jelinek changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66618
--- Comment #4 from Jakub Jelinek ---
Author: jakub
Date: Sun Nov 19 17:17:01 2017
New Revision: 254930
URL: https://gcc.gnu.org/viewcvs?rev=254930=gcc=rev
Log:
PR c/66618
PR c/69960
c-family/
* c-common.h
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66618
--- Comment #3 from Keith Thompson Keith.S.Thompson at gmail dot com ---
It would be easier to argue that gcc accepts other forms of constant
expressions if (a) those other forms were documented and (b) they were
accepted at all optimization
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66618
Marek Polacek mpolacek at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66618
--- Comment #2 from joseph at codesourcery dot com joseph at codesourcery dot
com ---
Although diagnosing this probably makes sense, it's not required by the
standard (An implementation may accept other forms of constant
expressions. - and