- 07 Jul, 2000 6 commits
-
-
From-SVN: r34900
Phil Edwards committed -
From-SVN: r34899
Kazu Hirata committed -
From-SVN: r34898
Neil Booth committed -
From-SVN: r34896
Jeff Law committed -
2000-07-06 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.h (BUILD_PTR_FROM_NAME): Surround with a do/while construct. * parse.y (find_as_inner_class): Fixed typo. (do_resolve_class): Explore enclosing contexts when searching for innerclasses. Removed curly brackets around BUILD_PTR_FROM_NAME. (check_inner_class_access): Check `decl' which can be null in case of previous errors. 2000-07-05 Alexandre Petit-Bianco <apbianco@cygnus.com> * java-tree.h (java_debug_context): Declared `extern.' (safe_layout_class): Likewise. * parse.y (resolve_field_access): Field must be `static' in order to be replaced by its initial value. Added comments. (find_applicable_accessible_methods_list): Fixed typo. (find_most_specific_methods_list): Methods found in innerclasses take over methods founds in the enclosing contexts. (java_complete_tree): Loosen restrictions on the type of DECLs that can be replaced by their initialization values. (valid_ref_assignconv_cast_p): Removed call to `enclosing_context_p.' (http://gcc.gnu.org/ml/gcc-patches/2000-07/msg00184.html) From-SVN: r34895
Alexandre Petit-Bianco committed -
2000-07-01 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (parser_qualified_classname): Removed parameter `is_static'. (create_interface): Removed first passed parameter to parser_qualified_classname. (create_class): Likewise. Don't install alias on static innerclasses. Fixes gcj/275. 2000-07-01 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (maybe_generate_pre_expand_clinit): Don't build a debugable statement with empty_stmt_node. Fixes gcj/272 2000-07-01 Alexandre Petit-Bianco <apbianco@cygnus.com> * expr.c (build_instanceof): Layout type after it's loaded. Fixes gcj/271. (Fix to the PR gcj/271, gcj/272 and gcj/275: http://sourceware.cygnus.com/ml/java-prs/2000-q3/msg00000.html http://sourceware.cygnus.com/ml/java-prs/2000-q3/msg00002.html http://sourceware.cygnus.com/ml/java-prs/2000-q3/msg00001.html ) From-SVN: r34894
Alexandre Petit-Bianco committed
-
- 06 Jul, 2000 16 commits
-
-
* tradcpp.c: New file. * tradcif.y: New file. * tradcif.c: New generated file. * Makefile.in: Add rules to build tradcpp.o, tradcif.o, $(srcdir)/tradcif.c. Add tradcpp to STAGESTUFF and dependencies of C. Install tradcpp from install-common, in $(libsubdir). From-SVN: r34893
Zack Weinberg committed -
* cppinit.c: Include cppdefault.h. Refer to cpp_GCC_INCLUDE_DIR and cpp_GCC_INCLUDE_DIR_len, not directly to GCC_INCLUDE_DIR and its length. (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, USER_LABEL_PREFIX, REGISTER_PREFIX, struct default_include, STANDARD_INCLUDE_DIR, STANDARD_INCLUDE_COMPONENT): Move to cppdefault.h. (include_defaults_array): Move to cppdefault.c. * cppdefault.h: New file. * cppdefault.c: New file. * Makefile.in (LIBCPP_OBJS): Add cppdefault.o. (cppinit.o): Don't apply $(PREPROCESSOR_DEFINES) to this file. (cppdefault.o): New rule; apply $(PREPROCESSOR_DEFINES) to this file. From-SVN: r34892
Zack Weinberg committed -
* reload.c (push_reload): When seeing if can reuse a register, check extra registers against widest of INMODE and OUTMODE. From-SVN: r34891
Richard Kenner committed -
* std/gslice_array.h, std/indirect_array.h, std/mask_array.h, std/slice_array.h, std/std_valarray.h, std/valarray_meta.h: Do not paste anything after 'operator' keyword. From-SVN: r34890
Zack Weinberg committed -
From-SVN: r34889
Nathan Sidwell committed -
From-SVN: r34888
Nathan Sidwell committed -
* g++.old-deja/g++.mike/thunk2.C: Add return 0. * g++.old-deja/g++.mike/thunk3.C: Likewise. * g++.old-deja/g++.other/rtti3.C: Likewise. * g++.old-deja/g++.other/rttid3.C: Likewise. From-SVN: r34887
Nathan Sidwell committed -
From-SVN: r34886
Nathan Sidwell committed -
* cpplib.c: (_cpp_parse_assertion): Perform hash lookups based on full length of predicate. From-SVN: r34885
Neil Booth committed -
* timevar.c: [HAVE_SYS_RESOURCE_H]: Include <sys/resource.h>. [NEED_DECLARATION_GETRUSAGE]: Declare getrusage. From-SVN: r34884
Hans-Peter Nilsson committed -
From-SVN: r34883
Jeff Law committed -
* h8300-proto.h: Fix formatting. * h8300.c: Likewise. * h8300.h: Likewise. From-SVN: r34882
Kazu Hirata committed -
* config/ia64/ia64.h (HARD_REGNO_MODE_OK): If FR_REGNO_P, disallow CCmode. From-SVN: r34881
Jim Wilson committed -
* invoke.texi: Fix minor typos * md.texi: Fix minor typos From-SVN: r34880
Rodney Brown committed -
From-SVN: r34879
David Billinghurst committed -
From-SVN: r34878
Jim Wilson committed
-
- 05 Jul, 2000 9 commits
-
-
2000-07-05 brent verner <brent@rcfile.org> * testsuite/27_io/ifstream_members.cc (test01): Add tests. * testsuite/27_io/ofstream_members.cc (test01): Add tests. * config/c_io_libio.cc (__basic_file::open): Unset ~_IO_DELETE_DONT_CLOSE. 2000-07-05 Zack Weinberg <zack@wolery.cumb.org> * bits/gslice_array.h, bits/indirect_array.h, bits/mask_array.h, bits/slice_array.h, bits/std_valarray.h, bits/valarray_meta.h: Do not paste anything after 'operator' keyword. From-SVN: r34877
Benjamin Kosnik committed -
* Make-lang.in (PARSE_DIR): New macro. (PARSE_RELDIR): Likewise. (PARSE_C): Likewise. (PARSE_SCAN_C): Likewise. ($(PARSE_C)): New target. ($(PARSE_SCAN_C)): Likewise. (SET_BISON): New macro. (BISONFLAGS): Likewise. (JAVABISONFLAGS): Likewise. From-SVN: r34876
Tom Tromey committed -
* call.c (joust): Don't complain about `operator char *()' beating `operator const char *() const'. From-SVN: r34875
Jason Merrill committed -
2000-07-03 Donn Terry (donnte@microsoft.com) * libU77/aclocal.m4: check for 2 argument gettimeofday without struct timezone 2000-06-21 Zack Weinberg <zack@wolery.cumb.org> From-SVN: r34874
Donn Terry committed -
* gcc.dg/cpp/ident.c: Don't expect #ident strings in the assembly output. From-SVN: r34873
Zack Weinberg committed -
From-SVN: r34872
Zack Weinberg committed -
From-SVN: r34871
Jeff Law committed -
toplevel: * cpplex.c: Don't include sys/mman.h. (cpp_push_buffer, cpp_pop_buffer): Moved to cpplib.c. * cpplib.c: Include sys/mman.h and obstack.h. (cpp_push_buffer): Moved from cpplex.c; allocate buffers on an obstack. (cpp_pop_buffer): Moved from cpplex.c; free buffers from an obstack. (_cpp_unwind_if_stack): Now static, unwind_if_stack. Don't bother freeing if stack entries (they will be freed with their buffer). (do_endif): Free if stack entries from the buffer obstack. (push_conditional): Allocate if stack entries from the buffer obstack. (find_answer): Rename to _cpp_find_answer. (do_assert, do_unassert): Update. * cpphash.h: Update prototypes. (xobnew): New convenience macro. * cpplib.h (struct cpp_reader): Add hash_ob and buffer_ob fields. Update comments. (struct cpp_hashnode): Remove disabled field. * cppinit.c: Don't include hashtab.h or splay-tree.h. (report_missing_guard): Moved to cppfiles.c. (cpp_reader_init): Call cpp_init_stacks, cpp_init_macros, cpp_init_includes. (cpp_cleanup): Call cpp_cleanup_stacks, cpp_cleanup_macros, cpp_cleanup_includes. Don't destroy hashtab or all_include_files here. (cpp_finish): Use _cpp_report_missing_guards. * cppfiles.c (report_missing_guard): Moved from cppinit.c. (_cpp_init_include_table): Rename _cpp_init_includes. (_cpp_cleanup_includes, _cpp_report_missing_guards): New. * cppexp.c (parse_assertion): Update for new name of find_answer. * Makefile.in (cpplib.o, cpphash.o, cppinit.o): Update deps. * cpplib.c (do_ident): s/VSPACE/EOF/ testsuite: * gcc.dg/cpp/ident.c: New test. From-SVN: r34870
Zack Weinberg committed -
gjavah.c (HANDLE_METHOD): Call print_method_info with a NULL stream argument on the first pass for CNI as... * gjavah.c (HANDLE_METHOD): Call print_method_info with a NULL stream argument on the first pass for CNI as well as JNI. (print_method_info): Set up method name on the first pass only. From-SVN: r34869
Bryce McKinlay committed
-
- 04 Jul, 2000 9 commits
-
-
* cpplex.c: Fix trigraph replacement within strings. * gcc.dg/cpp/lexident.c, gcc.dg/cpp/lexnum.c, gcc.dg/cpp/lexstrng.c: New tests. From-SVN: r34868
Neil Booth committed -
* gcc.dg/cpp/macro1.c: Add more macro expansion tests. * gcc.dg/cpp/strify2.c: Same. From-SVN: r34867
Neil Booth committed -
* rs6000/aix.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier. * xcoffout.c (assign_type_number): Constify. (xcoffout_source_file): Add static prototype. Don't needlessly cast away const-ness. From-SVN: r34866
Kaveh R. Ghazi committed -
* config/avr/avr.h (MASK_*): Define bits for target_flags. (TARGET_SWITCHES): Mark help strings for translation. Add new -mpack-args and -menhanced switches. (TARGET_OPTIONS): Mark help strings for translation. (progmem_section): Add section attributes. From-SVN: r34865
Denis Chertykov committed -
From-SVN: r34864
Jason Merrill committed -
repo.c (repo_get_id): Handle the case where a class with virtual bases has a null TYPE_BINFO_VTABLE. * repo.c (repo_get_id): Handle the case where a class with virtual bases has a null TYPE_BINFO_VTABLE. * parse.y (member_init): Just pass in the type. * init.c (expand_member_init): Handle getting a type. * decl.c (finish_function): Warn if a function has no return statement. Suggested by Andrew Koenig. * typeck.c (check_return_expr): Do set current_function_returns_value if we got an error_mark_node. From-SVN: r34863
Jason Merrill committed -
From-SVN: r34862
Jeff Law committed -
From-SVN: r34861
Clinton Popetz committed -
2000-07-03 scott snyder <snyder@fnal.gov> * bits/locale_facets.tcc (_M_extract): Only figure out the base from the input if base == 0. * testsuite/27_io/istream_extractor_arith.cc: Test reading a number with a leading `0' in hex mode. * shadow/bits/std_cmath.h: Fix typo in _GLIBCPP_HAVE_CEILL test. * mkinclosure: Change `==' to `=' in test. 2000-07-03 Chip Salzenberg <chip@valinux.com> * src/Makefile.am (libio_headers): _G_config.h is found in srcdir, not builddir. * src/Makefile.in: Regenerate. From-SVN: r34860
Benjamin Kosnik committed
-