Commit Graph

29842 Commits

Author SHA1 Message Date
Tom Tromey
1ed67a71e4 StreamTokenizer.java (TT_NONE): Now private.
* java/io/StreamTokenizer.java (TT_NONE): Now private.
	(nextToken): Handle backslashed newline.  From Oskar Liljeblad.
	For PR java.io/301.

From-SVN: r35511
2000-08-06 00:49:29 +00:00
Chris Demetriou
f0333785db elf.h (CTOR_LIST_BEGIN, [...]): change type of __CTOR_LIST__ from func_ptr array to just func_ptr...
* mips/elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END,
        DTOR_LIST_BEGIN, DTOR_LIST_END): change type of
        __CTOR_LIST__ from func_ptr array to just func_ptr, to
        avoid extra alignment imposed on arrays.
        * mips/elf64.h (CTOR_LIST_BEGIN, CTOR_LIST_END,
        DTOR_LIST_BEGIN, DTOR_LIST_END): Likewise.

From-SVN: r35510
2000-08-05 18:07:22 -06:00
Chris Demetriou
6d81ba4545 mips.h: Clean up comments and spacing near MASKs.
* mips.h: Clean up comments and spacing near MASKs.
        (TARGET_UNIX_ASM): Delete.
        (MASK_MIPS16, MASK_NO_CHECK_ZERO_DIV, MASK_CHECK_RANGE_DIV,
        MASK_UNINIT_CONST_IN_RODATA): Change values to make mask
        values contiguous.

From-SVN: r35509
2000-08-05 18:02:49 -06:00
Joseph Myers
7e9c81d69a Fix typos.
From-SVN: r35508
2000-08-06 00:08:10 +01:00
Joseph Myers
c16dc93614 c-common.c (print_char_table): Add entries for the X/Open ' format flag (print decimals with locale's...
* c-common.c (print_char_table): Add entries for the X/Open '
	format flag (print decimals with locale's thousands grouping
	character).  Make %C expect wint_t.
	(check_format_info): If pedantic, warn when the %n$ operand
	number form is used.  Allow for the ' flag; warn about it if
	pedantic.

From-SVN: r35507
2000-08-05 19:31:15 +01:00
Zack Weinberg
26f2c02a97 i386.h (FUNCTION_OK_FOR_SIBCALL): Not OK if DECL's return type is a float mode...
* i386.h (FUNCTION_OK_FOR_SIBCALL):  Not OK if DECL's return
	type is a float mode, cfun->decl's return type is not, and
	TARGET_FLOAT_RETURNS_IN_80387.

	* gcc.c-torture/execute/20000731-1.x: Delete.

From-SVN: r35506
2000-08-05 18:24:19 +00:00
Jason Merrill
0681921da1 tweak
From-SVN: r35505
2000-08-05 13:48:27 -04:00
Jeff Law
4845665631 Daily bump.
From-SVN: r35504
2000-08-05 01:45:07 -06:00
Jeffrey Oldham
f9fcf62b6a cxxabi.h (__pbase_type_info): Changed member names to match specifications.
2000-08-04  Jeffrey D. Oldham  <oldham@codesourcery.com>

	* inc/cxxabi.h (__pbase_type_info): Changed member names to match
	specifications.
	(__pointer_to_member_type_info): Likewise.
	(__base_class_info): Likewise.
	(__class_type_info): Likewise.
	(__si_class_type_info): Likewise.
	(__vmi_class_type_info): Likewise.
	* tinfo.cc (__si_class_type_info::__do_find_public_src):
	Changed member names to match specifications.
	(__vmi_class_type_info::__do_find_public_src): Likewise.
	(__si_class_type_info::__do_dyncast): Likewise.
	(__vmi_class_type_info::__do_dyncast): Likewise.
	(__si_class_type_info::__do_upcast): Likewise.
	(__vmi_class_type_info::__do_upcast): Likewise.
	* tinfo2.cc (__pbase_type_info::__do_catch): Likewise.
	(__pbase_type_info::__pointer_catch): Likewise.
	(__pointer_type_info::__pointer_catch): Likewise.
	(__pointer_to_member_type_info::__pointer_catch): Likewise.

From-SVN: r35503
2000-08-05 04:17:23 +00:00
Zack Weinberg
8cab40f72e aclocal.m4: Replace copy of ../libtool.m4 with sinclude(../libtool.m4).
* aclocal.m4: Replace copy of ../libtool.m4 with
	sinclude(../libtool.m4).

From-SVN: r35502
2000-08-05 01:13:37 +00:00
Zack Weinberg
a36556a837 [multiple changes]
2000-08-04  Andreas Schwab  <schwab@suse.de>

	* cppmain.c (cb_def_pragma): Skip the first two tokens from the
	token list, which are always `#' and `pragma'.

2000-08-04  Zack Weinberg  <zack@wolery.cumb.org>

	* tree.c (tree_expr_nonnegative_p): Move to...
	* fold-const.c: ... here.  Also handle BIND_EXPR and RTL_EXPR.
	(rtl_expr_nonnegative_p): New.
	* tree.h: Add prototype for rtl_expr_nonnegative_p.

	* real.h (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH, CONST_DOUBLE_MEM,
	CONST_DOUBLE_CHAIN: Move to...
	* rtl.h: ...here.  Use XCINT/XCEXP.

	* Makefile.in: Remove toplev.o from OBJS.  Add rule to make
	libbackend.a; add libbackend.a to STAGESTUFF.  Add BACKEND
	variable.  Use BACKEND when linking cc1, not OBJS.  Add BACKEND
	to VOL_FILES.

	* objc/Make-lang.in (cc1obj): Link with $(BACKEND).

ch:
	* Make-lang.in (cc1chill): Depend on $(BACKEND), not stamp-objlist.
	* Makefile.in (cc1chill): Link with $(BACKEND).  Define BACKEND,
	eliminate C_OBJS (was commented out), OBJS, OBJDEPS.
cp:
        * Make-lang.in (cc1plus): Depend on $(BACKEND), not stamp-objlist.
        * Makefile.in: Add C_OBJS, BACKEND; delete OBJS, OBJDEPS.
        (cc1plus): Link with $(BACKEND) and $(C_OBJS).
f:
	* Make-lang.in (f771): Depend on $(BACKEND), not stamp-objlist.
	* Makefile.in: Add BACKEND; delete OBJS, OBJDEPS.
	(f771): Link with $(BACKEND).
java:
	* Make-lang.in (jc1, jv-scan): Depend on $(BACKEND), not stamp-objlist.
	* Makefile.in: Add BACKEND; delete OBJS, OBJDEPS.
	(jc1): Link with $(BACKEND).
	(jv-scan): Depend on version.o, not all of $(OBJS) or $(BACKEND).

From-SVN: r35501
2000-08-05 00:50:02 +00:00
Zack Weinberg
2ba7ba63a1 gcc-dg.exp: Set up TORTURE_OPTIONS...
* lib/gcc-dg.exp: Set up TORTURE_OPTIONS, torture_with_loops,
	and torture_without_loops as is done by c-torture.exp.
	(search_for): Copy from c-torture.exp.
	(gcc-dg-runtest): New function, drives a directory of tests
	iterating over the TORTURE_OPTIONS.
	(scan-assembler, scan-assembler-not): Move here from
	individual directory drivers.

	* gcc.dg/dg.exp: scan-assembler, scan-assembler-not now
	defined by lib/gcc-dg.exp.
	* gcc.dg/cpp/cpp.exp: Likewise.
	* gcc.dg/noncompile/noncompile.exp: Likewise.  Use
	gcc-dg-runtest, so we cycle over optimization options.

	* gcc.dg/cpp/20000625-2.c: Expect warning on line 8, not 9.
	* gcc.dg/compare2.c: No longer expected to fail.

From-SVN: r35500
2000-08-05 00:46:17 +00:00
Jason Merrill
3af4c87cca new
From-SVN: r35499
2000-08-04 20:38:31 -04:00
Jason Merrill
baf7e33b41 pt.c (do_type_instantiation): Add complain parm; don't complain if called recursively.
* pt.c (do_type_instantiation): Add complain parm; don't complain
        if called recursively.
        * cp-tree.h, parse.y: Adjust.

From-SVN: r35498
2000-08-04 20:38:24 -04:00
Herman A.J. ten Brugge
39c1728ea7 c4x.md (return_indirect_internal): New.
2000-08-05  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>

        * config/c4x/c4x.md (return_indirect_internal): New.
        * config/c4x/c4x.c (c4x_expand_epilogue): Use it.

From-SVN: r35497
2000-08-04 23:43:22 +00:00
Joseph Myers
4e1e54607b c-common.c (time_char_table): Mark up formats added in C99 and make other corrections.
* c-common.c (time_char_table): Mark up formats added in C99 and
	make other corrections.  %D and %g were added in C99.  %Og is an
	extension.  %EX is permitted.  %R, %T, %n, %r, %t were added in
	C99.  %e was added in C99.  %Oj is an extension.  %G and %z are in
	C99 rather than GNU extensions, but %OG and %Oz are extensions.
	%h was added in C99.  %C was added in C99.  %OY and %OC are
	extensions.  Add the C99 format %F.
	(check_format_info): If pedantic and not in C99 mode, warn for C99
	formats, %E and %O.

From-SVN: r35496
2000-08-05 00:03:21 +01:00
J"orn Rennecke
018577e426 function.c (schedule_fixup_var_refs): New function, broken out of put_reg_into_stack.
* function.c (schedule_fixup_var_refs): New function, broken out
	of put_reg_into_stack.
	(put_reg_into_stack): Use it.
	(put_var_into_stack): In CONCAT case, fixup up references for
	components only after fixing up references to the whole concat.
testsuite:
	* gcc.c-torture/execute/20000804-1.c: New test.

From-SVN: r35495
2000-08-04 23:06:49 +01:00
Rodney Brown
2c3c49dec3 alias.c (mark_constant_function): Use INSN_P.
* alias.c (mark_constant_function): Use INSN_P.
	(init_alias_analysis): Likewise.
	* combine.c (combine_instructions): Use INSN_P.
	(can_combine_p): Likewise.
	(try_combine): Likewise.
	(distribute_notes): Likewise.
	(distribute_links): Likewise.
	* cse.c (cse_around_loop): Use INSN_P.
	(invalidate_skipped_block): Likewise.
	(cse_set_around_loop): Likewise.
	(cse_end_of_basic_block): Likewise.
	(delete_trivially_dead_insns): Likewise.
	* emit-rtl.c (unshare_all_rtl_again): Use INSN_P.
	(unshare_all_rtl_1): Likewise.
	(next_cc0_user): Likewise.
	(try_split make_insn_raw): Likewise.
	(remove_unnecessary_notes): Likewise.
	* final.c (shorten_branches): Use INSN_P.
	(leaf_renumber_regs): Likewise.
	(leaf_renumber_regs_insn): Likewise.
	* flow.c (find_label_refs): Use INSN_P.
	(verify_wide_reg): Likewise.
	(notice_stack_pointer_modification): Likewise.
	(count_or_remove_death_notes): Likewise.
	(verify_flow_info): Likewise.
	(clear_log_links): Likewise.
	* function.c (fixup_var_refs_insns): Use INSN_P.
	(compute_insns_for_mem): Likewise.
	* gcse.c (alloc_gcse_mem): Use INSN_P.
	(compute_sets): Likewise.
	(compute_hash_table): Likewise.
	(classic_gcse): Likewise.
	(cprop): Likewise.
	(insert_insn_end_bb): Likewise.
	(delete_null_pointer_checks_1): Likewise.
	* global.c (expand_preferences): Use INSN_P.
	(build_insn_chain): Likewise.
	* graph.c (node_data): Use INSN_P.
	* haifa-sched.c (priority): Use INSN_P.
	(rm_line_notes): Likewise.
	(rm_other_notes): Likewise.
	(find_insn_reg_weight): Likewise.
	(init_target_units): Likewise.
	(schedule_block): Likewise.
	(compute_block_forward_dependences): Likewise.
	(debug_dependencies): Likewise.
	(set_priorities): Likewise.
	* integrate.c (function_cannot_inline_p): Use INSN_P.
	(save_parm_insns): Likewise.
	(copy_insn_list): Likewise.
	* jump.c (mark_all_labels): Use INSN_P.
	(never_reached_warning): Likewise.
	* lcm.c (optimize_mode_switching): Use INSN_P.
	* local-alloc.c (validate_equiv_mem): Use INSN_P.
	(memref_used_between_p): Likewise.
	(update_equiv_regs): Likewise.
	(block_alloc): Likewise.
	(no_conflict_p): Likewise.
	* loop.c (scan_loop): Use INSN_P.
	(find_and_verify_loops): Likewise.
	(count_loop_regs_set): Likewise.
	(loop_reg_used_before_p): Likewise.
	(strength_reduce): Likewise.
	(recombine_givs): Likewise.
	(check_dbra_loop): Likewise.
	(load_mems): Likewise.
	(try_copy_prop): Likewise.
	* print-rtl.c (print_rtx): Use INSN_P.
	* recog.c (find_single_use): Use INSN_P.
	* reg-stack.c (stack_regs_mentioned): Use INSN_P.
	(next_flags_user): Likewise.
	(swap_rtx_condition): Likewise.
	* regmove.c (mark_flags_life_zones): Use INSN_P.
	(optimize_reg_copy_1): Likewise.
	(optimize_reg_copy_2): Likewise.
	(optimize_reg_copy_3): Likewise.
	(reg_is_remote_constant_p): Likewise.
	(fixup_match_2): Likewise.
	(regmove_optimize): Likewise.
	(fixup_match_1): Likewise.
	* regrename.c (build_def_use): Use INSN_P.
	(replace_reg_in_block): Likewise.
	(consider_use): Likewise.
	* reload.c (find_equiv_reg): Use INSN_P.
	* reload1.c (reload): Use INSN_P.
	(maybe_fix_stack_asms): Likewise.
	(calculate_needs_all_insns): Likewise.
	(reload_as_needed): Likewise.
	(emit_output_reload_insns): Likewise.
	(delete_address_reloads_1): Likewise.
	(reload_cse_regs_1): Likewise.
	(reload_combine): Likewise.
	(reload_cse_move2add): Likewise.
	* reorg.c (redundant_insn): Use INSN_P.
	(dbr_schedule): Likewise.
	* resource.c (find_dead_or_set_registers): Use INSN_P.
	(mark_target_live_regs): Likewise.
	* rtlanal.c (reg_used_between_p): Use INSN_P.
	(reg_referenced_between_p): Likewise.
	(reg_set_between_p): Likewise.
	(reg_set_p): Likewise.
	(single_set): Likewise.
	(multiple_sets): Likewise.
	(find_last_value): Likewise.
	(reg_set_last): Likewise.
	(find_reg_note): Likewise.
	(find_regno_note): Likewise.
	* sibcall.c (sequence_uses_addressof): Use INSN_P.
	* simplify-rtx.c (cselib_process_insn): Use INSN_P.
	* ssa.c (find_evaluations): Use INSN_P.
	(rename_block): Likewise.
	(rename_equivalent_regs): Likewise.
	* unroll.c (loop_find_equiv_value): Use INSN_P.
	(set_dominates_use): Likewise.
	* varasm.c (mark_constant_pool): Use INSN_P.
	(mark_constants): Likewise.
	* config/alpha/alpha.c (alpha_does_function_need_gp): Use INSN_P.
	(alphaev4_next_group): Likewise.
	(alphaev5_next_group): Likewise.
	* config/c4x/c4x.c (c4x_process_after_reload): Use INSN_P.
	(c4x_rptb_rpts_p): Likewise.
	* config/mips/mips.c (mips16_optimize_gp): Use INSN_P.
	* config/rs6000/rs6000.c (uses_TOC): Use INSN_P.
	(rs6000_adjust_priority): Likewise.
	* config/sh/sh.c (sh_loop_align): Use INSN_P.
	(machine_dependent_reorg): Likewise.
	(split_branches): Likewise.
	* config/tahoe/tahoe.c (tahoe_cmp_check): Use INSN_P.

From-SVN: r35494
2000-08-04 14:28:08 -06:00
Mark Mitchell
54e1d3a6a9 Minor tweaks
From-SVN: r35493
2000-08-04 20:24:47 +00:00
John Wehle
c1194d7403 combine.c (recog_for_combine): Remove the old notes prior to attempting to recognize the new pattern.
* combine.c (recog_for_combine): Remove the old notes
        prior to attempting to recognize the new pattern.
        (distribute_notes): Ignore REG_NONNEG notes.

From-SVN: r35492
2000-08-04 13:16:05 -06:00
Mark Mitchell
4f3aeae1dc Fix typo
From-SVN: r35491
2000-08-04 18:49:13 +00:00
Mark Mitchell
452a394bc3 cp-tree.h (add_method): Change prototype.
* cp-tree.h (add_method): Change prototype.
	* class.c (add_method): Remove FIELDS parameter.  Add ERROR_P.
	Don't double the size of the method vector in the error case.
	(handle_using_decl): Adjust call to add_method.
	(add_implicitly_declared_members): Likewise.
	(clone_function_decl): Likewise.
	* decl2.c (check_classfn): Likewise.
	* semantics.c (finish_member_declaration): Likewise.

From-SVN: r35490
2000-08-04 18:41:00 +00:00
Chandrakala Chavva
ca2eed217f * varasm.c (output_constructor): Add .align 0 for packed vars.
From-SVN: r35489
2000-08-04 14:11:16 -04:00
J. David Anglin
1ba2dbaa74 configure.in: Use default thread_file even when enable_threads is yes or dce because...
* configure.in: Use default thread_file even when enable_threads is
        yes or dce because hpux10.20 pa port uses MULTILIB implementation.
        * configure: Rebuilt.

From-SVN: r35488
2000-08-04 11:39:19 -06:00
J. David Anglin
c54dbf8b44 * gthr-dce.h (__gthread_objc_condition_allocate): Fix typo.
From-SVN: r35487
2000-08-04 11:25:19 -06:00
David E O'Brien
2c2a534b33 mask_array.h (mask_array): Rename template type parameter to avoid conflicts with ctype.h on BSD systems.
* std/mask_array.h (mask_array): Rename template type
        parameter to avoid conflicts with ctype.h on BSD systems.
        * std/slice_array.h (slice_array): Likewise.

From-SVN: r35486
2000-08-04 11:22:03 -06:00
Jeff Law
a6e919b382 * prefix.c (translate_name): Don't strip trailing DIR_SEPARATOR.
From-SVN: r35485
2000-08-04 11:02:51 -06:00
Mark Elbrecht
93284395b0 x-djgpp: Delete code that conditionally modifies target_alias.
* i386/x-djgpp: Delete code that conditionally modifies target_alias.
        Delete code that conditionally modifies 'version'.
        Delete X_CPPFLAGS. Add comment for SYSTEM_HEADER_DIR.
        * i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): New macro.
        * gcc.c (main): Use it.
        * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): New macro.
        * prefix.c (update_path): Use it.
        * i386/djgpp.h (STANDARD_INCLUDE_DIR): Define.
        (MD_EXEC_PREFIX): Set to '/dev/env/DJDIR/bin/'.
        (ASM_OUTPUT_SECTION_NAME): Add code attribute to sections containing
        code.
        (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Default to true.
        (SUBTARGET_SWITCHES): Adjust.
        (WCHAR_UNSIGNED, WCHAR_TYPE_SIZE, WCHAR_TYPE): Undefine before
        defining.
        (WINT_TYPE, SIZE_TYPE, PTRDIFF_TYPE): Define.

From-SVN: r35484
2000-08-04 10:19:19 -06:00
Mark Elbrecht
326c5cd1b3 mh-djgpp: Conditionally set 'target_alias' to djgpp.
* mh-djgpp: Conditionally set 'target_alias' to djgpp. Conditionally
        modify 'gcc_version'.

From-SVN: r35483
2000-08-04 10:17:37 -06:00
Joseph Myers
b8458e3e8b c-common.h (flag_isoc94): Declare.
* c-common.h (flag_isoc94): Declare.
	* c-decl.c (flag_isoc94): Define.
	(c_decode_option): Set flag_isoc94 as appropriate.
	* c-common.c (T_PD, T_IM, T_UIM): Define.
	(format_char_info): Add tlen and jlen.
	(print_char_table): Add entries for %t and %j.  Allow %zn.  Allow
	%F.  Allow %lf.
	(scan_char_table): Add entries for %t and %j.  Allow %F.  Allow
	%l[.
	(time_char_table): Add NULL entries for %t and %j.
	(check_format_info): Allow for %t and %j.  Warn for %F if pedantic
	and not C99.  Warn for %lc, %ls and %l[ if pedantic and not C94.
	Warn for printf %lf if pedantic and not C99.  Don't warn for empty
	precision.  Allow precision argument to be unsigned int.  If
	pedantic, warn for %p passed an argument not a pointer to possibly
	qualified void or a possibly qualified character type, and for
	pointer targets of the wrong sign, except for character pointers.

cp:
	* decl.c (flag_isoc94): New variable.

testsuite:
	* gcc.dg/c90-printf-1.c, gcc.dg/c94-printf-1.c: New tests.

From-SVN: r35482
2000-08-04 17:10:14 +01:00
Joseph Myers
c5ab7f9110 stddef.h: Don't declare wint_t unless __need_wint_t.
* ginclude/stddef.h: Don't declare wint_t unless __need_wint_t.
	* c-common.h (enum c_tree_index): Add CTI_WINT_TYPE.
	(wint_type_node): Define.
	* c-decl.c (WINT_TYPE): Define.
	(init_decl_processing): Create the wint_type_node type.
	* c-common.c (T_WI): Define.
	(print_char_table): Use T_WI for %lc format.

From-SVN: r35481
2000-08-04 17:00:48 +01:00
Bruce Korb
f1fe1ac0a8 Removed conditional #defines of macros GCC always defines
From-SVN: r35480
2000-08-04 14:20:42 +00:00
Bruce Korb
62a99405cf Implement, but leave disabled, MSDOS functionality
From-SVN: r35479
2000-08-04 14:16:57 +00:00
Joseph Myers
d677797245 cppdefault.h (WINT_TYPE): Define.
* cppdefault.h (WINT_TYPE): Define.
	* cppinit.c (builtin_array): Define __WINT_TYPE__.
	* tradcpp.c (initialize_builtins): Define __WINT_TYPE__.
	* tm.texi (NO_BUILTIN_WINT_TYPE, WINT_TYPE): Document.

From-SVN: r35478
2000-08-04 13:45:57 +01:00
Clinton Popetz
5896d7940b (mips_legitimate_address_p): Don't allow register+offset if the offset is large and negative...
* (mips_legitimate_address_p): Don't allow register+offset
	if the offset is large and negative, and we are compiling
	for 64 bit registers.

From-SVN: r35477
2000-08-04 07:52:08 -04:00
Joseph Myers
2d0de2459f * MAINTAINERS: Add self to Write After Approval list.
From-SVN: r35476
2000-08-04 09:37:37 +01:00
Jeff Law
2db2ad5cc7 Daily bump.
From-SVN: r35475
2000-08-04 01:45:12 -06:00
Kazu Hirata
cda4bd430b h8300.c (function_prologue): Rearrange code for conciseness.
* h8300.c (function_prologue): Rearrange code for conciseness.
        (function_epilogue): Likewise.
        * hh8300.h (OK_FOR_U): Fix formatting.

From-SVN: r35474
2000-08-04 01:07:55 -06:00
Herman A.J. ten Brugge
024a650bcb gencodes.c (main): Define CODE_FOR_nothing as the last possible insn_code_number + 1.
* gencodes.c (main): Define CODE_FOR_nothing as the last possible
        insn_code_number + 1.

From-SVN: r35473
2000-08-04 01:01:30 -06:00
Kazu Hirata
278a83b26f * cse.c: Fix a comment typo. Fix formatting.
From-SVN: r35472
2000-08-04 00:55:10 -06:00
Richard Henderson
1183777788 i386.md (return_indirect_internal): New.
* i386.md (return_indirect_internal): New.
        * i386.c (ix86_expand_epilogue): Use it.

From-SVN: r35471
2000-08-03 21:14:52 -07:00
Zack Weinberg
ba89d661ac cpplex.c (parse_name): Might have to glue a CPP_OTHER token before the name.
* cpplex.c (parse_name): Might have to glue a CPP_OTHER token
	before the name.
	(lex_line): Glue @ onto the beginning of identifiers and
	string constants, in Objective-C mode.
	(output_token, spell_token): Handle CPP_OSTRING.
	(can_paste, maybe_paste_with_next): Handle pasting @ onto the
	beginning of a NAME or a STRING, in objc mode.

	* cpplib.c (get_define_node): Do not permit identifiers that
	begin with @ to be #defined.
	* cppmacro.c (CAN_PASTE_AFTER): Add CPP_OTHER.
	* cpplib.h (TTYPE_TABLE): Add CPP_OSTRING.

	* c-lang.c, objc/objc-act.c (build_objc_string): Delete.
	* c-tree.h (build_objc_string): Delete prototype.
	* objc/objc-tree.def: Delete OBJC_STRING_CST.
	* c-lex.c (yylex): Use build_string for all three kinds of strings.

	* gcc.dg/cpp/20000625-2.c: Don't expect a warning on line 4.

From-SVN: r35470
2000-08-04 01:30:06 +00:00
Bryce McKinlay
d31772ca70 Missing changelog entry
From-SVN: r35469
2000-08-04 02:15:51 +01:00
Warren Levy
9b4773cbba ObjectInputStream.java (readFields): Turn off readDataFromBlock while reading via GetField.
* java/io/ObjectInputStream.java (readFields): Turn off
	readDataFromBlock while reading via GetField.
	(GetField$1.get(String, Object)): Pass Class of default value to
	getField.
	(getField): Allow for null default values.

	* java/io/ObjectOutputStream.java: Fixed typo in comment.
	(PutField$1.put): Fixed calls of checkType in most of the put
	methods to pass the correct parameter.
	(PutField$1.put(String, Object)): Allow for null value arg.
	(PutField$1.write): Turn off writeDataAsBlocks while writing via
	PutField.

	* java/io/ObjectStreamClass.java (serialPersistentFields): Fixed
	typo in spec'ed field name.
	(getSerialPersistentFields): Changed spelling of method to match
	the correct spelling of the spec'ed field name.

More serialization fixes per Mauve errors.

From-SVN: r35468
2000-08-04 00:42:20 +00:00
Jason Merrill
a1bcc528be pt.c (do_type_instantiation): Add complain parm; don't complain if called recursively.
* pt.c (do_type_instantiation): Add complain parm; don't complain
        if called recursively.
        * cp-tree.h, parse.y: Adjust.

From-SVN: r35467
2000-08-03 20:02:19 -04:00
Mark Mitchell
57cac71461 * extend.texi: Fix typo in last change.
From-SVN: r35466
2000-08-03 23:55:24 +00:00
Alexandre Oliva
83440c1e96 * configure.in (libstdcxx_flags): Don't use `"'.
From-SVN: r35465
2000-08-03 23:52:12 +00:00
Mark Mitchell
0dc52a0050 extend.texi: Add commentary on statement-expressions and their interactions with C++.
* extend.texi: Add commentary on statement-expressions and their
	interactions with C++.

From-SVN: r35464
2000-08-03 23:10:18 +00:00
Mark Mitchell
b98e139b31 ChangeLog
From-SVN: r35463
2000-08-03 23:07:43 +00:00
Nick Clifton
9897911d45 Change java language number to 0x000b
From-SVN: r35462
2000-08-03 22:41:38 +00:00