This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Loop bug generates invalid code on s390
- From: Ulrich Weigand <weigand at i1 dot informatik dot uni-erlangen dot de>
- To: jakub at redhat dot com
- Cc: weigand at i1 dot informatik dot uni-erlangen dot de (Ulrich Weigand), gcc-patches at gcc dot gnu dot org
- Date: Wed, 17 Dec 2003 00:40:47 +0100 (CET)
- Subject: 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