PR30947 - resolving ALARM

Brooks Moses brooks.moses@codesourcery.com
Thu Mar 8 02:37:00 GMT 2007


Daniel Franke wrote:
> Index: gcc/fortran/gfortran.h
> ===================================================================
> --- gcc/fortran/gfortran.h	(revision 122639)
> +++ gcc/fortran/gfortran.h	(working copy)
> @@ -314,6 +314,7 @@
>    GFC_ISYM_ADJUSTR,
>    GFC_ISYM_AIMAG,
>    GFC_ISYM_AINT,
> +  GFC_ISYM_ALARM,
>    GFC_ISYM_ALL,
>    GFC_ISYM_ALLOCATED,
>    GFC_ISYM_ANINT,
> Index: gcc/fortran/trans-intrinsic.c
> ===================================================================
> --- gcc/fortran/trans-intrinsic.c	(revision 122639)
> +++ gcc/fortran/trans-intrinsic.c	(working copy)
> @@ -3837,6 +3837,7 @@
>        break;
>  
>      case GFC_ISYM_ACCESS:
> +    case GFC_ISYM_ALARM:
>      case GFC_ISYM_CHDIR:
>      case GFC_ISYM_CHMOD:
>      case GFC_ISYM_ETIME:

Also, I missed these bits when I was looking this over earlier.  I don't 
really understand what you're trying to do here -- this doesn't seem 
connected to anything else, and in particular you haven't added a 
make_generic call in intrinsic.c to refer to this flag, so it doesn't 
ever get used.  Perhaps this is left over from an earlier attempt at a fix?

- Brooks



More information about the Gcc-patches mailing list