This is the mail archive of the gcc-patches@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: [PATCH] Loop bug generates invalid code on s390


Hi Jakub,

> What's s390 specific about the testcase?
> I think it would be better just with { dg-do run }.

The bug shows only with -fPIC, and AFAIK some platforms 
don't accept -fPIC, so I thought it better to run it only
on s390.  In any case the bug is unlikely to show on other
platforms (with *this* specific test case; you can probably
construct others).

> Also, there is missing exit (0) or return 0 in main ().

This is not required by the C standard.  (C99: 5.1.2.2.3)

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  weigand@informatik.uni-erlangen.de


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