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: 4 Jul 2005 12:38:44 -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-07-04 12:38 -------
(In reply to comment #1)
> Confirmed, This is a fortran front-end or gimplifier bug.
> Look at what the gimplifier produces:
> int4 nz.0 = -2; // <--- this is not gimple
I am not very clear the gimple definition. Can you explain more?
This is the initialization of nz.0 variable. I use this variable to indicate
the integer is assigned a format label (-1) or target label (now it is the
length of format string). See fortran/trans-decl.c (gfc_get_symbol_decl): 815
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22290