* A thunks patch
@ 1997-10-11 17:33 H.J. Lu
0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 1997-10-11 17:33 UTC (permalink / raw)
To: egcs
Hi,
I believe this patch fixes the thunks bug on alpha I reported
earlier.
--
H.J. Lu (hjl@gnu.ai.mit.edu)
--
Sat Oct 11 17:24:53 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
* toplev.c (rest_of_compilation): Don't defer thunks.
Index: toplev.c
===================================================================
RCS file: /home/work/cvs/gnu/egcs/gcc/toplev.c,v
retrieving revision 1.1.1.5
diff -u -r1.1.1.5 toplev.c
--- toplev.c 1997/10/09 17:28:48 1.1.1.5
+++ toplev.c 1997/10/12 00:23:01
@@ -3024,7 +3052,8 @@
/* If we can, defer compiling inlines until EOF.
save_for_inline_copying can be extremely expensive. */
- if (inlineable && ! decl_function_context (decl))
+ if (inlineable && !current_function_is_thunk
+ && ! decl_function_context (decl))
DECL_DEFER_OUTPUT (decl) = 1;
/* If function is inline, and we don't yet know whether to
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-10-11 17:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-11 17:33 A thunks patch H.J. Lu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).