www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 5246] New: PATCH(s): fix a couple more uninitialised variables

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5246

           Summary: PATCH(s): fix a couple more uninitialised variables
           Product: D
           Version: D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: s.d.hammett googlemail.com


--- Comment #0 from simon <s.d.hammett googlemail.com> 2010-11-20 09:04:28 PST
---
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

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 20 2010
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5246



--- Comment #1 from simon <s.d.hammett googlemail.com> 2010-11-20 09:05:10 PST
---
Created an attachment (id=824)
PATCH: fix use of uninitialised variable in cod4.c

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 20 2010
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5246



--- Comment #2 from simon <s.d.hammett googlemail.com> 2010-11-20 09:05:44 PST
---
Created an attachment (id=825)
PATCH: fix use of uninitialised variable in cgelem.c

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 20 2010
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5246


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
            Version|D2                          |D1 & D2
         Resolution|                            |FIXED


--- Comment #3 from Walter Bright <bugzilla digitalmars.com> 2011-01-30
12:32:34 PST ---
https://github.com/D-Programming-Language/dmd/commit/61bf1d3e091a5e79d168a7ebf9a3546d93b004c4

https://github.com/D-Programming-Language/dmd/commit/8d9a45a03ffbcfdfbaff7120368ff74f2646c4c6

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 30 2011