OSDN Git Service

pf3gnuchains/gcc-fork.git
25 years agoDaily bump.
law [Thu, 23 Jul 1998 00:45:01 +0000 (00:45 +0000)]
Daily bump.

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

25 years ago * inc/exception: Change terminate and unexpected to ().
jason [Wed, 22 Jul 1998 17:54:26 +0000 (17:54 +0000)]
* inc/exception: Change terminate and unexpected to ().
* parse.y (named_class_head_sans_basetype_defn): A
named_class_head_sans_basetype followed by '{' or ':' is a defn.

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

25 years agoWed Jul 22 19:10:00 1998 Catherine Moore <clm@cygnus.com>
clm [Wed, 22 Jul 1998 17:16:20 +0000 (17:16 +0000)]
Wed Jul 22 19:10:00 1998  Catherine Moore  <clm@cygnus.com>
        * dwarf2out.c (output_aranges):  Call stripattributes
        for TEXT_SECTION references.
        (output_line_info): Likewise.

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

25 years ago * profile.c (branch_prob): Call allocate_reg_info after outputting
davem [Wed, 22 Jul 1998 16:14:27 +0000 (16:14 +0000)]
* profile.c (branch_prob): Call allocate_reg_info after outputting
profile rtl in instrument_arcs.

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

25 years agoAvoid irix 6.2/irix 6.3 header file conflict.
wilson [Wed, 22 Jul 1998 12:50:10 +0000 (12:50 +0000)]
Avoid irix 6.2/irix 6.3 header file conflict.
* fixinc.irix (math.h): Install wrapper instead of copying.

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

25 years ago
bothner [Wed, 22 Jul 1998 12:38:23 +0000 (12:38 +0000)]

* tree.def (EXPR_WITH_FILE_LOCATION): Defined as an 'e' expression
  so WFL are expanded correctly when contained in a COMPOUND_EXPR.
* tree.h (EXPR_WFL_EMIT_LINE_NOTE): Change macro not to use
  lang_flag_0. Added documentation in the flag table.

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

25 years ago * tree.def (EXPR_WITH_FILE_LOCATION): Defined as an 'e' expression
bothner [Wed, 22 Jul 1998 12:38:21 +0000 (12:38 +0000)]
* tree.def (EXPR_WITH_FILE_LOCATION): Defined as an 'e' expression
  so WFL are expanded correctly when contained in a COMPOUND_EXPR.
* tree.h (EXPR_WFL_EMIT_LINE_NOTE): Change macro not to use
  lang_flag_0. Added documentation in the flag table.

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

25 years agoDaily bump.
law [Wed, 22 Jul 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

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

25 years agoP
law [Tue, 21 Jul 1998 22:34:23 +0000 (22:34 +0000)]
P
* g77spec.c (lang_specific_driver): Return unmolested
command line when --help seen.
Comment out code that printed g77-specific --help info.

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

25 years ago
law [Tue, 21 Jul 1998 22:34:22 +0000 (22:34 +0000)]

* g77spec.c (lang_specific_driver): Return unmolested
command line when --help seen.
Comment out code that printed g77-specific --help info.

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

25 years ago8
law [Tue, 21 Jul 1998 22:31:41 +0000 (22:31 +0000)]
8
        * cccp.c (do_include): Fix vax c style include handling.

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

25 years ago
law [Tue, 21 Jul 1998 22:31:39 +0000 (22:31 +0000)]

        * cccp.c (do_include): Fix vax c style include handling.

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

25 years ago * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
jason [Tue, 21 Jul 1998 18:16:29 +0000 (18:16 +0000)]
* cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.

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

25 years ago * tree.c (canonical_type_variant): New fn to handle arrays.
jason [Tue, 21 Jul 1998 18:16:09 +0000 (18:16 +0000)]
* tree.c (canonical_type_variant): New fn to handle arrays.
* cp-tree.h (CANONICAL_TYPE_VARIANT): Remove.
* pt.c (unify, default case): Also fold arg.  Fix array bounds case.
* method.c (process_overload_item): Use build_overload_value for
arrays.

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

25 years ago * rs6000.h (PREDICATE_CODES): Add CONSTANT_P_RTX.
dje [Tue, 21 Jul 1998 12:56:31 +0000 (12:56 +0000)]
    * rs6000.h (PREDICATE_CODES): Add CONSTANT_P_RTX.
        * rs6000.md (movsi, movdi): Add CONSTANT_P_RTX.
        * rs6000.c (short_cint_operand): Add CONSTANT_P_RTX.
        (u_short_cint_operand): Same.
        (reg_or_cint_operand): Same.
        (logical_operand): Same.
        (input_operand): Same.
        (reg_or_short_operand): Use u_short_cint_operand.

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

25 years ago * alpha.md (fix_truncdfsi2, fix_truncsfsi2): Remove the define_expands,
rth [Tue, 21 Jul 1998 08:57:27 +0000 (08:57 +0000)]
    * alpha.md (fix_truncdfsi2, fix_truncsfsi2): Remove the define_expands,
        but keep the insns and splits.  Adjust so when the ultimate destination
        is memory, use cvtql.

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

25 years ago* flow.c (regno_uninitialized): Fixed regs are never uninitialized.
rth [Tue, 21 Jul 1998 08:54:29 +0000 (08:54 +0000)]
* flow.c (regno_uninitialized): Fixed regs are never uninitialized.

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

25 years ago * gcc.c (do_spec): Call "error" not "warning".
law [Tue, 21 Jul 1998 07:52:35 +0000 (07:52 +0000)]
    * gcc.c (do_spec): Call "error" not "warning".
Opps.

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

25 years agoDaily bump.
law [Tue, 21 Jul 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

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

25 years ago * configure.in: Fix minor problems with gas feature detection code.
law [Mon, 20 Jul 1998 23:56:42 +0000 (23:56 +0000)]
    * configure.in: Fix minor problems with gas feature detection code.
        * configure: Rebuilt.

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

25 years agoTue Jul 21 00:31:01 1998 Jeffrey A Law (law@cygnus.com)
law [Mon, 20 Jul 1998 23:38:58 +0000 (23:38 +0000)]
Tue Jul 21 00:31:01 1998  Jeffrey A Law  (law@cygnus.com)
        * gcc.c (do_spec): Issue a warning for '%[]' usage.
        * Undo this change.
        * gcc.c: Delete %[spec] support.
        (do_spec_1, case '('): Likewise.
        (do_spec_1, case '['): Call error.

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

25 years ago * alpha.h (CPP_SPEC): Tidy. Hook to cpp_cpu and cpp_subtarget.
rth [Mon, 20 Jul 1998 23:04:58 +0000 (23:04 +0000)]
    * alpha.h (CPP_SPEC): Tidy.  Hook to cpp_cpu and cpp_subtarget.
        (CPP_SUBTARGET_SPEC): Default to empty string.
        (CPP_AM_*, CPP_IM_*, CPP_CPU_*, CPP_CPU_SPEC): New.
        (EXTRA_SPECS, SUBTARGET_EXTRA_SPECS): New.
        * alpha/elf.h (LD_SPEC): Use %(elf_dynamic_linker).
        * alpha/linux-elf.h (SUBTARGET_EXTRA_SPECS): New.
        (LIB_SPEC): Tidy.
        * alpha/linux.h (CPP_PREDEFINES): Tidy.
        * alpha/netbsd-elf.h (SUBTARGET_EXTRA_SPECS): New.
        * alpha/netbsd.h (CPP_PREDEFINES): Tidy.
        * alpha/osf.h (CPP_PREDEFINES): Remove bits subsumed by CPP_CPU_SPEC.
        * alpha/win-nt.h (CPP_PREDEFINES): Likewise.
        * alpha/vsf.h (CPP_PREDEFINES): Likewise.
        (CPP_SUBTARGET_SPEC): New.  Do this instead of overriding CPP_SPEC.
        * alpha/vxworks.h: Likewise.

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

25 years agoRemove accidental checkin.
law [Mon, 20 Jul 1998 22:36:45 +0000 (22:36 +0000)]
Remove accidental checkin.

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

25 years ago* mips.md (reload_outsi): Added missing REGNO call.
raeburn [Mon, 20 Jul 1998 19:53:04 +0000 (19:53 +0000)]
* mips.md (reload_outsi): Added missing REGNO call.
(smulsi3_highpart, umulsi3_highpart): Provide prototype for function pointer.
(mul_acc_di, mul_acc_64bit_di): Don't use match_op_dup, use another
match_operator and compare the codes.
* mips.h (MASK_DEBUG_E, MASK_DEBUG_I): Set to zero.
* MIPS multiply pattern fixes:
* mips.h (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add union
classes for HI, LO, or HILO plus general registers.
(GENERATE_MADD): Deleted.
* mips.md (mulsi3_mult3): Don't disparage output-LO alternative.  Add
TARGET_MAD to condition.
(mulsi3): Test HAVE_mulsi3_mult3, not specific flags.
(mul_acc_si): Expand GENERATE_MADD here; it's the only use.  Use "*d" for
accumulator, to give preference to LO initially but not during reload.

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

25 years ago1998-07-20 Dave Brolley <brolley@cygnus.com>
brolley [Mon, 20 Jul 1998 13:36:43 +0000 (13:36 +0000)]
1998-07-20  Dave Brolley  <brolley@cygnus.com>
* lex.c (mbchar.h): #include it.
(GET_ENVIRONMENT): New macro.
(init_parse): Set character set based on LANG environment variable.
(real_yylex): Handle multibyte characters in character literals.
(real_yylex): Handle multibyte characters in string literals.

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

25 years agoMon Jul 20 16:16:38 1998 Dave Brolley <brolley@cygnus.com>
brolley [Mon, 20 Jul 1998 13:35:38 +0000 (13:35 +0000)]
Mon Jul 20 16:16:38 1998  Dave Brolley  <brolley@cygnus.com>
* configure.in (enable_c_mbchar): New configure option.
(extra_cpp_objs): Always available now.
* cexp.y (mbchar.h): #include it.
(yylex): Handle Multibyte characters in character literals.
* cccp.c (mbchar.h): #include it.
(main): Set character set based on LANG environment variable.
(rescan): Handle multibyte characters in comments.
(skip_if_group): See above.
(validate_else): See above.
(skip_to_end_of_comment): See above.
(macarg1): See above.
(discard_comments): See above.
(rescan): Handle multibyte characters in string and character literals.
(collect_expansion): See above.
(skip_quoted_string): See above.
(macroexpand): See above.
(macarg1): See above.
(discard_comments): See above.
(change_newlines): See above.
* c-lex.c (mbchar.h): #include it.
(GET_ENVIRONMENT): New macro.
(init_lex): Set character set based on LANG environment variable.
(yylex): Handle multibyte characters in character literals.
(yylex): Handle multibyte characters in string literals.
* Makefile.in (mbchar.o): New target.
(cccp$(exeext)): @extra_cpp_objs@ is always available.
(cppmain$(exeext)): @extra_cpp_objs@ is always available.
* mbchar.[ch]: New files for multibyte character handling.

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

25 years ago * jump.c (jump_optimize): When simplifying noop moves and
davem [Mon, 20 Jul 1998 02:20:07 +0000 (02:20 +0000)]
* jump.c (jump_optimize): When simplifying noop moves and
PUSH_ROUNDING, fix thinko so we use same criterion for identifying
the PUSHes to rewrite in second loop as we did in the first.

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

25 years agoDaily bump.
law [Mon, 20 Jul 1998 00:45:31 +0000 (00:45 +0000)]
Daily bump.

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

25 years agonew
jason [Mon, 20 Jul 1998 00:29:35 +0000 (00:29 +0000)]
new

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

25 years ago8
law [Mon, 20 Jul 1998 00:00:54 +0000 (00:00 +0000)]
8
* config.guess: (*-pc-sco3.2v5) Add detection for Pentium II.
(*-pc-unixware7) Add detection for Pentium II, Pentium Pro.

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

25 years ago@
law [Mon, 20 Jul 1998 00:00:52 +0000 (00:00 +0000)]
@
* config.guess: (*-pc-sco3.2v5) Add detection for Pentium II.
(*-pc-unixware7) Add detection for Pentium II, Pentium Pro.

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

25 years ago * lang-options.h: Fix up doc strings.
law [Sun, 19 Jul 1998 23:55:30 +0000 (23:55 +0000)]
    * lang-options.h: Fix up doc strings.
        Remove the unimplemented -fdcp-intrinsics-* options.
        * str-1t.fin: Change mixed-case spelling of `GoTo' from
        `Goto'.

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

25 years ago * lex.c (do_identifier): Look for class value even if we don't
jason [Sun, 19 Jul 1998 23:47:18 +0000 (23:47 +0000)]
* lex.c (do_identifier): Look for class value even if we don't
have a global value.  Do implicit declaration if parsing is 2.
* semantics.c (finish_call_expr): Pass 2 if we're doing Koenig
lookup.

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

25 years ago * decl.c (pushtag): Revert previous change.
mmitchel [Sun, 19 Jul 1998 18:55:38 +0000 (18:55 +0000)]
* decl.c (pushtag): Revert previous change.
* pt.c (lookup_template_class): Don't put out debugging
information for types that use template parameters.

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

25 years ago * decl.c (pushtag): Don't put out debugging information for
mmitchel [Sun, 19 Jul 1998 18:00:47 +0000 (18:00 +0000)]
* decl.c (pushtag): Don't put out debugging information for
compiler-generated typedefs.

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

25 years ago * error.c (dump_type_real): Don't crash when presented with
mmitchel [Sun, 19 Jul 1998 17:54:13 +0000 (17:54 +0000)]
* error.c (dump_type_real): Don't crash when presented with
intQI_type_node or the like.

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

25 years ago * semantics.c (finish_translation_unit): Fix spelling error in
mmitchel [Sun, 19 Jul 1998 17:52:17 +0000 (17:52 +0000)]
* semantics.c (finish_translation_unit): Fix spelling error in
comment.

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

25 years agoThis fixes a problem when using KNR compilers.
ghazi [Sun, 19 Jul 1998 05:28:57 +0000 (05:28 +0000)]
This fixes a problem when using KNR compilers.
        * cplus-dem.c (demangle_nested_args): Make function definition
        static to match the prototype.

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

25 years ago1998-07-19 Dave Love <d.love@dl.ac.uk>
fx [Sun, 19 Jul 1998 04:54:39 +0000 (04:54 +0000)]
1998-07-19  Dave Love  <d.love@dl.ac.uk>
* Makefile.in (all): Depend on s-libe77, not e77.
(.PHONY): Remove e77.

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

25 years ago(all): Depend on s-libe77, not e77.
fx [Sun, 19 Jul 1998 04:54:06 +0000 (04:54 +0000)]
(all): Depend on s-libe77, not e77.
(.PHONY): Remove e77.

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

25 years agoDaily bump.
law [Sun, 19 Jul 1998 00:45:01 +0000 (00:45 +0000)]
Daily bump.

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

25 years agoFix typo.
pcg [Sat, 18 Jul 1998 15:48:44 +0000 (15:48 +0000)]
Fix typo.

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

25 years ago*** empty log message ***
mmitchel [Sat, 18 Jul 1998 15:25:20 +0000 (15:25 +0000)]
*** empty log message ***

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

25 years ago * decl.c (lookup_name_real): Pull out single function here.
jason [Sat, 18 Jul 1998 02:26:44 +0000 (02:26 +0000)]
* decl.c (lookup_name_real): Pull out single function here.
(select_decl): Not here.
(unqualified_namespace_lookup): Use CP_DECL_CONTEXT.

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

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

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

25 years ago * decl.c (qualify_lookup): Tweak again.
jason [Fri, 17 Jul 1998 17:19:31 +0000 (17:19 +0000)]
* decl.c (qualify_lookup): Tweak again.

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

25 years ago * pt.c (lookup_template_class): Don't mess with the context of the
jason [Fri, 17 Jul 1998 16:29:25 +0000 (16:29 +0000)]
* pt.c (lookup_template_class): Don't mess with the context of the
instantiation.
* decl2.c (current_decl_namespace): Remove special handling for
templates.

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

25 years ago * alloca.c: Respect USE_C_ALLOCA.
rth [Fri, 17 Jul 1998 15:00:11 +0000 (15:00 +0000)]
    * alloca.c: Respect USE_C_ALLOCA.
        * gencheck.c (xmalloc): Ignore __GNUC__ for definition.
        * gengenrtl.c (xmalloc): Likewise.

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

25 years ago * loop.h (struct induction): Add no_const_addval.
rth [Fri, 17 Jul 1998 14:46:06 +0000 (14:46 +0000)]
    * loop.h (struct induction): Add no_const_addval.
        * loop.c (the_movables, reg_address_cost): New variables.
        (init_loop): Init reg_address_cost.
        (loop_optimize): Call end_alias_analysis.
        (scan_loop): Init the_movables.
        (record_giv): Init induction->no_const_addval.
        (basic_induction_var) [PLUS]: Use rtx_equal_p instead of ==.
        [REG]: Rearrange loop search test to catch more cases.
        (general_induction_var): Return success not benefit; take an extra
        argument for that.  Change all callers.
        (simplify_giv_expr) [PLUS]: Always combine invariants.  Use sge_plus.
        [MULT]: Use rtx_equal_p instead of ==.  Combine simple invariants.
        [default]: Search the_movables for additional combinations.
        (sge_plus_constant, sge_plus): New functions.
        (express_from_1): New function.
        (express_from): Always define.  Rewrite using express_from_1.
        (combine_givs_p): Handle more cases.  Ignore address cost.
        (cmp_combine_givs_stats): New function.
        (combine_givs_used_once, combine_givs_benefit_from): New functions.
        (combine_givs): Rewrite to do best-fit combination.
        * fold-const.c (operand_equal_p): Handle RTL_EXPR.
        (fold): Do a complete (A*C)+(B*C) association check.

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

25 years agomark as expected failure
nickc [Fri, 17 Jul 1998 14:20:47 +0000 (14:20 +0000)]
mark as expected failure

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

25 years agoFix some sparc complex testsuite failures.
wilson [Fri, 17 Jul 1998 11:22:40 +0000 (11:22 +0000)]
Fix some sparc complex testsuite failures.
* function.c (fixup_var_refs_insns): Handle CLOBBER of a CONCAT.

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

25 years ago * mn10300.c (MODES_TIEABLE_P): Fix typo.
law [Fri, 17 Jul 1998 10:53:58 +0000 (10:53 +0000)]
    * mn10300.c (MODES_TIEABLE_P): Fix typo.

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

25 years ago * pt.c (tsubst, case FUNCTION_DECL): Fix getting complete args for
jason [Fri, 17 Jul 1998 06:19:07 +0000 (06:19 +0000)]
* pt.c (tsubst, case FUNCTION_DECL): Fix getting complete args for
a member template specialization.
* tree.c (ovl_member): Use decls_match to compare functions.
* decl.c (decls_match): Check the context of a function.

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

25 years ago* tree.c (valid_machine_attribute): Only create a new type variant if
rearnsha [Fri, 17 Jul 1998 03:34:34 +0000 (03:34 +0000)]
* tree.c (valid_machine_attribute): Only create a new type variant if
there is a decl to use it.

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

25 years ago * parse.y (primary): Use notype_unqualified_id instead of IDENTIFIER
jason [Fri, 17 Jul 1998 02:48:08 +0000 (02:48 +0000)]
* parse.y (primary): Use notype_unqualified_id instead of IDENTIFIER
in Koenig lookup support rules.
* semantics.c (finish_call_expr): Handle the new cases.
* typeck.c (build_x_function_call): Handle overloaded methods.
* decl.c (grokvardecl): Don't call build_static_name for extern "C".

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

25 years ago * tmap.cc: Use less<int>.
jason [Fri, 17 Jul 1998 01:30:01 +0000 (01:30 +0000)]
* tmap.cc: Use less<int>.
* tlist.cc (main): Use remove_if.

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

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

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

25 years ago1998-07-16 Mark Mitchell <mark@markmitchell.com>
mmitchel [Thu, 16 Jul 1998 23:38:43 +0000 (23:38 +0000)]
1998-07-16  Mark Mitchell  <mark@markmitchell.com>
* semantics.c (finish_object_call_expr): Revert previous change.
* call.c (build_new_method_call): Likewise.  Instead, convert
TYPE_DECLs to IDENTIFIERs here, in the presence of templates.

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

25 years ago * (ffecom_finish_symbol_transform_): Revert change
law [Thu, 16 Jul 1998 22:53:02 +0000 (22:53 +0000)]
* (ffecom_finish_symbol_transform_): Revert change
of 1998-05-23, as it was too aggressive, in that it
prevented transformation of (used) functions before
primary code generation.

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

25 years agod
law [Thu, 16 Jul 1998 22:53:01 +0000 (22:53 +0000)]
d
* (ffecom_finish_symbol_transform_): Revert change
of 1998-05-23, as it was too aggressive, in that it
prevented transformation of (used) functions before
primary code generation.

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

25 years ago
law [Thu, 16 Jul 1998 22:52:59 +0000 (22:52 +0000)]

* (ffecom_finish_symbol_transform_): Revert change
of 1998-05-23, as it was too aggressive, in that it
prevented transformation of (used) functions before
primary code generation.

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

25 years agoUpdates from craig.
law [Thu, 16 Jul 1998 22:51:15 +0000 (22:51 +0000)]
Updates from craig.

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

25 years ago8
law [Thu, 16 Jul 1998 22:45:49 +0000 (22:45 +0000)]
8
* gcc.c (do_spec_1): Cope with %g/%u/%U options which do not have
a suffix.

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

25 years ago
law [Thu, 16 Jul 1998 22:45:47 +0000 (22:45 +0000)]

* gcc.c (do_spec_1): Cope with %g/%u/%U options which do not have
a suffix.

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

25 years ago * libU77/Makefile.in: Missed one config.h.in -> config.hin change.
law [Thu, 16 Jul 1998 21:33:58 +0000 (21:33 +0000)]
    * libU77/Makefile.in: Missed one config.h.in -> config.hin change.

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

25 years ago * decl.c (qualify_lookup): Handle templates.
jason [Thu, 16 Jul 1998 21:16:06 +0000 (21:16 +0000)]
* decl.c (qualify_lookup): Handle templates.
* decl2.c (do_using_directive): Don't pass ancestor.
* decl.c (push_using_directive): Calculate ancestor.
* decl2.c (do_nonmember_using_decl): Allow for type shadowing.
* decl.c (pushdecl): Move type shadowing handling from here...
(duplicate_decls): ...to here.
* decl.c (set_identifier_local_value_with_scope): New fn.
(pushdecl): Use it.
(set_identifier_local_value, lookup_type_current_level): New fns.
* decl2.c (do_local_using_decl): Handle types and binding level
stuff properly.

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

25 years ago * gcc.c-torture/execute/980716-1.c: New test.
law [Thu, 16 Jul 1998 20:47:24 +0000 (20:47 +0000)]
    * gcc.c-torture/execute/980716-1.c: New test.

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

25 years ago(
law [Thu, 16 Jul 1998 20:00:57 +0000 (20:00 +0000)]
(
* extend.texi (Explicit Reg Vars): Typo: change "may deleted" into "may
be deleted"

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

25 years ago * extend.texi (Explicit Reg Vars): Typo: change "may deleted" into "may
law [Thu, 16 Jul 1998 20:00:55 +0000 (20:00 +0000)]
* extend.texi (Explicit Reg Vars): Typo: change "may deleted" into "may
be deleted"

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

25 years ago * init.c (build_offset_ref): Don't call mark_used on an OVERLOAD.
jason [Thu, 16 Jul 1998 17:48:39 +0000 (17:48 +0000)]
* init.c (build_offset_ref): Don't call mark_used on an OVERLOAD.
* decl.c (select_decl): Extract a lone function from an OVERLOAD.
(lookup_namespace_name): Likewise.
* typeck.c (build_unary_op): Not here anymore.
* decl2.c (do_class_using_decl): Make sure we get an identifier.
* class.c (handle_using_decl): Ignore TYPE_DECLs.

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

25 years ago * decl.c (qualify_lookup): New fn.
jason [Thu, 16 Jul 1998 16:38:26 +0000 (16:38 +0000)]
* decl.c (qualify_lookup): New fn.
(lookup_name_real): Use it.
* decl2.c (add_using_namespace): When directly using a namespace
that was indirect before, promote it.
* cp-tree.h (LOOKUP_PREFER_TYPES, LOOKUP_PREFER_NAMESPACES,
LOOKUP_PREFER_BOTH, LOOKUP_NAMESPACES_ONLY, LOOKUP_TYPES_ONLY,
LOOKUP_QUALIFIERS_ONLY, LOOKUP_TEMPLATES_EXPECTED): New macros.
* decl.c (select_decl): Replace two flag parameters by one.
(unqualified_namespace_lookup): Likewise, pass flag.
(lookup_flags): New function.
(lookup_name_real): Compute flags, pass them.
(lookup_namespace_name): Call with zero-flag.
* decl2.c (ambiguous_decl): Add flag parameter, complain only
according to flags.
(lookup_using_namespace, qualified_lookup_using_namespace):
Add flag parameter, pass them through.
* lex.c (do_scoped_id): Call with zero-flag.

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

25 years ago * typeck.c (convert_for_assignment): Use comptypes.
jason [Thu, 16 Jul 1998 15:02:05 +0000 (15:02 +0000)]
* typeck.c (convert_for_assignment): Use comptypes.

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

25 years ago * mn10300.c (count_tst_insns): New arg oreg_countp. Callers changed.
law [Thu, 16 Jul 1998 14:10:24 +0000 (14:10 +0000)]
    * mn10300.c (count_tst_insns): New arg oreg_countp.  Callers changed.
        Simplify tests for clearing an address register.
        (expand_prologue): Corresponding changes.

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

25 years ago * mn10300.md (movXX patterns): Make sure the destination is an
law [Thu, 16 Jul 1998 13:54:53 +0000 (13:54 +0000)]
    * mn10300.md (movXX patterns): Make sure the destination is an
        ADDRESS_REG when substituting "zero_areg" for (const_int 0).
        (logical patterns): Split into expanders + patterns
        (zero and sign extension patterns): Similarly.
        (shift patterns): Similarly.

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

25 years ago1998-07-16 Mark Mitchell <mark@markmitchell.com>
mmitchel [Thu, 16 Jul 1998 11:46:44 +0000 (11:46 +0000)]
1998-07-16  Mark Mitchell  <mark@markmitchell.com>
* semantics.c (finish_object_call_expr): Move test for the
function called being a TYPE_DECL to ...
* call.c (build_new_method_call): Here.

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

25 years agoNew test case.
loewis [Thu, 16 Jul 1998 01:07:25 +0000 (01:07 +0000)]
New test case.

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

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

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

25 years ago8
law [Thu, 16 Jul 1998 00:22:41 +0000 (00:22 +0000)]
8
        * loop.c (emit_iv_add_mult): Scan the entire insn list generated
        for the sequence, recording base values.

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

25 years ago
law [Thu, 16 Jul 1998 00:22:39 +0000 (00:22 +0000)]

        * loop.c (emit_iv_add_mult): Scan the entire insn list generated
        for the sequence, recording base values.

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

25 years ago * decl2.c (arg_assoc_class): Also look at template arguments, if any.
jason [Thu, 16 Jul 1998 00:16:25 +0000 (00:16 +0000)]
* decl2.c (arg_assoc_class): Also look at template arguments, if any.
(arg_assoc): Handle error_mark_node and multiple levels of TREE_LIST.
* lex.c (looking_for_typename): Don't initialize.
* decl2.c (ambiguous_decl): Clarify error message.
* decl.c (push_using_directive): Iterate over namespaces used
indirectly.

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

25 years ago * g2c.hin: Renamed from g2c.h.in.
law [Thu, 16 Jul 1998 00:07:42 +0000 (00:07 +0000)]
    * g2c.hin: Renamed from g2c.h.in.
        * Makefile.in, configure.in: Changed as needed.
        * configure: Rebuilt.
        * libU77/config.hin: Renamed from libU77/config.h.in.
        * Makefile.in, configure.in: Changed as needed.
        * configure: Rebuilt.

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

25 years ago * decl2.c (add_using_namespace): Iterate over namespaces used
jason [Wed, 15 Jul 1998 17:27:24 +0000 (17:27 +0000)]
* decl2.c (add_using_namespace): Iterate over namespaces used
indirectly.
* decl.c (lookup_name_real): Accept namespace aliases as locals.
(cat_namespace_levels): Ignore aliases.
(duplicate_decls): Ignore duplicate aliases.
* decl2.c (do_namespace_alias): Process block level namespace
aliases. Store alias with pushdecl. Remove odr errors.
* parse.y (namespace_alias): New non-terminal.
(extdef): Use it.

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

25 years ago * decl2.c (arg_assoc_type): Handle METHOD_TYPE like FUNCTION_TYPE.
jason [Wed, 15 Jul 1998 16:56:50 +0000 (16:56 +0000)]
* decl2.c (arg_assoc_type): Handle METHOD_TYPE like FUNCTION_TYPE.
Handle TEMPLATE_TYPE_PARM.
(arg_assoc): Rewrite.

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

25 years agoAdd aliases in nested blocks
loewis [Wed, 15 Jul 1998 14:38:06 +0000 (14:38 +0000)]
Add aliases in nested blocks

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

25 years ago * pt.c (complete_template_args): Don't look at the context unless
jason [Wed, 15 Jul 1998 14:21:35 +0000 (14:21 +0000)]
* pt.c (complete_template_args): Don't look at the context unless
we have to.

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

25 years agoNew test case.
loewis [Wed, 15 Jul 1998 12:17:53 +0000 (12:17 +0000)]
New test case.

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

25 years agoMon Jul 13 18:45:06 1998 Craig Burley <burley@gnu.org>
fx [Wed, 15 Jul 1998 11:39:21 +0000 (11:39 +0000)]
Mon Jul 13 18:45:06 1998  Craig Burley  <burley@gnu.org>
* Make-lang.in (f77.rebuilt): Fix to depend on
build-dir-based, not source-based, g77.info.
* g77.texi: Merge docs with 0.5.24.
* g77install.texi: Ditto.

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

25 years ago1998-07-15 Dave Love <d.love@dl.ac.uk>
fx [Wed, 15 Jul 1998 11:38:08 +0000 (11:38 +0000)]
1998-07-15  Dave Love  <d.love@dl.ac.uk>
* intdoc.texi: Regenerated.

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

25 years agoUpdate from Craig, previously missed.
fx [Wed, 15 Jul 1998 11:05:36 +0000 (11:05 +0000)]
Update from Craig, previously missed.

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

25 years ago* i386.h (CPP_CPU_SPEC): Remove -Asystem(unix).
rth [Wed, 15 Jul 1998 10:50:48 +0000 (10:50 +0000)]
* i386.h (CPP_CPU_SPEC): Remove -Asystem(unix).

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

25 years agoNew test case.
loewis [Wed, 15 Jul 1998 07:58:24 +0000 (07:58 +0000)]
New test case.

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

25 years agoChanges from Craig.
fx [Wed, 15 Jul 1998 07:19:13 +0000 (07:19 +0000)]
Changes from Craig.

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

25 years agoMon Jul 13 18:45:06 1998 Craig Burley <burley@gnu.org>
fx [Wed, 15 Jul 1998 07:15:52 +0000 (07:15 +0000)]
Mon Jul 13 18:45:06 1998  Craig Burley  <burley@gnu.org>
* Make-lang.in (f77.rebuilt): Fix to depend on
build-dir-based, not source-based, g77.info.
* g77.texi: Merge docs with 0.5.24.
* g77install.texi: Ditto.

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

25 years agoMon Jul 13 18:02:29 1998 Craig Burley <burley@gnu.org>
fx [Wed, 15 Jul 1998 07:13:43 +0000 (07:13 +0000)]
Mon Jul 13 18:02:29 1998  Craig Burley  <burley@gnu.org>
Cleanups vis-a-vis g77-0.5.24:
* g77spec.c (lang_specific_driver): Tabify source.
* top.c (ffe_decode_option): Use fixed macro to set
internal-checking flag.
* top.h (ffe_set_is_do_internal_checks): Fix macro.

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

25 years agoMon Jul 13 17:33:44 1998 Craig Burley <burley@gnu.org>
fx [Wed, 15 Jul 1998 07:07:55 +0000 (07:07 +0000)]
Mon Jul 13 17:33:44 1998  Craig Burley  <burley@gnu.org>
Cleanups vis-a-vis system.h cutover and g77-0.5.24:
* Makefile.in (fini.o): Define USE_HCONFIG macro
so source code doesn't have to.
* fini.c: Don't define USE_HCONFIG here, since
source code usually shouldn't care about this.
* ansify.c: Include stddef.h only if we have it.
* intdoc.c: Ditto.
* proj.h: Ditto.

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

25 years ago * method.c (build_decl_overload_real): Fix namespace handling.
jason [Wed, 15 Jul 1998 04:38:53 +0000 (04:38 +0000)]
* method.c (build_decl_overload_real): Fix namespace handling.
* typeck.c (build_unary_op): Extract a lone function from an
OVERLOAD.
* call.c (build_scoped_method_call): Handle getting a namespace
for basetype in a destructor call.
(check_dtor_name): Handle enums.
* parse.y (using_directive): New nonterminal.
(extdef, simple_stmt): Use it.

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

25 years agoDaily bump.
law [Wed, 15 Jul 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

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

25 years agoNew test case.
loewis [Wed, 15 Jul 1998 00:18:50 +0000 (00:18 +0000)]
New test case.

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

25 years ago * decl2.c (add_function): Move error message ...
loewis [Tue, 14 Jul 1998 23:34:17 +0000 (23:34 +0000)]
* decl2.c (add_function): Move error message ...
(arg_assoc_namespace): ... from here.

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

25 years agoAdd myself as jump.c maintainer.
davem [Tue, 14 Jul 1998 21:20:43 +0000 (21:20 +0000)]
Add myself as jump.c maintainer.

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