summaryrefslogtreecommitdiff
path: root/gcc/java
Commit message (Collapse)AuthorAgeFilesLines
* * gcj.texi: Add chapter about system properties.mark2002-09-022-9/+245
| | | | | | | Fixed some typos. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56740 138bc75d-0d04-0410-961f-82ee72b054a4
* * parse.y (try_builtin_assignconv): Allow narrowing primitivetromey2002-08-262-2/+10
| | | | | | | conversion if RHS_TYPE is byte, short, or char. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56589 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcj.texi (Invoking gij): Document -cp and -classpath.tromey2002-08-222-0/+12
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56521 138bc75d-0d04-0410-961f-82ee72b054a4
* * Make-lang.in (java/jcf-path.o): Use $(datadir), nottromey2002-08-222-1/+4
| | | | | | | $(prefix)/share. For PR libgcj/7633. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56499 138bc75d-0d04-0410-961f-82ee72b054a4
* For PR java/6005 and PR java/7611:tromey2002-08-222-1/+19
| | | | | | | | * lang.c (LANG_HOOKS_CAN_USE_BITFIELDS_P): New define. (java_can_use_bit_fields_p): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56497 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcj.texi (Class Initialization): Mention class initialization oftromey2002-08-162-10/+16
| | | | | | | arrays. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56386 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-07-30 Andrew Haley <aph@cambridge.redhat.com>aph2002-08-167-13/+198
| | | | | | | | | | | | | | | | | | | | | | | | | | * Make-lang.in (java-tree-inline.o): New. (JAVA_OBJS): Add java-tree-inline.o. * parse.y (source_end_java_method): Call java_optimize_inline. (java_expand_method_bodies): Save method's tree in DECL_SAVED_TREE. (add_stmt_to_compound): Keep track of the number of statments. * lang.c (java_init): Enable flag_inline_trees. (java_post_options): If flag_inline_functions is on, enable flag_inline_trees instread. (decl_constant_value): New. (java_tree_inlining_walk_subtrees): New. * java-tree.h (DECL_NUM_STMTS): New macro. (java_optimize_inline): Declare. * expr.c (java_expand_expr): Allow a BLOCK to return a value. Handle a LABEL_EXPR. * decl.c (build_result_decl): If we already have a DECL_RESULT don't make another. (dump_function): New. (java_optimize_inline): New. (dump_function): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56377 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>tromey2002-08-132-0/+12
| | | | | | | | | For PR java/7483: * parse.y (build_assertion): Invert return from desiredAssertionStatus. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56264 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-08-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>bryce2002-08-092-0/+9
| | | | | | | | * jcf-write.c (get_access_flags): Return correct access flags for private and protected inner classes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56146 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (enable_coverage): New enable switch.nathan2002-08-082-0/+5
| | | | | | | | | | | | | | | | | | | | * configure: Rebuilt. * Makefile.in (COVERAGE_FLAGS, coverageexts): New variables. (INTERNAL_CFLAGS): Append COVERAGE_FLAGS. (ALL_FLAGS): Reorder so INTERNAL_CFLAGS comes after CFLAGS. (mostlyclean): Remove coverage files. * doc/install.texi: Document enable_coverage. * cp/Make-lang.in (c++.mostlyclean): Remove coverage files. * ada/Make-lang.in (ada.mostlyclean): Remove coverage files. * f/Make-lang.in (f.mostlyclean): Remove coverage files. * java/Make-lang.in (java.mostlyclean): Remove coverage files. * objc/Make-lang.in (objc.mostlyclean): Remove coverage files. * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage files. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56126 138bc75d-0d04-0410-961f-82ee72b054a4
* Index: ChangeLoggeoffk2002-08-053-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-08-05 Geoffrey Keating <geoffk@redhat.com> * attribs.c: Don't include obstack.h. * builtins.c: Likewise. * cfganal.c: Likewise. * cfgbuild.c: Likewise. * cfgcleanup.c: Likewise. * emit-rtl.c: Likewise. * loop.c: Likewise. * stmt.c: Likewise. Index: cp/ChangeLog 2002-08-05 Geoffrey Keating <geoffk@redhat.com> * class.c: Don't include obstack.h. (popclass): * decl2.c: Delete bogus comment. * error.c: Don't include obstack.h. * except.c: Likewise. (dump_type): Correct comment. * method.c: Don't include obstack.h. * tree.c: Likewise. Index: java/ChangeLog 2002-08-05 Geoffrey Keating <geoffk@redhat.com> * mangle_name.c: Don't include obstack.h twice. * xref.c: Don't include obstack.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56055 138bc75d-0d04-0410-961f-82ee72b054a4
* Index: ChangeLoggeoffk2002-08-048-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-08-04 Geoffrey Keating <geoffk@redhat.com> * Makefile.in (sdbout.o): Doesn't need $(OBSTACK_H). * collect2.h (permanent_obstack): Delete declaration. * collect2.c (permanent_obstack): Delete definition. (main): Don't initialise permanent_obstack. Use xstrdup instead. * expr.c: Don't include obstack.h. (permanent_obstack): Delete declaration. * function.c: Don't include obstack.h. (permanent_obstack): Delete declaration. * integrate.c: Don't include obstack.h. (function_maybepermanent_obstack): Delete declaration. * print-tree.c (debug_tree): Use x*alloc not permalloc. * sdbout.c (gen_fake_label): Use x*alloc not permalloc. * tlink.c (pfgets): Use xstrdup not permanent_obstack. * toplev.c (lang_independent_init): Rename init_obstacks to init_ttree. * tree.h: Rename init_obstacks to init_ttree. Remove declarations of permalloc, expralloc, perm_calloc. * tree.c (permanent_obstack): Delete definition. (init_ttree): Rename from init_obstacks. (permalloc): Delete. (perm_calloc): Delete. (dump_tree_statistics): Don't print information about permanent_obstack. * varasm.c (assemble_start_function): Use xstrdup instead of permalloc/strcpy. (assemble_variable): Likewise. * config/alpha/alpha.c (unicosmk_need_dex): Use xmalloc instead of permalloc. (unicosmk_add_extern): Likewise. * config/c4x/c4x.c (c4x_external_ref): Likewise. (c4x_global_label): Likewise. * config/frv/frv.c (frv_encode_section_info): Likewise. * config/i386/winnt.c (i386_pe_record_external_function): Likewise. (i386_pe_record_exported_symbol): Likewise. * config/mips/mips.c (mips_output_external): Likewise. (mips_output_external_libcall): Likewise. * config/pa/pa.c: (permanent_obstack): Delete declaration. (output_call): Use ggc_strdup instead of allocating on permanent_obstack. * config/romp/romp.c: Include ggc.h. (get_symref): Don't declare permanent_obstack, use ggc_strdup intead of permanent_obstack. * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use concat instead of permalloc. * config/rs6000/rs6000.c (rs6000_gen_section_name): Use xmalloc instead of permalloc * config/rs6000/xcoff.h (ASM_OUTPUT_EXTERNAL): Use concat instead of permalloc. * config/vax/vax.c (vms_check_external): Use xmalloc instead of permalloc. Index: cp/ChangeLog 2002-08-04 Geoffrey Keating <geoffk@redhat.com> * cvt.c (ocp_convert): Delete obsolete code. * parse.y (permanent_obstack): Delete declaration. * pt.c (permanent_obstack): Delete declaration. * repo.c (permanent_obstack): Delete declaration. (open_repo_file): Use xmalloc instead of permanent_obstack. (init_repo): Use xstrdup instead of permanent_obstack. Index: java/ChangeLog 2002-08-04 Geoffrey Keating <geoffk@redhat.com> * class.c: (permanent_obstack): Delete declaration. * constants.c: (permanent_obstack): Delete declaration. * except.c: (permanent_obstack): Delete declaration. * expr.c: (permanent_obstack): Delete declaration. * jcf-parse.c: (permanent_obstack): Delete declaration. (saveable_obstack): Delete declaration. * parse.h: (permanent_obstack): Delete declaration. * typeck.c: (permanent_obstack): Delete declaration. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56035 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/include/gcc-common.texi (version-GCC): Increase to 3.3.jsm282002-08-042-1/+5
| | | | | | | | | | | java: * gcj.texi (version-gcc): Increase to 3.3. f: * root.texi (version-gcc): Increase to 3.3. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56026 138bc75d-0d04-0410-961f-82ee72b054a4
* * lex.c (java_lex): Check for `e' or `E' after 0.tromey2002-07-232-2/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55664 138bc75d-0d04-0410-961f-82ee72b054a4
* * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Don't userth2002-07-222-0/+28
| | | | | | | | | | GOTO_SUBROUTINE_EXPR when finally_block can be re-expanded. * lang.c (java_unsafe_for_reeval): New. (LANG_HOOKS_UNSAFE_FOR_REEVAL): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55636 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-lex.c (GET_ENVIRONMENT): Remove.neil2002-07-212-8/+7
| | | | | | | | | | | | | | | | | | * collect2.c (GET_ENV_PATH_LIST): Remove. (prefix_from_env): Use GET_ENVIRONMENT. * cppinit.c (GET_ENV_PATH_LIST): Remove. (init_standard_includes): Use GET_ENVIRONMENT. * defaults.h (GET_ENVIRONMENT): Define here if not already. * gcc.c (GET_ENV_PATH_LIST): Remove. (make_relative_prefix, process_command): Update. * protoize.c (GET_ENV_PATH_LIST): Remove. (do_processing): Update. java: * jcf-path.c (GET_ENV_PATH_LIST): Remove. (jcf_path_init): Use GET_ENVIRONMENT. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55630 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-07-10 Roger Sayle <roger@eyesopen.com>sayle2002-07-112-3/+7
| | | | | | | | | | | | | | | Zack Weinberg <zack@codesourcery.com> * builtins.def: Make the argument types of abort and exit independent of the front-end. * java/builtins.c (initialize_builtins): Remove defines that handled C/C++ specific junk hereby removed from builtins.def. * gcc.c-torture/execute/20000217-1.c: Fix usage of "abort". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55385 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-common.c (c_common_post_options): Update prototype;neil2002-07-072-2/+9
| | | | | | | | | | | | | | | | | | | don't init backends if preprocessing only. * langhooks-def.h (LANG_HOOKS_POST_OPTIONS): Update. * langhooks.h (struct lang_hooks): Update post_options to return a boolean. * toplev.c (parse_options_and_default_flags, do_compile, lang_independent_init): Update prototypes. Allow the front end to specify that there is no need to initialize the back end. (general_init): Move call to hex_init here... (toplev_main): ...from here. Pass flag for back end init suppression. java: * lang.c (java_post_options): Update prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55306 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/7099sayle2002-07-062-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * builtin-attrs.def: Define new attribute lists for use in builtins.def. * builtins.def [DEF_BUILTIN]: Modify to take an additional ATTRS argument, an enumerated value defined in builtin-attrs.def that represents the attribute list for the builtins. Modify all builtin functions to pass an appropriate attribute list. Specify "abort", "exit", "_exit" and "_Exit" builtins here with their required noreturn attributes. * tree.h (enum_builtin_function): Ignore the additional parameter to DEF_BUILTIN. * builtins.c (built_in_names): Likewise. * c-common.c: (builtin_function_2): Replace the "int noreturn_p" argument with a tree representing the functions attribute list. Pass this "attrs" argument to builtin_function. No longer handle the noreturn_p processing manually. (built_in_attributes): Move the definitions from builtin-attrs.def before c_common_nodes_and_builtins. (c_common_nodes_and_builtins): Handle the new ATTRS parameter in DEF_BUILTIN, passing it to both builtin_function and the changed builtin_function_2. * doc/extend.texi: Document __builtin_abort, __builtin_exit, __builtin__exit and __builtin__Exit. * java/builtins.c (initialize_builtins): Ignore the additional parameter to DEF_BUILTIN. Handle more C/C++ specific junk in the builtins.def file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55276 138bc75d-0d04-0410-961f-82ee72b054a4
* For PR libgcj/7073:tromey2002-07-022-1/+8
| | | | | | | | * parse.y (patch_incomplete_class_ref): Handle VOID_TYPE specially. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55167 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree.h: Modify builtin_function interface to take an extrasayle2002-07-012-26/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | argument ATTRS, which is a tree representing an attribute list. * c-decl.c (builtin_function): Accept additional parameter. * objc/objc-act.c (builtin_function): Likewise. * f/com.c (builtin_function): Likewise. * java/decl.c (builtin_function): Likewise. * ada/utils.c (builtin_function): Likewise. * cp/decl.c (builtin_function): Likewise. (builtin_function_1): Likewise. * c-common.c (c_common_nodes_and_builtins): Pass an additional NULL_TREE argument to builtin_function. (builtin_function_2): Likewise. * cp/call.c (build_java_interface_fn_ref): Likewise. * objc/objc-act.c (synth_module_prologue): Likewise. * java/decl.c (java_init_decl_processing): Likewise. * f/com.c (ffe_com_init_0): Likewise. * config/alpha/alpha.c (alpha_init_builtins): Pass an additional NULL_TREE argument builtin_function. * config/arm/arm.c (def_builtin): Likewise. * config/c4x/c4x.c (c4x_init_builtins): Likewise. * config/i386/i386.c (def_builtin): Likewise. * config/ia64/ia64.c (def_builtin): Likewise. * config/rs6000/rs6000.c (def_builtin): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55161 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-06-29 T.J. Mather <tjmather@maxmind.com>bryce2002-07-012-1/+5
| | | | | | | * gcj.texi: Fixed gcj invocation example so that it compiles. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55126 138bc75d-0d04-0410-961f-82ee72b054a4
* * parse.y (check_modifiers, declare_local_variables): Avoidghazi2002-06-272-4/+8
| | | | | | | incorrect hardcoded constant 10. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55017 138bc75d-0d04-0410-961f-82ee72b054a4
* * lex.c (java_init_lex): Avoid incorrect hardcoded constant 11.ghazi2002-06-273-3/+8
| | | | | | | * parse.y (mark_parser_ctxt): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55016 138bc75d-0d04-0410-961f-82ee72b054a4
* * lex.c (java_read_char): Avoid "comparison is always true"ghazi2002-06-262-2/+7
| | | | | | | warning. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55014 138bc75d-0d04-0410-961f-82ee72b054a4
* * expr.c (JSR): Avoid undefined operation on PC.schwab2002-06-252-1/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54987 138bc75d-0d04-0410-961f-82ee72b054a4
* cp:ghazi2002-06-212-1/+5
| | | | | | | | | * mangle.c (integer_type_codes): Const-ify. java: * decl.c (clear_binding_level): Const-ify. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54890 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-06-13 Akim Demaille <akim@epita.fr>tromey2002-06-132-6/+18
| | | | | | | | | * parse.y (class_declaration, interface_declaration): Make sure all their rules have an action, in order to avoid meaningless `$$ = $1' and their type clashes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54592 138bc75d-0d04-0410-961f-82ee72b054a4
* * jcf-write.c (generate_classfile): Use FIELD_SYNTHETIC.tromey2002-06-118-81/+205
| | | | | | | | | | | | | | | | | | | | | | | * parse-scan.y (statement_without_trailing_substatement): Added assert_statement. (assert_statement): New rule. * java-tree.h (struct lang_type) [assertions]: New field. (TYPE_USES_ASSERTIONS): New macro. (CLASS_USES_ASSERTIONS): Likewise. (FIELD_SYNTHETIC): New define. * lex.c (java_lval;): Added ASSERT_TK. * parse.y (ASSERT_TK): Added. (statement_without_trailing_substatement): Added assert_statement. (assert_statement): New rule. (build_assertion): New function. (maybe_generate_pre_expand_clinit): Create and initialize $assertionsDisabled. (lookup_package_type): Removed decl. * keyword.h: Rebuilt. * keyword.gperf (assert): New token. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54516 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-06-10 Akim Demaille <akim@epita.fr>tromey2002-06-112-760/+765
| | | | | | | | | * parse.y (interface_type_list, class_member_declaration) (unary_expression_not_plus_minus): Remove duplicate %type. Whitespace changes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54510 138bc75d-0d04-0410-961f-82ee72b054a4
* * Make-lang.in (java/lang.o): Use LANGHOOKS_DEF_H.tromey2002-06-112-1/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54508 138bc75d-0d04-0410-961f-82ee72b054a4
* * parse.y (method_header): Give error message in all cases.tromey2002-06-112-3/+17
| | | | | | | Fixes PR java/6865. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54504 138bc75d-0d04-0410-961f-82ee72b054a4
* Don't use RTL inlining. Fix for PR java/6820.bryce2002-06-102-0/+38
| | | | | | | | | | | | * lang.c (LANG_HOOKS_POST_OPTIONS): Define. (flag_really_inline): New. (java_decode_option): Set flag_really_inline if -finline-functions is seen. (java_post_options): New function. Turn off inlining unless flag_really_inline is set. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54430 138bc75d-0d04-0410-961f-82ee72b054a4
* * gjavah.c (throwable_p): Accept argument as either a classname orbryce2002-06-102-10/+27
| | | | | | | | | | signature fragment. Create null-terminated classname string for super when calling itself recursively. (decode_signature_piece): Skip first character from class name signature when calling throwable_p. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54427 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-06-08 H.J. Lu (hjl@gnu.org)hjl2002-06-082-1/+5
| | | | | | | * jcf-path.c (jcf_path_init): Allocate 1 more byte for string. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54384 138bc75d-0d04-0410-961f-82ee72b054a4
* * jcf-write.c (perform_relocations): Optmize a goto to a goto.tromey2002-06-042-0/+35
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54264 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-06-04 Michael Koch <konqueror@gmx.de>tromey2002-06-042-1/+5
| | | | | | | * gcj.texi (Input Options): Fixed typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54263 138bc75d-0d04-0410-961f-82ee72b054a4
* * java-tree.h, class.c, expr.c, jcf-parse.c, parse.y,zack2002-06-0410-181/+51
| | | | | | | | | | | | | | | typeck.c, verify.c: Remove all #if JAVA_USE_HANDLES blocks, all mention of CLASS_TO_HANDLE_TYPE or HANDLE_TO_CLASS_TYPE, and all now-pointless local variables. Rename other local variables to reflect their not being handles. * java-tree.h, jcf-dump.c, jcf-io.c: Remove all #if JCF_USE_STDIO blocks. * parse.y: Add missing semicolon at end of rule. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54261 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge from pch-branch up to tag pch-commit-20020603.geoffk2002-06-0415-480/+468
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54232 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix for PR java/5913:tromey2002-06-022-0/+14
| | | | | | | * parse.y (patch_binop): Call patch_string on op1. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54174 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix for PR java/1343, PR java/6336:tromey2002-06-023-71/+166
| | | | | | | | | | | * parse.y (make_nested_class_name): Remove extraneous `else'; fix formatting. Changed return type. (anonymous_class_counter): Moved to top of file. (maybe_make_nested_class_name): Append number to class name for function-local classes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54173 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree.h: Forward-declare struct realvaluetype.zack2002-05-286-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | (struct tree_real_cst): Point to the REAL_VALUE_TYPE, do not contain it. (TREE_REAL_CST_PTR): New accessor. (TREE_REAL_CST): Update. * real.h: Include machmode.h. (realvaluetype): Make it struct realvaluetype, not a typedef. (build_real): Prototype here. * tree.c: Include real.h. (build_real): Allocate the REAL_VALUE_TYPE as a separate object in GC memory, set TREE_REAL_CST_PTR to point to it. (build_real_from_int_cst): Use build_real. * ggc-common.c (ggc_mark_trees): Mark TREE_REAL_CST_PTR of a REAL_CST. * builtins.c, c-common.c, c-lex.c, dwarf2out.c, expr.c, fold-const.c, print-tree.c, real.c, cp/mangle.c, cp/tree.c, f/bld.c, f/com.c, f/expr.c, f/target.c, java/decl.c, java/jcf-parse.c, java/parse.y, java/typeck.c: Include real.h. * Makefile.in, cp/Make-lang.in, f/Make-lang.in, java/Make-lang.in: Update dependency lists. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53959 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (AC_CHECK_FUNCS): Add checks for scandir andmmitchel2002-05-196-17/+229
| | | | | | | | | alphasort. * config.in: Regenerated. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53633 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Allow for PWDCMD to override hardcoded pwd.ro2002-05-162-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config-ml.in: Likewise. * configure: Likewise. * configure.in: Likewise. boehm-gc: * acinclude.m4: Allow for PWDCMD to override hardcoded pwd. * aclocal.m4: Regenerate. * configure: Regenerate. config: * acinclude.m4: Allow for PWDCMD to override hardcoded pwd. contrib: * test_installed: Allow for PWDCMD to override hardcoded pwd. * test_summary: Likewise. gcc: * Makefile.in: Allow for PWDCMD to override hardcoded pwd. * configure.in: Likewise. * fixinc/check.tpl: Likewise. * fixinc/fixinc.dgux: Likewise. * fixinc/fixinc.svr4: Likewise. * fixinc/fixinc.winnt: Likewise. * fixinc/fixincl.sh: Likewise. * fixproto: Likewise. * configure: Regenerate. gcc/ada: * Makefile.adalib: Allow for PWDCMD to override hardcoded pwd. * Makefile.in: Likewise. gcc/f: * Make-lang.in: Allow for PWDCMD to override hardcoded pwd. gcc/java: * Make-lang.in: Allow for PWDCMD to override hardcoded pwd. gcc/po: * exgettext: Allow for PWDCMD to override hardcoded pwd. gcc/treelang: * Make-lang.in: Allow for PWDCMD to override hardcoded pwd. libf2c: * Makefile.in: Allow for PWDCMD to override hardcoded pwd. * aclocal.m4: Likewise. * configure: Regenerate. libjava: * acinclude.m4: Allow for PWDCMD to override hardcoded pwd. * configure.in: Likewise. * aclocal.m4: Regenerate. * configure: Regenerate. libobjc: * aclocal.m4: Allow for PWDCMD to override hardcoded pwd. * configure: Regenerate. libstdc++-v3: * Makefile.am: Allow for PWDCMD to override hardcoded pwd. * acinclude.m4: Likewise. * docs/html/Makefile: Likewise. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. zlib: * configure.in: Allow for PWDCMD to override hardcoded pwd. * configure: Regenerate. * ChangeLog: Move entries to ChangeLog.gcj. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53523 138bc75d-0d04-0410-961f-82ee72b054a4
* * jcf-write.c (write_classfile): Unlink the temporary file if itmmitchel2002-05-142-5/+12
| | | | | | | | cannot be renamed. Use concat to build up the name of the temporary file git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53439 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/jcf-write.c (write_classfile): Write the file to ammitchel2002-05-082-3/+20
| | | | | | | | | | | | | temporary file and then rename it. * libjava/Makefile.am (all_java_source_files): New variable. (all_java_class_files): Likewise. .java.class: New rule. (CLEANFILES): Remove tmp-list. * libjava/Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53298 138bc75d-0d04-0410-961f-82ee72b054a4
* * gjavah.c (throwable_p): Use xstrdup, not strdup.tromey2002-05-082-2/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53279 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix for PR java/1200:tromey2002-05-082-11/+119
| | | | | | | | | | | * gjavah.c (throwable_p): New function. (decode_signature_piece): Use it. A `WeakReference' isn't the same as a `jweak'. Include hashtab.h. (gcjh_streq): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53275 138bc75d-0d04-0410-961f-82ee72b054a4
* * parse.y (finish_for_loop): Fix if statement.aj2002-05-072-4/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53263 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix for PR java/5941:tromey2002-05-073-2/+42
| | | | | | | | | | * parse.y (finish_for_loop): Set SUPPRESS_UNREACHABLE_ERROR for loop update expression. (java_complete_lhs): Use SUPPRESS_UNREACHABLE_ERROR. * java-tree.h (SUPPRESS_UNREACHABLE_ERROR): New macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53247 138bc75d-0d04-0410-961f-82ee72b054a4