This is the mail archive of the
gcc-regression@gcc.gnu.org
mailing list for the GCC project.
Re: GCC build of HEAD failed for native with your patch on 2005-04-09T04:42:37Z.
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: mrs at apple dot com, uweigand at de dot ibm dot com, hp at axis dot com, kazu at cs dot umass dot edu, edelsohn at gnu dot org, pcarlini at suse dot de, Diego Novillo <dnovillo at redhat dot com>, gcc-regression at gcc dot gnu dot org, dannysmith at users dot sourceforge dot net, kcook at gcc dot gnu dot org, ian at airs dot com, mark at codesourcery dot com
- Date: Sat, 9 Apr 2005 11:47:51 -0400
- Subject: Re: GCC build of HEAD failed for native with your patch on 2005-04-09T04:42:37Z.
- References: <20050409082503.0BB9216DCC442@gcc-regress.apple.com> <20050409140128.GA4941@topo.toronto.redhat.com> <eecc4fd865e7e6904b0bf77328a6ae71@physics.uc.edu>
On Apr 9, 2005, at 10:08 AM, Andrew Pinski wrote:
On Apr 9, 2005, at 10:01 AM, Diego Novillo wrote:
Hmm, I get no such failure on a linux ppc box. Any way of
getting a pre-processed file or more details about this? I don't
have access to a darwin machine.
And here is the reduced testcase, the reason why it does not fail on
ppc-linux right now is because _exit is marked as nothrow and noreturn
but on ppc-darwin, _exit is only marked as noreturn.
void f(int) __attribute__((__noreturn__));
int d(const char *);
int b(void);
char * j ();
void h (char *path);
void a ()
{
char *path = __null;
try
{
path = j ();
if (b () == 0)
{
if (path != __null)
if (d (path) != 0)
f (127);
f (127);
}
}
catch (...) { }
h (path);
}
Thanks,
Andrew Pinski