| commit | 1897de1c3804a85cbd43a0b0c00e46186e01876e | [log] [tgz] |
|---|---|---|
| author | Chris Lattner <sabre@nondot.org> | Mon Mar 09 21:19:16 2009 +0000 |
| committer | Chris Lattner <sabre@nondot.org> | Mon Mar 09 21:19:16 2009 +0000 |
| tree | 71b2be488ee8ea9f52dcc5875950b65bdda76b31 | |
| parent | 34e52ddb7d05c832f6646102bddd778755c057e6 [diff] |
Fix PR3766, a really nasty silent miscompilation case where we emitted a warning and then threw away the AST. While I'm in there, tighten up the code to actually reject completely bogus cases (sending a message to a struct). We still allow sending a message to an int, which doesn't make sense but GCC allows it and is easy to support. llvm-svn: 66468