Commit Graph

21364 Commits

Author SHA1 Message Date
Mumit Khan
5e34b217d1 configure.in (EXEEXT): Define.
Wed Mar 24 22:36:45 1999  Mumit Khan  <khan@xraylith.wisc.edu>
        * configure.in (EXEEXT): Define.
        (compiler_name): Use.

From-SVN: r25951
1999-03-24 14:44:48 -07:00
Mumit Khan
763ecbbc61 configure.in (EXEEXT): Define.
0
        * configure.in (EXEEXT): Define.
        (compiler_name): Use.

From-SVN: r25950
1999-03-24 14:44:23 -07:00
Mumit Khan
adbfd1de80 configure.in (EXEEXT): Define.
8
        * configure.in (EXEEXT): Define.
        (compiler_name): Use.

From-SVN: r25949
1999-03-24 14:44:22 -07:00
Nick Clifton
6aa489b470 Accept both 'model' and '__model__' as attribute names.
Ref: CR 100400-990301-CR-1

From-SVN: r25948
1999-03-24 15:47:29 +00:00
Joern Rennecke
d676f55c32 Added star.
From-SVN: r25947
1999-03-24 13:47:44 +00:00
J"orn Rennecke
8593b74599 reload1.c (choose_reload_regs): If output-reloading for a simple move insn...
reload1.c (choose_reload_regs): If output-reloading for a
	simple move insn, try to inherit an equivalence for the input.

From-SVN: r25946
1999-03-24 13:44:58 +00:00
Mike Stump
32ec3c9d86 * arm/aout.h (DBX_OUTPUT_MAIN_SOURCE_FILENAME): Fix quoting.
From-SVN: r25945
1999-03-24 10:01:56 +00:00
Martin v. Löwis
5c6e1aa14a * class.c (finish_struct_1): Always reset TYPE_FIELDS for empty classes.
From-SVN: r25944
1999-03-24 03:01:03 +00:00
Jason Merrill
9747e84add decl.c (lookup_name_real): Do nested field lookup regardless of TYPE_BEING_DEFINED.
* decl.c (lookup_name_real): Do nested field lookup regardless of
	TYPE_BEING_DEFINED.

From-SVN: r25943
1999-03-23 21:41:55 -05:00
Jason Merrill
2ced0b14a9 new
From-SVN: r25942
1999-03-23 21:36:44 -05:00
Jason Merrill
d986e15aa3 tidy
From-SVN: r25941
1999-03-23 21:36:33 -05:00
Mark Mitchell
6a629cac2b cp-tree.h (lang_type): Remove has_assignment and has_real_assignment.
* cp-tree.h (lang_type): Remove has_assignment and
	has_real_assignment.  Add befriending_classes.
	(TYPE_HAS_ASSIGNMENT): Remove.
	(TYPE_HAS_REAL_ASSIGNMENT): Likewise.
	(CLASSTYPE_BEFRIENDING_CLASSES): New macro.
	(lang_decl): Document.
	(DECL_BEFRIENDING_CLASSES): New macro.
	(FRIEND_NAME): Move declaration to more obvious location.
	(FRIEND_DECLS): Likewise.
	* class.c (finish_struct_1): Don't use TYPE_HAS_REAL_ASSIGNMENT.
	* decl.c (duplicate_decls): Copy DECL_BEFRIENDING_CLASSES.
	(fixup_anonymous_union): Don't use TYPE_HAS_ASSIGNMENT.
	(grok_op_properties): Likewise.
	* friend.c (is_friend): Use FRIEND_NAME and FRIEND_DECLS.
	(add_friend): Likewise.  Don't do weird things with assignment
	operators.  Update DECL_BEFRIENDING_CLASSES.
	(add_friends): Don't do weird things with assignment operators.
	(make_friend_class): Likewise.  Update
	CLASSTYPE_BEFRIENDING_CLASSES.
	* pt.c (instantiate_class_template): Don't set
	TYPE_HAS_ASSIGNMENT.
	(tsubst_copy): Substitute the TREE_TYPE for more unary
	expressions.
	* ptree.c (print_lang_type): Don't look at TYPE_HAS_ASSIGNMENT.
	* search.c (protected_accessible_p): New function.
	(friend_accessible_p): Likewise.
	(accessible_p): Use them.

From-SVN: r25940
1999-03-24 01:10:13 +00:00
Jim Blandy
7ad3a049d3 libgcc2.c (__CTOR_LIST__, [...]): Initialize on all platforms.
* libgcc2.c (__CTOR_LIST__, __DTOR_LIST__): Initialize on all
        platforms.

From-SVN: r25939
1999-03-23 17:51:16 -07:00
Jeff Law
f4dbd6e4f7 Daily bump.
From-SVN: r25938
1999-03-23 17:45:05 -07:00
Geoff Keating
a9d9c1084d * fold-const.c (fold): Recognise a rotate by an unsigned amount.
From-SVN: r25937
1999-03-23 17:39:44 -07:00
Jeffrey A Law
db4237a4cb pa.md (rotlsi3): New expander.
* pa.md (rotlsi3): New expander.  Synthesize a variable rotate
        left using a variable rotate right.  Provide anonymous pattern for
        rotate left by a constant value.

From-SVN: r25936
1999-03-23 17:30:32 -07:00
Alexandre Oliva
b48afaf700 * gen-params (CONFIG_NM): test ... -o ... is not portable
From-SVN: r25935
1999-03-23 23:58:21 +00:00
Jeffrey A Law
9a7b9f4f06 expr.c (expand_assignment): Do not try to optimize a aggregate address which has VOIDmode.
* expr.c (expand_assignment): Do not try to optimize a aggregate
        address which has VOIDmode.

From-SVN: r25934
1999-03-23 15:33:35 -07:00
Mumit Khan
8ebf19db46 protoize.c (abspath): Preserve multiple leading slashes for _WIN32 and Interix.
* protoize.c (abspath): Preserve multiple leading slashes for
        _WIN32 and Interix.

Co-Authored-By: Donn Terry <donn@interix.com>

From-SVN: r25933
1999-03-23 14:53:39 -07:00
Mike Stump
2aa0c933d1 vxarm.h: Split out vxWorks support into separate headerfile and vxify.
* arm/vxarm.h: Split out vxWorks support into separate headerfile
        and vxify.
        * arm/arm.c (cpu_defaults): Allow arm710 as default.
        * configure.in: Split out vxWorks support for Arm.
        * configure: Rebuilt.

From-SVN: r25932
1999-03-23 14:49:39 -07:00
Jeffrey A Law
5ef2fb7986 openbsd.h (TARGET_DEFAULT): Use symbolic names instead of numbers.
* i386/openbsd.h (TARGET_DEFAULT): Use symbolic names instead of
        numbers.
        * i386/netbsd.h, i386/freebsd.h: Likewise.

From-SVN: r25931
1999-03-23 14:34:50 -07:00
Jason Merrill
0234ca0209 tweak
From-SVN: r25930
1999-03-23 14:17:08 -05:00
Mark Mitchell
93aa462d4e pt.c (convert_nontype_argument): Don't create things that aren't PTRMEM_CSTs when...
* pt.c (convert_nontype_argument): Don't create things that aren't
	PTRMEM_CSTs when applying a qualification conversion to a
	PTRMEM_CST.

From-SVN: r25929
1999-03-23 16:13:44 +00:00
Jason Merrill
6599009997 restore
From-SVN: r25928
1999-03-23 06:59:23 -05:00
Per Bothner
79c3b046ff tree.c (first_rtl_op, [...]): Handle GOTO_SUBROUTINE_EXPR.
�
	* tree.c (first_rtl_op, has_cleanups):  Handle GOTO_SUBROUTINE_EXPR.

From-SVN: r25927
1999-03-23 03:20:50 -08:00
Per Bothner
8dd858ca3d tree.c (first_rtl_op, [...]): Handle GOTO_SUBROUTINE_EXPR.
h
	* tree.c (first_rtl_op, has_cleanups):  Handle GOTO_SUBROUTINE_EXPR.

From-SVN: r25926
1999-03-23 03:20:47 -08:00
Alexandre Petit-Bianco
de0b553f86 parse.y (find_applicable_accessible_methods_list): When dealing with interface...
Tue Mar 23 10:48:24 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* parse.y (find_applicable_accessible_methods_list): When dealing
 	with interface: ensure that a given interface or java.lang.Object
 	are searched only once.

From-SVN: r25925
1999-03-23 03:20:03 -08:00
Nick Clifton
bdeb987972 Add doc strings for SUBTARGET_SWITCHES
From-SVN: r25924
1999-03-23 09:02:07 +00:00
Mark Mitchell
eb30a37534 Remove conflict marker.
From-SVN: r25923
1999-03-23 08:38:04 +00:00
Mark Mitchell
fe9b4957b5 function.c: Include hash.h.
* function.c: Include hash.h.
	(insns_for_mem_entry): New struct.
	(put_reg_into_stack): Take an optional hash-table mapping MEMs to
	the INSNs that use them.
	(fixup_var_refs): Likewise.
	(put_addressof_into_stack): Likewise.
	(purge_addressof_1): Likewise.  Keep the hash-table up to date if
	we add new instructions.
	(fixup_var_refs_insns): Use it to avoid searching the entire
	instruction chain.
	(insns_for_mem_newfunc): New function.
	(insns_for_mem_comp): Likewise.
	(insns_for_mem_walk): Likewise.
	(compute_insns_for_mem): Likewise.
	(pop_function_context_from): Pass NULL for the hash-table.
	(put_var_into_stack): Likewise.
	(gen_mem_addressof): Likewise.
	(flush_addressof): Likewise.
	(purge_addressof): Call compute_insns_for_mem to pre-compute the
	hash table.
	* Makefile.in (OBJS): Include hash.o.
	(function.o): Depend on hash.h.
	* Makefile.in (OBJS): Don't mention hash.o.
	(OBJDEPS): Likewise.

From-SVN: r25922
1999-03-23 07:51:12 +00:00
Kaveh R. Ghazi
9ee9b55502 Warning fixes:
* gjavah.c (print_c_decl): Remove unused argument `flags'.
        * jcf-dump.c (print_access_flags): Add braces around if-else.
        * jvspec.c (lang_specific_driver): Wrap variable `len' in macro
        COMBINE_INPUTS.
        * lex.c (build_wfl_node): Add static prototype.
        * lex.h (build_wfl_node): Remove static prototype.
        * parse.y: Include lex.c early enough to declare everything needed.
        Ensure calls to `build_wfl_node' pass the proper arguments.
        (create_class): Remove unused variable `super_decl'.
        (get_printable_method_name): Initialize variable `name'.

From-SVN: r25921
1999-03-23 07:24:15 +00:00
Jason Merrill
ea735e02ae decl2.c (finish_file): Set at_eof to 2 after expanding ctors.
* decl2.c (finish_file): Set at_eof to 2 after expanding ctors.
	* decl.c (expand_static_init): Make sure we don't add any after
	then.
	* decl.c (cp_finish_decl): Move intelligence about handling
	DECL_COMDAT for variables from here...
	* decl2.c (comdat_linkage): ...to here.
	(maybe_make_one_only): Tweak.
	(import_export_decl): Call comdat_linkage for variables, too.
	(finish_file): Handle template statics properly.

From-SVN: r25920
1999-03-22 21:33:34 -05:00
Martin v. Löwis
fb835c4d70 * new2.C: Initialize newed after entering main.
From-SVN: r25916
1999-03-23 00:53:39 +00:00
Jeff Law
d579fbc089 Daily bump.
From-SVN: r25915
1999-03-22 17:45:02 -07:00
Jeffrey A Law
3cc22c31d7 crtstuff.c: Use ANSI function definitions.
* crtstuff.c: Use ANSI function definitions.  Fix minor whitespace
        problems.

From-SVN: r25914
1999-03-22 17:43:51 -07:00
Mark Mitchell
e08a8f45f5 cp-tree.h (TYPE_PTRMEMFUNC_P): Use TYPE_PTRMEMFUNC_FLAG.
* cp-tree.h (TYPE_PTRMEMFUNC_P): Use TYPE_PTRMEMFUNC_FLAG.
	Document internals of pointer-to-member-functions.
	(DELTA2_FROM_PTRMEMFUNC): Make it call delta2_from_ptrmemfunc.
	(PFN_FROM_PTRMEMFUNC): Similarly.
	(build_type_conversion): Remove unused parameter.
	(build_ptrmemfunc1): Declare.
	(expand_ptrmemfunc_cst): New function.
	(delta2_from_ptrmemfunc): Likewise.
	(pfn_from_ptrmemfunc): Likewise.
	* cvt.c (cp_convert_to_pointer): Remove unused parameter to
	build_type_conversion.  Use TYPE_PTRMEM_P for readability.
	(convert_to_reference): Remove unused parameter to
	build_type_conversion.
	(ocp_convert): Likewise.
	(build_user_type_conversion): Likewise.
	* error.c (dump_expr): Handle NULL pointer-to-member functions.
	* expr.c (cplus_expand_expr): Handle PTRMEM_CSTs for functions.
	* method.c (build_overload_value): Don't go splitting CONSTRUCTORs
	open when handling pointer-to-member functions.
	* pt.c (convert_nontype_argument): Clean up error messages.  Be
	more stringent with pointers-to-members.
	* typeck.c (build_ptrmemfunc1): Don't declare.  Make it global.
	(build_unary_op): Tidy ever-so-slightly.
	(build_conditional_expr): Remove extra parameter to
	build_type_conversion.
	(build_ptrmemfunc): Build PTRMEM_CSTs if we know what function
	we're using.
	(expand_ptrmemfunc_cst): Define.
	(delta2_from_ptrmemfunc): Likewise.
	(pfn_from_ptrmemfunc): Likewise.

From-SVN: r25913
1999-03-23 00:01:48 +00:00
Jeff Law
edebba7aae openbsd.h (TARGET_DEFAULT): Define.
* i386/openbsd.h (TARGET_DEFAULT): Define.
        * configure.in: Do not set TARGET_CPU_DEFAULT for x86 OpenBSD
        configurations.
        * configure: Rebuilt.
        * i386/freebsd.h (TARGET_DEFAULT): Define instead
        of TARGET_CPU_DEFAULT.
        * i386/netbsd.h (TARGET_DEFAULT): Likewise.

From-SVN: r25912
1999-03-22 16:45:01 -07:00
Mumit Khan
58f4af8e84 sdbout.c (syms.h): Don't include on Interix.
* sdbout.c (syms.h): Don't include on Interix.
        * toplev.c (main): No sbrk on Interix.

Co-Authored-By: Donn Terry <donn@interix.com>

From-SVN: r25911
1999-03-22 16:23:26 -07:00
Mumit Khan
052dbd9e99 configure.in: Add i386-pc-interix support.
* configure.in: Add i386-pc-interix support.
        * configure: Regenerate.
        * fixinc.interix: New file.
        * config/interix.h: New file.
        * config/x-interix: New file.
        * config/xm-interix.h: New file.
        * i386/interix.h: New file.
        * i386/interix.c: New file.
        * i386/t-interix: New file.

Co-Authored-By: Donn Terry <donn@interix.com>

From-SVN: r25910
1999-03-22 15:59:48 -07:00
Jeff Law
65954bd8cb i386.h (PREFERRED_STACK_BOUNDARY): Define.
* i386.h (PREFERRED_STACK_BOUNDARY): Define.
        * i386.c (ix86_compute_frame_size): New function.
        (ix86_prologue, ix86_epilogue): Use it.
        * i386.h (INITIAL_ELIMINATION_OFFSET): Likewise.
        * reload1.c: Provide default for PREFERRED_STACK_BOUNDARY.

From-SVN: r25909
1999-03-22 15:47:07 -07:00
Alexandre Petit-Bianco
8af456c81a Changelog: Fixed 1999-03-22 typos.
Mon Mar 22 20:14:26 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* Changelog: Fixed 1999-03-22 typos.
	* lang.c (lang_decode_option): Fixed typo in error string in the
 	XARG section.
(Grr, typos.)

From-SVN: r25908
1999-03-22 12:16:45 -08:00
Alexandre Petit-Bianco
235acd3518 Makefile.in: (JAVA_OBJS) Added entry xref.o.
1999-03-22  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* Makefile.in: (JAVA_OBJS) Added entry xref.o.
	(xref.o): New rule.
	* java-tree.h (flag_emit_xref): Declared extern.
	* lang.c: (xref.h): Included.
	(flag_emit_xref): New global variable.
	(lang_decode_option): Added support for -fxref.
	* xref.c: Created.
	* xref.h: Likewise.

From-SVN: r25907
1999-03-22 11:57:37 -08:00
Jim Wilson
a127db7565 Add documentation for MIPS options.
* mips/mips.h (TARGET_SWITCHES, TARGET_OPTIONS): Add option doc
	strings.
	* mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Likewise.

From-SVN: r25906
1999-03-22 10:51:14 -08:00
Nick Clifton
74bbc17866 Fix compile time warnings about unused parameters
From-SVN: r25905
1999-03-22 16:32:31 +00:00
Nick Clifton
2e943e99a1 Minor formatting changes.
From-SVN: r25904
1999-03-22 15:24:16 +00:00
Jim Wilson
9c2f5c4c26 Add missing execute/ filename prefix to last ChangeLog entry.
From-SVN: r25903
1999-03-22 07:15:33 -08:00
Jim Wilson
c3dcbf646d Fix bf-sign-2.c failure on 64-bit host caused by my last patch.
* bf-sign-2.c (main): Replace struct sizeof test with 4.

From-SVN: r25902
1999-03-22 07:11:34 -08:00
Nick Clifton
8ccf0ab7e1 Oops - omitted from previous delta
From-SVN: r25901
1999-03-22 14:37:14 +00:00
Nick Clifton
5ea05bba0c Fix typo
From-SVN: r25900
1999-03-22 14:36:36 +00:00
J"orn Rennecke
02eb1393dc reload1.c (reload_as_needed): Set reload_is_output_reload / reload_has_output_reload for auto_inc expressions...
* reload1.c (reload_as_needed): Set reload_is_output_reload /
	reload_has_output_reload for auto_inc expressions that could be
	reloaded.  Call forget_old_reloads for REG_INC notes.

From-SVN: r25899
1999-03-22 14:27:23 +00:00