[lno] Fix the check elimination

James Morrison ja2morri@csclub.uwaterloo.ca
Wed Mar 31 16:15:00 GMT 2004


Dorit Naishlos <DORIT@il.ibm.com> writes:

> Index: tree-scalar-evolution.c
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/Attic/tree-scalar-evolution.c,v
> retrieving revision 1.1.2.26
> diff -c -3 -p -r1.1.2.26 tree-scalar-evolution.c
> *** tree-scalar-evolution.c   30 Mar 2004 17:45:52 -0000    1.1.2.26
> --- tree-scalar-evolution.c   30 Mar 2004 22:17:26 -0000
> *************** dump_chrecs_stats (FILE *file)
> *** 3467,3473 ****
>          stats_nb_undetermined);
>     fprintf (file, "-----------------------------------------\n");
>     fprintf (file, "%d\tchrecs in the scev database\n",
> !        VARRAY_ACTIVE_SIZE (*scalar_evolution_info));
>     fprintf (file, "-----------------------------------------\n");
>     fprintf (file, ")\n\n");
>   }
> --- 3467,3473 ----
>          stats_nb_undetermined);
>     fprintf (file, "-----------------------------------------\n");
>     fprintf (file, "%d\tchrecs in the scev database\n",
> !        (int) VARRAY_ACTIVE_SIZE (*scalar_evolution_info));
>     fprintf (file, "-----------------------------------------\n");
>     fprintf (file, ")\n\n");
>   }

 Is this file only compiled by gcc?  If so would you be able to use the
C99 %zd modifier instead of a cast?

Jim



More information about the Gcc-patches mailing list