------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-11
03:53 -------
Subject: Bug 20326
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED] 2005-03-11 03:52:56
Modified files:
gcc/testsuite/treelang: ChangeLog
gcc/testsuite/treelang/compile: var_defs.tree
gcc/treelang : ChangeLog Make-lang.in lang-specs.h parse.y
treelang.texi treetree.c treetree.h
Added files:
gcc/testsuite/treelang/compile: extrafunc.tree extravar.tree
unsigned.tree
gcc/treelang : spec.c
Log message:
2005-03-11 James A. Morrison <[EMAIL PROTECTED]>
Backport recent patches to mainline:
2005-03-06 James A. Morrison <[EMAIL PROTECTED]>
PR other/20326
* Make-lang.in (gtreelang, treelang/spec.o): New targets.
* spec.c: New file.
2005-02-27 Kazu Hirata <[EMAIL PROTECTED]>
* treelang.texi: Fix a typo.
2005-02-26 James A. Morrison <[EMAIL PROTECTED]>
* parse.y (function_invocation, variable-ref, make_plus_expression):
Pass location to tree_code_get_expression.
* treetree.c (tree_code_generate_return): Set EXPR_LOCUS on retval.
(tree_code_get_expression): Wrap variable references in NOP_EXPRs and
set EXPR_LOCATION on ret1.
* treetree.h (tree_code_get_expression): Take the location of the
expression as an argument.
2005-02-26 James A. Morrison <[EMAIL PROTECTED]>
* treelang.texi: Treelang does have warnings.
* treetree.c (tree_code_create_function_prototype): Don't set
TREE_USED and set TREE_PUBLIC, DECL_EXTERNAL, and TREE_STATIC
as few times as needed on the function declaration.
(tree_code_create_function_initial): Don't set TREE_USED,
TREE_ADDRESSABLE, but set TREE_STATIC on the function declaration.
(tree_code_create_variable): Don't set TREE_USED on VAR_DECL.
(tree_code_get_expression): Set TREE_USED for variable references
and function calls.
2005-02-26 James A. Morrison <[EMAIL PROTECTED]>
* parse.y: Do comparisons as the type of the first expression.
* treetree.c (tree_code_get_integer_value): Build integer constants
with the proper type.
2005-02-26 James A. Morrison <[EMAIL PROTECTED]>
* Make-lang.in: Remove commented out code.
* lang-specs.h: Always pass -dumpbase to tree1.
2005-02-25 James A. Morrrison <[EMAIL PROTECTED]>
* treelang.texi: Remove extra contribution notice.
Split up some run-on sentences. Document function parameters
as optional. Indicate automatic variables can now be at any scope.
Mention literals are only signed if they are preceded by a unary
plus or minus. Clarify interoperability with C.
2005-02-25 James A. Morrison <[EMAIL PROTECTED]>
* treelang.texi: Fix whitespacing.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/treelang/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.8&r2=1.8.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/treelang/compile/extrafunc.tree.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.10.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/treelang/compile/extravar.tree.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.10.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/treelang/compile/unsigned.tree.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.10.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/treelang/compile/var_defs.tree.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.2&r2=1.2.30.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/treelang/spec.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/treelang/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.107&r2=1.107.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/treelang/Make-lang.in.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.50&r2=1.50.14.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/treelang/lang-specs.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.2&r2=1.2.44.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/treelang/parse.y.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.20&r2=1.20.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/treelang/treelang.texi.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.13&r2=1.13.6.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/treelang/treetree.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.55&r2=1.55.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/treelang/treetree.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.11&r2=1.11.2.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20326