[Bug target/61821] New: gcc.target/i386/pr61599-1.c FAILs with Sun as
ro at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jul 16 15:04:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61821
Bug ID: 61821
Summary: gcc.target/i386/pr61599-1.c FAILs with Sun as
Product: gcc
Version: 4.10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: ro at gcc dot gnu.org
CC: tmsriram at google dot com
Depends on: 59407
Host: i386-pc-solaris2.1[01]
Target: i386-pc-solaris2.1[01]
Build: i386-pc-solaris2.1[01]
The new gcc.target/i386/pr61599-1.c testcase FAILs on Solaris/x86 with Sun as:
FAIL: gcc.target/i386/pr61599-1.c (test for excess errors)
WARNING: gcc.target/i386/pr61599-1.c compilation failed to produce executable
Assembler: pr61599-1.c
"pr61599-1.s", line 2 : Illegal mnemonic
Near line: ".largecomm a,1073741824,64"
"pr61599-1.s", line 2 : Syntax error
Near line: ".largecomm a,1073741824,64"
"pr61599-1.s", line 3 : Illegal mnemonic
Near line: ".largecomm b,1073741824,64"
"pr61599-1.s", line 3 : Syntax error
Near line: ".largecomm b,1073741824,64"
"pr61599-1.s", line 4 : Illegal mnemonic
Near line: ".largecomm c,1073741824,64"
"pr61599-1.s", line 4 : Syntax error
Near line: ".largecomm c,1073741824,64"
.largecomm is only supported by gas:
.largecomm a,1073741824,64
while Sun as needs this instead:
.section .lbss,"wah",@nobits
.lbcomm a,1073741824,64
Apart from the different directive, the explicit section switching is
mandatory,
as is the "h" flag for a large section.
See PR target/59407 for the "h" flag issue.
Rainer
More information about the Gcc-bugs
mailing list