www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 9754] New: Bad codegen with 0-size args and -fPIC -O

http://d.puremagic.com/issues/show_bug.cgi?id=9754

           Summary: Bad codegen with 0-size args and -fPIC -O
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Keywords: wrong-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: thecybershadow gmail.com



02:00:39 EET ---
void f(char[0] s1, string s2) { assert(s2.length); }
void main() { f("", "a"); }

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 18 2013