This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Strange behavior for scan-tree-dump testing
- From: "Mohamed Shafi" <shafitvm at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 26 Feb 2007 09:47:33 +0530
- Subject: Strange behavior for scan-tree-dump testing
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MTGW3aKiCzwCjrmLAM5pK4bKoKRXIeHRvHZvzx1CLYbpfIJ1pj4GDPofiLS0vQMDCUN3J6afkhfQEIreu1HubvL3xkG9Q7FM7tQU2PtcvEA7qd7IPadktPO9AK/gXHlDrg4e3DQxomS769tAyuXfudBjNctAM431taPGrbGa6e0=
- References: <ba0bd44d0702220002g485a0fe6h275f20d72d780b55@mail.gmail.com>
Hello all,
I added few testcases to the existing testsuite in gcc 4.1.1 for a
private target.
After running the testsuite i found out that all my test cases with
scan-tree-dump testing failed for one particular situation.
The values are scanned from gimple tree dump and its fails for cases like
b4 = 6.3e+1
c1 = 1.3450000286102294921875e+0
but it was not failing for other values in the same tree dump which
has values like
some_identifier = x.xe-1
some_identifier = x.xe0
The failures are only when the tree dump values are positive and
represented in the above format. I checked the tree dumps manually and
found out that all the values are proper and the scan lines in the
test-cases are also proper. this is way i used them
/* { dg-final { scan-tree-dump "b4 = 6.3e+1" "gimple" } } */
Why is this behavior ? For positive values should i be writing it in
some other way?
One other question is that i am getting "test for excess errors" Fails
for some cases which produce lot of warnings but otherwise proper.
Can anyone help me?
Thanks in advance.
Regards,
Shafi.