public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/28866]  New: [Regression] Simple if statements are not so simple
@ 2006-08-27 22:43 kargl at gcc dot gnu dot org
  2006-08-27 22:45 ` [Bug fortran/28866] " kargl at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: kargl at gcc dot gnu dot org @ 2006-08-27 22:43 UTC (permalink / raw)
  To: gcc-bugs

The following program fails to compile because the commit 
noted in the comment broke the processing of a chain of
matchers.

! { dg-do compile }
! Test fix for regression caused by 
! 2006-06-23  Steven G. Kargl  <kargls@comcast.net>
!    PR fortran/27981
!    * match.c (gfc_match_if):  Handle errors in assignment in simple if.
!
module read
  integer i, j, k
  contains
    subroutine a
      if (i .eq. 0) read(j,*) k
    end subroutine a
end module read

I'm currently testing a patch to fix the problem.  Note, this effects only 4.2.


-- 
           Summary: [Regression] Simple if statements are not so simple
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: kargl at gcc dot gnu dot org
        ReportedBy: kargl at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28866


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-08-29 19:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-27 22:43 [Bug fortran/28866] New: [Regression] Simple if statements are not so simple kargl at gcc dot gnu dot org
2006-08-27 22:45 ` [Bug fortran/28866] " kargl at gcc dot gnu dot org
2006-08-28 17:55 ` kargl at gcc dot gnu dot org
2006-08-29 19:47 ` kargl at gcc dot gnu dot org
2006-08-29 19:49 ` kargl at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).