This is the mail archive of the gcc@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: GCC trunk SPEC2000 performance


law@redhat.com wrote:

> I wouldn't expect a call from reload (or a later pass) to
> copy_rtx_and_substitute,
> but stranger things have happened.  And it's easy enough to check, just
> start up f771 in the debugger, run it.  When it aborts, print out the
> value of reload_completed and reload_in_progress.

toon@laptop:~/g77-bugs$ /usr/snp/bin/gdb
/usr/snp/lib/gcc-lib/i686-pc-linux-gnu/3.2/f771
GNU gdb 2002-06-18-cvs
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i686-pc-linux-gnu"...
(gdb) break integrate:2064
No source file named integrate.
(gdb) break integrate.c:2064
Breakpoint 1 at 0x81fd8e8: file ../../combined/gcc/integrate.c, line
2064.
(gdb) run apsi.f -quiet -dumpbase apsi.f -O3 -version -o /tmp/ccilb8M2.s
Starting program: /usr/snp/lib/gcc-lib/i686-pc-linux-gnu/3.2/f771 apsi.f
-quiet -dumpbase apsi.f -O3 -version -o /tmp/ccilb8M2.s
GNU F77 version 3.2 20020618 (experimental) (i686-pc-linux-gnu)
        compiled by GNU C version 3.2 20020618 (experimental).

Breakpoint 1, copy_rtx_and_substitute (orig=0x405856b0, map=0x85c2718,
for_lhs=0) at ../../combined/gcc/integrate.c:2065
2065              if (REG_POINTER (map->x_regno_reg_rtx[regno]))
(gdb) p reload_completed
$1 = 0
(gdb) p reload_in_progress
$2 = 0

Nice try, but no cigar :-)

BTW, David, that's why we _have_ to be careful with that sort of trivial
patches !

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)


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