This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/28119] forall_stmt ; stmt gives an internal error
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jun 2006 20:37:15 -0000
- Subject: [Bug fortran/28119] forall_stmt ; stmt gives an internal error
- References: <bug-28119-9236@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pault at gcc dot gnu dot org 2006-06-21 20:37 -------
Here's the patch: regtests on FC5/Athlon1700
Paul
Index: gcc/fortran/match.c
===================================================================
*** gcc/fortran/match.c (revision 114823)
--- gcc/fortran/match.c (working copy)
*************** gfc_match_forall (gfc_statement * st)
*** 3580,3588 ****
*c = new_st;
c->loc = gfc_current_locus;
- if (gfc_match_eos () != MATCH_YES)
- goto syntax;
-
gfc_clear_new_st ();
new_st.op = EXEC_FORALL;
new_st.expr = mask;
--- 3580,3585 ----
--
pault at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pault at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-06-21 20:37:15
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28119