- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ICC 7.1 seems to have memory problems working with 2D arrays.
Attached is a source code which demonstrates the problem. The program, compliled with gcc or icc 7.0 provides the same results, while 7.1 compiled executable makes something really strange and crashes after call with segment violation.
I'm using build 20030307Z.
Attached is a source code which demonstrates the problem. The program, compliled with gcc or icc 7.0 provides the same results, while 7.1 compiled executable makes something really strange and crashes after call with segment violation.
I'm using build 20030307Z.
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There should be "crashes after all" :)
Options seem to have no effect, even -O0 doesn't help.
Options seem to have no effect, even -O0 doesn't help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My observations on your test case with Intel compiler V7.1 Build 20030507Z-
1. Works with -O0, fails at -O2.
2. As this is a "C" Code - you can rename your test case to a .c file.
$mv 1.cpp 1.c
In this case, test works fine with both -O0 and -O2 when compiled with icc (and not icpc).
$icc -O2 1.c
$./a.out
If possible, try this option and verify the results.
In any case you can log this issue at Intel's technical support site.
CP
1. Works with -O0, fails at -O2.
2. As this is a "C" Code - you can rename your test case to a .c file.
$mv 1.cpp 1.c
In this case, test works fine with both -O0 and -O2 when compiled with icc (and not icpc).
$icc -O2 1.c
$./a.out
If possible, try this option and verify the results.
In any case you can log this issue at Intel's technical support site.
CP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
-O0 or -02 have no influence on *.cpp complitaion - error occurs every time.
When compiled as a C code, the program runs without errors even with -O3.
When compiled as a C code, the program runs without errors even with -O3.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can't access premier support, it fails with error 403, though I use correct username/password...
Could anyone forward this issue (I mean compiler bug) to the support team?
Could anyone forward this issue (I mean compiler bug) to the support team?
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page