This is the mail archive of the gcc-prs@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]

fortran/9793: Internal compiler error in `float_signal', at toplev.c:2442


>Number:         9793
>Category:       fortran
>Synopsis:       Internal compiler error in `float_signal', at toplev.c:2442
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 21 21:26:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     larson at w6yx dot stanford dot edu
>Release:        F77 version 2.95.4 20020320 [FreeBSD]
>Organization:
>Environment:

>Description:
The simple program:

        integer a, b, c
 
        c = -2147483648 / -1
 
        a = 1
        b = 0
        c = a / b
 
        print *, c
 
        end

gets this error:

foo.f: In program `MAIN__':
foo.f:5: Internal compiler error in `float_signal', at toplev.c:2442
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.


Obviously, it attempted to evaluate a constant expression
that it couldn't do.  Interestingly, it got the line number
wrong, as the error was not on source line 5 (it was really
on line 3).

This was compiling with  f77 -g -o foo foo.f

>How-To-Repeat:
attempt to compile with given flags.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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