Re: [PATCH RFC] Fix break.exp optimization related failure

Mark Kettenis
2003-09-27T19:30:08Z

Date: Sat, 27 Sep 2003 15:15:43 -0400
From: Michael Elizabeth Chastain <mec@shout.net>

ac> We're probably also going to have to split up our test files in to
ac> separate .c's so that the compiler can't see smarts like this :-/

I like separate files much better than #ifdef __GNUC__,
__weak__, and stuff like that. Separate files are simpler in
concept, more future-proof against improvements in gcc,
and also proof against improvements in non-gcc compilers.

Moreover, this trick with __weak__ probably only works on ELF.

Mark