[Bug c++/83060] ICE on valid C++ code: in ignore_overflows, at cp/cvt.c:583

2021-09-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83060 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |7.4 Resolution|---

[Bug c++/83060] ICE on valid C++ code: in ignore_overflows, at cp/cvt.c:583

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83060 --- Comment #7 from Andrew Pinski --- The ICE is gone in GCC 8+.

[Bug c++/83060] ICE on valid C++ code: in ignore_overflows, at cp/cvt.c:583

2017-11-21 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83060 --- Comment #6 from joseph at codesourcery dot com --- I'd say for C it's valid to reject &a.s[-1] and &a.s[__PTRDIFF_MAX__] in static initializers, because there is no guarantee that such addresses are valid values of the pointer type (only po

[Bug c++/83060] ICE on valid C++ code: in ignore_overflows, at cp/cvt.c:583

2017-11-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83060 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #5

[Bug c++/83060] ICE on valid C++ code: in ignore_overflows, at cp/cvt.c:583

2017-11-20 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83060 --- Comment #4 from Nathan Sidwell --- I recall discussion years back that concluded the int *p = &a.s[-1]; case was well formed (there being no access specifier between the two fields). Of course the validity of the argument may have changed

[Bug c++/83060] ICE on valid C++ code: in ignore_overflows, at cp/cvt.c:583

2017-11-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83060 Jakub Jelinek changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug c++/83060] ICE on valid C++ code: in ignore_overflows, at cp/cvt.c:583

2017-11-20 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83060 --- Comment #2 from Paolo Carlini --- Related to PR82872?

[Bug c++/83060] ICE on valid C++ code: in ignore_overflows, at cp/cvt.c:583

2017-11-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83060 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|