Commit Graph

20863 Commits

Author SHA1 Message Date
J"orn Rennecke
69688f1ed7 * unroll.c (unroll_loop): Avoid out-of-bounds index for local_regno.
From-SVN: r25399
1999-02-24 11:18:59 +00:00
Zack Weinberg
d2ae3ff54e New testcase for cpp, written by Kaveh Ghazi <ghazi@caip.rutgers.edu>
From-SVN: r25398
1999-02-24 11:09:08 +00:00
Vladimir N. Makarov
c7b2eb810e sparc.h (CONDITIONAL_REGISTER_USAGE): Don't use PIC_OFFSET_TABLE_REGNUM for register allocation when -fPIC.
Wed Feb 24 11:26:41 1999  Vladimir N. Makarov  <vmakarov@cygnus.com>
	* config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Don't use
 	PIC_OFFSET_TABLE_REGNUM for register allocation when -fPIC.

From-SVN: r25397
1999-02-24 08:33:57 +00:00
Craig Burley
7a48ce6d73 update lib[FIU]77/configure from autoconf 2.13
From-SVN: r25396
1999-02-24 03:15:19 -05:00
Craig Burley
2f5962c056 fix up entries
From-SVN: r25395
1999-02-24 03:13:43 -05:00
Alexandre Oliva
76dc72a7e5 Makefile.in: Regen dependencies.
* lib/Makefile.in: Regen dependencies.
* makeinfo/Makefile.in, util/Makefile.in: Likewise.

From-SVN: r25391
1999-02-24 01:03:01 +00:00
Jeff Law
ae069bb08a Daily bump.
From-SVN: r25390
1999-02-23 17:45:02 -07:00
Tom Tromey
4e2e5821aa jvspec.c (lang_specific_driver): Recognize -fsyntax-only and disable linking in that case.
* jvspec.c (lang_specific_driver): Recognize -fsyntax-only and
	disable linking in that case.

From-SVN: r25389
1999-02-23 17:42:38 +00:00
Marc Lehmann
4873b277ca
corrected a minor typoe

From-SVN: r25388
1999-02-23 10:23:02 +00:00
Martin v. Löwis
f004c66b23 Mark failing code as XFAIL
From-SVN: r25387
1999-02-23 09:11:19 +00:00
Jason Merrill
8be64d0952 errfn.c: Change varargs code to look like toplev.c.
* errfn.c: Change varargs code to look like toplev.c.
	* method.c (process_modifiers): Don't prepend 'U' for char or
	wchar_t.

From-SVN: r25386
1999-02-22 20:44:23 -05:00
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