public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/12234] New: H8GCC Bug
@ 2003-09-10 8:14 sengyaw at yahoo dot com
2003-09-10 8:15 ` [Bug c/12234] " sengyaw at yahoo dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: sengyaw at yahoo dot com @ 2003-09-10 8:14 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12234
Summary: H8GCC Bug
Product: gcc
Version: 3.2.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sengyaw at yahoo dot com
CC: gcc-bugs at gcc dot gnu dot org,sengyaw at yahoo dot com
Dear Sir/Madam,
A bug has been found on the H8GCC.
Please refer to line 19 below, the translated instruction format should be
01406910 but not 01406900, because the register is ER1 not ER0.
15 start:
16 00f4 7A010000 mov.l #data,er1
16 0000
17 00fa F855 mov.b #0x55,r0l
18 00fc 6898 mov.b r0l,@er1
19 00fe 01406900 ldc.w @er1,ccr
20
21 0102 38C0 mov.b r0l,@0xc0:8
22 0104 38C1 mov.b r0l,@0xc1:8
23
24 .bss data,4
25 .end
H8GCC Verson: 3.2.3
System type: SCO Unix
Command: h8gcc -mh -c -Wa,-alh CoffTest.s > CoffTest.L
Thanks.
Regards,
Tan Seng Yaw
Programmer, R&D (Systems)
E-Genting Sdn. Bhd.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/12234] H8GCC Bug
2003-09-10 8:14 [Bug c/12234] New: H8GCC Bug sengyaw at yahoo dot com
@ 2003-09-10 8:15 ` sengyaw at yahoo dot com
2003-09-10 15:39 ` [Bug target/12234] " pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: sengyaw at yahoo dot com @ 2003-09-10 8:15 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12234
sengyaw at yahoo dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sytan at genting dot com dot
| |my
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/12234] H8GCC Bug
2003-09-10 8:14 [Bug c/12234] New: H8GCC Bug sengyaw at yahoo dot com
2003-09-10 8:15 ` [Bug c/12234] " sengyaw at yahoo dot com
@ 2003-09-10 15:39 ` pinskia at gcc dot gnu dot org
2003-09-11 14:50 ` sengyaw at yahoo dot com
2003-09-11 15:44 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-10 15:39 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12234
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Component|c |target
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-09-10 15:39 -------
Read http://gcc.gnu.org/bugs.html and we need the following information:
the exact version of GCC;
the system type;
the options given when GCC was configured/built;
The above will can be gotten by gcc -v.
the preprocessed file (can be found when using -save-temps).
Also note we do not have control over binutils (objdump, as, ld) bugs.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/12234] H8GCC Bug
2003-09-10 8:14 [Bug c/12234] New: H8GCC Bug sengyaw at yahoo dot com
2003-09-10 8:15 ` [Bug c/12234] " sengyaw at yahoo dot com
2003-09-10 15:39 ` [Bug target/12234] " pinskia at gcc dot gnu dot org
@ 2003-09-11 14:50 ` sengyaw at yahoo dot com
2003-09-11 15:44 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: sengyaw at yahoo dot com @ 2003-09-11 14:50 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12234
------- Additional Comments From sengyaw at yahoo dot com 2003-09-11 07:00 -------
Information get from h8gcc -v:
Reading specs from /usr/local/h8/lib/gcc-lib/h8300-hms/3.2.3/specs
Configured with: ../configure --target=h8300-hms --prefix=/usr/local/h8 --enable
-languages=c++ --with-newlib --with-headers=/usr/newlib/newlib-1.11.0/newlib/lib
c/include
Thread model: single
gcc version 3.2.3
I do not have any output when using -save-temps as option.
Below is my makefile content for your reference.
CoffTest: CoffTest.o makefile
h8ld -s -m h8300h -nostdlib -nodefaultlibs -TCoffTest.ld \
CoffTest.o -oCoffTest
CoffTest.o: CoffTest.s makefile
h8gcc -mh -c -Wa,-alh CoffTest.s > CoffTest.L
Pls do not hesitate to ask me for more information.
Thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/12234] H8GCC Bug
2003-09-10 8:14 [Bug c/12234] New: H8GCC Bug sengyaw at yahoo dot com
` (2 preceding siblings ...)
2003-09-11 14:50 ` sengyaw at yahoo dot com
@ 2003-09-11 15:44 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-11 15:44 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12234
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-09-11 15:44 -------
Not a GCC bug but rather a binutils bug, report it to them.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-09-11 15:44 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-10 8:14 [Bug c/12234] New: H8GCC Bug sengyaw at yahoo dot com
2003-09-10 8:15 ` [Bug c/12234] " sengyaw at yahoo dot com
2003-09-10 15:39 ` [Bug target/12234] " pinskia at gcc dot gnu dot org
2003-09-11 14:50 ` sengyaw at yahoo dot com
2003-09-11 15:44 ` pinskia at gcc dot gnu dot org
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).