[Bug other/15628] New: GCC automatically initializes variables to 0
ext at nol dot co dot za
gcc-bugzilla@gcc.gnu.org
Tue May 25 02:03:00 GMT 2004
I'm running AVR GCC which automatically initializes all variables to 0 before
the main code is executed. It is critical that this does not happen since all
variable values need to be retained if the watchdog kicks in and my AVR is
reset. Is there some way automatic variable initialization could be disabled.
Regards,
Francois Cronjé
--
Summary: GCC automatically initializes variables to 0
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: critical
Priority: P1
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ext at nol dot co dot za
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15628
More information about the Gcc-bugs
mailing list