This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/20538] compiling -finline-functions -O2 and we crash at runtime
- From: "tobi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Mar 2005 01:35:13 -0000
- Subject: [Bug fortran/20538] compiling -finline-functions -O2 and we crash at runtime
- References: <20050318192834.20538.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From tobi at gcc dot gnu dot org 2005-03-19 01:35 -------
Further reduction: segfaults at -O2, runs at -O0.
real vx(1)
num=2
do i=1,num
call advance(vx)
end do
contains
subroutine advance(bodies)
real, dimension(:)::bodies
bodies = 1.0
end subroutine advance
end
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20538