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 1170 - llvm-gcc crashes on variable sized struct argument
Summary: llvm-gcc crashes on variable sized struct argument
Status: RESOLVED FIXED
Alias: None
Product: tools
Classification: Unclassified
Component: llvm-gcc (show other bugs)
Version: trunk
Hardware: All All
: P normal
Assignee: Chris Lattner
URL:
Keywords: compile-fail
Depends on:
Blocks: 1166
  Show dependency tree
 
Reported: 2007-02-04 15:28 PST by Anton Korobeynikov
Modified: 2014-05-14 11:44 PDT (History)
2 users (show)

See Also:
Fixed By Commit(s):


Attachments
Testcase :) (55 bytes, text/plain)
2007-02-04 15:28 PST, Anton Korobeynikov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Korobeynikov 2007-02-04 15:28:34 PST
Attached testcase causes llvm-gcc to eat all memory & die.

Testcase actually was from: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5615
Comment 1 Anton Korobeynikov 2007-02-04 15:28:53 PST
Created attachment 631 [details]
Testcase :)
Comment 2 Chris Lattner 2007-02-16 23:45:50 PST
Fixed.  Patch here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070212/044674.html

Testcase here: test/CFrontend/2007-02-16-VariableSizeStructArg.c

-Chris
Comment 3 Reid Kleckner 2014-05-14 11:44:02 PDT
*** Bug 19738 has been marked as a duplicate of this bug. ***