Bug 16512 - g77 test 20030326-1.f fails with gfortran
Summary: g77 test 20030326-1.f fails with gfortran
Status: RESOLVED DUPLICATE of bug 13490
Alias: None
Product: gcc
Classification: Unclassified
Component: fortran (show other bugs)
Version: 4.0.0
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: rejects-valid
Depends on:
Blocks:
 
Reported: 2004-07-13 06:00 UTC by David Billinghurst
Modified: 2005-07-23 22:49 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Billinghurst 2004-07-13 06:00:05 UTC
g77 test 20030326-1.f fails with gfortran.  See PR fortran/9793.

Test is:
C { dg-do compile }
C      PR fortran/9793
C      larson@w6yx.stanford.edu
C
       integer a, b, c
       c = -2147483648 / -1
       a = 1
       b = 0
       c = a / b
       print *, c
       end

Error is:
 In file /usr/local/src/gcc/gcc/testsuite/gfortran.dg/g77/20030326-1.f:7

       c = -2147483648 / -1
                     1
Error: Arithmetic overflow at (1)
compiler exited with status 1
Comment 1 Andrew Pinski 2004-07-13 16:23:38 UTC

*** This bug has been marked as a duplicate of 13490 ***