[Bug c/96810] This is a case that gcc shoud not compile successfully, but gcc acts opposite.

2020-09-02 Thread weiwt.fnst at cn dot fujitsu.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96810 --- Comment #5 from Wei Wentao --- Sorry for the last comment.I don't know how this happened. Let's get to the point. >>And while the bug described in the comment is really hard to diagnose at >>compile time and in most cases impossible, what

[Bug c/96810] This is a case that gcc shoud not compile successfully, but gcc acts opposite.

2020-08-31 Thread weiwt.fnst at cn dot fujitsu.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96810 --- Comment #4 from Wei Wentao --- >>--- Comment #3 from Jakub Jelinek --- >>Actually sorry, the diagnostics clang emits is not about the bug mentioned in >>the testcase, but about something different. >>And while the bug described in the

[Bug c/96810] This is a case that gcc shoud not compile successfully, but gcc acts opposite.

2020-08-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96810 Jakub Jelinek changed: What|Removed |Added Status|RESOLVED|REOPENED Last reconfirmed|

[Bug c/96810] This is a case that gcc shoud not compile successfully, but gcc acts opposite.

2020-08-27 Thread weiwt.fnst at cn dot fujitsu.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96810 --- Comment #2 from Wei Wentao --- > --- Comment #1 from Jakub Jelinek --- > >The standard says this is unspecified behavior, but the unspecified behavior > >happens at runtime, so if the compiler could detect it at compile time, it > >would

[Bug c/96810] This is a case that gcc shoud not compile successfully, but gcc acts opposite.

2020-08-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96810 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org