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

             Bug #: 14769
           Summary: return structure gets corrupted / possible alignment
                    issue
           Product: new-bugs
           Version: 3.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Created attachment 9786
  --> http://llvm.org/bugs/attachment.cgi?id=9786
reproduction

In the attached example the return value from 'eval_expr' gets corrupted (has
the wrong values). This is using a particular structure type as the return; not
all structures cause this problem. If the type is not returned, instead
constructed directly in 'main', the problem does not happen.

I'd expect this return to work or be rejected as an error.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to