This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/16512] New: g77 test 20030326-1.f fails with gfortran


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

-- 
           Summary: g77 test 20030326-1.f fails with gfortran
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: billingd at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]