[llvm-bugs] [Bug 42248] ICE when bool is #defined/typedef'd

2019-06-12 Thread via llvm-bugs
https://bugs.llvm.org/show_bug.cgi?id=42248

Hao Zhong  changed:

   What|Removed |Added

 Resolution|INVALID |FIXED

--- Comment #2 from Hao Zhong  ---
The code comes from an ICE bug report of gcc:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54207

In addition, after the bug is fixed, gcc accepts the code. I tried icc. It also
accepts the code. Maybe, we shall reconsider the bug report.


(In reply to Richard Smith from comment #1)
> That's not an ICE, it's just a normal error being reported on your invalid
> code. You are not permitted to #define a keyword then include a standard
> library header.

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[llvm-bugs] [Bug 42248] ICE when bool is #defined/typedef'd

2019-06-12 Thread via llvm-bugs
https://bugs.llvm.org/show_bug.cgi?id=42248

Richard Smith  changed:

   What|Removed |Added

 Resolution|--- |INVALID
 Status|NEW |RESOLVED

--- Comment #1 from Richard Smith  ---
That's not an ICE, it's just a normal error being reported on your invalid
code. You are not permitted to #define a keyword then include a standard
library header.

-- 
You are receiving this mail because:
You are on the CC list for the bug.___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs