platform/upstream/gcc.git
25 years agonatString.cc (getBytes): Correctly size result buffer.
Tom Tromey [Wed, 21 Apr 1999 11:49:39 +0000 (11:49 +0000)]
natString.cc (getBytes): Correctly size result buffer.

* java/lang/natString.cc (getBytes): Correctly size result
buffer.  From Bryce McKinlay <bryce@albatross.co.nz>.

From-SVN: r26575

25 years agoos_dep.c: glibc 2.1 requires asm/sigcontext.h, not sigcontext.h.
Tom Tromey [Wed, 21 Apr 1999 09:42:28 +0000 (09:42 +0000)]
os_dep.c: glibc 2.1 requires asm/sigcontext.h, not sigcontext.h.

* os_dep.c: glibc 2.1 requires asm/sigcontext.h, not
sigcontext.h.  From Matthias Klose <doko@itso.de>.

From-SVN: r26574

25 years agocccp.c (simplify_filename): Always preserve leading double slash.
Mumit Khan [Wed, 21 Apr 1999 09:11:15 +0000 (09:11 +0000)]
cccp.c (simplify_filename): Always preserve leading double slash.

Wed Apr 21 12:09:38 1999  Mumit Khan  <khan@xraylith.wisc.edu>
* cccp.c (simplify_filename): Always preserve leading double slash.

From-SVN: r26573

25 years agoDaily bump.
Jeff Law [Wed, 21 Apr 1999 00:45:34 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r26572

25 years ago* config/c4x/c4x.md: Add new peepholes to remove redundant loads.
Michael Hayes [Tue, 20 Apr 1999 23:18:44 +0000 (23:18 +0000)]
* config/c4x/c4x.md: Add new peepholes to remove redundant loads.

From-SVN: r26571

25 years agoc4x.md (binary patterns): Reorder alternatives so that two operand instructions are...
Michael Hayes [Tue, 20 Apr 1999 23:12:27 +0000 (23:12 +0000)]
c4x.md (binary patterns): Reorder alternatives so that two operand instructions are chosen before three...

* config/c4x/c4x.md (binary patterns): Reorder alternatives
so that two operand instructions are chosen before three operand
instructions.

From-SVN: r26570

25 years agoMake-lang.in (objc-parse.c): Put BISON parameters in correct order.
Nathan Sidwell [Tue, 20 Apr 1999 22:47:49 +0000 (22:47 +0000)]
Make-lang.in (objc-parse.c): Put BISON parameters in correct order.

        * objc/Make-lang.in (objc-parse.c): Put BISON parameters in correct
        order.

From-SVN: r26569

25 years agoMake-lang.in (c-parse.c): Put BISON parameters in correct order.
Nathan Sidwell [Tue, 20 Apr 1999 22:43:31 +0000 (22:43 +0000)]
Make-lang.in (c-parse.c): Put BISON parameters in correct order.

        * Make-lang.in (c-parse.c): Put BISON parameters in correct
        order.
Thanks.  Installed.

From-SVN: r26568

25 years agoMake-lang.in (ch/chill.info): Put MAKEINFO parameters in correct order.
Nathan Sidwell [Tue, 20 Apr 1999 22:40:41 +0000 (22:40 +0000)]
Make-lang.in (ch/chill.info): Put MAKEINFO parameters in correct order.

        * Make-lang.in (ch/chill.info): Put MAKEINFO parameters in correct
        order.

From-SVN: r26567

25 years agocp-tree.h (build_binary_op): Remove unneeded parameter.
Mark Mitchell [Tue, 20 Apr 1999 21:48:52 +0000 (21:48 +0000)]
cp-tree.h (build_binary_op): Remove unneeded parameter.

* cp-tree.h (build_binary_op): Remove unneeded parameter.
* class.c (build_vrable_entry_ref): Adjust call to
build_binary_op.
* decl.c (expand_static_init): Likewise.
(grokdeclarator): Likewise.
(finish_function): Likewise.
* decl2.c (delete_sanity): Likewise.
(do_dtors): Likewise.
(do_ctors): Likewise.
* error.c (dump_type_suffix): Likewise.
* expr.c (cplus_expand_expr): Likewise.
* init.c (resolve_offset_ref): Likewise.
(build_new): Likewise.
(build_new_1): Likewise.
(build_vec_delete_1): Likewise.
(expand_vec_init_catch_clause): Likewise.
(build_delete): Likewise.
* pt.c (tsubst): Likewise.
* rtti.c (synthesize_tinfo_fn): Likewise.
* search.c (expand_upcast_fixups): Likewise.
(expand_direct_vtbls_init): Likewise.
* typeck.c (get_member_function_from_ptrfunc): Likewise.
(build_binary_op_nodefault): Likewise.
(point_int_sum): Likewise.
(pointer_diff): Likewise.
(build_unary_op): Likewise.
(build_modify_expr): Likewise.
(get_delta_difference): Likewise.
(build_ptrmemfunc): Likewise.
(expand_ptrmemfunc_cst): Likewise.

From-SVN: r26566

25 years agoalpha.md (nt_lda): New pattern.
Richard Henderson [Tue, 20 Apr 1999 16:44:09 +0000 (09:44 -0700)]
alpha.md (nt_lda): New pattern.

        * alpha.md (nt_lda): New pattern.
        * alpha.c (alpha_expand_prologue): Use it for large frames
        under windows nt.

From-SVN: r26565

25 years agoarm.md (movhi): Add check for odd offset.
Catherine Moore [Tue, 20 Apr 1999 16:42:31 +0000 (16:42 +0000)]
arm.md (movhi): Add check for odd offset.

Tue Apr 20 17:57:14 1999  Catherine Moore  <clm@cygnus.com>
        * config/arm/arm.md (movhi):  Add check for odd offset.

From-SVN: r26564

25 years ago*** empty log message ***
Jim Blandy [Tue, 20 Apr 1999 11:02:02 +0000 (11:02 +0000)]
*** empty log message ***

From-SVN: r26563

25 years agoFix from Dale Hawkins:
Jim Blandy [Tue, 20 Apr 1999 11:00:27 +0000 (11:00 +0000)]
Fix from Dale Hawkins:

* cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
reallocated properly if we use it again.
* cplus-dem.c (demangle_fund_type): Check for buffer overrun.  Be
stricter about syntax.  Always null-terminate string.

From-SVN: r26562

25 years agoi386.c (output_move_double): Abort if a non-offsettable memory operand is encountered.
John Wehle [Tue, 20 Apr 1999 10:18:33 +0000 (10:18 +0000)]
i386.c (output_move_double): Abort if a non-offsettable memory operand is encountered.

* i386.c (output_move_double): Abort if a non-offsettable
memory operand is encountered.  Delete unused code.
(find_addr_reg): Remove.

From-SVN: r26561

25 years agosparc-signal.h: new file.
Andrew Haley [Tue, 20 Apr 1999 06:27:11 +0000 (06:27 +0000)]
sparc-signal.h: new file.

1999-04-20  Andrew Haley  <aph@cygnus.com>
        * include/sparc-signal.h: new file.
        * configure.in: include/sparc-signal.h added.
        * configure: regenerated.
        * prims.cc (JvRunMain): signal handling code rewritten to be more
        portable.
        (catch_segv): ditto.
        (catch_fpe): ditto.
        * include/i386-signal.h: reorganized.
        * include/default-signal.h: reorganized.

From-SVN: r26560

25 years agonew
Jason Merrill [Tue, 20 Apr 1999 01:21:00 +0000 (21:21 -0400)]
new

From-SVN: r26559

25 years agodecl.c (grokfndecl): Always call cplus_decl_attributes.
Jason Merrill [Tue, 20 Apr 1999 01:20:07 +0000 (01:20 +0000)]
decl.c (grokfndecl): Always call cplus_decl_attributes.

* decl.c (grokfndecl): Always call cplus_decl_attributes.
* decl2.c (grokfield): Pass attrlist to grokdeclarator.

From-SVN: r26558

25 years agoDaily bump.
Jeff Law [Tue, 20 Apr 1999 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r26557

25 years agoupdate BUGS, INSTALL, NEWS derived files
Craig Burley [Mon, 19 Apr 1999 22:43:40 +0000 (18:43 -0400)]
update BUGS, INSTALL, NEWS derived files

From-SVN: r26556

25 years agoclarify -malign-double situation
Craig Burley [Mon, 19 Apr 1999 22:42:00 +0000 (22:42 +0000)]
clarify -malign-double situation

From-SVN: r26555

25 years agoFix DATA repeat-count bug
Craig Burley [Mon, 19 Apr 1999 22:27:05 +0000 (22:27 +0000)]
Fix DATA repeat-count bug

From-SVN: r26554

25 years agofix DO WHILE
Craig Burley [Mon, 19 Apr 1999 21:38:54 +0000 (21:38 +0000)]
fix DO WHILE

From-SVN: r26553

25 years agonew tests, derived from bug-reports from Toon and Tim
Craig Burley [Mon, 19 Apr 1999 21:29:25 +0000 (21:29 +0000)]
new tests, derived from bug-reports from Toon and Tim

From-SVN: r26552

25 years agofix typo in comment
Craig Burley [Mon, 19 Apr 1999 18:16:33 +0000 (18:16 +0000)]
fix typo in comment

From-SVN: r26551

25 years agolang.c (lang_decode_option): Fixed returned value when parsing `-fxref=...' and ...
Alexandre Petit-Bianco [Mon, 19 Apr 1999 15:45:57 +0000 (15:45 +0000)]
lang.c (lang_decode_option): Fixed returned value when parsing `-fxref=...' and `-Wall'.

Mon Apr 19 14:44:48 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
* lang.c (lang_decode_option): Fixed returned value when parsing
  `-fxref=...' and `-Wall'.
* parse.y (source_end_java_method): Do not generate code when
  flag_emit_xref is set.
(resolve_expression_name): Do not build static field access when
  flag_emit_xref is set.
(resolve_field_access): No special treatement on `length' when
  flag_emit_xref is set. Do not build qualified static field access
  when flag_emit_xref is set.
(patch_invoke): Keep the method DECL as operand 0 of the CALL_EXPR
  when flag_emit_xref is set.
(patch_assignment): Do not generate array store runtime check when
  flag_emit_xref is set.
* xref.c (xref_flag_value): Fixed function declaration
  indentation.
(xset_set_data): New function.
* xref.h (xref_set_data): Added prototype for new function.
(typedef struct xref_flag_table): New field data.
(XREF_GET_DATA): New macro.

From-SVN: r26550

25 years agoBack out accidental commit of unrelated patch
Zack Weinberg [Mon, 19 Apr 1999 15:23:57 +0000 (15:23 +0000)]
Back out accidental commit of unrelated patch

From-SVN: r26549

25 years agocp-tree.h (finish_static_data_member_decl): New function.
Mark Mitchell [Mon, 19 Apr 1999 12:23:55 +0000 (12:23 +0000)]
cp-tree.h (finish_static_data_member_decl): New function.

* cp-tree.h (finish_static_data_member_decl): New function.
* decl2.c (finish_static_data_member_decl): Split out from ...
(grokfield): Here.
* pt.c (instantiate_class_template): Use it here instead of
trying to fake it.
(tsubst_decl): Don't set DECL_ASSEMBLER_NAME;
finish_static_data_member_decl will do that.  Explicit set
DECL_EXTERNAL to match non-template processing.

From-SVN: r26548

25 years agocpplib.c (output_line_command): Drop CONDITIONAL argument.
Zack Weinberg [Mon, 19 Apr 1999 11:55:04 +0000 (11:55 +0000)]
cpplib.c (output_line_command): Drop CONDITIONAL argument.

1999-04-19 14:51 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
* cpplib.c (output_line_command): Drop CONDITIONAL argument.
We can omit unnecessary line commands if file_change ==
same_file and pfile->lineno != 0.  All callers changed.
(cpp_get_token [case '\n']): Don't bump pfile->lineno if
CPP_OPTIONS (pfile)->no_line_commands is set.
* cpplib.h: Fix prototype of output_line_command.

From-SVN: r26547

25 years agoxref.h (enum): Removed trailing comma.
Tom Tromey [Mon, 19 Apr 1999 10:20:27 +0000 (10:20 +0000)]
xref.h (enum): Removed trailing comma.

* xref.h (enum): Removed trailing comma.
* parse.y (resolve_qualified_expression_name): Added missing
`break'.

From-SVN: r26546

25 years agonatSystem.cc (init_properties): Only declare pwd_entry once.
Tom Tromey [Mon, 19 Apr 1999 09:43:18 +0000 (09:43 +0000)]
natSystem.cc (init_properties): Only declare pwd_entry once.

* java/lang/natSystem.cc (init_properties): Only declare pwd_entry
once.  From Anthony Green.

From-SVN: r26545

25 years agoMakefile.in: Processed with new automake.
Andrew Haley [Mon, 19 Apr 1999 07:57:04 +0000 (07:57 +0000)]
Makefile.in: Processed with new automake.

1999-04-19  Andrew Haley  <aph@cygnus.com>
        * Makefile.in: Processed with new automake.

From-SVN: r26544

25 years ago* include/javaprims.h: Removed security namespace.
Tom Tromey [Mon, 19 Apr 1999 07:48:02 +0000 (07:48 +0000)]
* include/javaprims.h: Removed security namespace.

From-SVN: r26543

25 years agoDaily bump.
Jeff Law [Mon, 19 Apr 1999 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r26542

25 years ago* java/io/PrintStream.java (println): Remove extra println.
Anthony Green [Sun, 18 Apr 1999 22:22:44 +0000 (22:22 +0000)]
* java/io/PrintStream.java (println): Remove extra println.

From-SVN: r26541

25 years agofix crashes on I/O statements involving COMMON variables
Craig Burley [Sun, 18 Apr 1999 18:58:04 +0000 (18:58 +0000)]
fix crashes on I/O statements involving COMMON variables

From-SVN: r26540

25 years agocppfiles.c (find_position, [...]): Use `unsigned long' variables consistently to...
Zack Weinberg [Sun, 18 Apr 1999 14:54:35 +0000 (14:54 +0000)]
cppfiles.c (find_position, [...]): Use `unsigned long' variables consistently to count line and column numbers.

1999-04-18 17:46 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
* cppfiles.c (find_position, read_and_prescan): Use `unsigned
long' variables consistently to count line and column numbers.

From-SVN: r26539

25 years agooutput.h (current_function_is_leaf, [...]): Declare.
John Wehle [Sun, 18 Apr 1999 13:09:37 +0000 (13:09 +0000)]
output.h (current_function_is_leaf, [...]): Declare.

* output.h (current_function_is_leaf,
current_function_uses_only_leaf_regs): Declare.
* function.c (current_function_is_leaf,
current_function_uses_only_leaf_regs): Define.
(init_function_start): Initialize current_function_is_leaf
and current_function_uses_only_leaf_regs.
* final.c (leaf_function): Don't define.
(final_start_function): Replace uses of leaf_function with
current_function_uses_only_leaf_regs.
* toplev.c (rest_of_compilation): Set current_function_is_leaf
prior to invoking local register allocation.
(rest_of_compilation): Replace uses of leaf_function with
current_function_uses_only_leaf_regs.
* dbxout.c (dbxout_symbol, dbxout_parms): Likewise.
* dwarf2out.c (add_location_or_const_vaule_attribute): Likewise.
* dwarfout.c (add_location_or_const_value_attribute): Likewise.
* sdbout.c (sdbout_symbol): Likewise.
* sparc.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
* sparc.c (eligible_for_epilogue_delay, output_return,
sparc_return_peephole_ok): Likewise.
* sparc.md (leaf_function attribute, untyped_return): Likewise.
* i386.c (ix86_compute_frame_size): Don't align the stack
for leaf functions which don't allocate any stack slots.
* tm.texi: Update documentation.

From-SVN: r26538

25 years agocp-tree.h (finish_class_definition): Add parameter.
Mark Mitchell [Sun, 18 Apr 1999 10:58:42 +0000 (10:58 +0000)]
cp-tree.h (finish_class_definition): Add parameter.

* cp-tree.h (finish_class_definition): Add parameter.
* parse.y (structsp): Use it.  Don't call pop_scope here.
* parse.c: Regenerated.
* semantics.c (finish_class_definition): Pop it here.

From-SVN: r26537

25 years agoMakefile.in: Rebuilt.
Anthony Green [Sun, 18 Apr 1999 08:24:30 +0000 (08:24 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Add new security files.
* java/security/NoSuchAlgorithmException.java,
java/security/MessageDigest.java: New files.
* include/javaprims.h: Add security namespace.

From-SVN: r26536

25 years agoBump for snapshot
Jeffrey A Law [Sun, 18 Apr 1999 02:15:18 +0000 (20:15 -0600)]
Bump for snapshot

From-SVN: r26534

25 years agoMisapplied patch.
Richard Henderson [Sun, 18 Apr 1999 01:35:07 +0000 (18:35 -0700)]
Misapplied patch.

From-SVN: r26533

25 years agoDaily bump.
Jeff Law [Sun, 18 Apr 1999 00:45:05 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r26532

25 years agoalpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Correct last change -- make sure FP_BASE_P...
Richard Henderson [Sun, 18 Apr 1999 00:10:06 +0000 (17:10 -0700)]
alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Correct last change -- make sure FP_BASE_P registers are only used with an integer.

        * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Correct last change --
        make sure FP_BASE_P registers are only used with an integer.

From-SVN: r26531

25 years agoalpha.h (REG_OK_FP_BASE_P): New macro.
Richard Henderson [Sat, 17 Apr 1999 23:31:34 +0000 (16:31 -0700)]
alpha.h (REG_OK_FP_BASE_P): New macro.

        * alpha.h (REG_OK_FP_BASE_P): New macro.
        (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Use it.
        * alpha.md (adddi3+1): New insn to handle large constants off
        the soft frame pointer.
        (adddi3+2): Don't split soft frame pointer or arg pointer additions.

From-SVN: r26530

25 years agoc4x.c (legitimize_operands): Use rtx_cost to determine if it is worthwhile forcing...
Michael Hayes [Sat, 17 Apr 1999 22:27:41 +0000 (22:27 +0000)]
c4x.c (legitimize_operands): Use rtx_cost to determine if it is worthwhile forcing a constant into a register.

* config/c4x/c4x.c (legitimize_operands): Use rtx_cost
to determine if it is worthwhile forcing a constant into a register.
* config/c4x/c4x.h (CONST_COSTS): An integer value of 255 or 65535
used with a logical and or an integer value of 16 or 24 used with
a right shift has zero cost on the C40.

From-SVN: r26529

25 years agoBernd Schmidt <crux@pool.informatik.rwth-aachen.de>
Bernd Schmidt [Sat, 17 Apr 1999 21:33:24 +0000 (21:33 +0000)]
Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>

Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
        * gcse.c (compute_local_properties): If setp is nonzero, clear
        TRANSP instead of setting it to all ones.

From-SVN: r26528

25 years agoi386.c (i386_preferred_stack_boundary_string): New global variable.
Jan Hubicka [Sat, 17 Apr 1999 21:13:53 +0000 (23:13 +0200)]
i386.c (i386_preferred_stack_boundary_string): New global variable.

        * i386.c (i386_preferred_stack_boundary_string): New global variable.
        (i386_preferred_stack_boundary): New global variable.
        (override_functions): Set it.  Tidy option setting code.
        * i386.h (TARGET_OPTIONS): New command line option.
        (i386_preferred_stack_boundary_string): Declare it.
        (i386_preferred_stack_boundary): Likewise.
        (PREFERRED_STACK_BOUNDARY): Use i386_preferred_stack_boundary.

From-SVN: r26527

25 years ago* i386.c (k6_cost): Take into account the decoding time.
Jan Hubicka [Sat, 17 Apr 1999 19:23:54 +0000 (21:23 +0200)]
* i386.c (k6_cost): Take into account the decoding time.

From-SVN: r26526

25 years agoDonn Terry <donn@interix.com>
Richard Henderson [Sat, 17 Apr 1999 19:15:29 +0000 (12:15 -0700)]
Donn Terry <donn@interix.com>

Donn Terry  <donn@interix.com>
        * i386.h (PRINT_OPERAND_PUNCT_VALID_P): Allow _.
        * i386.c (print_operand): New %_ operator.
        (load_pic_register): Proper number of leading _ in GOT literal.
        * i386.md (prologue_get_pc_and_set_got): Likewise.
        * i386/unix.h (ASM_OUTPUT_MI_THUNK): Likewise.

From-SVN: r26525

25 years agoalpha.c (alpha_expand_prologue): Use gen_adddi3 instead of emit_move_insn+plus_constant.
Richard Henderson [Sat, 17 Apr 1999 19:03:04 +0000 (12:03 -0700)]
alpha.c (alpha_expand_prologue): Use gen_adddi3 instead of emit_move_insn+plus_constant.

        * alpha.c (alpha_expand_prologue): Use gen_adddi3 instead of
        emit_move_insn+plus_constant.  For NT, don't use the stack probe
        loop pointer to allocate stack space.
        * alpha.md (adddi3): Always use lda to set the stack pointer.

From-SVN: r26524

25 years agoc-aux-info.c, [...]: Include toplev.h for real declaration of trim_filename.
Zack Weinberg [Sat, 17 Apr 1999 17:14:58 +0000 (17:14 +0000)]
c-aux-info.c, [...]: Include toplev.h for real declaration of trim_filename.

1999-04-17 20:11 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
* c-aux-info.c, emit-rtl.c, explow.c, expmed.c, gcse.c,
haifa-sched.c, optabs.c, reorg.c, resource.c, sched.c: Include
toplev.h for real declaration of trim_filename.
* Makefile.in: Update dependencies.

From-SVN: r26523

25 years agouninit-9.c (func): Use __builtin_alloca instead of alloca to avoid the need for a...
Richard Henderson [Sat, 17 Apr 1999 16:58:31 +0000 (09:58 -0700)]
uninit-9.c (func): Use __builtin_alloca instead of alloca to avoid the need for a prototype to...

        * gcc.dg/uninit-9.c (func): Use __builtin_alloca instead of alloca
        to avoid the need for a prototype to supress a warning.

From-SVN: r26522

25 years agobetter support SMP builds in libf2c
Craig Burley [Sat, 17 Apr 1999 14:37:14 +0000 (14:37 +0000)]
better support SMP builds in libf2c

From-SVN: r26521

25 years agodecl.c (xref_tag): Revise handling of nested template declarations.
Mark Mitchell [Sat, 17 Apr 1999 14:15:29 +0000 (14:15 +0000)]
decl.c (xref_tag): Revise handling of nested template declarations.

* decl.c (xref_tag): Revise handling of nested template
declarations.
* pt.c (check_explicit_specialization): Tweak handling of friend
templates in template classes.
(tsubst_friend_class): Handle friend declarations for nested
member template classes.

From-SVN: r26520

25 years agoremove -fugly, other doc fixes
Craig Burley [Sat, 17 Apr 1999 14:09:21 +0000 (14:09 +0000)]
remove -fugly, other doc fixes

From-SVN: r26519

25 years agoforgot to add ffe.texi, the actual g77 front-end internals docs
Craig Burley [Sat, 17 Apr 1999 11:45:01 +0000 (07:45 -0400)]
forgot to add ffe.texi, the actual g77 front-end internals docs

From-SVN: r26518

25 years agoCheck for circularity only if ENABLE_CHECKING is defined
Craig Burley [Sat, 17 Apr 1999 11:43:57 +0000 (11:43 +0000)]
Check for circularity only if ENABLE_CHECKING is defined

From-SVN: r26517

25 years agoadd g77 front-end internals docs
Craig Burley [Sat, 17 Apr 1999 11:09:20 +0000 (11:09 +0000)]
add g77 front-end internals docs

From-SVN: r26516

25 years agorewrite to use block/scope structure of GBE
Craig Burley [Sat, 17 Apr 1999 10:58:35 +0000 (10:58 +0000)]
rewrite to use block/scope structure of GBE

From-SVN: r26515

25 years agocccp.c: Make fatal non-static.
Zack Weinberg [Sat, 17 Apr 1999 07:16:26 +0000 (07:16 +0000)]
cccp.c: Make fatal non-static.

1999-04-17 10:15 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
* cccp.c: Make fatal non-static.

From-SVN: r26514

25 years agoc4x.md (*andqi3_255_clobber,*andqi3_65535_clobber): New logical and patterns using...
Michael Hayes [Sat, 17 Apr 1999 04:52:39 +0000 (04:52 +0000)]
c4x.md (*andqi3_255_clobber,*andqi3_65535_clobber): New logical and patterns using C40 bit-field insert instructions.

* config/c4x/c4x.md (*andqi3_255_clobber,*andqi3_65535_clobber):
New logical and patterns using C40 bit-field insert instructions.
(*lshrqi3_24_clobber,*ashrqi3_24_clobber,*lshrqi3_16_clobber,
*ashrqi3_16_clobber): New shift patterns using C40 bit-field insert
instructions.

From-SVN: r26513

25 years agoDaily bump.
Jeff Law [Sat, 17 Apr 1999 00:45:05 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r26512

25 years agosystem.h: Always prototype abort.
Zack Weinberg [Fri, 16 Apr 1999 19:52:44 +0000 (19:52 +0000)]
system.h: Always prototype abort.

1999-04-16 22:44 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
* system.h: Always prototype abort.  Prototype fatal.  Define
abort to call fatal, not fprintf/exit.  Define a stub macro
for trim_filename.
* toplev.c: Define DIR_SEPARATOR.  (trim_filename): New
function.
* toplev.h: Prototype trim_filename, and #undef system.h's stub.
* gcc.c, genattr.c, genattrtab.c, gencodes.c, genconfig.c,
genemit.c, genextract.c, genflags.c, genopinit.c, genoutput.c,
genpeep.c, genrecog.c: Make fatal non-static.
* gcov.c, gengenrtl.c, protoize.c: #undef abort after
including system.h.
* config/i386/dgux.h, config/m68k/xm-amix.h: Remove stale code
relating to abort.

From-SVN: r26511

25 years agoNote char-conversion-related optimizations.
Per Bothner [Fri, 16 Apr 1999 18:41:12 +0000 (11:41 -0700)]
Note char-conversion-related optimizations.

From-SVN: r26510

25 years agoInputStreamReader.java (<init>): Set super.in correctly.
Per Bothner [Fri, 16 Apr 1999 18:35:02 +0000 (11:35 -0700)]
InputStreamReader.java (<init>): Set super.in correctly.


* java/io/InputStreamReader.java (<init>):  Set super.in correctly.
* java/io/OutputStreamWriter.java (<init>):  Set super.in correctly.
(writeChars):  Don't be quite so eager to flush.
* java/io/PrintStream.java:  Rewrite.  Now more similar to
OutputStreamWriter, using explicit UnicodeToBytes converter.
Also, autoflush does not need to flush so often.
* java/lang/natString.cc (getBytes):  More efficient algorithm.
  (init(jbyteArray,jint,jint,jstring)):  More efficient.

From-SVN: r26509

25 years agoInputStreamReader.java (<init>): Set super.in correctly.
Per Bothner [Fri, 16 Apr 1999 18:34:58 +0000 (11:34 -0700)]
InputStreamReader.java (<init>): Set super.in correctly.


* java/io/InputStreamReader.java (<init>):  Set super.in correctly.
* java/io/OutputStreamWriter.java (<init>):  Set super.in correctly.
(writeChars):  Don't be quite so eager to flush.
* java/io/PrintStream.java:  Rewrite.  Now more similar to
OutputStreamWriter, using explicit UnicodeToBytes converter.
Also, autoflush does not need to flush so often.
* java/lang/natString.cc (getBytes):  More efficient algorithm.
  (init(jbyteArray,jint,jint,jstring)):  More efficient.

From-SVN: r26508

25 years agoclass.c (finish_struct): Remove unused variable.
Mark Mitchell [Fri, 16 Apr 1999 18:06:34 +0000 (18:06 +0000)]
class.c (finish_struct): Remove unused variable.

* class.c (finish_struct): Remove unused variable.
(pushclass): Likewise.
(invalidate_class_lookup_cache): Likewise.
* cp-tree.def (TYPENAME_TYPE): Improve documentation.
* decl.c (build_typename_type): Make sure TYPENAME_TYPE_FULLNAME
doesn't get obliterated.
(make_typename_type): Handle template classes correctly.

From-SVN: r26507

25 years agotweak spelling
Jason Merrill [Fri, 16 Apr 1999 18:04:47 +0000 (14:04 -0400)]
tweak spelling

From-SVN: r26506

25 years agoMakefile.am: Various changes for new files and conversions.
Per Bothner [Fri, 16 Apr 1999 17:31:26 +0000 (17:31 +0000)]
Makefile.am: Various changes for new files and conversions.


* Makefile.am:  Various changes for new files and conversions.

From-SVN: r26505

25 years agoMakefile.am: Various changes for new files and conversions.
Per Bothner [Fri, 16 Apr 1999 17:31:24 +0000 (10:31 -0700)]
Makefile.am: Various changes for new files and conversions.

0
* Makefile.am:  Various changes for new files and conversions.

From-SVN: r26504

25 years agoJIS0201.h: New file, generated from Unicode table.
Per Bothner [Fri, 16 Apr 1999 17:25:08 +0000 (10:25 -0700)]
JIS0201.h: New file, generated from Unicode table.

* gnu/gcj/convert/JIS0201.h:  New file, generated from Unicode table.
* gnu/gcj/convert/Input_JavaSrc.java: New BytesToUnicode class.
* gnu/gcj/convert/Input_SJIS.java: New BytesToUnicode class.
* gnu/gcj/convert/Output_EUCJIS.java:  New UnicodeToBytes class.
* gnu/gcj/convert/Output_SJIS.java:  New UnicodeToBytes class.
* gnu/gcj/convert/natInput_EUCJIS.cc:  New file.
* gnu/gcj/convert/natInput_SJIS.cc:  New file.
* gnu/gcj/convert/natOutput_EUCJIS.cc:  New file.
* gnu/gcj/convert/natOutput_SJIS.cc:  New file.
* gnu/gcj/convert/make-trie.c:  New file: functions to make a trie.
* gnu/gcj/convert/gen-from-JIS.c:  Invoke make-trie for output.
* gnu/gcj/convert/Unicode_to_JIS.cc:  New generated trie table.

From-SVN: r26503

25 years agoJIS0201.h: New file, generated from Unicode table.
Per Bothner [Fri, 16 Apr 1999 17:25:08 +0000 (10:25 -0700)]
JIS0201.h: New file, generated from Unicode table.


* gnu/gcj/convert/JIS0201.h:  New file, generated from Unicode table.
* gnu/gcj/convert/Input_JavaSrc.java: New BytesToUnicode class.
* gnu/gcj/convert/Input_SJIS.java: New BytesToUnicode class.
* gnu/gcj/convert/Output_EUCJIS.java:  New UnicodeToBytes class.
* gnu/gcj/convert/Output_SJIS.java:  New UnicodeToBytes class.
* gnu/gcj/convert/natInput_EUCJIS.cc:  New file.
* gnu/gcj/convert/natInput_SJIS.cc:  New file.
* gnu/gcj/convert/natOutput_EUCJIS.cc:  New file.
* gnu/gcj/convert/natOutput_SJIS.cc:  New file.
* gnu/gcj/convert/make-trie.c:  New file: functions to make a trie.
* gnu/gcj/convert/gen-from-JIS.c:  Invoke make-trie for output.
* gnu/gcj/convert/Unicode_to_JIS.cc:  New generated trie table.

From-SVN: r26502

25 years agoJIS0201.h: New file, generated from Unicode table.
Per Bothner [Fri, 16 Apr 1999 17:25:08 +0000 (10:25 -0700)]
JIS0201.h: New file, generated from Unicode table.


* gnu/gcj/convert/JIS0201.h:  New file, generated from Unicode table.
* gnu/gcj/convert/Input_JavaSrc.java: New BytesToUnicode class.
* gnu/gcj/convert/Input_SJIS.java: New BytesToUnicode class.
* gnu/gcj/convert/Output_EUCJIS.java:  New UnicodeToBytes class.
* gnu/gcj/convert/Output_SJIS.java:  New UnicodeToBytes class.
* gnu/gcj/convert/natInput_EUCJIS.cc:  New file.
* gnu/gcj/convert/natInput_SJIS.cc:  New file.
* gnu/gcj/convert/natOutput_EUCJIS.cc:  New file.
* gnu/gcj/convert/natOutput_SJIS.cc:  New file.
* gnu/gcj/convert/make-trie.c:  New file: functions to make a trie.
* gnu/gcj/convert/gen-from-JIS.c:  Invoke make-trie for output.
* gnu/gcj/convert/Unicode_to_JIS.cc:  New generated trie table.

From-SVN: r26501

25 years agoJIS0201.h: New file, generated from Unicode table.
Per Bothner [Fri, 16 Apr 1999 17:25:07 +0000 (10:25 -0700)]
JIS0201.h: New file, generated from Unicode table.

h
* gnu/gcj/convert/JIS0201.h:  New file, generated from Unicode table.
* gnu/gcj/convert/Input_JavaSrc.java: New BytesToUnicode class.
* gnu/gcj/convert/Input_SJIS.java: New BytesToUnicode class.
* gnu/gcj/convert/Output_EUCJIS.java:  New UnicodeToBytes class.
* gnu/gcj/convert/Output_SJIS.java:  New UnicodeToBytes class.
* gnu/gcj/convert/natInput_EUCJIS.cc:  New file.
* gnu/gcj/convert/natInput_SJIS.cc:  New file.
* gnu/gcj/convert/natOutput_EUCJIS.cc:  New file.
* gnu/gcj/convert/natOutput_SJIS.cc:  New file.
* gnu/gcj/convert/make-trie.c:  New file: functions to make a trie.
* gnu/gcj/convert/gen-from-JIS.c:  Invoke make-trie for output.
* gnu/gcj/convert/Unicode_to_JIS.cc:  New generated trie table.

From-SVN: r26500

25 years agoJIS0201.h: New file, generated from Unicode table.
Per Bothner [Fri, 16 Apr 1999 17:25:04 +0000 (10:25 -0700)]
JIS0201.h: New file, generated from Unicode table.

8
* gnu/gcj/convert/JIS0201.h:  New file, generated from Unicode table.
* gnu/gcj/convert/Input_JavaSrc.java: New BytesToUnicode class.
* gnu/gcj/convert/Input_SJIS.java: New BytesToUnicode class.
* gnu/gcj/convert/Output_EUCJIS.java:  New UnicodeToBytes class.
* gnu/gcj/convert/Output_SJIS.java:  New UnicodeToBytes class.
* gnu/gcj/convert/natInput_EUCJIS.cc:  New file.
* gnu/gcj/convert/natInput_SJIS.cc:  New file.
* gnu/gcj/convert/natOutput_EUCJIS.cc:  New file.
* gnu/gcj/convert/natOutput_SJIS.cc:  New file.
* gnu/gcj/convert/make-trie.c:  New file: functions to make a trie.
* gnu/gcj/convert/gen-from-JIS.c:  Invoke make-trie for output.
* gnu/gcj/convert/Unicode_to_JIS.cc:  New generated trie table.

From-SVN: r26499

25 years agoJIS0201.h: New file, generated from Unicode table.
Per Bothner [Fri, 16 Apr 1999 17:25:04 +0000 (10:25 -0700)]
JIS0201.h: New file, generated from Unicode table.

`
* gnu/gcj/convert/JIS0201.h:  New file, generated from Unicode table.
* gnu/gcj/convert/Input_JavaSrc.java: New BytesToUnicode class.
* gnu/gcj/convert/Input_SJIS.java: New BytesToUnicode class.
* gnu/gcj/convert/Output_EUCJIS.java:  New UnicodeToBytes class.
* gnu/gcj/convert/Output_SJIS.java:  New UnicodeToBytes class.
* gnu/gcj/convert/natInput_EUCJIS.cc:  New file.
* gnu/gcj/convert/natInput_SJIS.cc:  New file.
* gnu/gcj/convert/natOutput_EUCJIS.cc:  New file.
* gnu/gcj/convert/natOutput_SJIS.cc:  New file.
* gnu/gcj/convert/make-trie.c:  New file: functions to make a trie.
* gnu/gcj/convert/gen-from-JIS.c:  Invoke make-trie for output.
* gnu/gcj/convert/Unicode_to_JIS.cc:  New generated trie table.

From-SVN: r26498

25 years agoJIS0201.h: New file, generated from Unicode table.
Per Bothner [Fri, 16 Apr 1999 17:25:03 +0000 (10:25 -0700)]
JIS0201.h: New file, generated from Unicode table.


* gnu/gcj/convert/JIS0201.h:  New file, generated from Unicode table.
* gnu/gcj/convert/Input_JavaSrc.java: New BytesToUnicode class.
* gnu/gcj/convert/Input_SJIS.java: New BytesToUnicode class.
* gnu/gcj/convert/Output_EUCJIS.java:  New UnicodeToBytes class.
* gnu/gcj/convert/Output_SJIS.java:  New UnicodeToBytes class.
* gnu/gcj/convert/natInput_EUCJIS.cc:  New file.
* gnu/gcj/convert/natInput_SJIS.cc:  New file.
* gnu/gcj/convert/natOutput_EUCJIS.cc:  New file.
* gnu/gcj/convert/natOutput_SJIS.cc:  New file.
* gnu/gcj/convert/make-trie.c:  New file: functions to make a trie.
* gnu/gcj/convert/gen-from-JIS.c:  Invoke make-trie for output.
* gnu/gcj/convert/Unicode_to_JIS.cc:  New generated trie table.

From-SVN: r26497

25 years agoJIS0201.h: New file, generated from Unicode table.
Per Bothner [Fri, 16 Apr 1999 17:25:00 +0000 (10:25 -0700)]
JIS0201.h: New file, generated from Unicode table.


* gnu/gcj/convert/JIS0201.h:  New file, generated from Unicode table.
* gnu/gcj/convert/Input_JavaSrc.java: New BytesToUnicode class.
* gnu/gcj/convert/Input_SJIS.java: New BytesToUnicode class.
* gnu/gcj/convert/Output_EUCJIS.java:  New UnicodeToBytes class.
* gnu/gcj/convert/Output_SJIS.java:  New UnicodeToBytes class.
* gnu/gcj/convert/natInput_EUCJIS.cc:  New file.
* gnu/gcj/convert/natInput_SJIS.cc:  New file.
* gnu/gcj/convert/natOutput_EUCJIS.cc:  New file.
* gnu/gcj/convert/natOutput_SJIS.cc:  New file.
* gnu/gcj/convert/make-trie.c:  New file: functions to make a trie.
* gnu/gcj/convert/gen-from-JIS.c:  Invoke make-trie for output.
* gnu/gcj/convert/Unicode_to_JIS.cc:  New generated trie table.

From-SVN: r26496

25 years agoFix truncated comments.
Per Bothner [Fri, 16 Apr 1999 17:24:06 +0000 (10:24 -0700)]
Fix truncated comments.

From-SVN: r26495

25 years agoUnicodeToBytes.java (write(String,int,int,char[])): New overloading, allows greater...
Per Bothner [Fri, 16 Apr 1999 17:22:02 +0000 (10:22 -0700)]
UnicodeToBytes.java (write(String,int,int,char[])): New overloading, allows greater efficiency.


* gnu/gcj/convert/UnicodeToBytes.java (write(String,int,int,char[])):
New overloading, allows greater efficiency.
* gnu/gcj/convert/Output_8859_1.java (write(String,int,int,char[])):
New overloading (for efficiency - avoids copying).
* gnu/gcj/convert/Output_UTF8.java:  Fix typo: 0xC0 -> 0c3F.
* gnu/gcj/convert/Input_UTF8.java:  Fix typos in bit masks.

From-SVN: r26494

25 years agoUnicodeToBytes.java (write(String,int,int,char[])): New overloading, allows greater...
Per Bothner [Fri, 16 Apr 1999 17:21:59 +0000 (10:21 -0700)]
UnicodeToBytes.java (write(String,int,int,char[])): New overloading, allows greater efficiency.


* gnu/gcj/convert/UnicodeToBytes.java (write(String,int,int,char[])):
New overloading, allows greater efficiency.
* gnu/gcj/convert/Output_8859_1.java (write(String,int,int,char[])):
New overloading (for efficiency - avoids copying).
* gnu/gcj/convert/Output_UTF8.java:  Fix typo: 0xC0 -> 0c3F.
* gnu/gcj/convert/Input_UTF8.java:  Fix typos in bit masks.

From-SVN: r26493

25 years agoc4x.md (mulqf3_clrqf_clobber, [...]): New patterns to support parallel multiply and...
Michael Hayes [Fri, 16 Apr 1999 16:36:07 +0000 (16:36 +0000)]
c4x.md (mulqf3_clrqf_clobber, [...]): New patterns to support parallel multiply and load of zero.

* config/c4x/c4x.md (mulqf3_clrqf_clobber, mulqi3_clrqi_clobber):
New patterns to support parallel multiply and load of zero.

From-SVN: r26492

25 years agocp-tree.h (TREE_NONLOCAL_FLAG): Remove.
Mark Mitchell [Fri, 16 Apr 1999 13:16:50 +0000 (13:16 +0000)]
cp-tree.h (TREE_NONLOCAL_FLAG): Remove.

* cp-tree.h (TREE_NONLOCAL_FLAG): Remove.
(storetags): Declare.
* class.c (finish_struct): Don't use TREE_NONLOCAL_FLAG.
(pushclass): Likewise.  Use storetags to install tag declarations,
not pushtag.
(invalidate_class_lookup_cache): Don't use TREE_NONLOCAL_FLAG.
* decl.c (storetags): Make it global.
(push_class_binding): Set INHERITED_VALUE_BINDING_P for an
implicit typename declaration.
(pushtag): Tidy.  Don't use TREE_NONLOCAL_FLAG.
* method.c (hack_identifier): Likewise.
* search.c (lookup_member): Likewise.

From-SVN: r26491

25 years agoconfig.h (__start): Declare as `int' in alpha/OSF1 case.
Tom Tromey [Fri, 16 Apr 1999 09:56:29 +0000 (09:56 +0000)]
config.h (__start): Declare as `int' in alpha/OSF1 case.

* config.h (__start): Declare as `int' in alpha/OSF1 case.  From
David Pettersson <dapet@mai.liu.se>

From-SVN: r26490

25 years agotree.c (valid_machine_attribute): If we're modifying the FUNCTION_TYPE within a POINT...
Jason Merrill [Fri, 16 Apr 1999 01:24:50 +0000 (01:24 +0000)]
tree.c (valid_machine_attribute): If we're modifying the FUNCTION_TYPE within a POINTER_TYPE and we don't get a...

* tree.c (valid_machine_attribute): If we're modifying the
FUNCTION_TYPE within a POINTER_TYPE and we don't get a decl,
update the POINTER_TYPE.

From-SVN: r26489

25 years agoDaily bump.
Jeff Law [Fri, 16 Apr 1999 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r26488

25 years agodecl.c (warn_about_implicit_typename_lookup): New function.
Mark Mitchell [Fri, 16 Apr 1999 00:15:26 +0000 (00:15 +0000)]
decl.c (warn_about_implicit_typename_lookup): New function.

* decl.c (warn_about_implicit_typename_lookup): New function.
(lookup_name_real): Use it.  Rework handling of implicit typename
extension.

From-SVN: r26487

25 years agoRevert accidental checkin of the FCOMI patch that I was testing.
Jeff Law [Fri, 16 Apr 1999 00:15:01 +0000 (18:15 -0600)]
Revert accidental checkin of the FCOMI patch that I was testing.

From-SVN: r26486

25 years ago* i386.c (x86_adjust_cost): Move break statement to correct place.
Jan Hubicka [Thu, 15 Apr 1999 23:24:57 +0000 (01:24 +0200)]
* i386.c (x86_adjust_cost): Move break statement to correct place.

From-SVN: r26485

25 years agoexpr.c (expand_assignment): Force pointers to proper mode if POINTERS_EXTEND_UNSIGNED...
Donn Terry [Thu, 15 Apr 1999 22:52:22 +0000 (22:52 +0000)]
expr.c (expand_assignment): Force pointers to proper mode if POINTERS_EXTEND_UNSIGNED is defined.

        * expr.c (expand_assignment): Force pointers to proper mode if
        POINTERS_EXTEND_UNSIGNED is defined.

From-SVN: r26484

25 years agoxm-alpha.h (alloca.h): Add Interix to list of special machines that don't like alloca...
Donn Terry [Thu, 15 Apr 1999 22:47:13 +0000 (22:47 +0000)]
xm-alpha.h (alloca.h): Add Interix to list of special machines that don't like alloca.h...

        * xm-alpha.h (alloca.h): Add Interix to list of special machines
        that don't like alloca.h, pending using autoconf results.

From-SVN: r26483

25 years agopa.h (HAVE_PRE_INCREMENT, [...]): Fix pa_cpu value from 8000 to PROCESSOR_8000.
Jerry Quinn [Thu, 15 Apr 1999 22:23:58 +0000 (16:23 -0600)]
pa.h (HAVE_PRE_INCREMENT, [...]): Fix pa_cpu value from 8000 to PROCESSOR_8000.


        * pa.h (HAVE_PRE_INCREMENT, HAVE_POST_INCREMENT,
        HAVE_PRE_DECREMENT, HAVE_POST_DECREMENT): Fix pa_cpu value from
        8000 to PROCESSOR_8000.

From-SVN: r26482

25 years agopa.h (HAVE_PRE_INCREMENT, [...]): Fix pa_cpu value from 8000 to PROCESSOR_8000.
Jerry Quinn [Thu, 15 Apr 1999 22:23:53 +0000 (16:23 -0600)]
pa.h (HAVE_PRE_INCREMENT, [...]): Fix pa_cpu value from 8000 to PROCESSOR_8000.


        * pa.h (HAVE_PRE_INCREMENT, HAVE_POST_INCREMENT,
        HAVE_PRE_DECREMENT, HAVE_POST_DECREMENT): Fix pa_cpu value from
        8000 to PROCESSOR_8000.

From-SVN: r26481

25 years agoconfigure.in (checkfuncs): Check for sbrk.
Mumit Khan [Thu, 15 Apr 1999 22:05:35 +0000 (22:05 +0000)]
configure.in (checkfuncs): Check for sbrk.

        * configure.in (checkfuncs): Check for sbrk.
        * config.in: Rebuilt.
        * configure: Likewise.
        * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.

From-SVN: r26480

25 years agoMakefile.am (ordinary_java_source_files): Added new Connection and Handler classes...
Warren Levy [Thu, 15 Apr 1999 21:33:39 +0000 (21:33 +0000)]
Makefile.am (ordinary_java_source_files): Added new Connection and Handler classes in gnu.gcj.protocol.file package.

* Makefile.am (ordinary_java_source_files): Added new Connection
and Handler classes in gnu.gcj.protocol.file package.
* Makefile.in: Rebuilt.
* gnu/gcj/protocol/file/Connection.java: New file.
* gnu/gcj/protocol/file/Handler.java: New file.
* gnu/gcj/protocol/http/Connection.java (getInputStream): Check
if doInput allows input.
(getOutputStream): Check if doOutput allows output.
* java/net/URLStreamHandler.java (parseURL): Fix indentation.

From-SVN: r26479

25 years agoexcept.c (start_catch_hadler): Be sure rtime_address is Pmode if POINTERS_EXTEND_UNSI...
Donn Terry [Thu, 15 Apr 1999 19:54:09 +0000 (19:54 +0000)]
except.c (start_catch_hadler): Be sure rtime_address is Pmode if POINTERS_EXTEND_UNSIGNED.

        * except.c (start_catch_hadler): Be sure rtime_address is Pmode
        if POINTERS_EXTEND_UNSIGNED.

From-SVN: r26478

25 years agoexcept.c (expand_eh_return): Force pointers to proper mode if POINTERS_EXTEND_UNSIGNED.
Donn Terry [Thu, 15 Apr 1999 19:52:18 +0000 (19:52 +0000)]
except.c (expand_eh_return): Force pointers to proper mode if POINTERS_EXTEND_UNSIGNED.

        * except.c (expand_eh_return): Force pointers to proper mode if
        POINTERS_EXTEND_UNSIGNED.

From-SVN: r26477

25 years agocp-tree.h (lookup_nested_field): Remove.
Mark Mitchell [Thu, 15 Apr 1999 19:21:21 +0000 (19:21 +0000)]
cp-tree.h (lookup_nested_field): Remove.

* cp-tree.h (lookup_nested_field): Remove.
* class.c (push_nested_class): Handle UNION_TYPEs.
(pop_nested_class): Likewise.
* decl.c (lookup_name_real): Don't call lookup_nested_field.
(start_decl): Use push_nested_class, not just pushclass.
(cp_finish_decl): Use pop_nested_class, not just popclass.
* search.c (lookup_nested_field): Remove.

From-SVN: r26476

25 years agocp-tree.h (lang_type): Add documentation.
Mark Mitchell [Thu, 15 Apr 1999 17:52:25 +0000 (17:52 +0000)]
cp-tree.h (lang_type): Add documentation.

* cp-tree.h (lang_type): Add documentation.
* decl2.c (handle_class_head): Create template declarations here,
as appropriate.
* parse.y (class_head): Return whether or not we entered a new
scope, as well as the type named.
(named_class_head): Likewise.
(named_complex_class_head_sans_basetype): Likewise.
(structsp): Adjust accordingly.  Pop scope when required.
* parse.c: Regenerated.
* pt.c (check_default_tmpl_args): Robustify.
(redeclare_class_template): Likewise.
(instantiate_class_template): An instantiation of an
anonymous union is itself an anonymous union.
* semantics.c (begin_class_definition): Don't create template
declarations here.

From-SVN: r26475