Bug 44195 - [4.6 regression] gcc.dg/lto/20100518 c_lto_20100518_0.o
Summary: [4.6 regression] gcc.dg/lto/20100518 c_lto_20100518_0.o
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: lto (show other bugs)
Version: 4.6.0
: P3 normal
Target Milestone: 4.6.0
Assignee: Peter Bergner
URL: http://gcc.gnu.org/ml/gcc-patches/201...
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-19 06:44 UTC by H.J. Lu
Modified: 2010-07-06 16:59 UTC (History)
6 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2010-05-20 05:42:33


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2010-05-19 06:44:02 UTC
On Linux/ia64,gcc.dg/lto/20100518 c_lto_20100518_0.o failed
with

Executing on host: /export/gnu/import/svn/gcc-test/bld/gcc/xgcc -B/export/gnu/import/svn/gcc-test/bld/gcc/  -O0 -fwhopr  -c  -o c_lto_20100518_0.o /export/gnu/import/svn/gcc-test/src-4.5/gcc/testsuite/gcc.dg/lto/20100518_0.c    (timeout = 300)
/tmp/cc4SDnj1.s: Assembler messages:^M
/tmp/cc4SDnj1.s:109: Error: Unknown opcode `decl [r14]'^M
/tmp/cc4SDnj1.s:109: Error: Unknown opcode `jnz .L2'^M
compiler exited with status 1

They aren't ia64 instructions.
Comment 1 John David Anglin 2010-06-19 18:40:03 UTC
Fails for similar reasons on hppa-unknown-linux-gnu.
Comment 2 Peter Bergner 2010-06-22 15:01:53 UTC
I just noticed this on powerpc64-linux too.  Can't we do something similar to what test case 20081126_0.c does?  Namely:

/* { dg-skip-if "" { ! { i?86-*-* x86_64-*-* } } { "*" } { "" } } */

Comment 3 Peter Bergner 2010-07-06 16:09:40 UTC
Subject: Bug 44195

Author: bergner
Date: Tue Jul  6 16:09:13 2010
New Revision: 161872

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161872
Log:
	PR testsuite/44195
	* gcc.dg/lto/20100518_0.c: Limit to x86.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/lto/20100518_0.c

Comment 4 Peter Bergner 2010-07-06 16:57:42 UTC
Subject: Bug 44195

Author: bergner
Date: Tue Jul  6 16:57:21 2010
New Revision: 161874

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161874
Log:
	Backport from mainline
	2010-07-06  Peter Bergner  <bergner@vnet.ibm.com>

	PR testsuite/44195
	* gcc.dg/lto/20100518_0.c: Limit to x86.

Modified:
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/lto/20100518_0.c

Comment 5 Peter Bergner 2010-07-06 16:59:14 UTC
Fixed in trunk and the 4.5 branch.