- 22 Jun, 2000 8 commits
-
-
2000-06-22 Anthony Williams <anthony@anthonyw.cjb.net> * testsuite/21_strings/find.cc: Patch. 2000-06-22 Benjamin Kosnik <bkoz@soma.redhat.com> * acinclude.m4 (GLIBCPP_CHEC_LINKER_FEATURES): Use gcc + -x c++ as an easy way to get at g++ without having to link in libstdc++. From-SVN: r34649
Benjamin Kosnik committed -
From-SVN: r34648
Nathan Sidwell committed -
* varasm.c (constant_descriptor): Make contents unsigned char. (mark_const_hash_entry): Adjust. (const_hash): Just hash the code of unknown nodes. (compare_constant_1): Adjust for unsigned char. Use language specific expander on unknown nodes. (record_constant_1): Likewise. From-SVN: r34647
Nathan Sidwell committed -
* g++.old-deja/g++.pt/vaarg2.C: New test. * g++.old-deja/g++.pt/vaarg3.C: New test. From-SVN: r34646
Nathan Sidwell committed -
* call.c (build_x_va_arg): Check if in a template decl. * pt.c (tsubst_copy, case VA_ARG_EXPR): Use build_x_va_arg. From-SVN: r34645
Nathan Sidwell committed -
From-SVN: r34644
Jeff Law committed -
2000-06-21 Benjamin Kosnik <bkoz@soma.redhat.com> Fix alpha, powerpc build failures. * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Substantially re-write. Need to check for both proper declaration when using a c++ compiler, and "C" linkage when linking. Do both, and if both exist, then define the HAVE_* bits in config.h. (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_n): New, uber-macros. Does all. (GLIBCPP_CHECK_LINKER_FEATURES): Actually link and run this program, doh. From-SVN: r34643
Benjamin Kosnik committed -
2000-06-21 Alexandre Petit-Bianco <apbianco@cygnus.com> * except.c (prepare_eh_table_type): Use `CATCH_ALL_TYPE'. 2000-06-20 Alexandre Petit-Bianco <apbianco@cygnus.com> * check-init.c (ENABLE_JC1_CHECKING): Replaces ENABLE_CHECKING for Java specific checks. * expr.c (build_instanceof): CLASS_INTERFACE and CLASS_FINAL usage screened by DECL_P. * java-tree.def (CASE_EXPR): Marked 'e'. (DEFAULT_EXPR): Likewise. * jcf-parse.c (set_source_filename): CLASS_COMPLETE_P usage screened by DECL_P. * jcf-write.c (ENABLE_JC1_CHECKING): Replaces ENABLE_CHECKING for Java specific checks. (generate_bytecode_insns): Test try_block for BLOCK before using BLOCK_EXPR_BODY. * parse.y (build_wfl_wrap): Added `location' argument. Set EXPR_WFL_LINECOL accordingly. (dim_expr:): Wrap constants with WFLs. (method_declarator): Use TREE_TYPE not TYPE_NAME on GET_CPC. (resolve_package): Check for `stmt' not being a BLOCK before building a debuggable statement with it. (make_qualified_primary): Added extra parameter to build_wfl_wrap invocation. (resolve_field_access): Make sure `decl' is a DECL before treating it as such. (maybe_build_primttype_type_ref): Make sure `wfl''s node is an IDENTIFIER_NODE before treating it as such. (patch_new_array_init): Make sure `elt' is a TREE_LIST before treating it as such. (find_applicable_accessible_methods_list): CLASS_INTERFACE macro to be applied only on non array types. 2000-06-16 Per Bothner <per@bothner.com> * java-tree.h (LABEL_RETURN_LABELS, LABEL_PENDING_CHAIN): Don't define in terms of DECL_RESULT, as that fails when --enable-checking. 2000-06-06 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.h (REGISTER_IMPORT): Use `chainon' to link new entries. * parse.y (find_in_imports): Returned type changed to void, leading comment fixed. (register_package): New function. (qualify_and_find): Likewise. (package_declaration:): Use `register_package'. (single_type_import_declaration:): Removed local variable `node'. Added missing `;' for consistency. (type_import_on_demand_declaration:): Use `chainon' to link new entries. (lookup_field_wrapper): Lookup local variables defined in outer contexts first. (java_complete_class): Don't reverse the list of imported on demand. (do_resolve_class): Reorganized. Removed local variable `original_name'. Call `qualify_and_find' with the current package name, invoke `find_in_imports_on_demand' right after. Call `qualify_and_find' with the packages we've seen so far. Fixed operations numbering in comments. (java_expand_class): Don't reverse `package_list'. (find_most_specific_methods_list): New local variables `abstract' and `candidates'. Use them to pick the right method. (Fixes for the ENABLE_TREE_CHECKING Java run-time build problem: http://gcc.gnu.org/ml/gcc-patches/2000-06/msg00551.html) From-SVN: r34642
Alexandre Petit-Bianco committed
-
- 21 Jun, 2000 16 commits
-
-
* cppfiles.c (cpp_make_system_header): New function. * cpplib.h: Prototype it. * cpplib.c (do_line, do_pragma_system_header): Use it. * fix-header.c (read_scan_file): Use it. * fix-header.c (check_macro_names): Cast second arg of cpp_defined to const unsigned char *. (read_scan_file): Make getchar_call const unsigned char. From-SVN: r34641
Zack Weinberg committed -
2000-06-21 Branko Cibej <branko.cibej@hermes.si> * mh-sparcpic: Use single instead of double quotes. * mt-sparcpic: Likewise. From-SVN: r34640
Branko Cibej committed -
* libU77/dtime_.c, libU77/etime_.c: Include stdlib.h if HAVE_STDLIB_H is defined. From-SVN: r34639
Zack Weinberg committed -
* Make-lang.in (F77_SRCS): Remove all .j files. * Makefile.in (ASSERT_H, CONFIG_H, CONVERT_H, FLAGS_H, GGC_H, GLIMITS_H, HCONFIG_H, INPUT_H, OUTPUT_H, RTL_H, SYSTEM_H, TOPLEV_H, TREE_H): Remove references to .j files. (TCONFIG_H, TM_H): Remove entirely. (deps-kinda): Delete rule. Correct commentary. * assert.j, config.j, convert.j. flags.j, ggc.j, glimits.j, hconfig.j, input.j, output.j, rtl.j, system.j, toplev.j, tree.j, tconfig.j, tree.j: Delete. * ansify.c, bad.c, bit.c, com.c, com.h, intdoc.c, lex.c, parse.c, proj.c, proj.h, ste.c, target.c, target.h, top.c, where.c, where.h: Include parent-directory headers directly. * lex.c: Don't include tree.h twice. From-SVN: r34638
Zack Weinberg committed -
* Makefile.in (SPLAY_TREE_H): New macro. (cppfiles.o, cppinit.o): Update dependencies. From-SVN: r34637
Zack Weinberg committed -
* cppfiles.c: Include splay-tree.h, not hashtab.h. (redundant_include_p, make_IHASH, hash_IHASH, eq_IHASH): Delete. (destroy_include_file_node): New. (_cpp_init_include_hash): Rename _cpp_init_include_table. Create a splay tree, not a hash table. (open_include_file): Look up the path in the include table, do the multiple include optimization here, etc. (cpp_included): Walk the path. (find_include_file): Just walk the path calling open_include_file, or call it directly for an absolute path. (_cpp_fake_ihash): Rename _cpp_fake_include and update for new scheme. (read_include_file): Update for new scheme. Don't close the file unless reading fails. (_cpp_execute_include, cpp_read_file): Tweak for new scheme. * cpphash.h (struct ihash, NEVER_REINCLUDE): Delete. (struct include_file): New. (NEVER_REREAD, DO_NOT_REREAD, CPP_IN_SYSTEM_HEADER): New macros. (CPP_PEDANTIC, CPP_WTRADITIONAL): Update. Update prototypes. * cppinit.c: Include splay-tree.h. (cpp_reader_init, cpp_cleanup): Update. * cpplib.h (struct cpp_buffer): Change ihash field to 'struct include_file *inc'. Remove system_header_p. (struct cpp_reader): Change all_include_files to a struct splay_tree_s *. * cpplex.c: Update all references to cpp_buffer->ihash and/or cpp_buffer->system_header_p. (cpp_pop_buffer): Close file here, only if DO_NOT_REREAD. From-SVN: r34636
Zack Weinberg committed -
2000-06-20 Alexandre Petit-Bianco <apbianco@cygnus.com> * class.c (push_lang_context): TYPE_NAME gets you to the Java types DECLs. * decl.c (check_goto): Computed gotos assumed OK. From-SVN: r34635
Alexandre Petit-Bianco committed -
From-SVN: r34634
Martin Buchholz committed -
pt.c (tsubst_decl, [...]): Fix test for TYPE_DECLs for which we don't need to look for instantiations. * pt.c (tsubst_decl, case TYPE_DECL): Fix test for TYPE_DECLs for which we don't need to look for instantiations. From-SVN: r34633
Jason Merrill committed -
From-SVN: r34632
Jason Merrill committed -
From-SVN: r34631
J. David Anglin committed -
From-SVN: r34630
J. David Anglin committed -
* parse.y (program): Always call finish_translation_unit. * parse.c, parse.h: Rebuilt. From-SVN: r34629
Nathan Sidwell committed -
From-SVN: r34628
Jeff Law committed -
2000-06-21 Bryce McKinlay <bryce@albatross.co.nz> * java/lang/ThreadGroup.java (add(Thread)): Rename to addThread() to comply with classpath VM spec. (add(Group)): Rename to addGroup(). * java/lang/Thread.java (Thread): Use addThread(). * java/lang/natThread.cc (finish_): Use removeThread(). From-SVN: r34627
Bryce McKinlay committed -
* configure.in: Use 'test a = b' not 'test a == b'. * configure: Regen. From-SVN: r34624
Zack Weinberg committed
-
- 20 Jun, 2000 13 commits
-
-
From-SVN: r34623
Zack Weinberg committed -
2000-06-20 Anthony Williams <anthony@anthonyw.cjb.net> * bits/string.tcc: Fix find. * testsuite/21_strings/find.cc: Patch. 2000-06-20 Benjamin Kosnik <bkoz@purist.soma.redhat.com> * docs/install.html: Update where to get automake, where to get binutils. * acinclude.m4: Need -fno-builtins too, so gcc doesn't recognize builtins. From-SVN: r34622
Benjamin Kosnik committed -
* cpplex.c (parse_name): Don't warn about $ in identifiers if skipping. * Makefile.in: Remove all references to HOST_INTLLIBS. * cp/method.c: Don't include hard-reg-set.h. From-SVN: r34621
Zack Weinberg committed -
From-SVN: r34620
Nathan Sidwell committed -
From-SVN: r34619
Nathan Sidwell committed -
2000-06-20 Philipp Thomas <pthomas@suse.de> * config/pa/pa.h (TARGET_SWITCHES): Require binutils 2.10 or later for PA 2.0. From-SVN: r34618
Philipp Thomas committed -
* call.c (build_conditional_expr): Use VOID_TYPE_P. * cvt.c (cp_convert_to_pointer): Likewise. (convert_to_void): Likewise. * error.c (dump_expr): Likewise. * except.c (complete_ptr_ref_or_void_ptr_p): Likewise. * init.c (build_delete): Likewise. * method.c (emit_thunk): Likewise. * optmize.c (declare_return_variable): Likewise. * rtti.c (get_tinfo_decl_dynamic): Likewise. (get_typeid): Likewise. (build_dynamic_cast_1): Likewise. * typeck.c (composite_pointer_type): Likewise. (common_type): Likewise. (build_indirect_ref): Likewise. (build_binary_op): Likewise. (build_x_compound_expr): Likewise. (check_return_expr): Likewise. * typeck2.c (add_exception_specifier): Likewise. * mangle.c (write_method_parms): Use direct comparison for end of parmlist. From-SVN: r34617
Nathan Sidwell committed -
From-SVN: r34616
Jeff Law committed -
2000-06-20 Bryce McKinlay <bryce@albatross.co.nz> * java/lang/ThreadGroup.java: Merged with classpath. * prims.cc (_Jv_RunMain): Don't use ain_group'. * gnu/gcj/runtime/FirstThread.java: Remove ThreadGroup constructor argument. * java/lang/Thread.java (Thread): Bootstrap initial thread from ThreadGroup.root if Thread.currentThread is null. Honour the ThreadGroup's max priority setting. From-SVN: r34615
Bryce McKinlay committed -
2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com> * acinclude.m4 ((GLIBCPP_CHECK_MATH_SUPPORT): Revert last change. Add -Werror-implicit-function-declaration instead. Regenerate with fixed maintainer-tools. * aclocal.m4: Regenerate. * configure: Regenerate. * libio/Makefile.in: Regenerate. From-SVN: r34614
Benjamin Kosnik committed -
2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com> Regenerate with fixed maintainer-tools. * aclocal.m4: Regenerate. * configure: Regenerate. * libio/Makefile.in: Regenerate. * src/Makefile.in: Regenerate. From-SVN: r34613
Benjamin Kosnik committed -
2000-06-19 Russell Davidson <russell@ehess.cnrs-mrs.fr> * testsuite/27_io/istream_extractor_arith.cc: Patch. * bits/locale_factets.tcc: Tweak. From-SVN: r34612
Russell Davidson committed -
2000-06-20 Bryce McKinlay <bryce@albatross.co.nz> Imported version 5.1. * acinclude.m4: Push version to 5.1. From-SVN: r34610
Bryce McKinlay committed
-
- 19 Jun, 2000 3 commits
-
-
2000-06-19 Raja R Harinath <harinath@cs.umn.edu> * src/Makefile.am: change @WERROR@ to $(WERROR) so that this can be overridden on the command line for individual files. 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com> * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Can't use AC_LANG_CPLUSPLUS as this tries to link in libstdc++, Which we are building. Use -x c++ instead, which does not attempt to link libstdc++. From-SVN: r34608
Benjamin Kosnik committed -
which included commits to RCS files with non-trunk default branches. From-SVN: r34606
Bryce McKinlay committed -
From-SVN: r34603
J"orn Rennecke committed
-