Evaluate union cast subexpressions when the cast value is unused
authorReid Kleckner <reid@kleckner.net>
Wed, 20 May 2015 21:59:25 +0000 (21:59 +0000)
committerReid Kleckner <reid@kleckner.net>
Wed, 20 May 2015 21:59:25 +0000 (21:59 +0000)
commit892bb0cace9f733df800e4875fcf9325f860501a
treebeec6f4d8624b513239270980ae51f497f6e2a40
parent0c28fd7fda3d9e58d9efefb63a249e0270ef7ba4
Evaluate union cast subexpressions when the cast value is unused

Fixes PR23597.

llvm-svn: 237839
clang/lib/CodeGen/CGExprAgg.cpp
clang/test/CodeGen/exprs.c