- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
What does this message, obtained when compiling with /Qopt-report:3, signify. It occurs wherever my code has the line:
n = n << 8;
...where n is a 32-bit integer with zeros in its eight most significant bits?
Thanks,
Stephen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
c:\>type tstcase.cpp
int main()
{
int n[100];
int i;
for (i =0; i< 100; ++i)
n = i+1;
for (i =0; i< 100; ++i)
n = n << 8;
return 0;
}
c:\>icl /Qopt-report:3 tstcase.cpp
C:\>icl -V
Intel C++ Compiler XE for applications running on IA-32, Version 12.0.2.154 Build 20110112
Copyright (C) 1985-2011 Intel Corporation. All rights reserved.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
c:\>type tstcase.cpp
int main()
{
int n[100];
int i;
for (i =0; i< 100; ++i)
n = i+1;
for (i =0; i< 100; ++i)
n = n << 8;
return 0;
}
c:\>icl /Qopt-report:3 tstcase.cpp
C:\>icl -V
Intel C++ Compiler XE for applications running on IA-32, Version 12.0.2.154 Build 20110112
Copyright (C) 1985-2011 Intel Corporation. All rights reserved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you.

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