This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Hi, 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? Thanks Low Sze Hau <<Test.cpp>> ********************************************************************** 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 **********************************************************************
Attachment:
Test.cpp
Description: Binary data
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |