This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r153496 - in /trunk/gcc: ChangeLog alias.c c-co...
- From: jsm28 at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 23 Oct 2009 12:18:43 -0000
- Subject: r153496 - in /trunk/gcc: ChangeLog alias.c c-co...
Author: jsm28
Date: Fri Oct 23 12:18:42 2009
New Revision: 153496
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153496
Log:
PR c/41673
* alias.c (get_alias_set): Call langhook before returning 0 for
types with structural equality.
* c-common.c (c_common_get_alias_set): Use alias set of element
type for arrays with structural comparison.
testsuite:
* gcc.dg/Wstrict-aliasing-bogus-vla-1.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/Wstrict-aliasing-bogus-vla-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/alias.c
trunk/gcc/c-common.c
trunk/gcc/testsuite/ChangeLog