This is the mail archive of the gcc-regression@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC build of HEAD failed for native with your patch on 2005-04-09T04:42:37Z.



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]