g77 bug on DigitalUnix when using -mieee option

Toon Moene toon@moene.indiv.nluug.nl
Wed Aug 12 06:00:00 GMT 1998


>     I am having trouble compiling code with certain
>  intrinsic function calls. A simple program demonstating
>  the problem is
>
>  	  program bug
>         real x,y
>         x=1.0
>         read (*,*) y
>  	  d=max(x,y)
>         write (*,*) x,y,d
>         stop
>         end
>
>  when I try to compile this with the following command
>    g77 -O0 -mieee -c bug.F
>
>   I get the following error message:  g77 -O0 -mieee -c
>  bug.F bug.F: In program `bug':  bug.F:7: internal
>  error--unrecognizable insn:  (insn 39 38 40 (set (reg:DF
>  74)
>  	(le:DF (float_extend:DF (reg:SF 72))
>  	    (float_extend:DF (reg:SF 73)))) -1 (nil)
>      (nil)) g77: Internal compiler error: program f771
>  got fatal signal 6

Yep, this is a known problem; it is fixed in the upcoming egcs-1.1  
release (in a few weeks).

Hope this helps,
Toon.



More information about the Gcc-bugs mailing list