public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* target/6318: GCC 3.0.3 rejects Hitachi SH2 registers "vbr" and "pc"
@ 2002-04-16  3:06 kaspervandenberg
  0 siblings, 0 replies; 2+ messages in thread
From: kaspervandenberg @ 2002-04-16  3:06 UTC (permalink / raw)
  To: gcc-gnats


>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=c,c++,proto --cache-file=/home/kpit/mingwsh-elfbld3.0.3rel/build-gcc-3.0.3patch_mingw/config.cache --build=i686-pc-linux-gnu --host=i386-pc-mingw32msvc --target=sh-elf --with-newlib --prefix=/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="vbr.i"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="vbr.i"

IyAxICJ2YnIuYyINCmludCBtYWluICh2b2lkKQ0Kew0KICAgICAgICByZWdpc3RlciBpbnQgdGVz
dDEgYXNtKCJyMSIpOw0KICAgICAgICByZWdpc3RlciBpbnQgdGVzdDIgYXNtKCJnYnIiKTsNCiAg
ICAgICAgcmVnaXN0ZXIgaW50IHRlc3QzIGFzbSgidmJyIik7DQogICAgICAgIHJlZ2lzdGVyIGlu
dCB0ZXN0NCBhc20oInBjIik7DQoNCiAgICAgICAgcmV0dXJuIDA7DQp9DQo=


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

* RE: target/6318: GCC 3.0.3 rejects Hitachi SH2 registers "vbr" and "pc"
@ 2002-04-19  5:46 Rekha Deshmukh
  0 siblings, 0 replies; 2+ messages in thread
From: Rekha Deshmukh @ 2002-04-19  5:46 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

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
 


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

end of thread, other threads:[~2002-04-19 12:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-16  3:06 target/6318: GCC 3.0.3 rejects Hitachi SH2 registers "vbr" and "pc" kaspervandenberg
2002-04-19  5:46 Rekha Deshmukh

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