Patch for broken toplev with SDB_DEBUGGING_INFO
Andreas Jaeger
aj@suse.de
Fri Apr 28 01:32:00 GMT 2000
On mipsel-linux, I got the following error message trying to bootstrap
gcc:
gcc -DIN_GCC -g -W -Wall -Wtraditional -DHAVE_CONFIG_H -I. -I/home/sites/home/users/aj/builds/gcc/gcc -I/home/sites/home/users/aj/builds/gcc/gcc/config -I/home/sites/home/users/aj/builds/gcc/gcc/../include \
-DTARGET_NAME=\"mipsel-unknown-linux-gnu\" \
-c `echo /home/sites/home/users/aj/builds/gcc/gcc/toplev.c | sed 's,^\./,,'`
/home/sites/home/users/aj/builds/gcc/gcc/toplev.c: In function `rest_of_type_compilation':
/home/sites/home/users/aj/builds/gcc/gcc/toplev.c:2521: `symout_time' undeclared (first use this function)
/home/sites/home/users/aj/builds/gcc/gcc/toplev.c:2521: (Each undeclared identifier is reported only once
/home/sites/home/users/aj/builds/gcc/gcc/toplev.c:2521: for each function it appears in.)
/home/sites/home/users/aj/builds/gcc/gcc/toplev.c:2521: warning: left-hand operand of comma expression has no effect
Looking at the other places of Alex's last patch, I'm appending a
patch to remove symout_time.
I guess this falls under the obviously correct rule - nevertheless, I
prefer to ask: Ok to install?
2000-04-28 Andreas Jaeger <aj@suse.de>
* toplev.c (rest_of_type_compilation): Remove symout_time which
was left over in last patch.
Index: gcc/toplev.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/toplev.c,v
retrieving revision 1.326
diff -u -r1.326 toplev.c
--- toplev.c 2000/04/28 00:59:39 1.326
+++ toplev.c 2000/04/28 08:29:34
@@ -2518,7 +2518,7 @@
#endif
#ifdef SDB_DEBUGGING_INFO
if (write_symbols == SDB_DEBUG)
- symout_time, sdbout_symbol (TYPE_STUB_DECL (type), !toplev);
+ sdbout_symbol (TYPE_STUB_DECL (type), !toplev);
#endif
timevar_pop (TV_SYMOUT);
}
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.rhein-neckar.de
More information about the Gcc-patches
mailing list