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]

Re: patch to reduce register pressure from strength reduction



  In message <36B19E50.ACA5EAEF@moene.indiv.nluug.nl>you write:
  > Joern,
  > 
  > > > I've made the following patch, which I am currently testing:
  > > >
  > > > Wed Jan 27 23:39:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
  > > >
  > > >       * loop.c (recombine_givs): Don't try to derive givs that have com
  > bined.
  > 
  > > P.S.: It just went past the stage2 genrecog invokation.
  > 
  > Yes, I managed to complete the build here too.
  > 
  > However, here's a Fortran source that causes f771 to segfault in
  > unroll.c:
  > 
  > (gdb) run  b.f -quiet -dumpbase b.f -malign-double -g -O2 -Wall
  > -Wsurprising -version -fversion -ffast-math -fomit-frame-pointer
  > -funroll-loops -fu
  > nix-intrinsics-hide -o /tmp/ccGavIGV.s
  > Starting program:
  > /usr/snp/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.93.03/f771 b.f -quiet
  > -dumpbase b.f -malign-double -g -O2 -Wall -Wsurprising -version
  > -fversion -ffast-math -fomit-frame-pointer -funroll-loops
  > -funix-intrinsics-hide -o /tmp/ccGavIGV.s
  > GNU F77 version egcs-2.93.03 19990128 (gcc2 ss-980929 experimental)
  > (i686-pc-linux-gnu) compiled by GNU C version egcs-2.93.03 19990128
  > (gcc2 ss-980929 experimental).
  > GNU Fortran Front End version 0.5.24-19980804
  > 
  > Program received signal SIGSEGV, Segmentation fault.
  > copy_loop_body (copy_start=0x82e40d4, copy_end=0x82e4144,
  > map=0xbfff423c, exit_label=0x83304a8, last_iteration=0,
  > unroll_type=UNROLL_MODULO, 
  >     start_label=0x82e410c, loop_end=0x82e4e80, insert_before=0x82e4190,
  > copy_notes_from=0x82e4190) at ../../egcs/gcc/unroll.c:1733
[ ... ]
I just tried this with the current sources and it seems to be working OK now.

jeff


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