re PR middle-end/83215 (C++: struct with char-array assumed to alias with everything)
authorRichard Biener <rguenther@suse.de>
Tue, 20 Nov 2018 09:31:06 +0000 (09:31 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 20 Nov 2018 09:31:06 +0000 (09:31 +0000)
commitdc3221e1e3d3a39d88d2d35103f6f50e3400d7a8
treeda4944c9019f08cbd4e0f94ce31956af82630d92
parent643427d70f7a547a1db8a8492a6a124ff22c0d3a
re PR middle-end/83215 (C++: struct with char-array assumed to alias with everything)

2018-11-20  Richard Biener  <rguenther@suse.de>

PR middle-end/83215
* alias.c (component_uses_parent_alias_set_from): Remove
alias-set zero and TYPE_TYPELESS_STORAGE case both already
handled in other ways.

* g++.dg/tree-ssa/pr83215.C: New testcase.

From-SVN: r266305
gcc/ChangeLog
gcc/alias.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tree-ssa/pr83215.C [new file with mode: 0644]