- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi!
My code worked fine with intel 7.0 compiler.
Recently, I could use intel 8.0 C++ compiler in Itanium 2.I compiled my program with optimization option -O3 -ivdep_parallel.
While running the program, I got segmentation fault.
To find the place causing the segmentation faults, I recompiled with turning off -O3 -ivdep_parallel -DNDEBUG and with turning on -g option.
And the program works fine.
Do you have any idea with this problem?
By the way, The compiler version is
Intel C++ Itanium Compiler for Itanium-based applications
Version 8.0 Build 20040416 Package ID:
Copyright (C) 1985-2004 Intel Corporation. All rights reserved.
Version 8.0 Build 20040416 Package ID:
Copyright (C) 1985-2004 Intel Corporation. All rights reserved.
Thank you.
bckim
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Again.
I want to be more specific to describe the problem.
Problematic part isone class,
template
I am using this class throughout my codes. In the other class, this class works like
Vec
So with optimization options which I mentioned above message, above sentence cause segmentation fault but no problem without optimization.
Now I created new class like,
template
Vec1 is exactly same as Vec except name.
And use this class,
Vec1
Even with optimization, No problem.
So.. I have no idea what the problem is.
Hope this help you understand my problem.
Thank you,
bckim
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