public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: "Rekha Deshmukh" <RekhaD@kpit.com>
To: nobody@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org,
Subject: RE: target/6318: GCC 3.0.3 rejects Hitachi SH2 registers "vbr" and "pc"
Date: Fri, 19 Apr 2002 05:46:00 -0000	[thread overview]
Message-ID: <20020419124604.7816.qmail@sources.redhat.com> (raw)

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

From: "Rekha Deshmukh" <RekhaD@kpit.com>
To: <kaspervandenberg@eu.omron.com>
Cc: <gcc-gnats@gcc.gnu.org>
Subject: RE: target/6318: GCC 3.0.3 rejects Hitachi SH2 registers "vbr" and "pc"
Date: Fri, 19 Apr 2002 18:12:34 +0530

 Dear Kasper,
 
 vbr and pc are special purpose registers and are not used by the gcc. =
 vbr is a control register and pc is a system register for SH.
 You are getting the error because these registers can not be used as =
 register variables. If you use any of the general purpose registers for =
 register variable, gcc will accept it.
 
 Thanks & regards
 Rekha Bhintade
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Free download of GNUSH and GNUH8 tool chains for Hitachi's SH and H8 =
 Series.
 The following site also offers free support to European customers.
 Read more at http://www.kpit.com.
 Latest versions of GNUSH and GNUH8 are released on Apr 1, 2002.
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=20
 
 
 -----Original Message-----
 From: gcc-bugs-owner@gcc.gnu.org [mailto:gcc-bugs-owner@gcc.gnu.org]On
 Behalf Of kaspervandenberg@eu.omron.com
 Sent: Tuesday, April 16, 2002 3:29 PM
 To: gcc-gnats@gcc.gnu.org
 Subject: target/6318: GCC 3.0.3 rejects Hitachi SH2 registers "vbr" and
 "pc"
 
 
 
 >Number:         6318
 >Category:       target
 >Synopsis:       GCC 3.0.3 rejects Hitachi SH2 registers "vbr" and "pc"
 >Confidential:   no
 >Severity:       serious
 >Priority:       low
 >Responsible:    unassigned
 >State:          open
 >Class:          rejects-legal
 >Submitter-Id:   net
 >Arrival-Date:   Tue Apr 16 03:06:01 PDT 2002
 >Closed-Date:
 >Last-Modified:
 >Originator:     Kasper van den Berg
 >Release:        gcc version 3.0-GNUSH_v0202 (this is gcc 3.0.3)
 >Organization:
 >Environment:
 Host: Intel / WinNT / MinGW
 Target: Hitachi SH2 7043 / no OS
 
 gcc reports: Configured with:
 /home/kpit/fsfsrc/gcc-3.0.3patch_mingw/configure =
 --enable-languages=3Dc,c++,pr
 oto =
 --cache-file=3D/home/kpit/mingwsh-elfbld3.0.3rel/build-gcc-3.0.3patch_min=
 g
 w/config.cache --build=3Di686-pc-linux-gnu --host=3Di386-pc-mingw32msvc =
 --target
 =3Dsh-elf --with-newlib --prefix=3D/usr/mingwsh-elf3.0.3rel
 
 >Description:
 gcc doesn't know the registers names "vbr" and "pc"
 
 error messages:
 vbr.c: In function `main':
 vbr.c:5: invalid register name `vbr' for register variable
 vbr.c:6: invalid register name `pc' for register variable
 >How-To-Repeat:
 gcc -save-temps vbr.i
 >Fix:
 
 >Release-Note:
 >Audit-Trail:
 >Unformatted:
 ----gnatsweb-attachment----
 Content-Type: application/octet-stream; name=3D"vbr.i"
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment; filename=3D"vbr.i"
 
 IyAxICJ2YnIuYyINCmludCBtYWluICh2b2lkKQ0Kew0KICAgICAgICByZWdpc3RlciBpbnQgd=
 GVz
 dDEgYXNtKCJyMSIpOw0KICAgICAgICByZWdpc3RlciBpbnQgdGVzdDIgYXNtKCJnYnIiKTsNC=
 iAg
 ICAgICAgcmVnaXN0ZXIgaW50IHRlc3QzIGFzbSgidmJyIik7DQogICAgICAgIHJlZ2lzdGVyI=
 Glu
 dCB0ZXN0NCBhc20oInBjIik7DQoNCiAgICAgICAgcmV0dXJuIDA7DQp9DQo=3D
 


             reply	other threads:[~2002-04-19 12:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-19  5:46 Rekha Deshmukh [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-04-16  3:06 kaspervandenberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020419124604.7816.qmail@sources.redhat.com \
    --to=rekhad@kpit.com \
    --cc=gcc-prs@gcc.gnu.org \
    --cc=nobody@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).