Re: How GCC treats ice-on-invalid-code?

2020-06-29 Thread Haoxin Tu via Gcc-bugs
I am sorry maybe I send this in a wrong place, I have sent this again in gcc-bug-requ...@gcc.gun.org. Haoxin Tu 于2020年6月30日周二 上午10:32写道: > Hi, there, > > Our team just develop a c++ code generator tool to testing the compiler, > and those days I have reported 13 ICE bugs in ice-on-invalid-bugs.

How GCC treats ice-on-invalid-code?

2020-06-29 Thread Haoxin Tu via Gcc-bugs
Hi, there, Our team just develop a c++ code generator tool to testing the compiler, and those days I have reported 13 ICE bugs in ice-on-invalid-bugs. Here are the bugs links: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95972 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95956 https://gcc.gnu.or

Different result when executing UB programs

2020-05-22 Thread Haoxin Tu via Gcc-bugs
Hi, there! I am new for using GCC mail list, please forgive me if something is wrong. I have some issues about how GCC deal with the different optimizations in a UB program. For example, small.cc *#include unsigned long long a;void b(unsigned long long *c, int h) { *c = h; }int d = 0;in