re PR middle-end/52244 (wrong code for function returning union between int and _Bool...
authorRichard Guenther <rguenther@suse.de>
Tue, 14 Feb 2012 15:33:56 +0000 (15:33 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 14 Feb 2012 15:33:56 +0000 (15:33 +0000)
commit8085c586613ba2905acd555b0b4bd6bf265f1f43
treec501248fa589afafc35f7a550a5f38592d411785
parent31772c9507ed3c9f69565efa9dd80dcd8c72b0ba
re PR middle-end/52244 (wrong code for function returning union between int and _Bool at O > 2, with no-early-inlining)

2012-02-14  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/52244
PR tree-optimization/51528
* tree-sra.c (analyze_access_subtree): Only create INTEGER_TYPE
replacements for integral types.

* gcc.dg/torture/pr52244.c: New testcase.

From-SVN: r184214
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr52244.c [new file with mode: 0644]
gcc/tree-sra.c