gcc.git
25 years ago* configure.in: Fix INSTALLDIR sed pattern for Solaris sed.
Jason Merrill [Wed, 24 Feb 1999 23:50:35 +0000 (23:50 +0000)]
* configure.in: Fix INSTALLDIR sed pattern for Solaris sed.

From-SVN: r25419

25 years agoFix cross compiler build failure in dbxout.c.
Jim Wilson [Wed, 24 Feb 1999 21:00:04 +0000 (21:00 +0000)]
Fix cross compiler build failure in dbxout.c.

* dbxout.c (gstab.h): Use if CROSS_COMPILE.

From-SVN: r25417

25 years agocalls.c (initialize_argument_information): New function extracted from expand_call.
Jeffrey A Law [Wed, 24 Feb 1999 19:06:17 +0000 (19:06 +0000)]
calls.c (initialize_argument_information): New function extracted from expand_call.

        * calls.c (initialize_argument_information): New function extracted
        from expand_call.
        (expand_call): Use initialize_argument_information.  Remove variables
        which are no longer used due to cleanups.

From-SVN: r25416

25 years agofinish applying earlier patch from Dave Love
Craig Burley [Wed, 24 Feb 1999 19:03:02 +0000 (14:03 -0500)]
finish applying earlier patch from Dave Love

From-SVN: r25415

25 years agochangelog entries keep people happy
Craig Burley [Wed, 24 Feb 1999 18:54:55 +0000 (13:54 -0500)]
changelog entries keep people happy

From-SVN: r25414

25 years agomove test to its proper home, given current g77
Craig Burley [Wed, 24 Feb 1999 18:48:17 +0000 (13:48 -0500)]
move test to its proper home, given current g77

From-SVN: r25413

25 years agoFix dwarf2 debug error found by gdb testsuite: add big-endian correction.
Jim Wilson [Wed, 24 Feb 1999 17:48:42 +0000 (17:48 +0000)]
Fix dwarf2 debug error found by gdb testsuite: add big-endian correction.

* dwarf2out.c (add_location_or_const_value_attribute):  Add big
endian correction for parms passed in regs but living on the stack.

From-SVN: r25412

25 years agocalls.c (compute_argument_block_size): New function, extracted from expand_calls.
Jeffrey A Law [Wed, 24 Feb 1999 17:42:40 +0000 (17:42 +0000)]
calls.c (compute_argument_block_size): New function, extracted from expand_calls.

        * calls.c (compute_argument_block_size): New function, extracted from
        expand_calls.
        (expand_calls): Use compute_argument_block_size.  Delete
        original_args_size, use unadjusted_args_size instead.

From-SVN: r25411

25 years agoTypo fix in comment.
Joern Rennecke [Wed, 24 Feb 1999 16:54:38 +0000 (16:54 +0000)]
Typo fix in comment.

From-SVN: r25410

25 years agocalls.c (precompute_arguments): New function, extracted from expand_call.
Jeffrey A Law [Wed, 24 Feb 1999 16:29:36 +0000 (16:29 +0000)]
calls.c (precompute_arguments): New function, extracted from expand_call.

        * calls.c (precompute_arguments): New function, extracted from
        expand_call.
        (expand_call): Use precompute_arguments.

From-SVN: r25409

25 years agoFix typo in arm recognition string
Nick Clifton [Wed, 24 Feb 1999 16:23:58 +0000 (16:23 +0000)]
Fix typo in arm recognition string

From-SVN: r25408

25 years agocalls.c (finalize_must_preallocate): New function, extracted from expand_call.
Jeffrey A Law [Wed, 24 Feb 1999 15:07:38 +0000 (15:07 +0000)]
calls.c (finalize_must_preallocate): New function, extracted from expand_call.

        * calls.c (finalize_must_preallocate): New function, extracted from
        expand_call.
        (expand_call): Use finalize_must_preallocate.
        * calls.c (store_one_arg): Mark "variable_size" as possibly unused.

From-SVN: r25407

25 years agoAdd -O3 to TORTURE_OPTIONS list.
Nick Clifton [Wed, 24 Feb 1999 14:12:44 +0000 (14:12 +0000)]
Add -O3 to TORTURE_OPTIONS list.

From-SVN: r25406

25 years agogjavah.c (struct namelet): New structure.
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

25 years agoregclass.c (record_reg_classes, case 'p'): Set classes appropriately.
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

25 years agoloop.h (loop_insn_first_p): Declare.
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

25 years ago* pt.c (tsubst): Allow an array of explicit size zero.
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

25 years ago* unroll.c (unroll_loop): Avoid out-of-bounds index for local_regno.
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

25 years agoNew testcase for cpp, written by Kaveh Ghazi <ghazi@caip.rutgers.edu>
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

25 years agosparc.h (CONDITIONAL_REGISTER_USAGE): Don't use PIC_OFFSET_TABLE_REGNUM for register...
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

25 years agoupdate lib[FIU]77/configure from autoconf 2.13
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

25 years agofix up entries
Craig Burley [Wed, 24 Feb 1999 08:13:43 +0000 (03:13 -0500)]
fix up entries

From-SVN: r25395

25 years agoMakefile.in: Regen dependencies.
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

25 years agoDaily bump.
Jeff Law [Wed, 24 Feb 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r25390

25 years agojvspec.c (lang_specific_driver): Recognize -fsyntax-only and disable linking in that...
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

25 years ago
Marc Lehmann [Tue, 23 Feb 1999 10:23:02 +0000 (10:23 +0000)]

corrected a minor typoe

From-SVN: r25388

25 years agoMark failing code as XFAIL
Martin v. Löwis [Tue, 23 Feb 1999 09:11:19 +0000 (09:11 +0000)]
Mark failing code as XFAIL

From-SVN: r25387

25 years agoerrfn.c: Change varargs code to look like toplev.c.
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

25 years agoDaily bump.
Jeff Law [Tue, 23 Feb 1999 00:45:04 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r25385

25 years agoFix mips16 debug info problems with frame address.
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

25 years agoSupport ARM/Linux's armv syntax
Nick Clifton [Mon, 22 Feb 1999 17:24:21 +0000 (17:24 +0000)]
Support ARM/Linux's armv syntax

From-SVN: r25381

25 years agoApply ARM/Linux patches.
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

25 years agoNew test case from Nathan Sidwell.
Martin v. Löwis [Mon, 22 Feb 1999 16:15:42 +0000 (16:15 +0000)]
New test case from Nathan Sidwell.

From-SVN: r25379

25 years agoloop.c (libcall_other_regs): Make extern.
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

25 years agocse.c (dump_class): New function.
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

25 years agoSome insignificant corrections of the previous patch.
Vladimir Makarov [Mon, 22 Feb 1999 11:43:58 +0000 (11:43 +0000)]
Some insignificant corrections of the previous patch.

From-SVN: r25371

25 years agoconfigure.in (i[34567]86-*-linux-gnu*, [...]): Use fixinc.x86-linux-gnu as fixincludes.
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

25 years agojcf.h (UTF8_GET): Mask first byte of 3-byte encoding with 0x0f, not 0x1f.
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

25 years agoReverted to the old behavior of encoding the types.
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

25 years agoimprove wall of separation between build and install
Craig Burley [Mon, 22 Feb 1999 08:49:36 +0000 (08:49 +0000)]
improve wall of separation between build and install

From-SVN: r25367

25 years agoreduce spurious warnings using -fsyntax-only
Craig Burley [Mon, 22 Feb 1999 08:41:42 +0000 (08:41 +0000)]
reduce spurious warnings using -fsyntax-only

From-SVN: r25366

25 years agofix -fsyntax-only ICEs
Craig Burley [Mon, 22 Feb 1999 08:35:11 +0000 (08:35 +0000)]
fix -fsyntax-only ICEs

From-SVN: r25365

25 years agoc-lex.c (yylex): Replace warning about integer constants being larger than long-longs...
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

25 years agoconfigure.in (mips*-*-vxworks*): Enable gthreads vxworks support.
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

25 years agoDaily bump.
Jeff Law [Mon, 22 Feb 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r25362

25 years ago990222-1.c: New test.
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

25 years agoBump for snapshot
Jeffrey A Law [Sun, 21 Feb 1999 20:34:48 +0000 (13:34 -0700)]
Bump for snapshot

From-SVN: r25359

25 years agotm.texi: Update docs for constructors and destructors.
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

25 years agodecl2.c (start_objects): Make file scope constructors and destructors local to the...
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

25 years agoaoutos.h (ASM_OUTPUT_CONSTRUCTOR): Delete.
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

25 years agoaoutos.h (ASM_OUTPUT_CONSTRUCTOR): Delete.
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

25 years agoUpdate attribute value documentation.
Richard Henderson [Sun, 21 Feb 1999 18:39:33 +0000 (10:39 -0800)]
Update attribute value documentation.

From-SVN: r25349

25 years agogenattrtab.c (check_attr_value): Allow negative const_int if negative_ok.
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

25 years agocp-tree.h (CLASSTYPE_METHOD_VEC): Adjust comment.
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

25 years agodecl.c (build_result_decl): New method.
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

25 years agodecl.c (build_result_decl): New method.
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

25 years agodecl.c (build_result_decl): New method.
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

25 years agojcf-write.c (generate_classfile): Emit "Exceptions" attribute.
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

25 years agoMichael Hayes <m.hayes@elec.canterbury.ac.nz>
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

25 years agoregmove.c (discover_flags_reg): Remove cc0 code.
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

25 years agoDaily bump.
Jeff Law [Sun, 21 Feb 1999 00:45:03 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r25340

25 years agofix LSTAT intrinsic per Krister Walfridsson <cato@df.lth.se>
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

25 years agoFix rs6000.md typo
Franz Sirl [Sat, 20 Feb 1999 13:16:43 +0000 (13:16 +0000)]
Fix rs6000.md typo

From-SVN: r25337

25 years agostring, [...]: Revert recent change.
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

25 years ago* xm-arm.h (HOST_BITS_PER_LONGLONG): Define.
Richard Earnshaw [Sat, 20 Feb 1999 09:10:22 +0000 (09:10 +0000)]
* xm-arm.h (HOST_BITS_PER_LONGLONG): Define.

From-SVN: r25335

25 years agofix doc attributions, etc.
Craig Burley [Sat, 20 Feb 1999 02:05:58 +0000 (02:05 +0000)]
fix doc attributions, etc.

From-SVN: r25334

25 years agoDaily bump.
Jeff Law [Sat, 20 Feb 1999 00:45:03 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r25333

25 years agoregmove.c (discover_flags_reg): New function.
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

25 years agoOoops -forgot ChangeLog.
Per Bothner [Fri, 19 Feb 1999 16:33:59 +0000 (08:33 -0800)]
Ooops -forgot ChangeLog.

From-SVN: r25329

25 years agoForce left-to-right evaluation of binary operations etc.
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

25 years agoForce left-to-right evaluation of binary operations etc.
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

25 years agoForce left-to-right evaluation of binary operations etc.
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

25 years agoparse.y (obtain_incomplete_type): Don't wrap unknown types in TREE_LIST - just chain...
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

25 years agoparse.y (obtain_incomplete_type): Don't wrap unknown types in TREE_LIST - just chain...
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

25 years agoparse.y (obtain_incomplete_type): Don't wrap unknown types in TREE_LIST - just chain...
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

25 years agoparse.y (obtain_incomplete_type): Don't wrap unknown types in TREE_LIST - just chain...
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

25 years agortlanal.c (insn_first_p): Fix return value for insn == reference.
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

25 years agoupdate BUGS, INSTALL, NEWS, and their sources
Craig Burley [Fri, 19 Feb 1999 14:45:46 +0000 (14:45 +0000)]
update BUGS, INSTALL, NEWS, and their sources

From-SVN: r25320

25 years agoimprove global/filewide semantic checking
Craig Burley [Fri, 19 Feb 1999 14:05:51 +0000 (14:05 +0000)]
improve global/filewide semantic checking

From-SVN: r25319

25 years agoparse.y (check_pkg_class_access): Allow private class access within the same package.
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

25 years agoparse.y (check_pkg_class_access): Allow private class access within the same package.
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

25 years agors6000.md (scc plus eq): Fix output template.
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

25 years ago* cppinit.c (print_help): Remove unescaped newline in string.
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

25 years agoUse new TRY_FINALLY_EXPR tree node.
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

25 years agoUse new TRY_FINALLY_EXPR tree node.
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

25 years agoUse new TRY_FINALLY_EXPR tree node.
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

25 years agoUse new TRY_FINALLY_EXPR tree node.
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

25 years agoloop.c (strength_reduce): Check for intervening jumps when converting biv increment...
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

25 years agotree.def (TRY_FINALLY_EXPR, [...]): New tree nodes,
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

25 years agotree.def (TRY_FINALLY_EXPR, [...]): New tree nodes,
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

25 years agotree.def (TRY_FINALLY_EXPR, [...]): New tree nodes,
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

25 years agoAIX 4.3.2 linker bug
David Edelsohn [Fri, 19 Feb 1999 11:02:59 +0000 (06:02 -0500)]
AIX 4.3.2 linker bug

From-SVN: r25306

25 years agoupdate intdoc.texi
Craig Burley [Fri, 19 Feb 1999 09:16:31 +0000 (04:16 -0500)]
update intdoc.texi

From-SVN: r25305

25 years agonew g77 tests
Craig Burley [Fri, 19 Feb 1999 09:15:46 +0000 (09:15 +0000)]
new g77 tests

From-SVN: r25304

25 years agom68k.c (m68k_align_loops_string, [...]): Add const.
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

25 years agoDaily bump.
Jeff Law [Fri, 19 Feb 1999 00:45:03 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r25302

25 years agocp-tree.h (lvalue_or_else): Qualify a char* with the `const' keyword to match an...
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

25 years agobitmap.c (bitmap_print): Qualify a char* with the `const' keyword.
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

25 years ago* regclass.c (record_reg_classes): Correctly handle 'p' constraint.
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

25 years ago* configure.in :Handle OpenBSD platforms.
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