| Thread Tools | Search this thread |
|---|
gib
| May 7, 2008 11:45 PM 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 | |||||
|
|||||||||||||
|
|||||||||||||
|
|||||||||||||
|
|||||||||||||
|
|||||||||||||
| 6844 users have contributed to 28623 threads and 88712 posts to date. |
|---|
| In the past 24 hours, we have 23 new thread(s) 112 new posts(s), and 143 new user(s). In the past 3 days, the most popular thread for everyone has been Array constructor The most posts were made to Array constructor The post with the most views is Your management did not know Please welcome our newest member intelnoob |