]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR rtl-optimization/25654 (RTL alias analysis unprepared to handle stack slot...
authorSteven Bosscher <stevenb.gcc@gmail.com>
Mon, 23 Jan 2006 09:47:01 +0000 (09:47 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 23 Jan 2006 09:47:01 +0000 (09:47 +0000)
commitd239ed56aba8ec4d6d91d77fedecbc1674a2d3b7
tree6cabb48df9b8cfad2881998e1a67ab45201463ae
parent0f01f026dc4f3f265545bd112583c4756933e31a
re PR rtl-optimization/25654 (RTL alias analysis unprepared to handle stack slot sharing)

2006-01-23  Steven Bosscher  <stevenb.gcc@gmail.com>
Jan Hubicka  <jh@suse.cz>
Richard Guenther  <rguenther@suse.de>

PR rtl-optimization/25654
* cfgexpand.c (aggregate_contains_union_type): New function.
(add_alias_set_conflicts): Call it.  Make sure to add conflicts
for structure variables that contain a union type.

* gcc.dg/torture/pr25654.c: New testcase.
* gcc.target/i386/pr25654.c: Likewise.

Co-Authored-By: Jan Hubicka <jh@suse.cz>
Co-Authored-By: Richard Guenther <rguenther@suse.de>
From-SVN: r110109
gcc/ChangeLog
gcc/cfgexpand.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr25654.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr25654.c [new file with mode: 0644]