This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/13798] [tree-ssa] 10x compile time regression
- From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jan 2004 09:18:07 -0000
- Subject: [Bug optimization/13798] [tree-ssa] 10x compile time regression
- References: <20040121203130.13798.tm@kloo.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-01-28 09:17 -------
Subject: Bug 13798
CVSROOT: /cvs/gcc
Module name: gcc
Branch: tree-ssa-20020619-branch
Changes by: rth@gcc.gnu.org 2004-01-28 09:17:52
Modified files:
gcc : ChangeLog.tree-ssa Makefile.in expr.c
gimplify.c tree.c tree.h
Log message:
PR opt/13798
* expr.c (is_zeros_p): Remove. Change all callers to use
initializer_zerop.
(categorize_ctor_elements_1, categorize_ctor_elements): New.
(count_type_elements): New.
(mostly_zeros_p): Use them.
* gimplify.c (tmp_var_id_num): Split out from create_tmp_var_raw.
(create_tmp_var_name): Likewise.
(gimplify_init_constructor): Drop constructors to readonly memory
as indicated by categorize_ctor_elements and can_move_by_pieces.
* tree.c (initializer_zerop): Handle VECTOR_CST. Don't check
AGGREGATE_TYPE_P for CONSTRUCTOR.
* tree.h (categorize_ctor_elements): Declare.
(count_type_elements): Declare.
* Makefile.in (gimplify.o): Update dependencies.
(GTFILES): Add gimplify.c.
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.1130&r2=1.1.2.1131
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/Makefile.in.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.903.2.171&r2=1.903.2.172
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/expr.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.467.2.72&r2=1.467.2.73
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gimplify.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.137&r2=1.1.2.138
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.263.2.76&r2=1.263.2.77
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.162&r2=1.342.2.163
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13798