Bug in h8300-hms-gcc

Low Sze Hau szehlow@genting.com.my
Wed Jun 30 08:50:00 GMT 2004


When I compile the source file with the h8300-hms-gcc compiler, it does not
initialize the value (0,zero only) for the static variable :
	static int h = 0;

My command is:

h8300-hms-gcc -c -mh -c -O3 -Wall -fno-exceptions -fomit-frame-pointer
-fno-inline-functions -Wa,-alh -DCPU_H8300H=1 -Wno-non-virtual-dtor Test.cpp

Is this a bug?

Low Sze Hau

PLEASE NOTE: The information in this e-mail message is
legally privileged and confidential information intended only for
the use of the individual(s) name above. If you, the reader of this
message, are not the intended recipient, you are hereby notified
that you should not further disseminate, distribute, or forward this
e-mail message. In addition, if you have received this e-mail in error,
please immediately notify us by email to administrator@genting.com.my
<mailto:administrator@genting.com.my>. Thank you.

Visit us at http://www.genting.com.my


-------------- next part --------------
A non-text attachment was scrubbed...
Name: Test.cpp
Type: application/octet-stream
Size: 85 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20040630/dd42f2cc/attachment.obj>

More information about the Gcc-bugs mailing list