Commit Graph

20852 Commits

Author SHA1 Message Date
Jeff Law
bd022652bf Daily bump.
From-SVN: r25385
1999-02-22 17:45:04 -07:00
Andrew Cagney
a50f2a09ba Fix mips16 debug info problems with frame address.
* config/mips/mips.c (mips_debugger_offset): When TARGET_MIPS16 &&
 	frame_pointer_needed adjust frame size.
	(function_prologue): Don't MIPS16 .mask GPOFFSET. Already adjusted
 	in .frame pseudo-op.
	Frm Jim Wilson  <wilson@cygnus.com>:
	* mips.c (function_prologue): Adjust frame size in .frame pseudo-op
	when TARGET_MIPS16 && frame_pointer_needed.

From-SVN: r25382
1999-02-22 11:38:39 -08:00
Nick Clifton
3b7265ff89 Support ARM/Linux's armv syntax
From-SVN: r25381
1999-02-22 17:24:21 +00:00
Nick Clifton
f5a1b0d216 Apply ARM/Linux patches.
Rework cpu/architecture command line parsing.

From-SVN: r25380
1999-02-22 16:47:59 +00:00
Martin v. Löwis
956662b2f5 New test case from Nathan Sidwell.
From-SVN: r25379
1999-02-22 16:15:42 +00:00
Andrew MacLeod
89d3d44249 loop.c (libcall_other_regs): Make extern.
* loop.c (libcall_other_regs): Make extern.
	* rtl.h (find_last_value): Add parameter to prototype.
	(libcall_other_reg): Add extern declaration.
	* rtlanal.c (find_last_value): Add another parameter to allow
	a definition using a hardware register to be found as well.

From-SVN: r25378
1999-02-22 14:11:58 +00:00
Mark Mitchell
a4c6502a66 cse.c (dump_class): New function.
* cse.c (dump_class): New function.
	(invalidate_memory): Fix typo in comment.
	* function.c (temp_slot): Add an alias set field.
	(assign_stack_temp): Only reuse slots if they will have the
	same alias set as before.
	(combine_temp_slots): Don't combine if -fstrict-aliasing;
	that's unsafe.
	* rtl.c (copy_rtx): Copy all the flags (in particular,
	MEM_SCALAR_P).

From-SVN: r25372
1999-02-22 13:34:33 +00:00
Vladimir Makarov
44768aae76 Some insignificant corrections of the previous patch.
From-SVN: r25371
1999-02-22 11:43:58 +00:00
Vladimir N. Makarov
6d56756885 configure.in (i[34567]86-*-linux-gnu*, [...]): Use fixinc.x86-linux-gnu as fixincludes.
Mon Feb 22 14:13:23 1999  Vladimir N. Makarov  <vmakarov@cygnus.com>
	* configure.in (i[34567]86-*-linux-gnu*,
	i[34567]86-*-linux-gnulibc1, i[34567]86-*-linux-gnuaout*,
	i[34567]86-*-linux-gnuoldld*): Use fixinc.x86-linux-gnu as
	fixincludes.
	* configure: Rebuilt.
	* fixinc.x86-linux-gnu: New script for fixing asm-statements bug
	on x86 linux.
	* fixinc/fixinc.x86-linux-gnu: Copy of the previous one.
	* fixinc/mkfixinc.sh (i[34567]86-*-linux-gnu*,
	i[34567]86-*-linux-gnulibc1, i[34567]86-*-linux-gnuaout*,
	i[34567]86-*-linux-gnuoldld*): Use fixinc.x86-linux-gnu as
	fixincludes.

From-SVN: r25370
1999-02-22 11:32:00 +00:00
Tom Tromey
a32999346f jcf.h (UTF8_GET): Mask first byte of 3-byte encoding with 0x0f, not 0x1f.
* jcf.h (UTF8_GET): Mask first byte of 3-byte encoding with 0x0f,
	not 0x1f.

From-SVN: r25369
1999-02-22 09:15:30 +00:00
Ovidiu Predescu
b9ef73ea54 Reverted to the old behavior of encoding the types.
From-SVN: r25368
1999-02-22 09:02:25 +00:00
Craig Burley
43297964f3 improve wall of separation between build and install
From-SVN: r25367
1999-02-22 03:49:36 -05:00
Craig Burley
a2cf7debc7 reduce spurious warnings using -fsyntax-only
From-SVN: r25366
1999-02-22 03:41:42 -05:00
Craig Burley
3c350eb3d5 fix -fsyntax-only ICEs
From-SVN: r25365
1999-02-22 03:35:11 -05:00
Gavin Romig-Koch
e2e0986eb0 c-lex.c (yylex): Replace warning about integer constants being larger than long-longs...
* c-lex.c (yylex): Replace warning about integer constants being
	larger than long-longs, with a warning about integer constants
        being larger than the largest target integer.

From-SVN: r25364
1999-02-22 08:18:56 +00:00
Don Bowman
e9c0315e10 configure.in (mips*-*-vxworks*): Enable gthreads vxworks support.
* configure.in (mips*-*-vxworks*): Enable gthreads vxworks support.
        * configure: Rebuilt.

From-SVN: r25363
1999-02-21 18:32:00 -07:00
Jeff Law
78ab203316 Daily bump.
From-SVN: r25362
1999-02-21 17:45:02 -07:00
Jeffrey A Law
9c41200f1a 990222-1.c: New test.
* gcc.c-torture/execute/990222-1.c: New test.
New test from Herman ten Brugge

From-SVN: r25361
1999-02-21 17:17:46 -07:00
Jeffrey A Law
691d2a24a1 Bump for snapshot
From-SVN: r25359
1999-02-21 13:34:48 -07:00
Jeffrey A Law
14686fcda5 tm.texi: Update docs for constructors and destructors.
* tm.texi: Update docs for constructors and destructors.
And update comment in cp/decl2.c

From-SVN: r25356
1999-02-21 12:58:22 -07:00
H.J. Lu
b4bb92e52f decl2.c (start_objects): Make file scope constructors and destructors local to the file if...
* decl2.c (start_objects): Make file scope constructors and
        destructors local to the file if ASM_OUTPUT_CONSTRUCTOR and
        ASM_OUTPUT_DESTRUCTOR are defined.

From-SVN: r25354
1999-02-21 12:42:18 -07:00
Jeff Law
7bd19d63fd aoutos.h (ASM_OUTPUT_CONSTRUCTOR): Delete.
h
        * config/aoutos.h (ASM_OUTPUT_CONSTRUCTOR): Delete.
        (ASM_OUTPUT_DESTRUCTOR, ASM_OUTPUT_GC_ENTRY): Likewise.

From-SVN: r25351
1999-02-21 12:39:50 -07:00
Jeff Law
b61e099621 aoutos.h (ASM_OUTPUT_CONSTRUCTOR): Delete.
�
        * config/aoutos.h (ASM_OUTPUT_CONSTRUCTOR): Delete.
        (ASM_OUTPUT_DESTRUCTOR, ASM_OUTPUT_GC_ENTRY): Likewise.

From-SVN: r25350
1999-02-21 12:39:44 -07:00
Richard Henderson
00bc45c139 Update attribute value documentation.
From-SVN: r25349
1999-02-21 10:39:33 -08:00
Richard Henderson
7ee37ba40c genattrtab.c (check_attr_value): Allow negative const_int if negative_ok.
* genattrtab.c (check_attr_value): Allow negative const_int if
        negative_ok.  Accept integral arithmetic operators.  Accept
        direct references to other attributes.  Accept symbol_ref in
        non-constant attributes.
        (max_attr_value): Add new argument `unknownp'.  Update all callers.
        (or_attr_value): Likewise.
        (simplify_knowing): Don't optimize if max_attr_value unknown.
        (write_length_unit_log): Likewise with or_attr_value.
        (find_and_mark_used_attributes): Don't fallthru case.
        (write_attr_set): Pass thru all non-cond expressions.
        (write_attr_value): Handle symbol_ref, attr, and arithmetic.

From-SVN: r25348
1999-02-21 10:30:37 -08:00
Mark Mitchell
0301787454 cp-tree.h (CLASSTYPE_METHOD_VEC): Adjust comment.
1999-02-19  Mark Mitchell  <mark@markmitchell.com>
	* cp-tree.h (CLASSTYPE_METHOD_VEC): Adjust comment.
	(fn_type_unification): Adjust prototype.
	(lookup_fnfields_1): Declare.
	* call.c (add_template_candidate_real): Adjust call to
	fn_type_unification.
	* class.c (add_method): Don't allow duplicate declarations of
	constructors or destructors.
	(resolve_address_of_overloaded_function): Remove unused variable.
	Adjust call to fn_type_unification.
	* decl.c (grokfndecl): Be more robust in the face of illegal
	specializations.
	* decl2.c (check_classfn): Remove hokey handling of member
	templates.
	* pt.c (determine_specialization): Improve comments.  Adjust to
	handle template argument deduction as per the standard.
	(check_explicit_specialization): Fix comment spacing.  Handle
	type-conversion operators correctly.  Improve error-recovery.
	(fn_type_unification): Remove EXTRA_FN_ARG parameter.
	(get_bindings_real): Simplify handling of static members.
	* search.c (lookup_fnfields_1): Make it have external linkage.
	* typeck.c (compparms): Fix comment.
	(build_unary_op): Don't try to figure out which template
	specialization is being referred to when when the address-of
	operator is used with a template function.

From-SVN: r25347
1999-02-21 16:38:23 +00:00
Per Bothner
939d7216dc decl.c (build_result_decl): New method.
d
	* decl.c (build_result_decl), java-tree.h:  New method.
	(complete_start_java_method):  Handle synchronized methods.
	Don't build DECL_RESULT here.  (Ordering dependency problem.)
	(start_java_method):  Call build_result_decl here instead  ...
	* parse.y (java_complete_expand_method):  ... and here.
	(expand_start_java_method): Don't call complete_start_java_method here.
	(java_complete_expand_method):  Call it here instead.
	* parse.h (BUILD_MONITOR_ENTER, BUILD_MONITOR_EXIT):  Moved to ..
	* java-tree.h:  ... here.
	* expr.c (force_evaluation_order):  Fix typo, don't handle ARRAY_REF.
	* parse.y (java_complete_lhs):  Don't call force_evaluation_order
	for ARRAY_REF - it doesn't work when array bounds are checked.
	(patch_array_ref):  Handle it here instead.

From-SVN: r25346
1999-02-21 07:42:27 -08:00
Per Bothner
2d5a51939f decl.c (build_result_decl): New method.
* decl.c (build_result_decl), java-tree.h:  New method.
	(complete_start_java_method):  Handle synchronized methods.
	Don't build DECL_RESULT here.  (Ordering dependency problem.)
	(start_java_method):  Call build_result_decl here instead  ...
	* parse.y (java_complete_expand_method):  ... and here.
	(expand_start_java_method): Don't call complete_start_java_method here.
	(java_complete_expand_method):  Call it here instead.
	* parse.h (BUILD_MONITOR_ENTER, BUILD_MONITOR_EXIT):  Moved to ..
	* java-tree.h:  ... here.
	* expr.c (force_evaluation_order):  Fix typo, don't handle ARRAY_REF.
	* parse.y (java_complete_lhs):  Don't call force_evaluation_order
	for ARRAY_REF - it doesn't work when array bounds are checked.
	(patch_array_ref):  Handle it here instead.

From-SVN: r25345
1999-02-21 07:42:22 -08:00
Per Bothner
92ada2426b decl.c (build_result_decl): New method.
�
	* decl.c (build_result_decl), java-tree.h:  New method.
	(complete_start_java_method):  Handle synchronized methods.
	Don't build DECL_RESULT here.  (Ordering dependency problem.)
	(start_java_method):  Call build_result_decl here instead  ...
	* parse.y (java_complete_expand_method):  ... and here.
	(expand_start_java_method): Don't call complete_start_java_method here.
	(java_complete_expand_method):  Call it here instead.
	* parse.h (BUILD_MONITOR_ENTER, BUILD_MONITOR_EXIT):  Moved to ..
	* java-tree.h:  ... here.
	* expr.c (force_evaluation_order):  Fix typo, don't handle ARRAY_REF.
	* parse.y (java_complete_lhs):  Don't call force_evaluation_order
	for ARRAY_REF - it doesn't work when array bounds are checked.
	(patch_array_ref):  Handle it here instead.

From-SVN: r25344
1999-02-21 07:42:17 -08:00
Per Bothner
edd643a930 jcf-write.c (generate_classfile): Emit "Exceptions" attribute.
* jcf-write.c (generate_classfile):  Emit "Exceptions" attribute.

From-SVN: r25343
1999-02-21 07:41:32 -08:00
Michael Hayes
cd4b354624 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
        * regmove.c (discover_flags_reg): Use word_mode instead of SImode.

From-SVN: r25342
1999-02-21 05:17:17 -08:00
Richard Henderson
e7f5b971ec regmove.c (discover_flags_reg): Remove cc0 code.
* regmove.c (discover_flags_reg): Remove cc0 code.
        (mark_flags_life_zones) [HAVE_cc0]: Force use of cc0; bail if
        a potential flags register was identified.

From-SVN: r25341
1999-02-21 05:16:11 -08:00
Jeff Law
3f860e2bcd Daily bump.
From-SVN: r25340
1999-02-20 17:45:03 -07:00
Craig Burley
9074cde5db fix LSTAT intrinsic per Krister Walfridsson <cato@df.lth.se>
From-SVN: r25339
1999-02-20 09:55:52 -05:00
Franz Sirl
04be634669 Fix rs6000.md typo
From-SVN: r25337
1999-02-20 08:16:43 -05:00
Jeffrey A Law
477d3dbc51 string, [...]: Revert recent change.
* string, std/straits.h, std/bastring.h: Revert recent change.  Needs
        some libiberty support before it can be re-enabled.

From-SVN: r25336
1999-02-20 05:21:51 -07:00
Richard Earnshaw
8a27a83e4a * xm-arm.h (HOST_BITS_PER_LONGLONG): Define.
From-SVN: r25335
1999-02-20 09:10:22 +00:00
Craig Burley
fa0848d53a fix doc attributions, etc.
From-SVN: r25334
1999-02-19 21:05:58 -05:00
Jeff Law
27711fb7eb Daily bump.
From-SVN: r25333
1999-02-19 17:45:03 -07:00
Richard Henderson
dc2cb19139 regmove.c (discover_flags_reg): New function.
* regmove.c (discover_flags_reg): New function.
        (flags_set_1, mark_flags_life_zones): New functions.
        (regmove_optimize): Call them.
        (fixup_match_1): Use insn modes rather than sets_cc0_p.

From-SVN: r25332
1999-02-19 15:02:58 -08:00
Per Bothner
419ff8e1c2 Ooops -forgot ChangeLog.
From-SVN: r25329
1999-02-19 08:33:59 -08:00
Per Bothner
dc0b3eff72 Force left-to-right evaluation of binary operations etc.
d
	Force left-to-right evaluation of binary operations etc.
	* expr.c (force_evaluation_order), java-tree.h:  New function.
	* parse.y (java_complete_lhs):  Pass binary operations, procedure
	calls, and ARRAY_REFs to force_evaluation_order.
	(various):  Set TREE_SIDE_EFFECTS more carefully.
	Tolerate random (non-UTF8) encoding in comments without complaining.
	* lex.c (java_read_char):  Return 0xFFFE if bad UTF8 encoding.
	(java_is_eol):  Handle '\r' followed by '\n' instead of vice versa.
	* parse.y (resolve_qualified_expression_name):  Handle error_mark.
	(java_complete_node case EXPR_WITH_FILE_LOCATION):  Likewise.
	* parse.y (java_complete_lhs):  Ignore an empty statement in a
	COMPOUND_EXPR.  Don't complain about empty statement after return.

From-SVN: r25328
1999-02-19 08:33:22 -08:00
Per Bothner
68ae3b17eb Force left-to-right evaluation of binary operations etc.
T
	Force left-to-right evaluation of binary operations etc.
	* expr.c (force_evaluation_order), java-tree.h:  New function.
	* parse.y (java_complete_lhs):  Pass binary operations, procedure
	calls, and ARRAY_REFs to force_evaluation_order.
	(various):  Set TREE_SIDE_EFFECTS more carefully.
	Tolerate random (non-UTF8) encoding in comments without complaining.
	* lex.c (java_read_char):  Return 0xFFFE if bad UTF8 encoding.
	(java_is_eol):  Handle '\r' followed by '\n' instead of vice versa.
	* parse.y (resolve_qualified_expression_name):  Handle error_mark.
	(java_complete_node case EXPR_WITH_FILE_LOCATION):  Likewise.
	* parse.y (java_complete_lhs):  Ignore an empty statement in a
	COMPOUND_EXPR.  Don't complain about empty statement after return.

From-SVN: r25327
1999-02-19 08:33:20 -08:00
Per Bothner
7428556059 Force left-to-right evaluation of binary operations etc.
Force left-to-right evaluation of binary operations etc.
	* expr.c (force_evaluation_order), java-tree.h:  New function.
	* parse.y (java_complete_lhs):  Pass binary operations, procedure
	calls, and ARRAY_REFs to force_evaluation_order.
	(various):  Set TREE_SIDE_EFFECTS more carefully.
	Tolerate random (non-UTF8) encoding in comments without complaining.
	* lex.c (java_read_char):  Return 0xFFFE if bad UTF8 encoding.
	(java_is_eol):  Handle '\r' followed by '\n' instead of vice versa.
	* parse.y (resolve_qualified_expression_name):  Handle error_mark.
	(java_complete_node case EXPR_WITH_FILE_LOCATION):  Likewise.
	* parse.y (java_complete_lhs):  Ignore an empty statement in a
	COMPOUND_EXPR.  Don't complain about empty statement after return.

From-SVN: r25326
1999-02-19 08:33:18 -08:00
Per Bothner
c60ca7db2a parse.y (obtain_incomplete_type): Don't wrap unknown types in TREE_LIST - just chain the POINTER_TYPEs together.
a
	* parse.y (obtain_incomplete_type):  Don't wrap unknown types
	in TREE_LIST - just chain the POINTER_TYPEs together.
	(resolve_class):  If type already resolved, return decl.
	After resolving, update TREE_TYPE(class_type), and name (if array).
	* parse.h (do_resolve_class), parse.y:  Make non-static.
	* class.c (maybe_layout_super_class):  Take this_class argument.
	Do do_resolve_class if necessary.
	(layout_class, layout_class_methods): Adjust calls appropriately.
	* parse.h (JDEP_TO_RESOLVE, JDEP_RESOLVED_DECL, JDEP_RESOLVED,
	JDEP_RESOLVED_P):  Redefined for new TREE_LIST-less convention.
	* typeck.c (build_java_array_type):  Don't call layout_class.

From-SVN: r25325
1999-02-19 06:55:24 -08:00
Per Bothner
78d21f929b parse.y (obtain_incomplete_type): Don't wrap unknown types in TREE_LIST - just chain the POINTER_TYPEs together.
d
	* parse.y (obtain_incomplete_type):  Don't wrap unknown types
	in TREE_LIST - just chain the POINTER_TYPEs together.
	(resolve_class):  If type already resolved, return decl.
	After resolving, update TREE_TYPE(class_type), and name (if array).
	* parse.h (do_resolve_class), parse.y:  Make non-static.
	* class.c (maybe_layout_super_class):  Take this_class argument.
	Do do_resolve_class if necessary.
	(layout_class, layout_class_methods): Adjust calls appropriately.
	* parse.h (JDEP_TO_RESOLVE, JDEP_RESOLVED_DECL, JDEP_RESOLVED,
	JDEP_RESOLVED_P):  Redefined for new TREE_LIST-less convention.
	* typeck.c (build_java_array_type):  Don't call layout_class.

From-SVN: r25324
1999-02-19 06:55:23 -08:00
Per Bothner
846b0eb83d parse.y (obtain_incomplete_type): Don't wrap unknown types in TREE_LIST - just chain the POINTER_TYPEs together.
T
	* parse.y (obtain_incomplete_type):  Don't wrap unknown types
	in TREE_LIST - just chain the POINTER_TYPEs together.
	(resolve_class):  If type already resolved, return decl.
	After resolving, update TREE_TYPE(class_type), and name (if array).
	* parse.h (do_resolve_class), parse.y:  Make non-static.
	* class.c (maybe_layout_super_class):  Take this_class argument.
	Do do_resolve_class if necessary.
	(layout_class, layout_class_methods): Adjust calls appropriately.
	* parse.h (JDEP_TO_RESOLVE, JDEP_RESOLVED_DECL, JDEP_RESOLVED,
	JDEP_RESOLVED_P):  Redefined for new TREE_LIST-less convention.
	* typeck.c (build_java_array_type):  Don't call layout_class.

From-SVN: r25323
1999-02-19 06:55:18 -08:00
Per Bothner
04ed7a0ca3 parse.y (obtain_incomplete_type): Don't wrap unknown types in TREE_LIST - just chain the POINTER_TYPEs together.
* parse.y (obtain_incomplete_type):  Don't wrap unknown types
	in TREE_LIST - just chain the POINTER_TYPEs together.
	(resolve_class):  If type already resolved, return decl.
	After resolving, update TREE_TYPE(class_type), and name (if array).
	* parse.h (do_resolve_class), parse.y:  Make non-static.
	* class.c (maybe_layout_super_class):  Take this_class argument.
	Do do_resolve_class if necessary.
	(layout_class, layout_class_methods): Adjust calls appropriately.
	* parse.h (JDEP_TO_RESOLVE, JDEP_RESOLVED_DECL, JDEP_RESOLVED,
	JDEP_RESOLVED_P):  Redefined for new TREE_LIST-less convention.
	* typeck.c (build_java_array_type):  Don't call layout_class.

From-SVN: r25322
1999-02-19 06:55:17 -08:00
J"orn Rennecke
1cb1fe6699 rtlanal.c (insn_first_p): Fix return value for insn == reference.
* rtlanal.c (insn_first_p): Fix return value for insn == reference.
	* loop.c (strength_reduce, check_final_value, check_dbra_loop):
	Use loop_insn_first_p.

From-SVN: r25321
1999-02-19 14:49:59 +00:00
Craig Burley
cea0198ed9 update BUGS, INSTALL, NEWS, and their sources
From-SVN: r25320
1999-02-19 09:45:46 -05:00