- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I encounter a failure at Version 17.0.4.210 Build 20170411
it can be reproduced with these codes( test.c):
int main(int argc,char** argv) { #ifdef __DEC32_MAX__ float i2 = __DEC32_MAX__; #endif return 0; }
compile the souce with: "icl test.c " or "icl /E test.c", get the error message:
test.c(4): internal error: assertion failed: macro_invocation: unknown special predefined macro (shared/cfe/edgcpfe/macro.c, line 5750) float i2 = __DEC32_MAX__;
can some one help with this issue? is this a bug of the compiler?
- Tags:
- CC++
- Development Tools
- Intel® C++ Compiler
- Intel® Parallel Studio XE
- Intel® System Studio
- Optimization
- Parallel Computing
- Vectorization
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, this is a compiler bug. I opened CMPLRS-47067 in our internal database. Thank you for reporting it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Melanie Blower (Intel) wrote:
Yes, this is a compiler bug. I opened CMPLRS-47067 in our internal database. Thank you for reporting it.
thank you for the confirmation. In addition, some other macros come up with the same failure. list them bellow:
__DEC128_EPSILON__
__DEC128_MAX__
__DEC128_MIN__
__DEC128_SUBNORMAL_MIN__
__DEC32_EPSILON__
__DEC32_MIN__
__DEC32_SUBNORMAL_MIN__
__DEC64_EPSILON__
__DEC64_MAX__
__DEC64_MIN__
__DEC64_SUBNORMAL_MIN__

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page