public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/35745]  New: Divide incorrectly extracted from WHERE block?; run time abort
@ 2008-03-28 21:44 dick dot hendrickson at gmail dot com
  2008-03-28 22:05 ` [Bug fortran/35745] " burnus at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: dick dot hendrickson at gmail dot com @ 2008-03-28 21:44 UTC (permalink / raw)
  To: gcc-bugs

The following program aborts at run-time opening a 
box that says
"a.exe has encountered a problem and needs to close.  
We are sorry for the inconvenience."

And then offers to send an error report to Microsoft.
I believe the problem is the extraction of the 1/NF0
from within the WHERE block.

      program RZ0048
      INTEGER IDA(10)
      REAL RDA(10)

      RDA    = 1.0

      nf0 = 3
      WHERE (RDA < -15.0)
        IDA = 1/NF0 + 2
      ENDWHERE
      print *, 'first where completed'

      nf0 = 0

      WHERE (RDA < -15.0)
        IDA = 1/NF0 + 2
      ENDWHERE

      END


-- 
           Summary: Divide incorrectly extracted from WHERE block?; run time
                    abort
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dick dot hendrickson at gmail dot com


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


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

end of thread, other threads:[~2008-05-17  7:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-28 21:44 [Bug fortran/35745] New: Divide incorrectly extracted from WHERE block?; run time abort dick dot hendrickson at gmail dot com
2008-03-28 22:05 ` [Bug fortran/35745] " burnus at gcc dot gnu dot org
2008-03-29 15:52 ` burnus at gcc dot gnu dot org
2008-04-01  7:25 ` pault at gcc dot gnu dot org
2008-05-16 21:13 ` pault at gcc dot gnu dot org
2008-05-17  7:12 ` pault at gcc dot gnu dot org
2008-05-17  7:18 ` pault 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).