public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: target/6869: G++ 3.1 generates incorrect assembler instructions for HPPA 2.0
@ 2002-05-30 13:16 danglin
  0 siblings, 0 replies; 4+ messages in thread
From: danglin @ 2002-05-30 13:16 UTC (permalink / raw)
  To: Stefan.Becker, danglin, gcc-bugs, gcc-prs, marduk, nobody

Synopsis: G++ 3.1 generates incorrect assembler instructions for HPPA 2.0

Responsible-Changed-From-To: unassigned->danglin
Responsible-Changed-By: danglin
Responsible-Changed-When: Thu May 30 11:27:38 2002
Responsible-Changed-Why:
    Mine.
State-Changed-From-To: open->analyzed
State-Changed-By: danglin
State-Changed-When: Thu May 30 11:27:38 2002
State-Changed-Why:
    See <http://sources.redhat.com/ml/bug-binutils/2002-q2/msg00282.html>.

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


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

* Re: target/6869: G++ 3.1 generates incorrect assembler instructions  for HPPA 2.0
@ 2002-05-31 17:37 law
  0 siblings, 0 replies; 4+ messages in thread
From: law @ 2002-05-31 17:37 UTC (permalink / raw)
  To: danglin; +Cc: gcc-prs

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

From: law@redhat.com
To: danglin@gcc.gnu.org, Stefan.Becker@nokia.com, gcc-bugs@gcc.gnu.org,
        gcc-prs@gcc.gnu.org, marduk@mandatory.net, gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: target/6869: G++ 3.1 generates incorrect assembler instructions 
 for HPPA 2.0
Date: Fri, 31 May 2002 14:17:18 -0600

 In message <20020531195030.11951.qmail@sources.redhat.com>, danglin@gcc.gnu.org
  writes:
  > Synopsis: G++ 3.1 generates incorrect assembler instructions for HPPA 2.0
  > 
  > State-Changed-From-To: analyzed->closed
  > State-Changed-By: danglin
  > State-Changed-When: Fri May 31 12:50:28 2002
  > State-Changed-Why:
  >     Fixed.
  >     <http://gcc.gnu.org/ml/gcc-bugs/2002-05/msg01282.html>
  > 
  > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&p
  > r=6869
 BTW, if you haven't done so already, could you install this fix onto the 
 gcc-3.1
 branch?
 
 Thanks,
 jeff
 
 


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

* Re: target/6869: G++ 3.1 generates incorrect assembler instructions for HPPA 2.0
@ 2002-05-31 13:16 danglin
  0 siblings, 0 replies; 4+ messages in thread
From: danglin @ 2002-05-31 13:16 UTC (permalink / raw)
  To: Stefan.Becker, danglin, gcc-bugs, gcc-prs, marduk

Synopsis: G++ 3.1 generates incorrect assembler instructions for HPPA 2.0

State-Changed-From-To: analyzed->closed
State-Changed-By: danglin
State-Changed-When: Fri May 31 12:50:28 2002
State-Changed-Why:
    Fixed.
    <http://gcc.gnu.org/ml/gcc-bugs/2002-05/msg01282.html>

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


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

* target/6869: G++ 3.1 generates incorrect assembler instructions for HPPA 2.0
@ 2002-05-30  8:56 Stefan.Becker
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan.Becker @ 2002-05-30  8:56 UTC (permalink / raw)
  To: gcc-gnats; +Cc: marduk


>Number:         6869
>Category:       target
>Synopsis:       G++ 3.1 generates incorrect assembler instructions for HPPA 2.0
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          wrong-code
>Submitter-Id:   net
>Arrival-Date:   Thu May 30 08:06:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Stefan Becker
>Release:        gcc-3.1, binutils-2.12.1
>Organization:
>Environment:
hppa2.0-hp-hpux11.11
>Description:
g++ generates in static initialization code:

        addil LR%L$3244-$global$,%r27
        ldw RR%L$3244-$global$(%r1),%r22
        ldil L%$$dyncall,%r2
-       ble  R%$$dyncall(%sr4,%r2)       <- for PA1.1
+       be,l  R%$$dyncall(%sr4,%r2)      <- for PA2.0
        copy %r31,%r2
        ldw 12(%r3),%r19
 
GNU as complains about the "be,l" lines with the following error message:

xxxx.s:197656: Error: Invalid Nullification: (l)
>How-To-Repeat:
Unfortunately I couldn't create a small test file and the original file contains confidential information.
>Fix:
I checked the HPPA configuration and could only two places in pa.c which generate "be,l":

pa.c:5924:        output_asm_insn ("{ble|be,l} R%%%0(%%sr4,%3)", xoperands);
pa.c:6169:            output_asm_insn ("{ble|be,l}  R%%$$dyncall(%%sr4,%%r2)",

The second one is the one which generates the offending code in my case.

I don't have a HPPA manual, but I guess either a) "be,l" is a wrong instruction or b) GNU as is broken.
>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2002-05-31 20:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-30 13:16 target/6869: G++ 3.1 generates incorrect assembler instructions for HPPA 2.0 danglin
  -- strict thread matches above, loose matches on Subject: below --
2002-05-31 17:37 law
2002-05-31 13:16 danglin
2002-05-30  8:56 Stefan.Becker

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).