[Bug optimization/13347] [tree-ssa] Incorrect code generated for reinterpret_cast<> of pointer-to-member

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Feb 27 12:41:00 GMT 2004


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-02-27 12:41 -------
Subject: Bug 13347

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	tree-ssa-20020619-branch
Changes by:	dnovillo@gcc.gnu.org	2004-02-27 12:41:37

Modified files:
	gcc            : ChangeLog.tree-ssa tree-sra.c tree-ssa.c tree.h 

Log message:
	PR optimization/13347
	* tree-sra.c (scalarize_structure_assignment): Use STRIP_NOPS
	instead of STRIP_USELESS_TYPE_CONVERSION to remove type casts
	from RHS of the assignment.
	
	* tree-ssa.c (tree_ssa_useless_type_conversion_1): Reformat
	and rephrase comments.
	* tree.h (STRIP_USELESS_TYPE_CONVERSION): Reformat comment.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.tree-ssa.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.1230&r2=1.1.2.1231
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-sra.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.23&r2=1.1.2.24
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.4.206&r2=1.1.4.207
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.h.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.342.2.173&r2=1.342.2.174



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13347



More information about the Gcc-bugs mailing list