Nick Clifton [Wed, 24 Feb 1999 14:12:44 +0000 (14:12 +0000)]
Add -O3 to TORTURE_OPTIONS list.
From-SVN: r25406
Tom Tromey [Wed, 24 Feb 1999 13:47:39 +0000 (13:47 +0000)]
gjavah.c (struct namelet): New structure.
* gjavah.c (struct namelet): New structure.
(add_namelet): New function.
(print_namelet): New function.
(print_class_decls): Use add_namelet and print_namelet to generate
namespaces and not classes.
(method_printed): New global.
(HANDLE_END_METHOD): Examine method_printed.
(print_method_info): Set method_printed when required. Print
error if function to be ignored is marked virtual. Handle $finit$
method.
(METHOD_IS_FINAL): New macro.
(print_field_info): Use it.
(HANDLE_METHOD): Clear method_printed.
(method_pass): New global.
(HANDLE_END_FIELD): Call add_class_decl on the first pass.
(process_file): Do two passes over both fields and methods.
(HANDLE_METHOD): Examine method_pass.
(root): New global.
(add_class_decl): New function.
(print_class_decls): Don't scan over entire constant pool.
From-SVN: r25403
Jeffrey A Law [Wed, 24 Feb 1999 13:17:04 +0000 (13:17 +0000)]
regclass.c (record_reg_classes, case 'p'): Set classes appropriately.
* regclass.c (record_reg_classes, case 'p'): Set classes appropriately.
An alternative always fails if it needs a pseudo and no suitable
register class can be found.
Bootstrapped on solaris.
From-SVN: r25402
J"orn Rennecke [Wed, 24 Feb 1999 11:50:54 +0000 (11:50 +0000)]
loop.h (loop_insn_first_p): Declare.
* loop.h (loop_insn_first_p): Declare.
* loop.c (loop_insn_first_p): No longer static.
* unroll.c (iteration_info) Fix comparison to
reg_iv_type->num_elements.
Before accessing reg_biv_class, check index against
max_reg_before_loop.
Fix and enable code for giv iterators.
(loop_iterations): Compare with reg_iv_type->num_elements instead
of with max_reg_before_loop.
From-SVN: r25401
Jason Merrill [Wed, 24 Feb 1999 11:46:56 +0000 (11:46 +0000)]
* pt.c (tsubst): Allow an array of explicit size zero.
From-SVN: r25400
J"orn Rennecke [Wed, 24 Feb 1999 11:18:59 +0000 (11:18 +0000)]
* unroll.c (unroll_loop): Avoid out-of-bounds index for local_regno.
From-SVN: r25399
Zack Weinberg [Wed, 24 Feb 1999 11:09:08 +0000 (11:09 +0000)]
New testcase for cpp, written by Kaveh Ghazi <ghazi@caip.rutgers.edu>
From-SVN: r25398
Vladimir N. Makarov [Wed, 24 Feb 1999 08:33:57 +0000 (08:33 +0000)]
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
Craig Burley [Wed, 24 Feb 1999 08:15:19 +0000 (03:15 -0500)]
update lib[FIU]77/configure from autoconf 2.13
From-SVN: r25396
Craig Burley [Wed, 24 Feb 1999 08:13:43 +0000 (03:13 -0500)]
fix up entries
From-SVN: r25395
Alexandre Oliva [Wed, 24 Feb 1999 01:03:01 +0000 (01:03 +0000)]
Makefile.in: Regen dependencies.
* lib/Makefile.in: Regen dependencies.
* makeinfo/Makefile.in, util/Makefile.in: Likewise.
From-SVN: r25391
Jeff Law [Wed, 24 Feb 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r25390
Tom Tromey [Tue, 23 Feb 1999 17:42:38 +0000 (17:42 +0000)]
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
Marc Lehmann [Tue, 23 Feb 1999 10:23:02 +0000 (10:23 +0000)]
�
corrected a minor typoe
From-SVN: r25388
Martin v. Löwis [Tue, 23 Feb 1999 09:11:19 +0000 (09:11 +0000)]
Mark failing code as XFAIL
From-SVN: r25387
Jason Merrill [Tue, 23 Feb 1999 01:44:23 +0000 (20:44 -0500)]
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
Jeff Law [Tue, 23 Feb 1999 00:45:04 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r25385
Andrew Cagney [Mon, 22 Feb 1999 19:38:39 +0000 (19:38 +0000)]
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
Nick Clifton [Mon, 22 Feb 1999 17:24:21 +0000 (17:24 +0000)]
Support ARM/Linux's armv syntax
From-SVN: r25381
Nick Clifton [Mon, 22 Feb 1999 16:47:59 +0000 (16:47 +0000)]
Apply ARM/Linux patches.
Rework cpu/architecture command line parsing.
From-SVN: r25380
Martin v. Löwis [Mon, 22 Feb 1999 16:15:42 +0000 (16:15 +0000)]
New test case from Nathan Sidwell.
From-SVN: r25379
Andrew MacLeod [Mon, 22 Feb 1999 14:11:58 +0000 (14:11 +0000)]
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
Mark Mitchell [Mon, 22 Feb 1999 13:34:33 +0000 (13:34 +0000)]
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
Vladimir Makarov [Mon, 22 Feb 1999 11:43:58 +0000 (11:43 +0000)]
Some insignificant corrections of the previous patch.
From-SVN: r25371
Vladimir N. Makarov [Mon, 22 Feb 1999 11:32:00 +0000 (11:32 +0000)]
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
Tom Tromey [Mon, 22 Feb 1999 09:15:30 +0000 (09:15 +0000)]
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
Ovidiu Predescu [Mon, 22 Feb 1999 09:02:25 +0000 (09:02 +0000)]
Reverted to the old behavior of encoding the types.
From-SVN: r25368
Craig Burley [Mon, 22 Feb 1999 08:49:36 +0000 (08:49 +0000)]
improve wall of separation between build and install
From-SVN: r25367
Craig Burley [Mon, 22 Feb 1999 08:41:42 +0000 (08:41 +0000)]
reduce spurious warnings using -fsyntax-only
From-SVN: r25366
Craig Burley [Mon, 22 Feb 1999 08:35:11 +0000 (08:35 +0000)]
fix -fsyntax-only ICEs
From-SVN: r25365
Gavin Romig-Koch [Mon, 22 Feb 1999 08:18:56 +0000 (08:18 +0000)]
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
Don Bowman [Mon, 22 Feb 1999 01:32:00 +0000 (01:32 +0000)]
configure.in (mips*-*-vxworks*): Enable gthreads vxworks support.
* configure.in (mips*-*-vxworks*): Enable gthreads vxworks support.
* configure: Rebuilt.
From-SVN: r25363
Jeff Law [Mon, 22 Feb 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r25362
Jeffrey A Law [Mon, 22 Feb 1999 00:17:46 +0000 (00:17 +0000)]
990222-1.c: New test.
* gcc.c-torture/execute/990222-1.c: New test.
New test from Herman ten Brugge
From-SVN: r25361
Jeffrey A Law [Sun, 21 Feb 1999 20:34:48 +0000 (13:34 -0700)]
Bump for snapshot
From-SVN: r25359
Jeffrey A Law [Sun, 21 Feb 1999 19:58:22 +0000 (19:58 +0000)]
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
H.J. Lu [Sun, 21 Feb 1999 19:42:18 +0000 (19:42 +0000)]
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
Jeff Law [Sun, 21 Feb 1999 19:39:50 +0000 (12:39 -0700)]
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
Jeff Law [Sun, 21 Feb 1999 19:39:44 +0000 (12:39 -0700)]
aoutos.h (ASM_OUTPUT_CONSTRUCTOR): Delete.
�
* config/aoutos.h (ASM_OUTPUT_CONSTRUCTOR): Delete.
(ASM_OUTPUT_DESTRUCTOR, ASM_OUTPUT_GC_ENTRY): Likewise.
From-SVN: r25350
Richard Henderson [Sun, 21 Feb 1999 18:39:33 +0000 (10:39 -0800)]
Update attribute value documentation.
From-SVN: r25349
Richard Henderson [Sun, 21 Feb 1999 18:30:37 +0000 (10:30 -0800)]
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
Mark Mitchell [Sun, 21 Feb 1999 16:38:23 +0000 (16:38 +0000)]
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
Per Bothner [Sun, 21 Feb 1999 15:42:27 +0000 (07:42 -0800)]
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
Per Bothner [Sun, 21 Feb 1999 15:42:22 +0000 (07:42 -0800)]
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
Per Bothner [Sun, 21 Feb 1999 15:42:17 +0000 (07:42 -0800)]
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
Per Bothner [Sun, 21 Feb 1999 15:41:32 +0000 (07:41 -0800)]
jcf-write.c (generate_classfile): Emit "Exceptions" attribute.
* jcf-write.c (generate_classfile): Emit "Exceptions" attribute.
From-SVN: r25343
Michael Hayes [Sun, 21 Feb 1999 13:17:17 +0000 (13:17 +0000)]
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
Richard Henderson [Sun, 21 Feb 1999 13:16:11 +0000 (05:16 -0800)]
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
Jeff Law [Sun, 21 Feb 1999 00:45:03 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r25340
Craig Burley [Sat, 20 Feb 1999 14:55:52 +0000 (14:55 +0000)]
fix LSTAT intrinsic per Krister Walfridsson <cato@df.lth.se>
From-SVN: r25339
Franz Sirl [Sat, 20 Feb 1999 13:16:43 +0000 (13:16 +0000)]
Fix rs6000.md typo
From-SVN: r25337
Jeffrey A Law [Sat, 20 Feb 1999 12:21:51 +0000 (12:21 +0000)]
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
Richard Earnshaw [Sat, 20 Feb 1999 09:10:22 +0000 (09:10 +0000)]
* xm-arm.h (HOST_BITS_PER_LONGLONG): Define.
From-SVN: r25335
Craig Burley [Sat, 20 Feb 1999 02:05:58 +0000 (02:05 +0000)]
fix doc attributions, etc.
From-SVN: r25334
Jeff Law [Sat, 20 Feb 1999 00:45:03 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r25333
Richard Henderson [Fri, 19 Feb 1999 23:02:58 +0000 (15:02 -0800)]
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
Per Bothner [Fri, 19 Feb 1999 16:33:59 +0000 (08:33 -0800)]
Ooops -forgot ChangeLog.
From-SVN: r25329
Per Bothner [Fri, 19 Feb 1999 16:33:22 +0000 (08:33 -0800)]
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
Per Bothner [Fri, 19 Feb 1999 16:33:20 +0000 (08:33 -0800)]
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
Per Bothner [Fri, 19 Feb 1999 16:33:18 +0000 (08:33 -0800)]
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
Per Bothner [Fri, 19 Feb 1999 14:55:24 +0000 (06:55 -0800)]
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
Per Bothner [Fri, 19 Feb 1999 14:55:23 +0000 (06:55 -0800)]
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
Per Bothner [Fri, 19 Feb 1999 14:55:18 +0000 (06:55 -0800)]
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
Per Bothner [Fri, 19 Feb 1999 14:55:17 +0000 (06:55 -0800)]
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
J"orn Rennecke [Fri, 19 Feb 1999 14:49:59 +0000 (14:49 +0000)]
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
Craig Burley [Fri, 19 Feb 1999 14:45:46 +0000 (14:45 +0000)]
update BUGS, INSTALL, NEWS, and their sources
From-SVN: r25320
Craig Burley [Fri, 19 Feb 1999 14:05:51 +0000 (14:05 +0000)]
improve global/filewide semantic checking
From-SVN: r25319
Alexandre Petit-Bianco [Fri, 19 Feb 1999 13:27:37 +0000 (05:27 -0800)]
parse.y (check_pkg_class_access): Allow private class access within the same package.
�
* parse.y (check_pkg_class_access): Allow private class access
within the same package.
(strip_out_static_field_access_decl): New function.
(patch_unaryop): Call strip_out_static_field_access_decl on ++/--
operator argument before testing its nature.
From-SVN: r25318
Alexandre Petit-Bianco [Fri, 19 Feb 1999 13:27:35 +0000 (05:27 -0800)]
parse.y (check_pkg_class_access): Allow private class access within the same package.
* parse.y (check_pkg_class_access): Allow private class access
within the same package.
(strip_out_static_field_access_decl): New function.
(patch_unaryop): Call strip_out_static_field_access_decl on ++/--
operator argument before testing its nature.
From-SVN: r25317
Michael Meissner [Fri, 19 Feb 1999 12:54:08 +0000 (12:54 +0000)]
rs6000.md (scc plus eq): Fix output template.
* rs6000.md (scc plus eq): Fix output template.
(scc plus ltu): Fix output template and collapse variants
correcting early clobber.
(scc plus geu): Fix output template.
(scc plus gt): Fix output template.
(scc plus gtu): Fix output template and collapse variants.
Co-Authored-By: David Edelsohn <edelsohn@mhpcc.edu>
From-SVN: r25316
Kaveh R. Ghazi [Fri, 19 Feb 1999 12:50:44 +0000 (12:50 +0000)]
* cppinit.c (print_help): Remove unescaped newline in string.
From-SVN: r25315
Per Bothner [Fri, 19 Feb 1999 12:32:50 +0000 (04:32 -0800)]
Use new TRY_FINALLY_EXPR tree node.
�
Use new TRY_FINALLY_EXPR tree node. See ChangeLog.
From-SVN: r25314
Per Bothner [Fri, 19 Feb 1999 12:32:40 +0000 (04:32 -0800)]
Use new TRY_FINALLY_EXPR tree node.
h
Use new TRY_FINALLY_EXPR tree node. See ChangeLog.
From-SVN: r25313
Per Bothner [Fri, 19 Feb 1999 12:32:39 +0000 (04:32 -0800)]
Use new TRY_FINALLY_EXPR tree node.
(
Use new TRY_FINALLY_EXPR tree node. See ChangeLog.
From-SVN: r25312
Per Bothner [Fri, 19 Feb 1999 12:32:38 +0000 (04:32 -0800)]
Use new TRY_FINALLY_EXPR tree node.
�
Use new TRY_FINALLY_EXPR tree node. See ChangeLog.
From-SVN: r25311
J"orn Rennecke [Fri, 19 Feb 1999 11:59:01 +0000 (11:59 +0000)]
loop.c (strength_reduce): Check for intervening jumps when converting biv increment to giv.
* loop.c (strength_reduce): Check for intervening jumps when
converting biv increment to giv.
From-SVN: r25310
Per Bothner [Fri, 19 Feb 1999 11:19:32 +0000 (03:19 -0800)]
tree.def (TRY_FINALLY_EXPR, [...]): New tree nodes,
�
* tree.def (TRY_FINALLY_EXPR, GOTO_SUBROUTINE_EXPR): New tree nodes,
* expr.c (expand_expr): Support new tree nodes.
From-SVN: r25309
Per Bothner [Fri, 19 Feb 1999 11:19:30 +0000 (03:19 -0800)]
tree.def (TRY_FINALLY_EXPR, [...]): New tree nodes,
h
* tree.def (TRY_FINALLY_EXPR, GOTO_SUBROUTINE_EXPR): New tree nodes,
* expr.c (expand_expr): Support new tree nodes.
From-SVN: r25308
Per Bothner [Fri, 19 Feb 1999 11:19:28 +0000 (03:19 -0800)]
tree.def (TRY_FINALLY_EXPR, [...]): New tree nodes,
`
* tree.def (TRY_FINALLY_EXPR, GOTO_SUBROUTINE_EXPR): New tree nodes,
* expr.c (expand_expr): Support new tree nodes.
From-SVN: r25307
David Edelsohn [Fri, 19 Feb 1999 11:02:59 +0000 (06:02 -0500)]
AIX 4.3.2 linker bug
From-SVN: r25306
Craig Burley [Fri, 19 Feb 1999 09:16:31 +0000 (04:16 -0500)]
update intdoc.texi
From-SVN: r25305
Craig Burley [Fri, 19 Feb 1999 09:15:46 +0000 (09:15 +0000)]
new g77 tests
From-SVN: r25304
Andreas Schwab [Fri, 19 Feb 1999 01:20:34 +0000 (01:20 +0000)]
m68k.c (m68k_align_loops_string, [...]): Add const.
* config/m68k/m68k.c (m68k_align_loops_string,
m68k_align_jumps_string, m68k_align_funcs_string): Add const.
* config/m68k/m68k.h (m68k_align_loops_string,
m68k_align_jumps_string, m68k_align_funcs_string): Likewise.
From-SVN: r25303
Jeff Law [Fri, 19 Feb 1999 00:45:03 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r25302
Kaveh R. Ghazi [Thu, 18 Feb 1999 20:44:21 +0000 (20:44 +0000)]
cp-tree.h (lvalue_or_else): Qualify a char* with the `const' keyword to match an analogous change at the...
* cp-tree.h (lvalue_or_else): Qualify a char* with the `const'
keyword to match an analogous change at the top level.
* tree.c (lvalue_or_else): Likewise.
From-SVN: r25297
Kaveh R. Ghazi [Thu, 18 Feb 1999 20:38:48 +0000 (20:38 +0000)]
bitmap.c (bitmap_print): Qualify a char* with the `const' keyword.
* bitmap.c (bitmap_print): Qualify a char* with the `const' keyword.
* bitmap.h (bitmap_print): Likewise.
* c-decl.c (builtin_function, grokdeclarator, grokfield): Likewise.
* c-lang.c (build_objc_string): Likewise.
* c-lex.c (yyerror, extend_token_buffer): Likewise. Don't include
limits.h or ctype.h. Remove unused variable `p'.
* c-lex.h (yyerror): Qualify a char* with the `const' keyword.
* c-pragma.c (handle_pragma_token): Likewise.
* c-pragma.h (handle_pragma_token): Likewise.
* c-tree.h (build_objc_string, builtin_function, grokfield,
build_indirect_ref, lvalue_or_else, readonly_warning, error_init,
pedwarn_init): Likewise.
* c-typeck.c (convert_for_assignment, warn_for_assignment,
push_string, warning_init, incomplete_type_error,
build_indirect_ref, lvalue_or_else, readonly_warning,
build_c_cast, spelling, push_member_name, print_spelling,
error_init, pedwarn_init, start_init): Likewise.
* objc/objc-act.c (build_objc_string): Likewise.
* print-tree.c (print_node_brief, print_node): Likewise.
* tree.h (lvalue_or_else, print_node, print_node_brief): Likewise.
From-SVN: r25296
David Edelsohn [Thu, 18 Feb 1999 19:49:19 +0000 (19:49 +0000)]
* regclass.c (record_reg_classes): Correctly handle 'p' constraint.
From-SVN: r25295
Marc Espie [Thu, 18 Feb 1999 19:04:30 +0000 (19:04 +0000)]
* configure.in :Handle OpenBSD platforms.
* configure: Rebuilt.
* config/openbsd.h: New file.
* config/xm-openbsd.h: New file.
* config/t-openbsd: New file.
* config/t-openbsd-thread: New file.
From-SVN: r25293
Marc Espie [Thu, 18 Feb 1999 18:59:05 +0000 (18:59 +0000)]
* config.guess: Recognize openbsd-*-hppa.
From-SVN: r25292
Marc Espie [Thu, 18 Feb 1999 18:57:55 +0000 (18:57 +0000)]
configure.in: Handle OpenBSD with and without threads.
* configure.in: Handle OpenBSD with and without threads.
* config/openbsd.ml: New file.
* config/openbsd.mt: New file.
From-SVN: r25291
Jeffrey A Law [Thu, 18 Feb 1999 17:51:58 +0000 (17:51 +0000)]
function.c (assign_stack_temp_for_type): Round SIZE before calling assign_stack_local for BLKmode slots.
* function.c (assign_stack_temp_for_type): Round SIZE before calling
assign_stack_local for BLKmode slots.
From-SVN: r25290
J"orn Rennecke [Thu, 18 Feb 1999 17:47:53 +0000 (17:47 +0000)]
loop.c (strength_reduce): For derived givs, replace the giv this was derived from with its new_reg.
* loop.c (strength_reduce): For derived givs, replace the
giv this was derived from with its new_reg.
(recombine_givs): Don't set new_reg for derived giv.
And don't print it, print SUM instead.
From-SVN: r25289
Jim Wilson [Thu, 18 Feb 1999 16:00:12 +0000 (16:00 +0000)]
Fix m68k-elf coldfire run-time address error for tablejumps.
* m68kelf.h (ASM_RETURN_CASE_JUMP): Add 5200 support.
From-SVN: r25288
Zack Weinberg [Thu, 18 Feb 1999 15:35:49 +0000 (15:35 +0000)]
cpplib.c: Kill define of STDC_VALUE.
1999-02-18 18:32 -0500 Zack Weinberg <zack@rabi.columbia.edu>
* cpplib.c: Kill define of STDC_VALUE. Don't include output.h
or prefix.h. Change CPP_IS_MACRO_BUFFER to not refer to
macro_cleanup.
(GET_ENV_PATH_LIST, PATH_SEPARATOR, STANDARD_INCLUDE_DIR,
predefs, SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
CPP_WCHAR_TYPE, USER_LABEL_PREFIX, REGISTER_PREFIX, struct
cpp_pending, version_string, struct default_include,
include_defaults_array, path_include, cpp_options_init,
dump_special_to_buffer, initialize_builtins, cpp_start_read,
cpp_reader_init, nreverse_pending, push_pending, print_help,
cpp_handle_option, cpp_handle_options, cpp_finish,
cpp_cleanup): Move to cppinit.c.
(macro_cleanup, struct arglist, collect_expansion,
create_definition, compare_defs, comp_def_part, ARG_BASE,
struct argdata, macarg, change_newlines, timestamp,
monthnames, special_symbol, unsafe_chars, macroexpand,
push_macro_expansion): Move to cpphash.c.
(quote_string, check_macro_name, cpp_expand_to_buffer,
output_line_command, cpp_undef): Export.
(null_underflow, null_cleanup, handle_directive): Make static.
* cpplib.h: Prototype now-exported functions. Adjust decls of
syntax tables so we can include cpplib.h in cppinit.c.
* cpphash.h: Prototype all functions exported by cpphash.c.
* cppinit.c: Make syntax tables initialized data if possible
(uses GCC designated-initializer extension).
* cppexp.c: Make cpp_lex static.
* Makefile.in: Move -D switches for the various include dirs
from cpplib.o rule to cppinit.o rule. Adjust dependencies.
From-SVN: r25287
Andrew Haley [Thu, 18 Feb 1999 14:20:21 +0000 (06:20 -0800)]
jcf-parse.c (get_constant): Add braces around computation of 'd' when REAL_ARITHMETIC is not defined.
x
* jcf-parse.c (get_constant): Add braces around computation of 'd'
when REAL_ARITHMETIC is not defined. [Oct 26 fix got overwritten -PB]
From-SVN: r25285
Andrew Haley [Thu, 18 Feb 1999 14:20:20 +0000 (06:20 -0800)]
jcf-parse.c (get_constant): Add braces around computation of 'd' when REAL_ARITHMETIC is not defined.
�
* jcf-parse.c (get_constant): Add braces around computation of 'd'
when REAL_ARITHMETIC is not defined. [Oct 26 fix got overwritten -PB]
From-SVN: r25284
Marc Espie [Thu, 18 Feb 1999 12:38:23 +0000 (12:38 +0000)]
openbsd.h: New file.
* config/alpha/openbsd.h: New file.
* config/alpha/xm-openbsd.h: New file.
From-SVN: r25283
Marc Espie [Thu, 18 Feb 1999 12:35:12 +0000 (12:35 +0000)]
openbsd.h: New file.
* sparc/openbsd.h: New file.
* sparc/xm-openbsd.h: New file.
From-SVN: r25282
Marc Espie [Thu, 18 Feb 1999 12:31:02 +0000 (12:31 +0000)]
openbsd.h: New file.
* m68k/openbsd.h: New file.
* m68k/xm-openbsd.h: New file.
From-SVN: r25281
Marc Espie [Thu, 18 Feb 1999 12:22:59 +0000 (12:22 +0000)]
openbsd.h: New file, originally from netbsd.
* i386/openbsd.h: New file, originally from netbsd.
* i386/xm-openbsd.h: New file.
From-SVN: r25280