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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 18 17:00:40 PDT 2013


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 at puremagic.com
        ReportedBy: thecybershadow at gmail.com


--- Comment #0 from Vladimir Panteleev <thecybershadow at gmail.com> 2013-03-19 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: -------


More information about the Digitalmars-d-bugs mailing list