Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29285 Discussions

Exception handling with mixed CVF and C codes

Intel_C_Intel
Employee
455 Views
I am trying to get the debugger to stop when a FPE occurs in a code that used to be Fortran, but now is called from a C wrapper. I have inserted the sample code calling SIGNALQQ(SIG$FPE, hand_fpe), then an intentional divide by zero, but it sails right past. Does the C main need to be compiled with something equivalent to the /fpe:0 option?

I'm working with CVF 6.6B.
0 Kudos
0 Replies
Reply