OSDN Git Service

pf3gnuchains/gcc-fork.git
25 years agoRainer Orth <ro@TechFak.Uni-Bielefeld.DE>
rth [Thu, 17 Dec 1998 18:22:30 +0000 (18:22 +0000)]
Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
        * fixincludes (c_asm.h): Wrap Digital UNIX V4.0B DEC C specific
        asm() etc. function declarations in __DECC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24366 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * pt.c (push_inline_template_parms_recursive): Set it.
jason [Thu, 17 Dec 1998 15:08:34 +0000 (15:08 +0000)]
* pt.c (push_inline_template_parms_recursive): Set it.
(decl_template_parm_p): Remove.
(check_template_shadow): Use DECL_TEMPLATE_PARM_P.
(process_template_parm): Set it.
Missed in Mark's earlier checkin.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24365 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDo not generate CLOBBERs for non-pseudo regs.
nickc [Thu, 17 Dec 1998 14:02:32 +0000 (14:02 +0000)]
Do not generate CLOBBERs for non-pseudo regs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24364 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoAdd: #include "expr.h"
nickc [Thu, 17 Dec 1998 13:54:39 +0000 (13:54 +0000)]
Add:   #include "expr.h"

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24363 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * hwint.h: New file to consolidate HOST_WIDE_INT (etc) macros.
ghazi [Thu, 17 Dec 1998 13:09:00 +0000 (13:09 +0000)]
   * hwint.h: New file to consolidate HOST_WIDE_INT (etc) macros.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24362 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * parse-scan.y (report_main_declaration): Recognize
tromey [Thu, 17 Dec 1998 12:50:02 +0000 (12:50 +0000)]
* parse-scan.y (report_main_declaration): Recognize
`java.lang.String' in argument to main.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24361 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFix canadian-cross build problem with haifa scheduler.
wilson [Thu, 17 Dec 1998 12:35:30 +0000 (12:35 +0000)]
Fix canadian-cross build problem with haifa scheduler.
* Makefile.in (INTERNAL_CFLAGS): Add SCHED_CFLAGS.
(ALL_CFLAGS): Delete SCHED_CFLAGS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24360 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoInitial revision
law [Thu, 17 Dec 1998 06:43:56 +0000 (06:43 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24353 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Thu, 17 Dec 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24352 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * loop.c (combine_givs_used_by_other): Don't depend on n_times_set.
amylaar [Thu, 17 Dec 1998 00:29:00 +0000 (00:29 +0000)]
* loop.c (combine_givs_used_by_other): Don't depend on n_times_set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24351 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * config.sub: Handle hppa2.0.
law [Thu, 17 Dec 1998 00:25:11 +0000 (00:25 +0000)]
    * config.sub: Handle hppa2.0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24350 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agodummy import to prevent merge lossage
law [Wed, 16 Dec 1998 22:24:51 +0000 (22:24 +0000)]
dummy import to prevent merge lossage

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24349 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago* parse.y (create_interface): Remove bogus test.
bothner [Wed, 16 Dec 1998 17:44:49 +0000 (17:44 +0000)]
* parse.y (create_interface):  Remove bogus test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24348 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoEnsure that last optimisation level set overrides any previous levels.
nickc [Wed, 16 Dec 1998 17:34:48 +0000 (17:34 +0000)]
Ensure that last optimisation level set overrides any previous levels.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24347 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago
bothner [Wed, 16 Dec 1998 17:01:53 +0000 (17:01 +0000)]

* jcf-parse.c (get_constant):  Set TREE_TYPE for string constants.
(HANDLE_CONSTANTVALUE):  If flag_emit_class_files, call get_constant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24346 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * parse-scan.y (qualified_name): Use correct sprintf format.
tromey [Wed, 16 Dec 1998 15:53:13 +0000 (15:53 +0000)]
* parse-scan.y (qualified_name): Use correct sprintf format.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24345 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * class.c (resolve_address_of_overloaded_function): Do conversion
mmitchel [Wed, 16 Dec 1998 15:51:21 +0000 (15:51 +0000)]
* class.c (resolve_address_of_overloaded_function): Do conversion
to correct type here, rather than ...
(instantiate_type): Here.
* cp-tree.h (DECL_TEMPLATE_PARM_P): New macro.
(DECL_TEMPLATE_TEMPLATE_PARM_P): Use it.
(decl_template_parm_p): Remove.
* decl.c (pushdecl): Don't set DECL_CONTEXT for a template
paramter.
* lex.c (do_identifier): Use DECL_TEMPLATE_PARM_P.
(push_inline_template_parms_recursive): Set it.
(decl_template_parm_p): Remove.
(check_template_shadow): Use DECL_TEMPLATE_PARM_P.
(process_template_parm): Set it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24344 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoWed Dec 16 16:33:04 1998 Dave Brolley <brolley@cygnus.com>
brolley [Wed, 16 Dec 1998 13:38:33 +0000 (13:38 +0000)]
Wed Dec 16 16:33:04 1998  Dave Brolley  <brolley@cygnus.com>
* objc/lang-specs.h: Pass -MD, -MMD and -MG to cc1obj if configured with
cpplib.
* cpplib.c (cpp_start_read): If in_fname is not initialized, try to
initialize it using fname.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24343 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoWed Dec 16 16:33:58 1998 Dave Brolley <brolley@cygnus.com>
brolley [Wed, 16 Dec 1998 13:38:14 +0000 (13:38 +0000)]
Wed Dec 16 16:33:58 1998  Dave Brolley  <brolley@cygnus.com>
* lang-specs.h (default_compilers): Pass -MD, -MMD and -MG to cc1plus
if configured with cpplib.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24342 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoWed Dec 16 16:33:04 1998 Dave Brolley <brolley@cygnus.com>
brolley [Wed, 16 Dec 1998 13:37:08 +0000 (13:37 +0000)]
Wed Dec 16 16:33:04 1998  Dave Brolley  <brolley@cygnus.com>
* objc/lang-specs.h: Pass -MD, -MMD and -MG to cc1obj if configured with
cpplib.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24341 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago1998-12-16 Zack Weinberg <zack@rabi.phys.columbia.edu>
brolley [Wed, 16 Dec 1998 13:23:47 +0000 (13:23 +0000)]
1998-12-16  Zack Weinberg  <zack@rabi.phys.columbia.edu>
* cpplib.c (do_include): Treat #include_next in the
primary source file as #include plus warning.  Treat
#include_next in a file included by absolute path as an
error.  fp == CPP_NULL_BUFFER is a fatal inconsistency.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24340 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * cccp.c: Don't define MIN/MAX anymore.
ghazi [Wed, 16 Dec 1998 09:34:57 +0000 (09:34 +0000)]
    * cccp.c: Don't define MIN/MAX anymore.
        * cpplib.c: Likewise.
        * machmode.h: Likewise.
        * system.h: Provide definitions for MIN/MAX.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24339 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Wed, 16 Dec 1998 00:45:16 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24338 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * fix-header.c: Don't define xstrdup here.
law [Tue, 15 Dec 1998 22:50:27 +0000 (22:50 +0000)]
    * fix-header.c: Don't define xstrdup here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24337 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * mn10200.md (addsi3 expander): Use "nonmemory_operand" for operand 2.
law [Tue, 15 Dec 1998 22:44:50 +0000 (22:44 +0000)]
    * mn10200.md (addsi3 expander): Use "nonmemory_operand" for operand 2.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24336 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * loop.c (consec_sets_giv): New argument last_consec_insn.
amylaar [Tue, 15 Dec 1998 21:13:42 +0000 (21:13 +0000)]
* loop.c (consec_sets_giv): New argument last_consec_insn.
(strength_reduce): Provide / use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24335 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFix dumb thinkos in last change.
law [Tue, 15 Dec 1998 20:53:34 +0000 (20:53 +0000)]
Fix dumb thinkos in last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24334 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * loop.h (loop_info): New field 'vtop'.
m.hayes [Tue, 15 Dec 1998 20:31:18 +0000 (20:31 +0000)]
* loop.h (loop_info): New field 'vtop'.
* loop.c (check_dbra_loop):  Use loop_info->vtop rather than
scanning loop for vtop.
* unroll.c (subtract_reg_term, find_common_reg_term): New functions.
(loop_iterations): Use them to determine if loop has a constant
  number of iterations.  Set loop_info->vtop.  Don't subtract
common reg term from initial_value and final_value if have a
do-while loop.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24333 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago1998-12-15 Mark Mitchell <mark@markmitchell.com>
mmitchel [Tue, 15 Dec 1998 13:59:57 +0000 (13:59 +0000)]
1998-12-15  Mark Mitchell  <mark@markmitchell.com>
* decl.c (poplevel): Make sure ns_binding is initialized.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24332 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * mn10300.md (bset, bclr): Operand 0 is a read/write operand.
law [Tue, 15 Dec 1998 13:30:41 +0000 (13:30 +0000)]
    * mn10300.md (bset, bclr): Operand 0 is a read/write operand.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24331 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * mn10200.md (abssf2, negsf2): New expanders.
law [Tue, 15 Dec 1998 12:53:12 +0000 (12:53 +0000)]
    * mn10200.md (abssf2, negsf2): New expanders.
        * mn10300.md (absdf2, abssf2, negdf2, negsf2): New expanders.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24330 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * decl.c (finish_function): Undo inadvertant change in previous
mmitchel [Tue, 15 Dec 1998 12:49:05 +0000 (12:49 +0000)]
* decl.c (finish_function): Undo inadvertant change in previous
patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24329 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoCope with inlining functions which return a multiword CONCAT value
nickc [Tue, 15 Dec 1998 11:56:36 +0000 (11:56 +0000)]
Cope with inlining functions which return a multiword CONCAT value

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24328 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago1998-12-15 Zack Weinberg <zack@rabi.phys.columbia.edu>
brolley [Tue, 15 Dec 1998 11:23:27 +0000 (11:23 +0000)]
1998-12-15  Zack Weinberg  <zack@rabi.phys.columbia.edu>
* cppalloc.c: Add xstrdup here.
* cpplib.h: Remove savestring prototype.
* cpplib.c: Remove savestring function. s/savestring/xstrdup/
  throughout.
* cppfiles.c: s/savestring/xstrdup/ throughout.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24327 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago1998-12-14 00:56 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
brolley [Tue, 15 Dec 1998 11:17:06 +0000 (11:17 +0000)]
1998-12-14 00:56 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
* cpplib.c: Make all directive handlers read their own
          arguments.
  (struct directive): Remove last two arguments from FUNC
          member prototype. Remove `command_reads_line' member
          entirely.
  (directive_table): Remove initializations of
          command_reads_line flag.  Pretty-print.
  (eval_if_expression, do_define, do_line, do_include,
          do_undef, do_error, do_pragma, do_ident, do_if, do_xifdef,
          do_else, do_elif, do_sccs, do_assert, do_unassert,
          do_warning): Take only two args.
  (cpp_define): Call do_define with two args and the text to
  define stuffed into a buffer.
  (make_assertion): Call do_assert with two args.
  (handle_directive): Call do_line with two args. Call
  kt->func with two args.  Remove command_reads_line
  processing.
  (do_define, do_undef, do_error, do_warning, do_pragma,
  do_sccs): Read the rest of the line here.
  (do_ident): Gobble rest of line, as cccp does.
  (cpp_undef): New function.
  (cpp_start_read): Call cpp_undef instead of do_undef.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24326 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago1998-12-15 Zack Weinberg <zack@rabi.phys.columbia.edu>
brolley [Tue, 15 Dec 1998 11:09:16 +0000 (11:09 +0000)]
1998-12-15  Zack Weinberg  <zack@rabi.phys.columbia.edu>
* cpphash.h (union hash_value): Remove `keydef' member, add a
          `struct hashnode *aschain' member for #assert.
  * cpplib.c (struct tokenlist_list, struct
          assertion_hashnode): Delete structure definitions.
          (assertion_install, assertion_lookup, delete_assertion,
          check_assertion, compare_token_lists, reverse_token_list,
          read_token_list, free_token_list): Delete functions.
          (parse_assertion): New function.
  (cpp_cleanup): Don't destroy the assertion_hashtable.
          (do_assert): Gut and rewrite.  #assert foo (bar) places
          entries for `#foo' and `#foo(bar)' in the macro hash table,
          type T_ASSERT.  The value union's `aschain' member is used
          to chain all answers for a given predicate together.
          (do_unassert): Also rewritten.  Take an un-asserted
          answer off the chain from its predicate and call
          delete_macro on the hashnode, or walk a predicate chain
          calling delete_macro on all the entries.
          (cpp_read_check_assertion): Simply call parse_assertion to
          get the canonical assertion name, and look that up in the
          hash table.
* cpplib.h (ASSERTION_HASHNODE,ASSERTION_HASHSIZE,assertion_hashtab):
  Removed.
* cpphash.c (install): Use bcopy instead of an explicit loop
          to copy the macro name.
* cppexp.c (cpp_lex): Convert the result of
          cpp_read_check_assertion to a `struct operation' directly;
          don't go through parse_number.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24325 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * loop.h (struct induction): Delete times_used member.
amylaar [Tue, 15 Dec 1998 10:31:52 +0000 (10:31 +0000)]
* loop.h (struct induction): Delete times_used member.
* loop.c (n_times_set): Rename to set_in_loop.  Changed all users.
(n_times_used): Rename to n_times_set.  Changed all users.
(scan_loop): Free reg_single_usage before strength reduction.
(record_giv, combine_givs): Remove handling of times_used member.
(combine_givs_used_once): Rename to:
(combine_givs_used_by_other) .  Changed all callers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24324 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * gjavah.c (print_field_info): Changed how most negative number is
tromey [Tue, 15 Dec 1998 09:44:14 +0000 (09:44 +0000)]
* gjavah.c (print_field_info): Changed how most negative number is
printed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24323 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * g++.old-deja/g++.other/conv5.C: New test.
oliva [Tue, 15 Dec 1998 06:47:22 +0000 (06:47 +0000)]
* g++.old-deja/g++.other/conv5.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24320 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * dwarf2out.c (gen_struct_or_union_type_die): Check AGGREGATE_TYPE_P
jason [Tue, 15 Dec 1998 01:48:48 +0000 (01:48 +0000)]
* dwarf2out.c (gen_struct_or_union_type_die): Check AGGREGATE_TYPE_P
instead of TREE_CODE_CLASS == 't'.
(gen_type_die): Likewise.
(scope_die_for): Ignore FUNCTION_TYPE "scopes".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24319 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Tue, 15 Dec 1998 00:45:07 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24318 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * parse.y (fold_constant_for_init): New function.
bothner [Mon, 14 Dec 1998 19:22:30 +0000 (19:22 +0000)]
* parse.y (fold_constant_for_init):  New function.
(resolve_expression_name):  Don't replace static final
  constant-initialized fields by its value.
(java_complete_lhs):  New.  Same as java_complete_tree, except does
not replace static final constant-initialized fields by their values.
(register_fields):  If there is an initializer, set DECL_INITIAL and
MODIFY_EXPR_FROM_INITIALIZATION_P.
(java_complete_tree):  For MODIFY_EXPR, use java_complete_lhs for lhs.
Only call patch_initialized_static_field if
MODIFY_EXPR_FROM_INITIALIZATION_P.
(patch_initialized_static_field):  If not valid constant, clear
DECL_INITIAL.
* parse.y (lookup_field_wrapper):  Fix thinko.
* parse.y (java_complete_tree):  In EXPR_WITH_FILE_LOCATION,
set and restore global lineno.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24317 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agod
bothner [Mon, 14 Dec 1998 19:22:28 +0000 (19:22 +0000)]
d
* parse.y (fold_constant_for_init):  New function.
(resolve_expression_name):  Don't replace static final
  constant-initialized fields by its value.
(java_complete_lhs):  New.  Same as java_complete_tree, except does
not replace static final constant-initialized fields by their values.
(register_fields):  If there is an initializer, set DECL_INITIAL and
MODIFY_EXPR_FROM_INITIALIZATION_P.
(java_complete_tree):  For MODIFY_EXPR, use java_complete_lhs for lhs.
Only call patch_initialized_static_field if
MODIFY_EXPR_FROM_INITIALIZATION_P.
(patch_initialized_static_field):  If not valid constant, clear
DECL_INITIAL.
* parse.y (lookup_field_wrapper):  Fix thinko.
* parse.y (java_complete_tree):  In EXPR_WITH_FILE_LOCATION,
set and restore global lineno.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24316 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoEliminate compiler warnings.
wilson [Mon, 14 Dec 1998 16:30:48 +0000 (16:30 +0000)]
Eliminate compiler warnings.
* real.c (endian): Disable last change unless
HOST_BITS_PER_WIDE_INT is greater than 32.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24315 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * class.c (pushclass): Tweak handling of class-level bindings.
mmitchel [Mon, 14 Dec 1998 15:35:40 +0000 (15:35 +0000)]
* class.c (pushclass): Tweak handling of class-level bindings.
(resolve_address_of_overloaded_function): Update pointer-to-member
handling.
(instantiate_type): Likewise.
* cvt.c (cp_convert_to_pointer): Likewise.
* decl.c (pop_binding): Take the DECL to pop, not just the name.
Deal with `struct stat' hack.
(binding_level): Add to documentation.
(push_binding): Clear BINDING_TYPE.
(add_binding): New function.
(push_local_binding): Use it.
(push_class_binding): Likewise.
(poplevel): Adjust calls to pop_binding.
(poplevel_class): Likewise.
(pushdecl): Adjust handling of TYPE_DECLs; add bindings for hidden
declarations to current binding level.
(push_class_level_binding): Likewise.
(push_overloaded_decl): Adjust handling of OVERLOADs in local
bindings.
(lookup_namespace_name): Don't crash when confronted with a
TEMPLATE_DECL.
(lookup_name_real): Do `struct stat' hack in local binding
contexts.
(build_ptrmemfunc_type): Adjust documentation.
(grokdeclarator): Don't avoid building real array types when
processing templates unless really necessary.
(finish_method): Adjust calls to pop_binding.
* decl2.c (reparse_absdcl_as_expr): Recursively call ourselves,
not reparse_decl_as_expr.
(build_expr_from_tree): Deal with a template-id as the function to
call in a METHOD_CALL_EXPR.
* pt.c (convert_nontype_argument): Tweak pointer-to-member handling.
(maybe_adjust_types_For_deduction): Don't do peculiar things with
METHOD_TYPEs here.
(resolve_overloaded_unification): Handle COMPONENT_REFs.  Build
pointer-to-member types where necessary.
* tree.c (build_cplus_array_type_1): Don't avoid building real
array types when processing templates unless really necessary.
(build_exception_variant): Compare the exception lists correctly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24314 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * gjavah.c (print_field_info): If value to print is the smallest
tromey [Mon, 14 Dec 1998 15:32:49 +0000 (15:32 +0000)]
* gjavah.c (print_field_info): If value to print is the smallest
value of its size, then print as hex to avoid later warnings from
C++ compiler.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24313 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoUpdate test
mmitchel [Mon, 14 Dec 1998 15:11:43 +0000 (15:11 +0000)]
Update test

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24312 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * output.h (force_data_section): New prototype.
amacleod [Mon, 14 Dec 1998 14:19:48 +0000 (14:19 +0000)]
* output.h (force_data_section): New prototype.
* varasm.c (force_data_section): New function to force the
data section, regardless of what in_section thinks.
* dwarf2out.c (output_call_frame_info): Call force_data_section
since varasm may not realize we've changes sections.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24311 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDelete REG_RETVAL and REG_LIBCALL notes after completeing reload
nickc [Mon, 14 Dec 1998 14:13:26 +0000 (14:13 +0000)]
Delete REG_RETVAL and REG_LIBCALL notes after completeing reload

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24310 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * gjavah.c (decompile_method): Decompile `return null'.
tromey [Mon, 14 Dec 1998 11:25:19 +0000 (11:25 +0000)]
* gjavah.c (decompile_method): Decompile `return null'.
(process_file): Generate `#pragma interface'.
(method_declared): New global.
(print_method_info): Set it.
(HANDLE_CODE_ATTRIBUTE): Only print it method_declared set.
(print_method_info): Handle abstract methods.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24309 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFix typo.
nickc [Mon, 14 Dec 1998 09:35:58 +0000 (09:35 +0000)]
Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24308 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * choose-temp.c: Don't check IN_GCC anymore.
ghazi [Mon, 14 Dec 1998 07:01:03 +0000 (07:01 +0000)]
    * choose-temp.c: Don't check IN_GCC anymore.
        * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
        * memchr.c (memchr): Likewise.
        * memcpy.c (memcpy): Likewise.
        * memmove.c (memmove): Likewise.
        * mkstemp.c: Don't check IN_GCC anymore.
        * pexecute.c: Likewise.
        * splay-tree.c: Likewise.
        * strchr.c (strchr): Use `const', not `CONST'.
        * strrchr.c (strrchr): Likewise.
        * strtol.c (strtol): Likewise.
        * strtoul.c (strtoul): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24307 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * demangle.h: Don't check IN_GCC anymore.
ghazi [Mon, 14 Dec 1998 06:55:07 +0000 (06:55 +0000)]
   * demangle.h: Don't check IN_GCC anymore.
       * splay-tree.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24306 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Mon, 14 Dec 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24305 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * rtl.h (multiple_sets): Fix prototype.
law [Mon, 14 Dec 1998 00:42:39 +0000 (00:42 +0000)]
    * rtl.h (multiple_sets): Fix prototype.
        * rtlanal.c (multiple_sets): Fix return type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24304 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago
law [Mon, 14 Dec 1998 00:42:38 +0000 (00:42 +0000)]

        * rtl.h (multiple_sets): Fix prototype.
        * rtlanal.c (multiple_sets): Fix return type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24303 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agonew
jason [Sun, 13 Dec 1998 18:56:43 +0000 (18:56 +0000)]
new

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24302 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoregen
jason [Sun, 13 Dec 1998 18:55:48 +0000 (18:55 +0000)]
regen

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24301 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * parse.y (patch_method_invocation): If class_decl is null
bothner [Sun, 13 Dec 1998 17:51:06 +0000 (17:51 +0000)]
* parse.y (patch_method_invocation):  If class_decl is null
(e.g. an array type), use original type.
* parse.y (check_thrown_exceptions):  Temporary hack to suppress
errors about uncaught exception from clone (of array, specifically).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24300 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agod
bothner [Sun, 13 Dec 1998 17:51:04 +0000 (17:51 +0000)]
d
* parse.y (patch_method_invocation):  If class_decl is null
(e.g. an array type), use original type.
* parse.y (check_thrown_exceptions):  Temporary hack to suppress
errors about uncaught exception from clone (of array, specifically).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24299 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago
bothner [Sun, 13 Dec 1998 17:51:02 +0000 (17:51 +0000)]

* parse.y (patch_method_invocation):  If class_decl is null
(e.g. an array type), use original type.
* parse.y (check_thrown_exceptions):  Temporary hack to suppress
errors about uncaught exception from clone (of array, specifically).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24298 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * gjavah.c (decompile_method): Handle all types of `return'
tromey [Sun, 13 Dec 1998 15:24:48 +0000 (15:24 +0000)]
* gjavah.c (decompile_method): Handle all types of `return'
opcode.  Decompile `return this' and `return'.
(method_access): New global.
(print_method_info): Set it.
(decompile_method): Don't decompile a synchronized method.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24297 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * cp-tree.def (CPLUS_BINDING): Update documentation.
mmitchel [Sun, 13 Dec 1998 14:46:07 +0000 (14:46 +0000)]
* cp-tree.def (CPLUS_BINDING): Update documentation.
* cp-tree.h (LOCAL_BINDING_P): New macro.
(lang_identifier): Rename local_value to bindings.
(tree_binding): Make `scope' of type `void*', not `tree'.
(BINDING_SCOPE): Update documentation.
(IDENTIFIER_LOCAL_VALUE): Remove.
(IDENTIFIER_CLASS_VALUE): Document.
(IDENTIFIER_BINDING): New macro.
(IDENTIFIER_VALUE): Likewise.
(TIME_IDENTIFIER_TIME): Likewise.
(TIME_IDENTIFIER_FILEINFO): Likewise.
(IMPLICIT_TYPENAME_P): Likewise.
(set_identifier_local_value): Remove.
(push_local_binding): New function.
(push_class_binding): Likewise.
* class.c (pushclass): Update comments; use push_class_binding.
* decl.c (set_identifier_local_value_with_scope): Remove.
(set_identifier_local_value): Likewise.
(push_binding): New function.
(pop_binding): Likewise.
(binding_level): Update documentation.  Remove shadowed.
(BINDING_LEVEL): New macro.
(free_binding_nodes): New variable.
(poplevel): Adjust for new name-lookup scheme.  Don't mess up
BLOCK_VARs when doing for-scope extension.  Remove effectively
dead code.
(pushlevel_class): Tweak formatting.
(poplevel_class): Adjust for new name-lookup scheme.
(print_binding_level): Likewise.
(store_bindings): Likewise.
(pushdecl): Likewise.
(pushdecl_class_level): Likewise.
(push_class_level_binding): Likewise.
(push_overloaded_decl): Update comments.  Adjust for new
name-lookup scheme.
(lookup_name_real): Likewise.
(lookup_name_current_level): Likewise.
(cp_finish_decl): Likewise.
(require_complete_types_for_parms): Likewise.  Remove misleading
#if 0'd code.
(grok_parms): Likewise.  Don't call
require_complete_types_for_parms here.
(grok_ctor_properties): Don't treat templates as copy
constructors.
(grop_op_properties): Or as assignment operators.
(start_function): Document.  Adjust for new name-lookup scheme.
(finish_function): Likewise.
* decl2.c (do_local_using_decl): Use push_local_binding.
* lex.c (begin_definition_of_inclass_inline): New function, split
out from ...
(do_pending_inlines): Here, and ...
(process_next_inline): Here.
(get_time_identifier): Use TIME_IDENTIFIER_* macros.
(init_filename_times): Likewise.
(extract_interface_info): Likewise.
(ste_typedecl_interface_info): Likewise.
(check_newline): Likewise.
(dump_time_statistics): Likewise.
(handle_cp_pragma): Likewise.
(do_identifier): Adjust for new name-lookup scheme.
* parse.y (function_try_block): Return ctor_initializer_opt value.
(fndef): Use it.
(fn.defpen): Pass appropriate values to start_function.
(pending_inline): Use functor_try_block value, and pass
appropriate values to finish_function.
* pt.c (is_member_template): Update documentation; remove handling
of FUNCTION_DECLs.  As per name, this function should deal only in
TEMPLATE_DECLs.
(decl_template_parm_p): Change name of olddecl parameter to decl.
(check_template_shadow): Adjust for new name-lookup scheme.
(lookup_template_class): Likewise.
(tsubst_decl): Tweak so as not to confuse member templates with
copy constructors and assignment operators.
(unify): Handle UNION_TYPEs.
* ptree.c (print_lang_identifier): Adjust for new name-lookup scheme.
(lang_print_xnode): Adjust for new name-lookup scheme.
* typeck.c (mark_addressable): Likewise.
(c_expand_return): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24296 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * jcf-reader.c (jcf_parse_one_method): Recognize
tromey [Sun, 13 Dec 1998 13:29:08 +0000 (13:29 +0000)]
* jcf-reader.c (jcf_parse_one_method): Recognize
HANDLE_END_METHOD.
* gjavah.c (HANDLE_END_METHOD): New macro.
(HANDLE_CODE_ATTRIBUTE): New macro.
(decompile_method): New function.
(print_method_info): Don't print `;\n' at end of function decl.
Include java-opcodes.h.
(decompiled): New global.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24295 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoBump for snapshot
law [Sun, 13 Dec 1998 12:44:02 +0000 (12:44 +0000)]
Bump for snapshot

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24293 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoBump for snapshot
law [Sun, 13 Dec 1998 01:05:29 +0000 (01:05 +0000)]
Bump for snapshot

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24292 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * rtl.h (recompute_reg_usage): Add second argument.
law [Sun, 13 Dec 1998 00:59:38 +0000 (00:59 +0000)]
* rtl.h (recompute_reg_usage): Add second argument.
* flow.c (recompute_reg_usage): Likewise.
* toplev.c (rest_of_compilation): Supply second argument to
recompute_reg_usage.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24291 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Sun, 13 Dec 1998 00:45:32 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24290 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * protoize.c (fputs): Wrap extern declaration in #ifndef fputs.
law [Sat, 12 Dec 1998 23:43:59 +0000 (23:43 +0000)]
    * protoize.c (fputs): Wrap extern declaration in #ifndef fputs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24289 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * m68k/t-m68kelf (MULTILIB_OPTIONS): Add mcpu32.
law [Sat, 12 Dec 1998 23:32:52 +0000 (23:32 +0000)]
    * m68k/t-m68kelf (MULTILIB_OPTIONS): Add mcpu32.
        (MULTILIB_MATCHES): -m68332 now uses mcpu32 libraries, not m68000.
        (MULTILIB_EXCEPTIONS): Don't build 68881 libraries for m68000,
        mcpu32 or m5200.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24288 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * reload1.c (compute_use_by_pseudos): Allow reg_renumber[regno] < 0
law [Sat, 12 Dec 1998 23:26:22 +0000 (23:26 +0000)]
    * reload1.c (compute_use_by_pseudos): Allow reg_renumber[regno] < 0
        after reload.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24287 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * i386/next.h (ASM_OUTPUT_ALIGN): Use 0x90 for fill character.
law [Sat, 12 Dec 1998 23:21:30 +0000 (23:21 +0000)]
    * i386/next.h (ASM_OUTPUT_ALIGN): Use 0x90 for fill character.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24285 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * rtlanal.c (multiple_sets): New function.
law [Sat, 12 Dec 1998 23:03:54 +0000 (23:03 +0000)]
    * rtlanal.c (multiple_sets): New function.
        * rtl.h (multiple_sets): Declare it.
        * local-alloc.c (wipe_dead_reg): Use it.
        * global.c (global_conflicts): Likewise.
Should fix the m68k bootstrap problems.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24283 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * global.c (record_conflicts): Don't use an array of shorts to
mmitchel [Sat, 12 Dec 1998 22:12:02 +0000 (22:12 +0000)]
* global.c (record_conflicts): Don't use an array of shorts to
        store an array of ints.
(global_conflicts): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24282 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago*** empty log message ***
bothner [Sat, 12 Dec 1998 21:48:16 +0000 (21:48 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24281 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago8
bothner [Sat, 12 Dec 1998 21:48:14 +0000 (21:48 +0000)]
8
Loks of changes so we can better compile from source.  See ChangeLog.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24280 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoLoks of changes so we can better compile from source. See ChangeLog.
bothner [Sat, 12 Dec 1998 21:48:09 +0000 (21:48 +0000)]
Loks of changes so we can better compile from source.  See ChangeLog.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24279 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago
bothner [Sat, 12 Dec 1998 21:48:07 +0000 (21:48 +0000)]

Loks of changes so we can better compile from source.  See ChangeLog.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24278 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoLoks of changes so we can better compile from source. See ChangeLog.
bothner [Sat, 12 Dec 1998 21:48:05 +0000 (21:48 +0000)]
Loks of changes so we can better compile from source.  See ChangeLog.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24277 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago0
bothner [Sat, 12 Dec 1998 21:48:01 +0000 (21:48 +0000)]
0
Loks of changes so we can better compile from source.  See ChangeLog.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24276 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * parse.y (<type_declaration>): Do maybe_generate_clinit last.
bothner [Sat, 12 Dec 1998 20:04:37 +0000 (20:04 +0000)]
* parse.y (<type_declaration>):  Do maybe_generate_clinit last.
(register_fields):  If a static fields has an initializer, just
chain it on ctxp->static_initialized, and handle later.
(java_complete_expand_methods):  Force <clinit> first.
(resolve_expression_name, resolve_field_access):  Just get DECL_INITIAL
- it's already been completed.
(patch_initialized_static_field):  New function.
(java_complete_field):  Call it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24275 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago
bothner [Sat, 12 Dec 1998 20:04:35 +0000 (20:04 +0000)]

* parse.y (<type_declaration>):  Do maybe_generate_clinit last.
(register_fields):  If a static fields has an initializer, just
chain it on ctxp->static_initialized, and handle later.
(java_complete_expand_methods):  Force <clinit> first.
(resolve_expression_name, resolve_field_access):  Just get DECL_INITIAL
- it's already been completed.
(patch_initialized_static_field):  New function.
(java_complete_field):  Call it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24274 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agod
bothner [Sat, 12 Dec 1998 19:25:01 +0000 (19:25 +0000)]
d
* expr.c (encode_newarray_type, build_new_array):  New functions.
* java-tree.h:  Declare build_new_array.
* jcf-write.c (patch_newarray):  Use build_new_array.
* expr.c (java_lang_expand_exp):  Support NEW_ARRAY_INIT.
* jcf-write.c (generate_bytecode_insns):  Support NEW_ARRAY_INIT.
* parse.y (patch_new_array_init):  Re-organize.
Now is passed the actual array (pointer) type of the value.
Set the type of the CONSTRUCTOR to be an ARRAY_TYPE.
(patch_array_constructor):  Removed - merged into patch_new_array_init.
  (java_complete_tree):  Update patch_new_array_init.
* jcf-write.c (find_constant_index):  New function.
(generate_bytecode_insns):  Use find_constant_index.
(generate_classfile):  Use find_constant_index for ConstantValue.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24273 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoa
bothner [Sat, 12 Dec 1998 19:24:59 +0000 (19:24 +0000)]
a
* expr.c (encode_newarray_type, build_new_array):  New functions.
* java-tree.h:  Declare build_new_array.
* jcf-write.c (patch_newarray):  Use build_new_array.
* expr.c (java_lang_expand_exp):  Support NEW_ARRAY_INIT.
* jcf-write.c (generate_bytecode_insns):  Support NEW_ARRAY_INIT.
* parse.y (patch_new_array_init):  Re-organize.
Now is passed the actual array (pointer) type of the value.
Set the type of the CONSTRUCTOR to be an ARRAY_TYPE.
(patch_array_constructor):  Removed - merged into patch_new_array_init.
  (java_complete_tree):  Update patch_new_array_init.
* jcf-write.c (find_constant_index):  New function.
(generate_bytecode_insns):  Use find_constant_index.
(generate_classfile):  Use find_constant_index for ConstantValue.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24272 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * expr.c (encode_newarray_type, build_new_array): New functions.
bothner [Sat, 12 Dec 1998 19:24:56 +0000 (19:24 +0000)]
* expr.c (encode_newarray_type, build_new_array):  New functions.
* java-tree.h:  Declare build_new_array.
* jcf-write.c (patch_newarray):  Use build_new_array.
* expr.c (java_lang_expand_exp):  Support NEW_ARRAY_INIT.
* jcf-write.c (generate_bytecode_insns):  Support NEW_ARRAY_INIT.
* parse.y (patch_new_array_init):  Re-organize.
Now is passed the actual array (pointer) type of the value.
Set the type of the CONSTRUCTOR to be an ARRAY_TYPE.
(patch_array_constructor):  Removed - merged into patch_new_array_init.
  (java_complete_tree):  Update patch_new_array_init.
* jcf-write.c (find_constant_index):  New function.
(generate_bytecode_insns):  Use find_constant_index.
(generate_classfile):  Use find_constant_index for ConstantValue.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24271 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * alpha.c (alpha_expand_block_move): mode_for_size expects
rth [Sat, 12 Dec 1998 16:52:32 +0000 (16:52 +0000)]
    * alpha.c (alpha_expand_block_move): mode_for_size expects
        bits, not bytes.  Infer extra alignment from addressof.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24270 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * decl.c (grokdeclarator): Allow field with same name as class
jason [Sat, 12 Dec 1998 16:41:15 +0000 (16:41 +0000)]
* decl.c (grokdeclarator): Allow field with same name as class
in extern "C".
* decl.c (lookup_name_real): Don't limit field lookup to types.
* class.c (check_member_decl_is_same_in_complete_scope): No error
if icv and x are the same.
* lex.c (do_identifier): Tweak error message.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24269 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Sat, 12 Dec 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24268 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * expr.c (invoke_build_dtable): Renamed dtable -> vtable.
tromey [Fri, 11 Dec 1998 11:55:15 +0000 (11:55 +0000)]
* expr.c (invoke_build_dtable): Renamed dtable -> vtable.
* decl.c (init_decl_processing): Renamed dtable -> vtable.
* class.c (make_class_data): Renamed dtable -> vtable, and
dtable_method_count -> vtable_method_count.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24267 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoPut small uninitialized data in .sbss, not .sdata
meissner [Fri, 11 Dec 1998 11:20:41 +0000 (11:20 +0000)]
Put small uninitialized data in .sbss, not .sdata

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24266 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago* sh.c (print_operand): lookup interrupt_handler attribute instead
scox [Fri, 11 Dec 1998 11:18:26 +0000 (11:18 +0000)]
* sh.c (print_operand): lookup interrupt_handler attribute instead
of relying on static variable.
* (calc_live_regs): Likewise.
* (sh_pragma_insert_attributes): Create interrupt_handler
attribute if a pragma was specified
* (sh_valid_machine_decl_attribute): Don't set static flag.
* sh.h (PRAGMA_INSERT_ATTRIBUTES): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24265 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * g++.old-deja/g++.benjamin/p12475.C: Expect failure on mips64 targets.
law [Fri, 11 Dec 1998 09:28:51 +0000 (09:28 +0000)]
    * g++.old-deja/g++.benjamin/p12475.C: Expect failure on mips64 targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24264 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago
manfred [Fri, 11 Dec 1998 08:32:49 +0000 (08:32 +0000)]

* cccp.c: Do not #include <sys/stat.h> here; this is already done
by "system.h".
* collect2.c: Likewise.
* cpplib.h: Likewise.
* gcc.c: Likewise.
* gcov.c: Likewise.
* getpwd.c: Likewise.
* protoize.c: Likewise.
* toplev.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24263 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * cccp.c: Do not #include <sys/stat.h> here; this is already done
manfred [Fri, 11 Dec 1998 08:32:40 +0000 (08:32 +0000)]
* cccp.c: Do not #include <sys/stat.h> here; this is already done
by "system.h".
* collect2.c: Likewise.
* cpplib.h: Likewise.
* gcc.c: Likewise.
* gcov.c: Likewise.
* getpwd.c: Likewise.
* protoize.c: Likewise.
* toplev.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24262 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agop
manfred [Fri, 11 Dec 1998 08:32:37 +0000 (08:32 +0000)]
p
* cccp.c: Do not #include <sys/stat.h> here; this is already done
by "system.h".
* collect2.c: Likewise.
* cpplib.h: Likewise.
* gcc.c: Likewise.
* gcov.c: Likewise.
* getpwd.c: Likewise.
* protoize.c: Likewise.
* toplev.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24261 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago
manfred [Fri, 11 Dec 1998 08:27:07 +0000 (08:27 +0000)]

* cpplib.h (HOST_WIDE_INT): Get definition from "machmode.h"
and don't try to define it here.
* Makefile.in (cppmain.o): Depend on machmode.h.
(cpplib.o): Likewise.
(cpperror.o): Likewise.
(cppexp.o): Likewise.
(cppfiles.o): Likewise.
(cpphash.o): Likewise.
(cppalloc.o): Likewise.
(fix-header.o): Likewise.
(scan-decls.o): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24260 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago
manfred [Fri, 11 Dec 1998 08:27:02 +0000 (08:27 +0000)]

* cpplib.h (HOST_WIDE_INT): Get definition from "machmode.h"
and don't try to define it here.
* Makefile.in (cppmain.o): Depend on machmode.h.
(cpplib.o): Likewise.
(cpperror.o): Likewise.
(cppexp.o): Likewise.
(cppfiles.o): Likewise.
(cpphash.o): Likewise.
(cppalloc.o): Likewise.
(fix-header.o): Likewise.
(scan-decls.o): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24259 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoApproved by Jeffrey A Law:
amylaar [Fri, 11 Dec 1998 04:59:25 +0000 (04:59 +0000)]
Approved by Jeffrey A Law:
* reload1.c (reload_combine): Use BASIC_BLOCK_LIVE_AT_START
to determine if a register is live at a jump destination.
Everything is dead at a BARRIER.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24258 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Fri, 11 Dec 1998 00:45:15 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24257 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * gcc.c-torture/compile/981211-1.c: New test.
law [Fri, 11 Dec 1998 00:14:59 +0000 (00:14 +0000)]
    * gcc.c-torture/compile/981211-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24256 138bc75d-0d04-0410-961f-82ee72b054a4