[LLVMbugs] [Bug 14769] New: return structure gets corrupted / possible alignment issue

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Dec 31 22:32:49 PST 2012


             Bug #: 14769
           Summary: return structure gets corrupted / possible alignment
           Product: new-bugs
           Version: 3.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: eda-qa at disemia.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

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

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.

More information about the llvm-bugs mailing list