[LLVMbugs] [Bug 1397] NEW: K&R style struct returning functions don't get sret attribute

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun May 6 23:41:27 PDT 2007


http://llvm.org/bugs/show_bug.cgi?id=1397

           Summary: K&R style struct returning functions don't get sret
                    attribute
           Product: new-bugs
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr


Example:

struct X {};
struct X p() {
  struct X x;
  return x;
}

->

define void @p(%struct.X* %agg.result) {



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list