[Bug middle-end/45307] Stores expanding to no RTL not removed by tree optimizers, Empty ctors/dtors not eliminated
jason at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Aug 19 17:01:00 GMT 2010
------- Comment #13 from jason at gcc dot gnu dot org 2010-08-19 17:01 -------
Subject: Bug 45307
Author: jason
Date: Thu Aug 19 17:00:51 2010
New Revision: 163380
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163380
Log:
PR c++/45307
* gimplify.c (gimplify_init_constructor): Just return GS_UNHANDLED
if ctor is empty.
(gimplify_modify_expr_rhs): Adjust.
Added:
trunk/gcc/testsuite/g++.dg/tree-ssa/empty-2.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-gimplify.c
trunk/gcc/gimplify.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45307
More information about the Gcc-bugs
mailing list