summaryrefslogtreecommitdiff
path: root/gcc/treelang
Commit message (Collapse)AuthorAgeFilesLines
* * gcc/java/jvspec.c (lang_specific_spec_functions): removeespindola2006-01-162-2/+4
| | | | | | | | | | | | | | * gcc/cppspec.c (lang_specific_spec_functions): remove * gcc/gcc.c (lookup_spec_function): use static_spec_functions directelly * gcc/gcc.h (lang_specific_spec_functions): remove * gcc/gccspec.c (lang_specific_spec_functions): remove * gcc/cp/g++spec.c (lang_specific_spec_functions): remove * gcc/fortran/gfortranspec.c (lang_specific_spec_functions): remove * gcc/treelang/spec.c (lang_specific_spec_functions): remove git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109761 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-12-28 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>aj2005-12-282-7/+6
| | | | | | | | * Make-lang.in (treelang.distdir): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109106 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/amodra2005-12-072-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | * doc/sourcebuild.texi (all.build, install-normal): Remove. * configure.ac: Remove all.build and install-normal from target_list * configure: Regenerate. * Makefile.in (install): Don't depend on install-normal. gcc/java/ * Make-lang.in (java.all.build, java.install-normal): Remove. gcc/objc/ * Make-lang.in (objc.all.build, objc.install-normal): Remove. gcc/objcp/ * Make-lang.in (obj-c++.all.build, obj-c++.install-normal): Remove. gcc/cp/ * Make-lang.in (c++.all.build, c++.install-normal): Remove. gcc/ada/ * Make-lang.in (ada.install-normal): Remove. gcc/fortran/ * Make-lang.in (fortran.all.build, fortran.install-normal): Remove. gcc/treelang/ * Make-lang.in (treelang.all.build, treelang.install-normal): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108158 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/amodra2005-12-072-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | * doc/gty.texi: Remove instructions for adding a dependency on s-gtype. * Makefile.in: Add code to compute some dependencies on s-gtype automatically. Remove the declaration of those dependencies. gcc/java/ * Make-lang.in: Remove all dependencies on s-gtype, except for gt-java-parse.h. gcc/objc/ * Make-lang.in: Remove all dependencies on s-gtype. gcc/objcp/ * Make-lang.in: Remove all dependencies on s-gtype. gcc/cp/ * Make-lang.in: Remove all dependencies on s-gtype. gcc/ada/ * Make-lang.in: Remove all dependencies on s-gtype. gcc/fortran/ * Make-lang.in: Remove all dependencies on s-gtype, except for gt-fortran-trans.h. gcc/treelang/ * Make-lang.in: Remove all dependencies on s-gtype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108155 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-12-05 Richard Guenther <rguenther@suse.de>rguenth2005-12-052-10/+15
| | | | | | | | | * treetree.c (tree_code_if_start, tree_code_create_variable, tree_code_generate_return, tree_code_get_expression, tree_code_add_parameter): Use fold_convert where appropriate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108051 138bc75d-0d04-0410-961f-82ee72b054a4
* Fixup some spacingmrs2005-12-031-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107973 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix PR number.phython2005-11-071-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106583 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-11-07 James A. Morrison <phython@gcc.gnu.org>phython2005-11-072-2/+41
| | | | | | | | | | | | PR treelang/21952 * treetree.c (LANG_HOOKS_ATTRIBUTE_TABLE): Set to treelang_attribute_table. (handle_attribute): New function. (treelang_attribute_table): New attribute table. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106582 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-09-23 Rafael ��vila de Esp��ndola <rafael.espindola@gmail.com>phython2005-09-232-82/+94
| | | | | | | | | | | | | | * parse.y : Changed pointer declaration from "type* var" to "type *var" Removed trailing space. Wrap long lines. 2005-09-23 Rafael ��vila de Esp��ndola <rafael.espindola@gmail.com> * parse.y : Fixed two compile warnings in "error" and "warning" invocations. Removed trailing periods in messages. Decapitalized the first word of each. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104569 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-08-07 James A. Morrison <phython@gcc.gnu.org>phython2005-08-072-3/+8
| | | | | | | | * tree-convert.c (convert): Use fold_build1 instead of fold (build1. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102831 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-08-06 James A. Morrison <phython@gcc.gnu.org>phython2005-08-062-2/+5
| | | | | | | | PR treelang/23072 * Make-lang.in: Remove old testing cruft. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102813 138bc75d-0d04-0410-961f-82ee72b054a4
* Update FSF address.kcook2005-06-2514-28/+32
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101312 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-06-15 James A. Morrison <phython@gcc.gnu.org>phython2005-06-153-7/+11
| | | | | | | | * parse.y (function_invocation): Reverse parameter list. * treetree.c (tree_code_get_expression): Don't reverse parameter list. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100998 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-06-12 Rafael ?vila de Esp?ndola <rafael.espindola@gmail.com>phython2005-06-132-6/+9
| | | | | | | | * treetree.c (tree_code_get_expression): Call build_function_call_expr to build function calls. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100876 138bc75d-0d04-0410-961f-82ee72b054a4
* * basic-block.h, bb-reorder.c, c-gimplify.c, config/darwin.c,ghazi2005-06-014-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | config/rs6000/rs6000-c.c, dominance.c, gimple-low.c, gimplify.c, lambda-code.c, lambda-trans.c, tree-browser.c, tree-cfg.c, tree-chrec.c, tree-data-ref.c, tree-dfa.c, tree-eh.c, tree-if-conv.c, tree-into-ssa.c, tree-loop-linear.c, tree-mudflap.c, tree-nomudflap.c, tree-outof-ssa.c, tree-pretty-print.c, tree-scalar-evolution.c, tree-sra.c, tree-ssa-ccp.c, tree-ssa-copy.c, tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c, tree-ssa-live.c, tree-ssa-operands.c, tree-ssa-phiopt.c, tree-ssa-pre.c, tree-ssa-propagate.c, tree-ssa-sink.c, tree-ssa-threadupdate.c, tree-ssa-uncprop.c, tree-ssa.c, tree-vect-analyze.c, tree-vect-transform.c, tree-vectorizer.c, vec.c: Don't include errors.h and include toplev.h if necessary. * rtl.c, varray.c: If we're compiling as a GENERATOR_FILE, include errors.h otherwise include toplev.h. * Makefile.in: Update dependencies. ada: * misc.c: Don't include errors.h. fortran: * fortran/trans-decl.c: Don't include errors.h. * fortran/Make-lang.in: Updates dependencies. java: * java/verify-glue.c: Don't include errors.h and include toplev.h. * java/Make-lang.in: Updates dependencies. treelang: * treelang/lex.l, treelang/parse.y: Don't include errors.h and include toplev.h. * treelang/Make-lang.in: Updates dependencies. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100420 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-05-02 Andrew Pinski <pinskia@physics.uc.edu>pinskia2005-05-022-0/+6
| | | | | | | | PR treelang/21345 * parse.y (parameters_opt): Add semicolon at the end. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99123 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:tromey2005-04-292-1/+5
| | | | | | | | | | | | | | * tree.c (build_block): Removed unused 'tags' argument. * tree.h (build_block): Removed argument. gcc/java: * expr.c (build_jni_stub): Updated for change to build_block. gcc/treelang: * treetree.c (poplevel): Updated for change to build_block. gcc/fortran: * f95-lang.c (poplevel): Updated for change to build_block. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99019 138bc75d-0d04-0410-961f-82ee72b054a4
* * diagnostic.c (warning): Accept parameter to classify warning option.dj2005-04-232-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (warning0): New, for when a pointer to an error() like function is needed. * errors.c (warning): Likewise. * errors.h (warning, warning0): Adjust prototypes. * toplev.h (warning, warning0): Likewise. * attribs.c, builtins.c, c-common.c, c-decl.c, c-format.c, c-gimplify.c, c-lex.c, c-objc-common.c, c-opts.c, c-parser.c, c-pragma.c, c-typeck.c, calls.c, cgraph.c, coverage.c, emit-rtl.c, fold-const.c, fortran/trans-decl.c, function.c, gcse.c, genautomata.c, haifa-sched.c, opts.c, passes.c, regclass.c, reload1.c, stmt.c, stor-layout.c, toplev.c, tree-cfg.c, tree-dump.c, tree-inline.c, tree-mudflap.c, tree-optimize.c, tree-ssa.c, tree.c, varasm.c: Adjust warning() callers. * config/alpha/alpha.c, config/arc/arc.c, config/arm/arm.c, config/avr/avr.c, config/bfin/bfin.c, config/c4x/c4x-c.c, config/c4x/c4x.c, config/cris/cris.c, config/darwin-c.c, config/darwin.c, config/darwin.h, config/h8300/h8300.c, config/i386/cygming.h, config/i386/djgpp.h, config/i386/i386.c, config/i386/winnt.c, config/ia64/ia64-c.c, config/ia64/ia64.c, config/ip2k/ip2k.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c, config/m68k/m68k.c, config/mcore/mcore.c, config/mips/mips.c, config/mmix/mmix.c, config/ns32k/ns32k.c, config/pa/pa-hpux11.h, config/pa/pa.c, config/rs6000/aix43.h, config/rs6000/aix51.h, config/rs6000/aix52.h, config/rs6000/darwin.h, config/rs6000/rs6000-c.c, config/rs6000/rs6000.c, config/s390/s390.c, config/sh/sh.c, config/sh/sh.h, config/sh/symbian.c, config/sol2-c.c, config/sol2.c, config/stormy16/stormy16.c, config/v850/v850-c.c, config/v850/v850.c, config/xtensa/xtensa.c: Adjust warning() callers. * ada/misc.c: Adjust warning() callers. * cp/call.c, cp/class.c, cp/cvt.c, cp/decl.c, cp/decl2.c, cp/except.c, cp/friend.c, cp/init.c, cp/lex.c, cp/mangle.c, cp/method.c, cp/name-lookup.c, cp/parser.c, cp/repo.c, cp/rtti.c, cp/tree.c, cp/typeck.c, cp/typeck2.c: Adjust warning() callers. * fortran/trans-decl.c: Adjust warning() callers. * java/class.c, java/decl.c, java/expr.c, java/jcf-io.c, java/jcf-parse.c, java/jv-scan.c, java/parse.y: Adjust warning() callers. * objc/objc-act.c: Adjust warning() callers. * treelang/parse.y: Adjust warning() callers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98633 138bc75d-0d04-0410-961f-82ee72b054a4
* fortran/rsandifo2005-04-122-1/+5
| | | | | | | | | | | | | | | | * lang.opt: Refer to the GCC internals documentation instead of c.opt. ada/ * lang.opt: Refer to the GCC internals documentation instead of c.opt. java/ * lang.opt: Refer to the GCC internals documentation instead of c.opt. treelang/ * lang.opt: Refer to the GCC internals documentation instead of c.opt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98012 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-04-01 Andrew Pinski <pinskia@physics.uc.edu>pinskia2005-04-012-27/+8
| | | | | | | | | PR treelang/20604 * lang-spec.c: Simplify @treelang to what the other languages do. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97396 138bc75d-0d04-0410-961f-82ee72b054a4
* * treelang/treelang.texi: Fix typos.kazu2005-04-013-10/+15
| | | | | | | * treelang/treetree.c: Fix comment typos. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97393 138bc75d-0d04-0410-961f-82ee72b054a4
* * langhooks.h (truthvalue_conversion): Remove.jsm282005-03-233-11/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * langhooks-def.h (LANG_HOOKS_INITIALIZER): Remove LANG_HOOKS_TRUTHVALUE_CONVERSION. * system.h (LANG_HOOKS_TRUTHVALUE_CONVERSION): Poison. * gimplify.c (gimple_boolify): Don't use truthvalue_conversion. * c-objc-common.h (LANG_HOOKS_TRUTHVALUE_CONVERSION): Remove. ada: * misc.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Remove. cp: * cp-objcp-common.h (LANG_HOOKS_TRUTHVALUE_CONVERSION): Remove. fortran: * f95-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Remove. java: * lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Remove. treelang: * treetree.c (LANG_HOOKS_TRUTHVALUE_CONVERSION, tree_lang_truthvalue_conversion): Remove. * tree-convert.c: Don't call truthvalue_conversion. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96947 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-03-22 James A. Morrison <phython@gcc.gnu.org>phython2005-03-232-19/+27
| | | | | | | | | | | * treetree.c (tree_code_if_start): Use fold_buildN. (tree_code_create_variable): Likewise. (tree_code_generate_return): Likewise. (tree_code_get_expression): Likewise. (tree_code_add_parameter): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96920 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-03-22 James A. Morrison <phython@gcc.gnu.org>phython2005-03-232-1/+6
| | | | | | | | * treelang.h (struct parameter_part): Skip WHERE_TO_PUT_VAR_TREE during GC. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96919 138bc75d-0d04-0410-961f-82ee72b054a4
* config:zack2005-03-162-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gcc-version.m4: Delete. fastjar: * Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi. (BASEVER, DEVPHASE): New variables. (POD2MAN): Adjust setting of --release option. (fastjar.1, grepjar.1, gcc-vers.texi): New rules. * Makefile.in: Regenerate. * configure.ac: Do not invoke TL_AC_GCC_VERSION. * aclocal.m4, configure: Regenerate. gcc: * BASE-VER, DATESTAMP, DEV-PHASE: New files. * Makefile.in (gcc_version, gcc_version_trigger, ): Delete. (BASEVER, DEVPHASE, DATESTAMP, BASEVER_c, DEVPHASE_c, DATESTAMP_c) (BASEVER_s, DEVPHASE_s, DATESTAMP_s): New variables. (version): Define using $(BASEVER_c). (Makefile, config.status, build/gcov-iov.o): No longer depends on version.c. (version.o): Depend on version files; add custom generation command. (prefix.o): Define BASEVER on command line. (s-iov): Depend on version files; adjust command. (TEXI_CPP_FILES, TEX_IGCC_FILES, TEXI_GCCINT_FILES, TEXI_CPPINT_FILES): Add gcc-vers.texi. (gcc-vers.texi): New rule. (doc/%.info, doc/%.dvi): Add -I . to command line. (doc/gccinstall.dvi): Likewise. (PACKAGE): Delete. All uses replaced with "gcc". * aclocal.m4: Do not include gcc-version.m4. * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not AC_SUBST nor AC_DEFINE PACKAGE or VERSION. Set is_release based on contents of DEV-PHASE. Set gcc_version based on contents of BASE-VER. Define WIN32_REGISTRY_KEY only if the user overrode the default. * config.in, configure: Regenerate. * gccbug.in: Determine version of GCC in use at runtime. * gcov-iov.c: Get version number and development phase from command line, not by including version.c. * intl.c: Replace all uses of PACKAGE with "gcc". * libada-mk.in: Delete unused "gcc_version" variable. * prefix.c: Default WIN32_REGISTRY_KEY to BASEVER. * version.c: (VERSUFFIX): New hook for redistributors; adjust commentary to match. (version_string): Put together from pieces. * config/alpha/x-vms: Do not use $(gcc_version). * config/i386/t-nwld: Likewise. * doc/include/gcc-common.texi: Include gcc-vers.texi for version-GCC and DEVELOPMENT. gcc/ada: * Make-lang.in (doc/gnat_ugn_unw.info, doc/gnat_rm.info) (doc/gnat_ugn_unw.dvi, doc/gnat_rm.dvi): Add gcc-vers.texi to dependencies. gcc/fortran: * Make-lang.in (GFORTRAN_TEXI): Add gcc-vers.texi. gcc/java: * Make-lang.in (TEXI_JAVA_FILES): Add gcc-vers.texi. gcc/treelang: * Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi. libstdc++-v3: * include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc subdirectory. Generate #define of __GLIBCXX__ from contents of that file. * include/Makefile.in: Regenerate. * include/bits/c++config: Do not define __GLIBCXX__. maintainer-scripts: * README: Update. * gcc_release: Update gcc/DEV-PHASE if that file exists, instead of gcc/version.c. * update_version: Handle updating gcc/DATESTAMP. * update_web_docs: Generate gcc-vers.texi first. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96549 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-03-06 James A. Morrison <phython@gcc.gnu.org>phython2005-03-063-4/+86
| | | | | | | | | PR other/20326 * Make-lang.in (gtreelang, treelang/spec.o): New targets. * spec.c: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95972 138bc75d-0d04-0410-961f-82ee72b054a4
* * treelang.texi: Fix a typo.kazu2005-02-272-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95611 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-02-26 James A. Morrison <phython@gcc.gnu.org>phython2005-02-264-8/+30
| | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95584 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-02-26 James A. Morrison <phython@gcc.gnu.org>phython2005-02-263-17/+20
| | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95580 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-02-26 James A. Morrison <phython@gcc.gnu.org>phython2005-02-263-2/+12
| | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95578 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-02-26 James A. Morrison <phython@gcc.gnu.org>phython2005-02-263-1/+6
| | | | | | | | * Make-lang.in: Remove commented out code. * lang-specs.h: Always pass -dumpbase to tree1. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95577 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-02-25 James A. Morrrison <phython@gcc.gnu.org>phython2005-02-262-36/+39
| | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95569 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-02-25 James A. Morrison <phython@gcc.gnu.org>phython2005-02-262-95/+101
| | | | | | | * treelang.texi: Fix whitespacing. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95568 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-02-24 James A. Morrison <phython@gcc.gnu.org>phython2005-02-242-10/+18
| | | | | | | | | | | | PR other/19896 * treetree.c (tree_code_create_variable): Initialize DECL_EXTERNAL, TREE_PUBLIC, and TREE_STATIC for var_decl to zero. Don't call rest_of_decl_compilation on static variables. (pushdecl): Put DECL_EXPRs into the current BIND_EXPR for automatic variables. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95503 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-02-24 James A. Morrison <phython@gcc.gnu.org>phython2005-02-244-64/+79
| | | | | | | | | | | | | | | | | | * parse.y: (function_prototype): Accept EXTERNAL_REFERENCE_STORAGE. Move function parameters check from ... (function): ...Here. Update call to tree_code_create_function_initial. (function_invocation): Use expressions_with_commas_opt instead of expressions_with_commas. (expressions_with_commas_opt): New rule. * treetree.c (tree_code_create_function_prototype): Create PARM_DECLs for function parameters. (tree_code_create_function_initial): Remove PARMS parameter. Don't create PARM_DECLs for function parameters. * treetree.h (tree_code_create_function_initial): Remove PARMS parameter. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95501 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/kazu2005-02-232-1/+5
| | | | | | | | | | | | | | | | * genpreds.c: Update copyright. cp/ * cp-objcp-common.h, error.c: Update copyright. fortran/ * intrinsic.h, st.c: Update copyright. treelang/ * parse.y: Update copyright. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95457 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-02-13 James A. Morrison <phython@gcc.gnu.org>phython2005-02-132-2/+10
| | | | | | | | * treetree.c (tree_lang_type_for_mode): Return NULL_TREE for all non scalar integer types. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94986 138bc75d-0d04-0410-961f-82ee72b054a4
* * builtins.c (DEF_BUILTIN): Add COND argument.rth2005-02-102-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tree.h (DEF_BUILTIN): Likewise. * builtins.def (DEF_GCC_BUILTIN, DEF_LIB_BUILTIN, DEF_EXT_LIB_BUILTIN, DEF_C94_BUILTIN, DEF_C99_BUILTIN, DEF_C99_C90RES_BUILTIN): Update to match. (DEF_BUILTIN_STUB): New. (BUILT_IN_STACK_SAVE, BUILT_IN_STACK_RESTORE, BUILT_IN_INIT_TRAMPOLINE, BUILT_IN_ADJUST_TRAMPOLINE, BUILT_IN_NONLOCAL_GOTO, BUILT_IN_PROFILE_FUNC_ENTER, BUILT_IN_PROFILE_FUNC_EXIT): Use it. * c-common.c (DEF_BUILTIN): Add COND argument. * tree.c (local_define_builtin): New. (build_common_builtin_nodes): New. ada/ * utils.c (gnat_define_builtin): Remove. (gnat_install_builtins): Use build_common_builtin_nodes. fortran/ * f95-lang.c (gfc_init_builtin_functions): Call build_common_builtin_nodes; do not define any functions handled by it. java/ * builtins.c (initialize_builtins): Call build_common_builtin_nodes. * decl.c (java_init_decl_processing): Initialize const_ptr_type_node. treelang/ * treetree.c (treelang_init_decl_processing): Call build_common_builtin_nodes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94785 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/cpp.texi: Include gcc-common.texi. Don't define gcctaboptjsm282005-02-062-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | macro locally. Don't give last revision date. Use GCC version number from gcc-common.texi. * doc/cppinternals.texi: Include gcc-common.texi. Don't give last revision date. Use GCC version number from gcc-common.texi. Describe being a library as current state rather than as 3.x history. * doc/gcc.texi: Remove last update date. * doc/gccint.texi: Likewise. Update copyright dates. * doc/install.texi: Update copyright dates. fortran: * gfortran.texi: Don't give last update date. java: * gcj.texi: Update copyright dates. treelang: * treelang.texi: Don't use local treelang version number. Don't give last update date. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94683 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-02-01 James A. Morrison <phython@gcc.gnu.org>phython2005-02-012-2/+7
| | | | | | | * (lex.l): Undef LINEMAP_POSITION_FOR_COLUMN before defining it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94544 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-02-01 James A. Morrison <phython@gcc.gnu.org>phython2005-02-014-21/+20
| | | | | | | | | * parse.y: Reformat comments. * treetree.c: Likewise. * treetree.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94543 138bc75d-0d04-0410-961f-82ee72b054a4
* Unify html generation with other frontends.mrs2004-11-131-4/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90589 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Add html support.mrs2004-11-131-11/+16
| | | | | | | | | | | | * java/Make-lang.in: Likewise. * fortran/Make-lang.in: Likewise. * treelang/Make-lang.in: Likewise. * doc/install.texi: Likewise. * doc/makefile.texi: Likewise. * doc/sourcebuild.texi: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90577 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-24 James A. Morrison <phython@gcc.gnu.org>phython2004-10-252-1/+6
| | | | | | | | * treetree.c (tree_code_generate_return): Wrap param declaration in ENABLE_CHECKING. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89520 138bc75d-0d04-0410-961f-82ee72b054a4
* * pretty-print.c: Include tree.h.zack2004-10-062-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (pp_base_prepare_to_format): New function, logic from text_specifies_location. (pp_base_format_text): Use gcc_assert. * pretty-print.h (pp_prepare_to_format): New macro. (pp_base_prepare_to_format): Prototype. * diagnostic.c (text_specifies_location): Delete. (bug_report_request): Delete. (diagnostic_set_info): Don't call text_specifies_location. (diagnostic_action_after_output): Put text from bug_report_request inline here. Use gcc_unreachable. (diagnostic_report_current_function): Fix comment. (diagnostic_report_diagnostic): Clarify logic for error recursion. Call pp_prepare_to_format before diagnostic_starter. (trim_filename): Use IS_DIR_SEPARATOR. (fatal_error, internal_error): Use gcc_unreachable. (error_recursion): Call diagnostic_action_after_output to issue the bug_report_request message and exit. * Makefile.in (diagnostic.o, pretty-print.o): Update dependencies. * c-parse.in: Add list of diagnostic messages to insulate translation template from version of yacc/bison used to compile the grammar. java: * parse.y, parse-scan.y: Add list of diagnostic messages to insulate translation template from version of yacc/bison used to compile the grammar. treelang: * parse.y: Add list of diagnostic messages to insulate translation template from version of yacc/bison used to compile the grammar. po: * gcc.pot: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88590 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-02 James A. Morrison <phython@gcc.gnu.org>phython2004-10-025-113/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR other/17762 * lex.l: Include input.h and errors.h (lineno): New variable. (LINEMAP_POSITION_FOR_COLUMN): Define as noop when USE_MAPPED_LOCATION is not defined. Set column position with LINEMAP_POSITION_FOR_COLUMN. Use error instead of fprintf. Set input_location with the value returned by linemap_start_line when USE_MAPPED_LOCATION is defined. (dump_lex_value): Use LOCATION_LINE. * parse.y: Include errors.h. Use error and warning instead of fprintf. (return): Move exp to rule scope and always set to $2. Test against exp instead of $2. (init): Set $$ to $2. (print_token): Use LOCATION_LINE. * tree1.c (treelang_init): Call treelang_init_decl_processing last. Call linemap_add to set input_filename when USE_MAPPED_LOCATION is defined. (treelang_parse_file): Always start at line one. Rename input_filename to main_input_filename when USE_MAPPED_LOCATION is defined. Leave main_input_filename when done parsing the input. (insert_tree_name): Use error instead of fprintf. * treetree.c (tree_code_get_expression): Wrap long line. (tree_mark_addressable): Use %qD to print out DECLs. 2004-10-02 James A. Morrison <phython@gcc.gnu.org> * compile/autofunc.tree: New File. * compile/badchar.tree: New File. * compile/externvar.tree: New File. * compile/mismatch.tree: New File. * compile/noproto.tree: New File. * compile/novar.tree: New File. * compile/var_defs.tree: Add duplicate variable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88430 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-02 James A. Morrison <phython@gcc.gnu.org>phython2004-10-024-92/+72
| | | | | | | | | * parse.y: Use gcc_assert and gcc_unreachable instead of abort. * tree1.c: Likewise. * treetree.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88429 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-02 James A. Morrison <phython@gcc.gnu.org>phython2004-10-025-175/+181
| | | | | | | | | | | | | | * lex.l: Remove random whitespace. * parse.y: Reformat copyright notice. Indent declarations. Wrap long lines, unwrap short lines. * tree1.c: Reformat copyright notice. Wrap long lines. Remove random whitespace. (lookup_tree_name): Use LOCATION_LINE. * treetree.c: Reformat copyright notice. Wrap long lines. Remove random whitespace. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88428 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-28 James A. Morrison <phython@gcc.gnu.org>phython2004-10-023-31/+41
| | | | | | | | | | * parse.y (ELSE): Set tok to $1. * treelang.texi: Wrap comments in @r{}. Indent example comments. Use gcc when refering to the command line or website. Update function definition. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88425 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-decl.c (c_expand_body): Update call tree_rest_of_compilation.hubicka2004-10-012-1/+6
| | | | | | | | | | | | | | | | | | | | | | * cgraphunit.c (cgraph_build_static_cdtor): Likewise. * toplev.h (tree_rest_of_compilation): Update prototype. * tree-optimize.c (tree_rest_of_compilation): Kill nested_p argument. * misc.c (gnat_expand_body): Update call of tree_rest_of_compilation. * semantics.c (expand_body): Update call of tree_rest_of_compilation. * f95-lang.c (gfc_expand_function): Update call of tree_rest_of_compilation. * trans-decl.c (gfc_generate_constructors): Likewise. * java.c (java_expand_body): Update call of tree_rest_of_compilation. * treetree.c (treeland_expand_function): Update call of tree_rest_of_compilation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88396 138bc75d-0d04-0410-961f-82ee72b054a4