Commit Graph

26466 Commits

Author SHA1 Message Date
Jeff Law
e0bf2d9553 Daily bump.
From-SVN: r32147
2000-02-25 01:45:07 -07:00
Alexandre Oliva
495da1f64f * gcc.dg/cpp-li2.c: New test.
From-SVN: r32146
2000-02-25 05:05:40 +00:00
Alexandre Oliva
e729bc6d57 * gcc.dg/cpp-wi1.c: New test.
From-SVN: r32145
2000-02-25 04:59:04 +00:00
Alexandre Oliva
cff244b2b2 * gcc.dg/cpp-li1.c: New test.
From-SVN: r32144
2000-02-25 04:44:41 +00:00
Warren Levy
12b595c7c4 BigInteger.java (ival): Made private.
* java/math/BigInteger.java(ival): Made private.
	(words): Ditto.
	(neg): Ditto.

From-SVN: r32143
2000-02-25 04:00:09 +00:00
Mark Mitchell
574a0ef53c lex.c (check_newline): Use push_srcloc and pop_srcloc, rather than duplicating functionality here.
* lex.c (check_newline): Use push_srcloc and pop_srcloc, rather
	than duplicating functionality here.
	* optimize.c: Include input.h.
	(expand_call_inline): Use push_srcloc and pop_srcloc.
	* parse.y (maybe_cv_qualifier): Remove calls to emit_line_note.
	* parse.c: Regenerated.
	* Makefile.in (lex.o): Depend on input.h.
	(optimize.o): Likewise.

From-SVN: r32142
2000-02-25 01:36:03 +00:00
Mark Mitchell
68723fae69 input.h (push_srcloc): New function.
* input.h (push_srcloc): New function.
	(pop_srcloc): Likewise.
	* toplev.c (push_srcloc): Define it.
	(pop_srcloc): Likewise.

From-SVN: r32141
2000-02-25 01:07:31 +00:00
Richard Henderson
c8082519f2 flow.c (life_analysis): When collecting reg info, clear regs_ever_live.
* flow.c (life_analysis): When collecting reg info, clear
        regs_ever_live.

From-SVN: r32139
2000-02-24 14:32:10 -08:00
J"orn Rennecke
e5f8d4c0c7 Fix bug exposed by reload.c no longer rounding the frame size to BIGGEST_ALIGNMENT:
Fix bug exposed by reload.c no longer rounding the frame
	size to BIGGEST_ALIGNMENT:
	* sh.c (rounded_frame_size): New function.
	(sh_expand_prologue, sh_expand_epilogue): Use it.
	(initial_elimination_offset): Likewise.

From-SVN: r32138
2000-02-24 22:14:14 +00:00
Nick Clifton
521fe9d066 Add support for an OS of "wince"
From-SVN: r32137
2000-02-24 21:21:31 +00:00
J"orn Rennecke
afbc290536 Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
* sh-protos.h (sh_need_epilogue): Declare.
	* sh.c (sh_need_epilogue_known): New static variable.
	(sh_need_epilogue): New function.
	(function_epilogue): Clear need_epilogue_known.
	* sh.md (return): Split into expander / insn pattern.
	Make the expander conditional on ! sh_need_epilogue ().

From-SVN: r32136
2000-02-24 20:09:30 +00:00
Nathan Sidwell
36c265b175 machmode.h (get_mode_alignment): Declare.
* machmode.h (get_mode_alignment): Declare.
	(GET_MODE_ALIGNMENT): Call it.
	* stor-layout.c (get_mode_alignment): New function. Make
	sure alignment is always power of 2.

From-SVN: r32134
2000-02-24 10:07:32 +00:00
Nathan Sidwell
da3a471976 * g++.old-deja/g++.other/sizeof5.C: New test.
From-SVN: r32133
2000-02-24 09:48:41 +00:00
Nathan Sidwell
41cbc04c44 decl.c (grokdeclarator): Diagnose qualifiers on non-member function type, rather than ICE.
* decl.c (grokdeclarator): Diagnose qualifiers on non-member
	function type, rather than ICE.

From-SVN: r32132
2000-02-24 09:48:18 +00:00
Jeff Law
ee41918880 Daily bump.
From-SVN: r32131
2000-02-24 01:45:07 -07:00
Zack Weinberg
f32d49a82e i386.h: Remove useless definition of "I386" and misleading comment above it.
* i386.h: Remove useless definition of "I386" and misleading
	comment above it.

From-SVN: r32130
2000-02-24 04:59:34 +00:00
Zack Weinberg
4e23f9e3a8 This has worked for the past three months
From-SVN: r32129
2000-02-24 04:35:59 +00:00
Zack Weinberg
23dfa477ce tree.h (TREE_SET_PERMANENT): New macro.
* tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
	under which TREE_PERMANENT will be set.
	* tree.c (make_node, copy_node, make_tree_vec, tree_cons,
	build1): Use TREE_SET_PERMANENT.
	* print-tree.c (print_node): Don't report value of
	TREE_PERMANENT if ggc_p is true.

	* c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
	decide whether to give a type a new alias set.
	* objc/objc-act.c (build_objc_string_object): Never copy the string.
	* tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
	of value of 'obstack'.

	* f/com.c (ffecom_type_permanent_copy_): Delete unused function.
        (finish_decl): Don't change TREE_PERMANENT (DECL_INITIAL (decl)).

From-SVN: r32128
2000-02-24 04:04:06 +00:00
Franz Sirl
1e59bcc307 * execute/va-arg-13.c: New test.
From-SVN: r32127
2000-02-23 23:16:36 +00:00
Donald Lindsay
8706d596ac New test. Approved by rth.
From-SVN: r32126
2000-02-23 22:17:04 +00:00
Michael Hayes
41387ffdc6 * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
From-SVN: r32125
2000-02-23 21:03:21 +00:00
Tom Tromey
c45c5e092d gjavah.c (print_name): In JNI case, correctly quote string.
* gjavah.c (print_name): In JNI case, correctly quote string.
	(print_method_info): Don't handle overrides in JNI mode.

From-SVN: r32124
2000-02-23 20:46:18 +00:00
Jason Merrill
9fc336c7e6 decl.c (grokdeclarator): Call decl_type_access_control.
* decl.c (grokdeclarator): Call decl_type_access_control.
        * parse.y (parse_end_decl): Don't call decl_type_access_control if
        decl is null.

From-SVN: r32123
2000-02-23 15:25:49 -05:00
Jason Merrill
2b4c135643 new
From-SVN: r32122
2000-02-23 15:23:15 -05:00
Alexandre Oliva
525bc95d4a cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
* cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
* cpplib.c (cpp_get_token): Produce them.
* cppexp.c (cpp_lex): Handle them.

From-SVN: r32121
2000-02-23 19:21:07 +00:00
Nick Clifton
1cb8d58acc (arm_comp_type_attributes): Simply and comment tests on type attributes.
From-SVN: r32120
2000-02-23 19:08:51 +00:00
Nick Clifton
211365c22c oops - fixed typo in previous delta
From-SVN: r32119
2000-02-23 18:30:27 +00:00
Nick Clifton
bd7fc26f04 Fix arm_comp_type_attributes
From-SVN: r32118
2000-02-23 18:29:25 +00:00
Nathan Sidwell
8bacb3d967 * execute/20000223-1.c: New test.
From-SVN: r32117
2000-02-23 18:14:28 +00:00
Nathan Sidwell
b23875c9b5 * g++.old-deja/g++.pt/memtemp79.C: Fixed. Remove XFAIL.
From-SVN: r32116
2000-02-23 17:27:07 +00:00
Nathan Sidwell
e867a17950 * decl.c (decls_match): Remove obsolete static member nadgering.
From-SVN: r32115
2000-02-23 17:25:29 +00:00
J"orn Rennecke
2148624a44 final.c (shorten_branches): Make value passed to LABEL_ALIGN conform to documentation.
* final.c (shorten_branches): Make value passed to LABEL_ALIGN
	conform to documentation.
	* sh.h (LABEL_ALIGN): If aligning loops, call sh_label_align
	to check for special cases.
	* sh-protos.h (sh_label_align): Declare.
	* sh.c (sh_label_align): Define.

From-SVN: r32114
2000-02-23 17:18:15 +00:00
Andrew Haley
699729979c mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
2000-02-22  Andrew Haley  <aph@cygnus.com>

	* config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
	(SIZE_TYPE): Is 32 bits when using -mgp32.
	(PTRDIFF_TYPE): Ditto.

From-SVN: r32113
2000-02-23 14:37:05 +00:00
Richard Kenner
4eda9c6582 * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
From-SVN: r32112
2000-02-23 07:17:57 -05:00
Jeff Law
f871e8996d Daily bump.
From-SVN: r32111
2000-02-23 01:45:07 -07:00
Zack Weinberg
6fc605d843 Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
* libobjc/Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
	* gcc/config/i386/i386.h: If IN_TARGET_LIBS is defined, make
	BIGGEST_FIELD_ALIGNMENT a constant.

From-SVN: r32110
2000-02-23 08:43:44 +00:00
Nick Clifton
3a685f6f03 Add support for sh-pe and arm-wince-pe targets.
From-SVN: r32109
2000-02-23 01:25:56 +00:00
Mark Mitchell
7bf94db3eb Add data member test
From-SVN: r32108
2000-02-22 22:47:56 +00:00
Mark Mitchell
fa2e34e8f2 * g++.old-deja/g++.abi/ptrmem.C: New test.
From-SVN: r32107
2000-02-22 22:17:33 +00:00
Jason Merrill
cfbad224f6 fix comment
From-SVN: r32106
2000-02-22 17:12:59 -05:00
Jason Merrill
f19f17e080 dwarf2out.c (output_line_info): Put the marker for the end of the line number info at the actual end.
* dwarf2out.c (output_line_info): Put the marker for the end of
        the line number info at the actual end.
        (gen_struct_or_union_type_die): Use decl_function_context
        to check for local classes.
        * dwarfout.c (output_type): Likewise.

From-SVN: r32105
2000-02-22 17:04:35 -05:00
Alexandre Petit-Bianco
99803cd4cc parse.y (init_decl_processing): _Jv_IsInstanceOf' returned value type set to boolean_type_node'.
2000-02-22  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* parse.y (init_decl_processing): `_Jv_IsInstanceOf' returned
	value type set to `boolean_type_node'.

From-SVN: r32104
2000-02-22 01:12:48 -08:00
Jeff Law
b25b67d3cc Fix thinko in last change.
From-SVN: r32103
2000-02-22 02:05:22 -07:00
Jeff Law
7fc4240a79 Daily bump.
From-SVN: r32102
2000-02-22 01:45:07 -07:00
Jeffrey A Law
24e971f667 pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference for arguments with a mode, but no type.
* pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
        for arguments with a mode, but no type.
        (FUNCTION_ARG_CALLEE_COPIES): Similarly.
        * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
        * pa/long_double.h: New file.
        * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
        both have 128bit wide long doubles.
        * configure: Rebuilt.

From-SVN: r32101
2000-02-22 01:40:16 -07:00
Martin v. Löwis
cab1f18012 Refer to the standard as an ISO document, not an ANSI one.
* decl.c (grokdeclarator): Change ANSI to ISO.
	* lex.c (consume_string, readescape, do_identifier): Likewise.
	(parse_float, real_yylex): Likewise.
	* parse.y (paren_expr_or_null, paren_cond_or_null): Likewise.
	(unary_expr, new_initializer, cast_expr, primary, primary_no_id,
	new_type_id, maybe_label_decls, simple_stmt,
	for.init.statement): Likewise.
	* pt.c (do_decl_instantiation, do_type_instantiation): Likewise.
	* semantics.c (finish_named_return_value): Likewise.
	* parse.c: Regenerate.

From-SVN: r32100
2000-02-22 07:25:31 +00:00
Mark Mitchell
c7e266a6b7 cp-tree.h (CPTI_VTABLE_INDEX_TYPE): New macro.
* cp-tree.h (CPTI_VTABLE_INDEX_TYPE): New macro.
	(CPTI_CLASS_STAR_TYPE): Remove.
	(vtable_index_type): Likewise.
	(class_star_type_node): Remove.
	(TYPE_PTRMEMFUNC_FN_TYPE): Adjust for the new ABI.
	(build_binary_op_nodefault): Remove.
	* call.c (build_new_op): Use build_binary_op instead of
	build_binary_op_nodefault.
	* decl.c (init_decl_processing): Remove class_star_type_node
	initialization.  Make delta_type_node ptrdiff_type_node under the
	new ABI.  Initialize vtable_index_type.
	(build_ptrmemfunc_type): Build different structures for the new
	ABI.
	(build_enumerator): Use build_binary_op instead of
	build_binary_op_nodefault.
	* method.c (build_overload_value): Mangle pointers-to-members
	appropriately under the new ABI.
	* typeck.c (build_array_ref): Use build_binary_op instead of
	build_binary_op_nodefault.
	(get_member_function_from_ptrfunc): Adjust for the new ABI.
	(build_binary_op_nodefault): Rename to ...
	(build_binary_op): ... this.  Remove old version.  Adjust for
	pointer-to-member comparisons under the new ABI.
	(build_ptrmemfunc1): Remove dead code.  Adjust for the new ABI.
	(build_ptrmemfunc): Adjust for the new ABI.
	(expand_ptrmemfunc_cst): Likewise.
	(delta2_from_ptrmemfunc): Assert that we're not using the new ABI.
	(pfn_from_ptrmemfunc): Adjust for the new ABI.

From-SVN: r32099
2000-02-22 02:30:54 +00:00
Alexandre Petit-Bianco
2323b28bb6 re GNATS gcj/147 (Problem parsing comments)
2000-02-15  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* lex.c (java_parse_doc_section): Alway unget the last unicode
	when returning 0.
	(java_lex): Call java_parse_end_comment with fetched unicode.

This is a fix to the Java PR #47
(http://sourceware.cygnus.com/ml/java-prs/2000-q1/msg00042.html)

From-SVN: r32097
2000-02-21 16:13:54 -08:00
Martin v. Löwis
7d612b1e4a Remove conflict marker
From-SVN: r32096
2000-02-22 00:04:20 +00:00
Alexandre Petit-Bianco
2a1ed9c111 [multiple changes]
Thu Feb 17 14:30:37 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* jcf-write.c (generate_bytecode_insns): Don't generate empty
 	`finally' clauses.

Thu Feb 17 13:20:58 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* jcf-parse.c (load_class): Call `fatal' if no file containing
	the target class are found.

From-SVN: r32095
2000-02-21 15:53:36 -08:00