This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/22290] Optimize Assigned GOTO to cause error with -O1 or higher
- From: "fengwang at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Sep 2005 14:53:29 -0000
- Subject: [Bug fortran/22290] Optimize Assigned GOTO to cause error with -O1 or higher
- References: <20050704082324.22290.fengwang@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From fengwang at gcc dot gnu dot org 2005-09-13 14:53 -------
(In reply to comment #8)
> Bloody hell. Stupid bug.
> Alright then, let's see if I can fix this one.
Steven, it seems to disappear on current gcc4.1 and gcc4.0. I once send you a
patch to fix the gimple problem. The patch is attached. And this patch fixes
another compiling ICE in the test case:
subroutine s1 (a)
integer a
assign 777 to a
go to a
777 print *, "Hello s1"
end
program test
call s1 (1)
end
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22290