Bug 24962 - gcc.target/ia64/20030811-1.c (test for excess errors) fails with -milp32
Summary: gcc.target/ia64/20030811-1.c (test for excess errors) fails with -milp32
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: testsuite (show other bugs)
Version: 4.2.0
: P3 normal
Target Milestone: 4.1.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-20 17:41 UTC by Joseph S. Myers
Modified: 2006-01-28 21:00 UTC (History)
3 users (show)

See Also:
Host:
Target: ia64-*-hpux*
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph S. Myers 2005-11-20 17:41:47 UTC
FAIL: gcc.target/ia64/20030811-1.c (test for excess errors)

has appeared on mainline for ia64-hp-hpux11.23 -milp32, with the move of that test from gcc.dg which also enabled it for HP-UX (previously only enabled for ia64-linux).  Messages are all of form

/scratch/gcc/nightly-2005-11-19-mainline/src/gcc-mainline/gcc/testsuite/gcc.target/ia64/20030811-1.c:47: warning: integer constant is too large for 'long' type

or similar "large integer implicitly truncated to unsigned type"
(this testcase is clearly not -milp32 (the HP-UX default) ready).
Comment 1 Steve Ellcey 2006-01-20 18:29:47 UTC
Subject: Bug 24962

Author: sje
Date: Fri Jan 20 18:29:44 2006
New Revision: 110034

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110034
Log:
	PR testsuite/24962
	* gcc.target/ia64/20030811-1.c: Change 'long' to 'long long'.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/ia64/20030811-1.c

Comment 2 Steve Ellcey 2006-01-26 22:40:19 UTC
Subject: Bug 24962

Author: sje
Date: Thu Jan 26 22:40:15 2006
New Revision: 110283

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110283
Log:
	PR testsuite/24962
	* gcc.target/ia64/20030811-1.c: Change 'long' to 'long long'.

Modified:
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_1-branch/gcc/testsuite/gcc.target/ia64/20030811-1.c

Comment 3 Steve Ellcey 2006-01-27 17:06:42 UTC
This testsuite failure has been fixed on the main line and in the 4.1 branch by using long long instead of just long.  The test failure does not occur prior to 4.1 because the test is not run on HP-UX prior to 4.1.