Bug 12325 - gcc.dg/torture/builtin-attr-1.c assumes all targets support inf
Summary: gcc.dg/torture/builtin-attr-1.c assumes all targets support inf
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: testsuite (show other bugs)
Version: 3.4.0
: P2 minor
Target Milestone: 4.0.4
Assignee: Kaveh Ghazi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-18 05:38 UTC by matt
Modified: 2007-01-16 04:44 UTC (History)
2 users (show)

See Also:
Host:
Target: vax--netbsdelf
Build:
Known to work: 4.0.4 4.1.2 4.2.0 4.3.0
Known to fail:
Last reconfirmed: 2007-01-13 19:43:44


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description matt 2003-09-18 05:38:56 UTC
FAIL: gcc.dg/torture/builtin-attr-1.c (test for excess errors)
Excess errors:
/u1/toolchain/gcc/gcc/testsuite/gcc.dg/torture/builtin-attr-1.c:287: warning: target format does 
not support infinity
/u1/toolchain/gcc/gcc/testsuite/gcc.dg/torture/builtin-attr-1.c:287: warning: target format does 
not support infinity
/u1/toolchain/gcc/gcc/testsuite/gcc.dg/torture/builtin-attr-1.c:287: warning: target format does 
not support infinity
/u1/toolchain/gcc/gcc/testsuite/gcc.dg/torture/builtin-attr-1.c:287: warning: target format does 
not support infinity
/u1/toolchain/gcc/gcc/testsuite/gcc.dg/torture/builtin-attr-1.c:287: warning: target format does 
not support infinity
/u1/toolchain/gcc/gcc/testsuite/gcc.dg/torture/builtin-attr-1.c:287: warning: target format does 
not support infinity
Comment 1 Andrew Pinski 2003-09-18 06:32:17 UTC
Yes some people when they add testcases forgot about targets that do not support INF or 
IEEE math. I would recomend that the test for inf be split out into a different testcase.
Comment 2 Kaveh Ghazi 2007-01-13 19:43:44 UTC
Patch posted here:
http://gcc.gnu.org/ml/gcc-patches/2007-01/msg01146.html

Confirm that it cures the testcase on a vax would be nice...
Comment 3 Kaveh Ghazi 2007-01-16 03:10:48 UTC
Subject: Bug 12325

Author: ghazi
Date: Tue Jan 16 03:10:37 2007
New Revision: 120818

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120818
Log:
	PR testsuite/12325
	* gcc.dg/torture/builtin-attr-1.c: Handle warnings from
	targets that don't support Inf.


Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/torture/builtin-attr-1.c

Comment 4 Kaveh Ghazi 2007-01-16 04:01:42 UTC
Subject: Bug 12325

Author: ghazi
Date: Tue Jan 16 04:01:32 2007
New Revision: 120819

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120819
Log:
	PR testsuite/12325
	* gcc.dg/torture/builtin-attr-1.c: Handle warnings from
	targets that don't support Inf.


Modified:
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/torture/builtin-attr-1.c

Comment 5 Kaveh Ghazi 2007-01-16 04:13:54 UTC
Subject: Bug 12325

Author: ghazi
Date: Tue Jan 16 04:13:43 2007
New Revision: 120820

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120820
Log:
	PR testsuite/12325
	* gcc.dg/torture/builtin-attr-1.c: Handle warnings from
	targets that don't support Inf.


Modified:
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/torture/builtin-attr-1.c

Comment 6 Kaveh Ghazi 2007-01-16 04:22:57 UTC
Subject: Bug 12325

Author: ghazi
Date: Tue Jan 16 04:22:44 2007
New Revision: 120821

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120821
Log:
	PR testsuite/12325
	* gcc.dg/torture/builtin-attr-1.c: Handle warnings from
	targets that don't support Inf.


Modified:
    branches/gcc-4_0-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_0-branch/gcc/testsuite/gcc.dg/torture/builtin-attr-1.c

Comment 7 Kaveh Ghazi 2007-01-16 04:44:52 UTC
Patch installed on all active branches.