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

Re: [PATCH]: Fix missed PRE optimization discovered


On Tue, 2008-10-21 at 15:47 +0200, Andreas Schwab wrote:
> Laurent GUERBY <laurent@guerby.net> writes:
> 
> > On Tue, 2008-10-21 at 15:12 +0200, Eric Botcazou wrote:
> >> Btw, do you know why you sometimes have a few ACATS failures in your report?
> >
> > Most of the time in the logs for these random fail I have a successful
> > gnatmake then when executing the test the executable file is not found.
> >
> > This happens less now that we have a sync
> > in /gcc/testsuite/ada/acats/run_all.sh:
> >
> >       if [ ! -x $dir/tests/$chapter/$i/$binmain ]; then
> >          sync
> 
> How can this sync create a file?

The sync is there (in theory) just to help with gnatmake being
successfull but the executable file not being there yet:

      target_gnatmake $extraflags -I$dir/support $main >> $dir/acats.log 2>&1
      if [ $? -ne 0 ]; then
         display "FAIL:	$i"
         failed="${failed}${i} "
         clean_dir
         continue
      fi

      echo "RUN $binmain" >> $dir/acats.log
      cd $dir/run
...

Laurent


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