LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 640 - [instcombine] Invalid sink of vaarg
Summary: [instcombine] Invalid sink of vaarg
Status: RESOLVED FIXED
Alias: None
Product: libraries
Classification: Unclassified
Component: Scalar Optimizations (show other bugs)
Version: 1.5
Hardware: All All
: P normal
Assignee: Chris Lattner
URL:
Keywords: miscompilation, regression
Depends on:
Blocks:
 
Reported: 2005-10-27 02:18 PDT by Markus F.X.J. Oberhumer
Modified: 2010-02-22 12:54 PST (History)
1 user (show)

See Also:
Fixed By Commit(s):


Attachments
stdarg_bug.c (1.21 KB, text/plain)
2005-10-27 02:18 PDT, Markus F.X.J. Oberhumer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus F.X.J. Oberhumer 2005-10-27 02:18:22 PDT
As of CVS 20051027 the test program (stdarg_bug.c) seems broken with both the C
and i386 backends.
Comment 1 Markus F.X.J. Oberhumer 2005-10-27 02:18:50 PDT
Created attachment 274 [details]
stdarg_bug.c
Comment 2 Chris Lattner 2005-10-27 12:15:40 PDT
Very nice catch.  Patch here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20051024/029118.html

Testcase here:
 llvm-test/SingleSource/Regression/C/PR640.c

Thanks again!

-Chris