[gfortran] Builtin functions

Diego Novillo dnovillo@redhat.com
Sat Aug 30 23:51:00 GMT 2003


On Sat, 2003-08-30 at 14:00, Paul Brook wrote:

> The attached patch maked gfortran handle builtin functions that same way as 
> java and g77. It avoids having to deal with all the messy c-specific mess 
> associated with using builtins.def.
> 
> Applied to tree-ssa branch.
> 
Paul,

I get a libgfortran build failure on  alphaev67-unknown-linux-gnu with
this patch:

<bld>/bld.dorothy/gcc/gfortran -B<bld>/bld.dorothy/gcc/ -B<bld>/inst.dorothy/alphaev67-unknown-linux-gnu/bin/ -B<bld>/inst.dorothy/alphaev67-unknown-linux-gnu/lib/ -isystem <bld>/inst.dorothy/alphaev67-unknown-linux-gnu/include -isystem <bld>/inst.dorothy/alphaev67-unknown-linux-gnu/sys-include -g -O2 -Wall -fno-repack-arrays -fno-underscoring -c <bld>/src/libgfortran/generated/_abs_r4.f90  -fPIC -DPIC -o .libs/_abs_r4.o
<bld>/src/libgfortran/generated/_abs_r4.f90:0: internal compiler error: Segmentation fault

Unfortunately, gdb gets confused when I run f951 under it.  Undoing this
patch allows me to build libgfortran again.  It does seem to work on
amd64, though.


Diego.



More information about the Gcc-patches mailing list