This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/gcc ChangeLog c-pretty-print.c c-simplify. ...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 8 Jun 2002 07:43:09 -0000
- Subject: gcc/gcc ChangeLog c-pretty-print.c c-simplify. ...
CVSROOT: /cvs/gcc
Module name: gcc
Branch: ast-optimizer-branch
Changes by: jason@gcc.gnu.org 2002-06-08 00:43:09
Modified files:
gcc : ChangeLog c-pretty-print.c c-simplify.c
tree-simple.c tree-simple.h
Log message:
* tree-simple.c (is_simple_rhs): Remove condexpr rule.
(is_simple_compref_lhs): Remove &ID.idlist rule.
(is_simple_relop): New fn.
(is_simple_binary_expr, is_simple_condexpr): Use it.
* tree-simple.h: Declare it.
* c-simplify.c (create_tmp_var): Refuse to create an array temp.
(simple_tmp_var_p): New fn.
(simplify_lvalue_expr): Use it; make sure we don't return a temp.
* tree-simple.h: Declare it.
* c-pretty-print.c (dump_c_node) [ARRAY_REF]: Wrap array in parens
as needed.
(dump_c_node) [ARRAY_TYPE]: Don't try to print an unknown
dimension.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=ast-optimizer-branch&r1=1.10739.2.68&r2=1.10739.2.69
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-pretty-print.c.diff?cvsroot=gcc&only_with_tag=ast-optimizer-branch&r1=1.1.2.12&r2=1.1.2.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-simplify.c.diff?cvsroot=gcc&only_with_tag=ast-optimizer-branch&r1=1.1.2.21&r2=1.1.2.22
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-simple.c.diff?cvsroot=gcc&only_with_tag=ast-optimizer-branch&r1=1.1.2.12&r2=1.1.2.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-simple.h.diff?cvsroot=gcc&only_with_tag=ast-optimizer-branch&r1=1.1.2.8&r2=1.1.2.9