From: Jason Merrill Date: Mon, 21 Sep 1998 14:11:35 +0000 (-0400) Subject: toplev.c (rest_of_compilation): Skip compiling anything with DECL_EXTERNAL set... X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1cbe6eb62640efc6370b0c5e648d1283859ba7de;p=platform%2Fupstream%2Fgcc.git 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 --- 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 + + * 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 * 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 (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 * config/m32r/m32r.h (m32r_block_immediate_operand): Add to @@ -352,11 +358,13 @@ Tue Sep 15 19:09:06 1998 Richard Henderson * 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 * 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 * 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; }