[LLVMbugs] [Bug 11770] New: missing sret in some cases
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Jan 16 08:21:08 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=11770
Bug #: 11770
Summary: missing sret in some cases
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: rafael.espindola at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Compiling
typedef struct
{
long long int quot;
long long int rem;
} lldiv_t;
#ifdef foo
lldiv_t lldiv(long long int num) __attribute__ ((weak, alias ("_lldiv")));
#endif
lldiv_t _lldiv(long long num)
{
}
without -Dfoo produces
define void @_lldiv(%struct.lldiv_t* noalias nocapture sret %agg.result,....
and with -Dfoo:
define void @_lldiv(%struct.lldiv_t* noalias nocapture %agg.result,...
--
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