public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/6200: Failure of test gcc.c-torture/compile/labels-3.c on irix6
@ 2002-04-23  8:36 Kaveh R. Ghazi
  0 siblings, 0 replies; 4+ messages in thread
From: Kaveh R. Ghazi @ 2002-04-23  8:36 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c/6200; it has been noted by GNATS.

From: "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu>
To: David.Billinghurst@riotinto.com, gcc-bugs@gcc.gnu.org,
        gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org,
        rth@gcc.gnu.org, rth@redhat.com
Cc:  
Subject: Re: c/6200: Failure of test gcc.c-torture/compile/labels-3.c on irix6
Date: Tue, 23 Apr 2002 11:32:18 -0400 (EDT)

  > From: rth@gcc.gnu.org
  > 
  > Synopsis: Failure of test gcc.c-torture/compile/labels-3.c on irix6
  > 
  > State-Changed-From-To: open->closed
  > State-Changed-By: rth
  > State-Changed-When: Tue Apr 23 01:34:58 2002
  > State-Changed-Why:
  >     Not really a bug.  Your system assembler doesn't support
  >     label arithmetic in narrow fields.  It works with gas, and
  >     there's not really much point trying to diagnose this from
  >     within the compiler.
  > 
  > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6200
 
 I'd like to xfail the test for irix then.
 
 But if as you say it works for gas, is there a way to only xfail it
 when using the native assembler e.g.  using
 compiler_conditional_xfail_data?  (Not sure how to do that yet.)
 
 Or maybe we just don't assemble for either as/gas if we're on irix via
 set options "-S".
 
 Thoughts?
 
 		--Kaveh
 --
 Kaveh R. Ghazi			Director of Systems Architecture
 ghazi@caip.rutgers.edu		Qwest Global Services


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: c/6200: Failure of test gcc.c-torture/compile/labels-3.c on irix6
@ 2002-04-23  9:36 Richard Henderson
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Henderson @ 2002-04-23  9:36 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c/6200; it has been noted by GNATS.

From: Richard Henderson <rth@redhat.com>
To: "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu>
Cc: David.Billinghurst@riotinto.com, gcc-bugs@gcc.gnu.org,
   gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org,
   rth@gcc.gnu.org
Subject: Re: c/6200: Failure of test gcc.c-torture/compile/labels-3.c on irix6
Date: Tue, 23 Apr 2002 09:25:40 -0700

 On Tue, Apr 23, 2002 at 11:32:18AM -0400, Kaveh R. Ghazi wrote:
 > But if as you say it works for gas, is there a way to only xfail it
 > when using the native assembler e.g.  using
 > compiler_conditional_xfail_data?
 
 No.
 
 > Or maybe we just don't assemble for either as/gas if we're on irix via
 > set options "-S".
 
 That'd be ok I guess.
 
 
 r~


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: c/6200: Failure of test gcc.c-torture/compile/labels-3.c on irix6
@ 2002-04-23  1:34 rth
  0 siblings, 0 replies; 4+ messages in thread
From: rth @ 2002-04-23  1:34 UTC (permalink / raw)
  To: David.Billinghurst, gcc-bugs, gcc-prs, ghazi, nobody

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

State-Changed-From-To: open->closed
State-Changed-By: rth
State-Changed-When: Tue Apr 23 01:34:58 2002
State-Changed-Why:
    Not really a bug.  Your system assembler doesn't support
    label arithmetic in narrow fields.  It works with gas, and
    there's not really much point trying to diagnose this from
    within the compiler.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6200


^ permalink raw reply	[flat|nested] 4+ messages in thread

* c/6200: Failure of test gcc.c-torture/compile/labels-3.c on irix6
@ 2002-04-06  3:16 David.Billinghurst
  0 siblings, 0 replies; 4+ messages in thread
From: David.Billinghurst @ 2002-04-06  3:16 UTC (permalink / raw)
  To: gcc-gnats; +Cc: ghazi


>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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-04-23 16:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-23  8:36 c/6200: Failure of test gcc.c-torture/compile/labels-3.c on irix6 Kaveh R. Ghazi
  -- strict thread matches above, loose matches on Subject: below --
2002-04-23  9:36 Richard Henderson
2002-04-23  1:34 rth
2002-04-06  3:16 David.Billinghurst

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).