On Wed, Oct 18, 2006 at 11:22:40PM +0200, Bernhard Fischer wrote:
> Hi,
>
> I need to check for a non-0 return value in dg-compile testcases in
> gcc.
The compiler's exit status is only known within code from the DejaGnu
product, in proc default_target_compile in DejaGnu's target.exp. If
there w
On Oct 18, 2006, at 2:22 PM, Bernhard Fischer wrote:
I need to check for a non-0 return value in dg-compile testcases in
gcc.
I'd not worry about it in general. The exit status should be properly
checked for every other compile line and it should be ok.
Hi,
I need to check for a non-0 return value in dg-compile testcases in
gcc.
A simple testcase from richi shows the problem i'm facing:
http://gcc.gnu.org/viewcvs/trunk/gcc/testsuite/gcc.dg/pr29254.c?view=markup&pathrev=117577
In this testcase, he checks for
/* { dg-warning "warnings being treate