diff options
author | Jason Merrill <jason@gcc.gnu.org> | 1998-09-21 10:11:35 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 1998-09-21 10:11:35 -0400 |
commit | 1cbe6eb62640efc6370b0c5e648d1283859ba7de (patch) | |
tree | e37701056014134c1cefeeb9c343240b021fbc46 /gcc | |
parent | d06c63899f3052740b85775a104db5ff7921c845 (diff) | |
download | gcc-1cbe6eb62640efc6370b0c5e648d1283859ba7de.zip gcc-1cbe6eb62640efc6370b0c5e648d1283859ba7de.tar.gz gcc-1cbe6eb62640efc6370b0c5e648d1283859ba7de.tar.bz2 |
toplev.c (rest_of_compilation): Skip compiling anything with DECL_EXTERNAL set...
* toplev.c (rest_of_compilation): Skip compiling anything with
DECL_EXTERNAL set, not just if it has DECL_INLINE as well.
From-SVN: r22530
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/toplev.c | 5 |
2 files changed, 11 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f383cd3..a6a0088 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Mon Sep 21 14:10:51 1998 Jason Merrill <jason@yorick.cygnus.com> + + * toplev.c (rest_of_compilation): Skip compiling anything with + DECL_EXTERNAL set, not just if it has DECL_INLINE as well. + Mon Sep 21 13:51:05 1998 Jim Wilson <wilson@cygnus.com> * flow.c (find_basic_blocks): Delete check for in_libcall_block when @@ -184,6 +189,7 @@ Fri Sep 18 23:50:56 1998 David Edelsohn <edelsohn@mhpcc.edu> (REG_ALLOC_ORDER): Allocate highest numbered condition regsiters first; cr1 can be used for FP record condition insns. +>>>>>>> 1.2125 Fri Sep 18 09:44:55 1998 Nick Clifton <nickc@cygnus.com> * config/m32r/m32r.h (m32r_block_immediate_operand): Add to @@ -352,11 +358,13 @@ Tue Sep 15 19:09:06 1998 Richard Henderson <rth@cygnus.com> * m68h.h (ARG_POINTER_CFA_OFFSET): New. * sparc.h (ARG_POINTER_CFA_OFFSET): New. +>>>>>>> 1.2099 Tue Sep 15 19:31:58 1998 Michael Meissner <meissner@cygnus.com> * i960.h (CONST_COSTS): Fix thinko. Test flag, not the constant flag bit mask. +>>>>>>> 1.2079 Tue Sep 15 14:10:54 EDT 1998 Andrew MacLeod <amacleod@cygnus.com> * except.h (struct eh_entry): Add false_label field. diff --git a/gcc/toplev.c b/gcc/toplev.c index cc4d8d0..6da9b49 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -3376,8 +3376,9 @@ rest_of_compilation (decl) } /* If specified extern inline but we aren't inlining it, we are - done. */ - if (DECL_INLINE (decl) && DECL_EXTERNAL (decl)) + done. This goes for anything that gets here with DECL_EXTERNAL + set, not just things with DECL_INLINE. */ + if (DECL_EXTERNAL (decl)) goto exit_rest_of_compilation; } |