r142437 - in /trunk/gcc: ChangeLog Makefile.in ...
rguenth@gcc.gnu.org
rguenth@gcc.gnu.org
Thu Dec 4 15:55:00 GMT 2008
Author: rguenth
Date: Thu Dec 4 15:55:25 2008
New Revision: 142437
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142437
Log:
2008-12-04 Richard Guenther <rguenther@suse.de>
PR middle-end/36509
PR c++/38334
* Makefile.in (tree-ssa-alias-warnings.o): Remove.
(tree-ssa-structalias.o): Remove errors.h dependency.
(tree-ssa-reassoc.o): Likewise.
* tree-ssa-reassoc.c: Do not include errors.h.
* tree-ssa-alias-warnings.c: Remove.
* tree-ssa-alias.c (compute_may_aliases): Remove call to
strict_aliasing_warning_backend.
* tree-ssa-structalias.c (emit_pointer_definition): New function.
(emit_alias_warning): Likewise.
(set_uids_in_ptset): Warn for clear cases of type-punning.
* tree-inline.c (remap_gimple_op_r): Preserve TREE_NO_WARNING
on INDIRECT_REFs.
cp/
* typeck.c (get_member_function_from_ptrfunc): Mark the vtbl
pointer access with TREE_NO_WARNING.
* gcc.dg/Wstrict-aliasing-float-ptr-int-obj.c: Adjust, remove XFAIL.
* gcc.dg/Wstrict-aliasing-converted-assigned.c: Adjust.
* g++.dg/warn/Wstrict-aliasing-float-ref-int-obj.C: Likewise.
Removed:
trunk/gcc/tree-ssa-alias-warnings.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/Makefile.in
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/typeck.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/warn/Wstrict-aliasing-float-ref-int-obj.C
trunk/gcc/testsuite/gcc.dg/Wstrict-aliasing-converted-assigned.c
trunk/gcc/testsuite/gcc.dg/Wstrict-aliasing-float-ptr-int-obj.c
trunk/gcc/tree-inline.c
trunk/gcc/tree-ssa-alias.c
trunk/gcc/tree-ssa-reassoc.c
trunk/gcc/tree-ssa-structalias.c
More information about the Gcc-cvs
mailing list