| Thread Tools | Search this thread |
|---|
gib
| May 8, 2008 12:45 AM PDT /Qfp-stack-check | ||||
The following program is fine when compiled (on Windows) with ifort err.f90 but when compiled with the fp stack checking option ifort /Qfp-stack-check err.f90 it gives access violation when executed. In my debugging efforts I've been turning on all the stack checking options, but this one seems to create a bug itself. Interestingly, commenting out either of the two executable statements in subroutine zzz makes it OK. Any comments Steve? cheers Gib ! err.f90 module errmod implicit none contains subroutine zzz(m) integer :: m(3) integer :: n(3) real :: x(3) x = m n = x end subroutine end module program err use errmod integer :: site(3) = (/1,2,3/) call zzz(site) end | |||||
|
|||||||||||||
|
|||||||||||||
|
|||||||||||||
|
|||||||||||||
|
|||||||||||||
| 8293 users have contributed to 31241 threads and 99118 posts to date. |
|---|
| In the past 24 hours, we have 12 new thread(s) 11 new posts(s), and 21 new user(s). In the past 3 days, the most popular thread for everyone has been huge pages on linux? The most posts were made to Pipeline buffer between stages? The post with the most views is Another example attached (Tr Please welcome our newest member bwillems |