Bug 5246 – PATCH(s): fix a couple more uninitialised variables

Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
All
Creation time
2010-11-20T09:04:00Z
Last change time
2015-06-09T05:11:54Z
Assigned to
nobody
Creator
s.d.hammett

Attachments

IDFilenameSummaryContent-TypeSize
824cod4.c.diffPATCH: fix use of uninitialised variable in cod4.ctext/plain351
825cgelem.c.diffPATCH: fix use of uninitialised variable in cgelem.ctext/plain438

Comments

Comment #0 by s.d.hammett — 2010-11-20T09:04:28Z
backend/cod4.c, func: code *cdport(elem *e,regm_t *pretregs) use of port w/o initialisation, line 2977 triggered by runnable/bitops.d, test3 backend/cgelem.c, func: STATIC elem * optelem(elem *e,HINT goal) use of leftgoal w/o initialisation, line 4325 set it to true as that is what it will be in practice, but it looks like it should be false triggered by runnable/arrayop.d, test4
Comment #1 by s.d.hammett — 2010-11-20T09:05:10Z
Created attachment 824 PATCH: fix use of uninitialised variable in cod4.c
Comment #2 by s.d.hammett — 2010-11-20T09:05:44Z
Created attachment 825 PATCH: fix use of uninitialised variable in cgelem.c
Comment #3 by bugzilla — 2011-01-30T12:32:34Z