public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* GCC-4.0.2 20050811: should GCC consider inlining functions in between different sections?
@ 2005-08-12 10:40 Etienne Lorrain
  2005-08-12 11:07 ` Richard Guenther
  0 siblings, 1 reply; 6+ messages in thread
From: Etienne Lorrain @ 2005-08-12 10:40 UTC (permalink / raw)
  To: gcc

  Hello,

 Subject says it all - I do not know if that is new. I just have a bug
 in Gujin-1.2 with this new compiler, because function:

__attribute__ ((section (".xcode_start"), noreturn))
void xcodeseg_never_call_address_zero (void)

 calls xcodeseg_BOOT1_putstr() generated by macro:

#define GENERATE_VOID_EXTRA2CODE_INDIRECT_STUB(fctname, fctadr, params...) \
        __attribute__ ((section (STRING(.Xxcode2text_ ## fctname))))  \
        void xcodeseg_ ## fctname (params) {                            \
        EXTRASEG_REVERSE_STUB (fctadr, STRING(.Xtext2xcode_ ## fctname));\
        }

 Adding ", noinline" to the attribute list fix it all, I just was wondering
 if inlining in between GCC sections is safe in the general case.

  Etienne.



	

	
		
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-08-16  8:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-12 10:40 GCC-4.0.2 20050811: should GCC consider inlining functions in between different sections? Etienne Lorrain
2005-08-12 11:07 ` Richard Guenther
2005-08-12 12:06   ` Etienne Lorrain
2005-08-12 17:10     ` Mike Stump
2005-08-12 17:27       ` Jan Hubicka
2005-08-16  8:15     ` Segher Boessenkool

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).