This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c/6200: Failure of test gcc.c-torture/compile/labels-3.c on irix6



>Number:         6200
>Category:       c
>Synopsis:       Failure of test gcc.c-torture/compile/labels-3.c on irix6
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 06 03:16:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     David Billinghurst
>Release:        gcc 3.1 and gcc 3,2
>Organization:
>Environment:
mips-sgi-irix6.5
mips-sgi-irix6.2
>Description:
Test gcc.c-torture/compile/labels-3.c on irix6.[25] 
with all levels of optimization both ABIs.

Failure is:

/exd6/billingd/obj/gcc-3.1/gcc/xgcc \
-B/exd6/billingd/obj/gcc-3.1/gcc/ -w -O0 -c -o \
/exd6/billingd/obj/gcc-3.1/gcc/testsuite/labels-3.o \
/exd2/billingd/src/gcc-3.1/gcc/testsuite/gcc.c-torture/compile/labels-3.c
as: Error: /var/tmp//ccmBAiYa.s, line 10: expecting a label or number: .L2^M
      .half .L2-(.L3)^M
as: Error: /var/tmp//ccmBAiYa.s, line 10: ill-formed symbolic expression^M
as: Error: /var/tmp//ccmBAiYa.s, line 10: ill-formed symbolic expression^M
as: Error: /var/tmp//ccmBAiYa.s, line 10: Invalid symbol in expression^M
compiler exited with status 1

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="labels-3.s"
Content-Disposition: inline; filename="labels-3.s"

	#.file	1 "/exd2/billingd/src/gcc-3.1/gcc/testsuite/gcc.c-torture/compile/labels-3.c"
	.option pic2
	.section .text,0x1,0x6,4,4
	.section .data,0x1,0x3,0,8
	.data
	.align	3
	.size	ar.0,4
ar.0:
	.half	0
	.half	.L2-(.L3)
	.text
	.align	2
	.globl	foo
	.ent	foo
foo:
.LFB1:
	.frame	$fp,48,$31		# vars= 16, regs= 2/0, args= 0, extra= 16
	.mask	0x50000000,-8
	.fmask	0x00000000,0
	subu	$sp,$sp,48
.LCFI0:
	sd	$fp,40($sp)
.LCFI1:
	sd	$28,32($sp)
.LCFI2:
	move	$fp,$sp
.LCFI3:
	.set	noat
	lui	$1,%hi(%neg(%gp_rel(foo)))
	addiu	$1,$1,%lo(%neg(%gp_rel(foo)))
	daddu	$gp,$1,$25
	.set	at
	sw	$4,16($fp)
	lw	$2,16($fp)
	sll	$3,$2,1
	la	$2,ar.0
	addu	$2,$3,$2
	lh	$3,0($2)
	la	$2,.L3
	addu	$2,$2,$3
	sw	$2,20($fp)
	lw	$2,20($fp)
	j	$2
.L3:
	li	$2,1			# 0x1
	sw	$2,24($fp)
	b	.L1
.L2:
	li	$2,2			# 0x2
	sw	$2,24($fp)
.L1:
	lw	$2,24($fp)
	move	$sp,$fp
	ld	$fp,40($sp)
	ld	$28,32($sp)
	addu	$sp,$sp,48
	j	$31
.LFE1:
	.end	foo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]