aboutsummaryrefslogtreecommitdiff
path: root/gcc/treelang
AgeCommit message (Collapse)AuthorFilesLines
2006-02-20Make-lang.in (OBJC): RemoveRafael Espindola2-2/+6
* gcc/objc/Make-lang.in (OBJC): Remove (OBJECTIVE-C): Remove (objective-c): Remove (.PHONY): Remove objective-c and ObjC * gcc/objcp/Make-lang.in (OBJ-C++): Remove (.PHONY): Remove Obj-c++ and obj-C++. Add obj-c++ * gcc/cp/Make-lang.in (C++): Remove (.PHONY): Remove C++ * gcc/ada/Make-lang.in (Ada): Remove (.PHONY): Remove Ada * gcc/fortran/Make-lang.in (FORTRAN): Remove (.PHONY): Remove F95 and f95. Add fortran * gcc/treelang/Make-lang.in (.phony): Remove TREELANG (TREELANG): Remove * gcc/Makefile.in (C): Remove (PROTO): Remove (.PHONY): Remove C and PROTO From-SVN: r111307
2006-02-20configure.ac (target_list): Add install-info, dvi, html.Paolo Bonzini1-4/+4
2006-02-20 Paolo Bonzini <bonzini@gnu.org> * configure.ac (target_list): Add install-info, dvi, html. * configure: Regenerate. * ada/Make-lang.in, cp/Make-lang.in, fortran/Make-lang.in, java/Make-lang.in, objc/Make-lang.in, objcp/Make-lang.in, treelang/Make-lang.in: Do not use double-colon rules. From-SVN: r111304
2006-01-31tree-vrp.c: Use XNEW/XCNEW allocation wrappers.Marcin Dalecki1-1/+1
2006-01-31 Marcin Dalecki <martin@dalecki.de> * tree-vrp.c: Use XNEW/XCNEW allocation wrappers. * regrename.c: Ditto. * tree-ssa-loop-im.c: Ditto. * tree-dump.c: Ditto. * tree-complex.c: Ditto. * genrecog.c: Ditto. * tree-ssa-threadupdate.c: Ditto. * tracer.c: Ditto. * java/class.c: Ditto. * java/jcf-parse.c: Ditto. * java/resource.c: Ditto. * java/except.c: Ditto. * java/jvspec.c: Ditto. * java/jcf-write.c: Ditto. * java/jcf-path.c: Ditto. * java/gjavah.c: Ditto. * java/zextract.c: Ditto. * java/jcf-io.c: Ditto. * java/jcf.h: Ditto. * java/buffer.c: Ditto. * java/lang.c: Ditto. * java/parse-scan.y: Ditto. * java/lex.c: Ditto. * java/lex.h: Ditto. * cfgloopmanip.c: Ditto. * postreload-gcse.c: Ditto. * tree-ssa-loop-manip.c: Ditto. * postreload.c: Ditto. * tree-ssa-loop-ch.c: Ditto. * loop.c: Ditto. * ipa-cp.c: Ditto. * cppspec.c: Ditto. * diagnostic.c: Ditto. * final.c: Ditto. * genoutput.c: Ditto. * gcc.c: Ditto. * cfghooks.c: Ditto. * cfgloopanal.c: Ditto. * objc/objc-act.c: Ditto. * gcov.c: Ditto. * genextract.c: Ditto. * genautomata.c: Ditto. * pretty-print.c: Ditto. * genemit.c: Ditto. * cgraphunit.c: Ditto. * flow.c: Ditto. * df-scan.c: Ditto. * haifa-sched.c: Ditto. * dominance.c: Ditto. * dbxout.c: Ditto. * tree-ssa-loop-ivopts.c: Ditto. * df-core.c: Ditto. * mode-switching.c: Ditto. * modulo-sched.c: Ditto. * graph.c: Ditto. * ipa-pure-const.c: Ditto. * cse.c: Ditto. * fix-header.c: Ditto. * web.c: Ditto. * tree-stdarg.c: Ditto. * ipa-utils.c: Ditto. * loop-init.c: Ditto. * ipa-inline.c: Ditto. * cfganal.c: Ditto. * global.c: Ditto. * alloc-pool.c: Ditto. * dwarf2out.c: Ditto. * opts.c: Ditto. * genattrtab.c: Ditto. * tree-ssa-loop-ivcanon.c: Ditto. * predict.c: Ditto. * timevar.c: Ditto. * lcm.c: Ditto. * fortran/gfortranspec.c: Ditto. * regmove.c: Ditto. * local-alloc.c: Ditto. * langhooks.c: Ditto. * function.c: Ditto. * tree-vectorizer.c: Ditto. * gcse.c: Ditto. * ipa-type-escape.c: Ditto. * alias.c: Ditto. * tree-if-conv.c: Ditto. * profile.c: Ditto. * ipa.c: Ditto. * tree-data-ref.c: Ditto. * loop-unroll.c: Ditto. * treelang/treetree.c: Ditto. * calls.c: Ditto. * bt-load.c: Ditto. * ggc-common.c: Ditto. * except.c: Ditto. * coverage.c: Ditto. * cselib.c: Ditto. * tree-cfgcleanup.c: Ditto. * tree-ssa-pre.c: Ditto. * cfgcleanup.c: Ditto. * loop-invariant.c: Ditto. * loop-iv.c: Ditto. * ipa-prop.c: Ditto. * print-tree.c: Ditto. * conflict.c: Ditto. * ggc-page.c: Ditto. * sched-deps.c: Ditto. * regclass.c: Ditto. * tree-object-size.c: Ditto. * combine.c: Ditto. * bb-reorder.c: Ditto. * resource.c: Ditto. * var-tracking.c: Ditto. * cfgloop.c: Ditto. * df-problems.c: Ditto. * reg-stack.c: Ditto. * tlink.c: Ditto. * gccspec.c: Ditto. * sched-rgn.c: Ditto. * tree-ssa-structalias.c: Ditto. * tree-ssa-reassoc.c: Ditto. * config/darwin-c.c: Ditto. * config/darwin.c: Ditto. * config/arm/arm.c: Ditto. * cfgrtl.c: Ditto. * collect2.c: Ditto. * reload1.c: Ditto. From-SVN: r110446
2006-01-21gcov.c (print_version), [...]): Update copyright notice dates.Joseph Myers2-2/+6
* gcov.c (print_version), gcov-dump.c (print_version), mips-tdump.c (main), mips-tfile.c (main): Update copyright notice dates. fortran: * gfortranspec.c (lang_specific_driver): Update copyright notice date. java: * jv-scan.c (version), jcf-dump.c (version), gjavah.c (version): Update copyright notice dates. treelang: * spec.c (lang_specific_driver): Update copyright notice date. From-SVN: r110069
2006-01-16jvspec.c (lang_specific_spec_functions): removeRafael Espindola2-2/+4
* gcc/java/jvspec.c (lang_specific_spec_functions): remove * 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 From-SVN: r109761
2005-12-28Make-lang.in (treelang.distdir): Remove.Rafael Ávila de Espíndola2-7/+6
2005-12-28 Rafael Ávila de Espíndola <rafael.espindola@gmail.com> * Make-lang.in (treelang.distdir): Remove. From-SVN: r109106
2005-12-07sourcebuild.texi (all.build, [...]): Remove.Rafael Ávila de Espíndola2-6/+6
gcc/ * 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. From-SVN: r108158
2005-12-07gty.texi: Remove instructions for adding a dependency on s-gtype.Alan Modra2-2/+4
gcc/ * 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. From-SVN: r108155
2005-12-05treetree.c (tree_code_if_start, [...]): Use fold_convert where appropriate.Richard Guenther2-10/+15
2005-12-05 Richard Guenther <rguenther@suse.de> * 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. From-SVN: r108051
2005-12-03Fixup some spacingMike Stump1-1/+1
From-SVN: r107973
2005-11-07Fix PR number.James A. Morrison1-1/+1
From-SVN: r106583
2005-11-07re PR ada/21952 (Annoying "attribute directive ignored" warnings)James A. Morrison2-2/+41
2005-11-07 James A. Morrison <phython@gcc.gnu.org> PR treelang/21952 * treetree.c (LANG_HOOKS_ATTRIBUTE_TABLE): Set to treelang_attribute_table. (handle_attribute): New function. (treelang_attribute_table): New attribute table. From-SVN: r106582
2005-09-23parse.y: Changed pointer declaration from "type* var" to "type *var" Removed ↵Rafael Ávila de Espíndola2-82/+94
trailing space. 2005-09-23 Rafael ��vila de Esp��ndola <rafael.espindola@gmail.com> * 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. From-SVN: r104569
2005-08-07tree-convert.c (convert): Use fold_build1 instead of fold (build1.James A. Morrison2-3/+8
2005-08-07 James A. Morrison <phython@gcc.gnu.org> * tree-convert.c (convert): Use fold_build1 instead of fold (build1. From-SVN: r102831
2005-08-06re PR treelang/23072 (multiple runs of treelang testsuite does not work...)James A. Morrison2-2/+5
2005-08-06 James A. Morrison <phython@gcc.gnu.org> PR treelang/23072 * Make-lang.in: Remove old testing cruft. From-SVN: r102813
2005-06-25Update FSF address.Kelley Cook14-28/+32
From-SVN: r101312
2005-06-15parse.y (function_invocation): Reverse parameter list.James A. Morrison3-7/+11
2005-06-15 James A. Morrison <phython@gcc.gnu.org> * parse.y (function_invocation): Reverse parameter list. * treetree.c (tree_code_get_expression): Don't reverse parameter list. From-SVN: r100998
2005-06-13treetree.c (tree_code_get_expression): Call build_function_call_expr to ↵Rafael Ávila de Espíndola2-6/+9
build function calls. 2005-06-12 Rafael ?vila de Esp?ndola <rafael.espindola@gmail.com> * treetree.c (tree_code_get_expression): Call build_function_call_expr to build function calls. From-SVN: r100876
2005-06-01basic-block.h, [...]: Don't include errors.h and include toplev.h if necessary.Kaveh R. Ghazi4-4/+11
* basic-block.h, bb-reorder.c, c-gimplify.c, config/darwin.c, 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. From-SVN: r100420
2005-05-02re PR treelang/21345 (treelang/parse.y:454.11: parse error)Andrew Pinski2-0/+6
2005-05-02 Andrew Pinski <pinskia@physics.uc.edu> PR treelang/21345 * parse.y (parameters_opt): Add semicolon at the end. From-SVN: r99123
2005-04-29tree.c (build_block): Removed unused 'tags' argument.Tom Tromey2-1/+5
gcc: * 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. From-SVN: r99019
2005-04-23diagnostic.c (warning): Accept parameter to classify warning option.DJ Delorie2-1/+5
* diagnostic.c (warning): Accept parameter to classify warning option. (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. From-SVN: r98633
2005-04-12lang.opt: Refer to the GCC internals documentation instead of c.opt.Richard Sandiford2-1/+5
fortran/ * 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. From-SVN: r98012
2005-04-01re PR treelang/20604 (treelang does not get passed -fPIC by default on *-darwin)Andrew Pinski2-27/+8
2005-04-01 Andrew Pinski <pinskia@physics.uc.edu> PR treelang/20604 * lang-spec.c: Simplify @treelang to what the other languages do. From-SVN: r97396
2005-04-01treelang.texi: Fix typos.Kazu Hirata3-10/+15
* treelang/treelang.texi: Fix typos. * treelang/treetree.c: Fix comment typos. From-SVN: r97393
2005-03-23langhooks.h (truthvalue_conversion): Remove.Joseph Myers3-11/+7
* langhooks.h (truthvalue_conversion): Remove. * 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. From-SVN: r96947
2005-03-23treetree.c (tree_code_if_start): Use fold_buildN.James A. Morrison2-19/+27
2005-03-22 James A. Morrison <phython@gcc.gnu.org> * 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. From-SVN: r96920
2005-03-23treelang.h (struct parameter_part): Skip WHERE_TO_PUT_VAR_TREE during GC.James A. Morrison2-1/+6
2005-03-22 James A. Morrison <phython@gcc.gnu.org> * treelang.h (struct parameter_part): Skip WHERE_TO_PUT_VAR_TREE during GC. From-SVN: r96919
2005-03-16gcc-version.m4: Delete.Zack Weinberg2-2/+7
config: * 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. From-SVN: r96549
2005-03-06re PR treelang/20326 (treelang does install the backend as a driver)James A. Morrison3-4/+86
2005-03-06 James A. Morrison <phython@gcc.gnu.org> PR other/20326 * Make-lang.in (gtreelang, treelang/spec.o): New targets. * spec.c: New file. From-SVN: r95972
2005-02-27* treelang.texi: Fix a typo.Kazu Hirata2-1/+5
From-SVN: r95611
2005-02-26parse.y (function_invocation, [...]): Pass location to tree_code_get_expression.James A. Morrison4-8/+30
2005-02-26 James A. Morrison <phython@gcc.gnu.org> * 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. From-SVN: r95584
2005-02-26treelang.texi: Treelang does have warnings.James A. Morrison3-17/+20
2005-02-26 James A. Morrison <phython@gcc.gnu.org> * 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. From-SVN: r95580
2005-02-26parse.y: Do comparisons as the type of the first expression.James A. Morrison3-2/+12
2005-02-26 James A. Morrison <phython@gcc.gnu.org> * 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. From-SVN: r95578
2005-02-26Make-lang.in: Remove commented out code.James A. Morrison3-1/+6
2005-02-26 James A. Morrison <phython@gcc.gnu.org> * Make-lang.in: Remove commented out code. * lang-specs.h: Always pass -dumpbase to tree1. From-SVN: r95577
2005-02-26treelang.texi: Remove extra contribution notice.James A. Morrison2-36/+39
2005-02-25 James A. Morrrison <phython@gcc.gnu.org> * 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. From-SVN: r95569
2005-02-26treelang.texi: Fix whitespacing.James A. Morrison2-95/+101
2005-02-25 James A. Morrison <phython@gcc.gnu.org> * treelang.texi: Fix whitespacing. From-SVN: r95568
2005-02-24re PR treelang/19896 ([treelang] Static variables don't work)James A. Morrison2-10/+18
2005-02-24 James A. Morrison <phython@gcc.gnu.org> 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. From-SVN: r95503
2005-02-24parse.y: (function_prototype): Accept EXTERNAL_REFERENCE_STORAGE.James A. Morrison4-64/+79
2005-02-24 James A. Morrison <phython@gcc.gnu.org> * 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. From-SVN: r95501
2005-02-23genpreds.c: Update copyright.Kazu Hirata2-1/+5
gcc/ * 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. From-SVN: r95457
2005-02-13treetree.c (tree_lang_type_for_mode): Return NULL_TREE for all non scalar ↵James A. Morrison2-2/+10
integer types. 2005-02-13 James A. Morrison <phython@gcc.gnu.org> * treetree.c (tree_lang_type_for_mode): Return NULL_TREE for all non scalar integer types. From-SVN: r94986
2005-02-09builtins.c (DEF_BUILTIN): Add COND argument.Richard Henderson2-2/+7
* builtins.c (DEF_BUILTIN): Add COND argument. * 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. From-SVN: r94785
2005-02-06cpp.texi: Include gcc-common.texi.Joseph Myers2-8/+6
* doc/cpp.texi: Include gcc-common.texi. Don't define gcctabopt 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. From-SVN: r94683
2005-02-01(lex.l): Undef LINEMAP_POSITION_FOR_COLUMN before defining it.James A. Morrison2-2/+7
2005-02-01 James A. Morrison <phython@gcc.gnu.org> * (lex.l): Undef LINEMAP_POSITION_FOR_COLUMN before defining it. From-SVN: r94544
2005-02-01parse.y: Reformat comments.James A. Morrison4-21/+20
2005-02-01 James A. Morrison <phython@gcc.gnu.org> * parse.y: Reformat comments. * treetree.c: Likewise. * treetree.h: Likewise. From-SVN: r94543
2004-11-13Unify html generation with other frontends.Mike Stump1-4/+2
From-SVN: r90589
2004-11-13Makefile.in: Add html support.Mike Stump1-11/+16
* Makefile.in: Add html support. * 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. From-SVN: r90577
2004-10-25treetree.c (tree_code_generate_return): Wrap param declaration in ↵James A. Morrison2-1/+6
ENABLE_CHECKING. 2004-10-24 James A. Morrison <phython@gcc.gnu.org> * treetree.c (tree_code_generate_return): Wrap param declaration in ENABLE_CHECKING. From-SVN: r89520
2004-10-06pretty-print.c: Include tree.h.Zack Weinberg2-0/+22
* pretty-print.c: Include tree.h. (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. From-SVN: r88590
2004-10-02re PR treelang/17762 (treelang doesn't use mapped locations)James A. Morrison5-113/+142
2004-10-02 James A. Morrison <phython@gcc.gnu.org> 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. From-SVN: r88430