OSDN Git Service
rth [Sun, 20 Sep 1998 19:02:58 +0000 (19:02 +0000)]
* tree.c (new_alias_set): New function.
* tree.h (new_alias_set): Declare it.
* c-common.c (c_get_alias_set): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22504
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 20 Sep 1998 12:37:58 +0000 (12:37 +0000)]
* fold-const.c (fold): Yet another COND_EXPR bug: when folding
to an ABS expr, convert an unsigned input to signed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22503
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 20 Sep 1998 12:30:50 +0000 (12:30 +0000)]
* class.c (maybe_warn_about_overly_private_class): Reformat.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22502
138bc75d-0d04-0410-961f-
82ee72b054a4
loewis [Sun, 20 Sep 1998 12:13:07 +0000 (12:13 +0000)]
New test case
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22501
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 20 Sep 1998 11:21:12 +0000 (11:21 +0000)]
* Makefile.in (bootstrap): Pass TARGET_FLAGS_TO_PASS to `make all'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22500
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 20 Sep 1998 11:16:12 +0000 (11:16 +0000)]
* fold-const.c (fold): Fix another type in COND_EXPR handling code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22499
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 20 Sep 1998 11:12:53 +0000 (11:12 +0000)]
* configure.in: Add support for c4x targets.
* configure: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22498
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Sun, 20 Sep 1998 10:53:05 +0000 (10:53 +0000)]
1998-09-20 Dave Love <d.love@dl.ac.uk>
* libI77/sfe.c (e_wdfe): Set f__init to avoid spurious recursive
i/o error from formatted direct i/o.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22496
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Sun, 20 Sep 1998 10:51:55 +0000 (10:51 +0000)]
Set f__init to avoid spurious recursive i/o error from formatted
direct i/o.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22495
138bc75d-0d04-0410-961f-
82ee72b054a4
robertl [Sun, 20 Sep 1998 09:06:51 +0000 (09:06 +0000)]
* except.c: Include system.h.
* Makefile.in (except.o): Depend on system.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22494
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sun, 20 Sep 1998 06:43:23 +0000 (06:43 +0000)]
Warning fixes:
* Makefile.in (actions.o, convert.o, decl.o, expr.o, lang.o,
lex.o, loop.o, parse.o, satisfy.o, timing.o, tasking.o, tree.o,
typeck.o): Depend on system.h and toplev.h.
(except.o): Depend on toplev.h.
(grant.o): Depend on system.h, toplev.h and output.h.
* actions.c: Include system.h and toplev.h. Remove redundant
prototypes.
(build_cause_exception): Add default case in switch.
(update_else_range_for_range): Add parentheses around && within ||.
(chill_handle_multi_case_label_list): Remove unused variable
`selector_value'.
(print_missing_cases): Reconcile format specifiers vs arguments in
calls to sprintf.
* ch-tree.h: Don't include stdio.h. Wrap prototypes using FILE*
with macro BUFSIZ. Add missing prototypes.
* convert.c: Include system.h and toplev.h. Remove redundant
prototypes.
(convert): Remove unused variable `errstr'.
* decl.c: Include system.h and toplev.h. Remove redundant
prototypes.
(builtin_scope): Add missing initializers.
(clear_scope): Likewise.
(allocate_lang_decl): Mark parameter `t' with ATTRIBUTE_UNUSED.
(copy_lang_decl): Likewise for parameter `node'.
(c_decode_option): Likewise for parameter `argc'.
(push_extern_function): Likewise for parameter `granting'.
(switch_to_pass_2): Hide declaration of errorcount/sorrycount.
(pushdecl): Remove unused variable `t'.
(lookup_name_current_level): Make static and hide.
(lookup_name_for_seizing): Make static.
(finish_decl): Remove unused variable `type'.
(maybe_build_cleanup): Mark parameter `decl' with ATTRIBUTE_UNUSED.
(complete_array_type): Mark parameters `type', `initial_value' and
`do_default' with ATTRIBUTE_UNUSED.
(start_struct): Mark parameter `name' with ATTRIBUTE_UNUSED.
(start_enum): Likewise.
(shadow_record_fields): Remove unused variables `type' and `parent'.
* except.c: Include toplev.h. Remove redundant prototypes.
* expr.c: Include system.h and toplev.h. Don't define NULL.
Remove redundant prototypes.
(internal_build_compound_expr): Mark parameter `first_p' with
ATTRIBUTE_UNUSED.
(build_allocate_getstack): Remove unused variable `init'.
(build_chill_pred_or_succ): Likewise for variable `limit'.
(varying_to_slice): Likewise for variable `doamin' [sic].
(finish_chill_binary_op): Likewise for variables `code0' and
`code1'. Remove unused label `finish'. Add explicit braces to
avoid ambiguous `else'.
(build_chill_addr_expr): Remove extra parameter in call to `error'.
(build_chill_unary_op): Remove unused variables `class' and `type0'.
(powersetlen): Remove unused variables `domain' and `temp'.
* grant.c: Include system.h, toplev.h and output.h. Don't handle
strchr/strrchr. Remove redundant prototypes.
(decode_constant_selective): Remove unused variables `op' and `wrk'.
(push_granted): Mark parameters `name' and `decl' with
ATTRIBUTE_UNUSED.
* inout.c: Include system.h and toplev.h. Remove redundant
prototypes.
(textlocation_mode): Use &&, not &, when comparing two truth
values.
(scanformcont): Remove unused label `do_the_action'.
* lang.c: Include system.h and toplev.h. Remove redundant
prototypes.
(lookup_interface): Mark parameter `arg' with ATTRIBUTE_UNUSED.
(maybe_objc_comptypes): Likewise for parameters `lhs' and `rhs'.
(lang_print_xnode): Likewise for parameters `file', `node' and
`indent'.
(lang_decode_option): Explicitly declare `explicit_ignore_case'.
(incomplete_type_error): Mark parameters `value' and `type' with
ATTRIBUTE_UNUSED.
* lex.c: Include system.h and toplev.h. Remove redundant
prototypes. Don't handle strchr/strrchr. Use CAPITALIZED
versions of ctype macros from system.h. Cast ctype arguments to
unsigned char when necessary.
(last_token, RETURN_TOKEN): Hide definition.
(push_back): Remove unused function.
(readstring): Change variable `i' to unsigned.
(yywrap): Remove unused variable `node'.
* loop.c: Include system.h and toplev.h. Remove redundant
prototypes.
(chill_unsigned_type): Hide prototype and definition.
(begin_loop_scope): Remove unused variable `firstp'.
(nonvalue_begin_loop_scope): Likewise.
* parse.c: Include system.h and toplev.h. Remove redundant
prototypes.
(quasi_signal): Hide.
(PEEK_TOKEN): Change return type to `enum terminal'.
(parse_mode_definition_statement): Remove unused variable `names'.
(parse_formpar): Remove unused parameter `in_spec_module'. All
callers changed.
(parse_formparlist): Likewise.
(parse_processpar): Remove unused variable `parms'.
(parse_definition): Add explicit braces to avoid ambiguous `else'.
(parse_multi_dimension_case_action): Initialize variable
`begin_test_label'. Remove unused variable `new_test'.
(parse_case_action): Remove unused variable `caseaction_flag'.
(parse_asm_clobbers): Remove unused variable `expr'.
(parse_delay_case_action): Initialize variable `label_cnt'.
(parse_action): Make function static.
(parse_tuple_element): Remove unused variable `list'.
(parse_primval): Add default case in switch.
(parse_variant_alternative): Remove unused variables `x' and
`variant_fields'.
* satisfy.c: Include system.h and toplev.h. Remove redundant
prototypes.
* tasking.c Include system.h and toplev.h. Remove redundant
prototypes.
(data_name): Hide.
(get_struct_variable_name): Likewise.
(validate_process_parameters): Mark parameter `parms' with
ATTRIBUTE_UNUSED.
(build_start_process): Initialize variable `tuple'.
(build_receive_buffer_case_end): Remove unused variable `buffer_ptr'.
* timing.c: Include system.h and toplev.h.
(build_after_timeout_start): Remove unused variable `goto_where'.
* tree.c: Include system.h and toplev.h. Remove redundant
prototypes.
* typeck.c: Include system.h and toplev.h. Remove redundant
prototypes.
(extract_constant_from_buffer): Make function static. Add
explicit braces to avoid ambiguous `else'.
(expand_constant_to_buffer): Likewise.
(build_chill_slice): remove unused variable `is_static'.
(chill_compatible): Add explicit braces to avoid ambiguous `else'.
(apply_chill_array_layout): Remove unused variable `offset'.
(smash_dummy_type): Remove unused variable `save_lang_specific'.
(initializer_constant_valid_p): Add default case in switch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22493
138bc75d-0d04-0410-961f-
82ee72b054a4
manfred [Sun, 20 Sep 1998 04:34:06 +0000 (04:34 +0000)]
�
* Makefile.in: Add dummy targets "info", "install-info", "clean-info"
and "dvi".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22492
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 20 Sep 1998 00:45:01 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22491
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 20 Sep 1998 00:13:42 +0000 (00:13 +0000)]
* config.sub: Fix typo in last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22490
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 20 Sep 1998 00:01:31 +0000 (00:01 +0000)]
* combine.c (distribute_notes): If an insn is a cc0 user, only
delete it if we can also delete the cc0 setter.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22489
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 19 Sep 1998 23:27:02 +0000 (23:27 +0000)]
* fold-const.c (fold): Fix typo in COND_EXPR handling code.
(invert_truthvalue): Enable truthvalue inversion for
floating-point operands if -ffast-math.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22488
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 19 Sep 1998 23:01:43 +0000 (23:01 +0000)]
* configure.in: Disable collect2 for nextstep. Instead use
crtbegin/crtend.
* configure: Rebuilt.
* config/nextstep.h (STARTFILE_SPEC): Add crtbegin.
(ENDFILE_SPEC): Define.
(OBJECT_FORMAT_MACHO): Define.
(EH_FRAME_SECTION_ASM_OP): Define.
* crtstuff.c: Handle MACHO.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22487
138bc75d-0d04-0410-961f-
82ee72b054a4
robertl [Sat, 19 Sep 1998 22:25:53 +0000 (22:25 +0000)]
* config/i386/sco5.h (TARGET_MEM_FUNCTIONS): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22486
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 19 Sep 1998 21:44:10 +0000 (21:44 +0000)]
* fp-bit.c (pack_d): Do not clear SIGN when fraction is 0.
(_fpadd_parts): Get sign right for 0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22485
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 19 Sep 1998 21:29:07 +0000 (21:29 +0000)]
Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22484
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 19 Sep 1998 21:27:09 +0000 (21:27 +0000)]
* ginclude/varargs.h: Add support for C4x target.
* ginclude/stdargs.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22483
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 19 Sep 1998 21:26:17 +0000 (21:26 +0000)]
* config.sub: Add support for C4x target.
* configure.in: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22482
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 19 Sep 1998 21:26:14 +0000 (21:26 +0000)]
�
* config.sub: Add support for C4x target.
* configure.in: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22481
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Sat, 19 Sep 1998 18:30:30 +0000 (18:30 +0000)]
removed XFAIL mark; it will be back in a few weeks if the failure remains
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22480
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 19 Sep 1998 12:14:38 +0000 (12:14 +0000)]
* alpha.c (alpha_return_addr): SET should be VOIDmode.
(alpha_emit_set_long_const): Rewrite to be callable from reload
and 32-bit hosts.
(alpha_expand_epilogue): Update for alpha_emit_set_long_const.
* alpha.md (movdi): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22479
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Sat, 19 Sep 1998 07:57:44 +0000 (07:57 +0000)]
* arm.c (bad_signed_byte_operand): Check both arms of a sum in
a memory address.
* arm.md (splits for *extendqihi_insn and *extendqisi_insn): Handle
memory addresses that are not in standard canonical form.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22478
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Sat, 19 Sep 1998 07:46:45 +0000 (07:46 +0000)]
* arm.c (add_constant): New parameter address_only, change caller.
Set it non-zero if taking the address of an item in the pool.
(arm_reorg): Handle cases where we need the address of an item in
the pool.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22477
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 19 Sep 1998 00:45:01 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22476
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 19 Sep 1998 00:03:07 +0000 (00:03 +0000)]
* README.C4X: New file with information about the c4x ports.
* ginclude/va-c4x.h: New file for c4x varargs support.
* config/c4x: New directory with c4x port files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22475
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 18 Sep 1998 23:13:48 +0000 (23:13 +0000)]
Minor tweak.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22474
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 18 Sep 1998 21:54:39 +0000 (21:54 +0000)]
P
* reload.c (find_reloads): Do not replace a pseudo with
(MEM (reg_equiv_addr)) in the initializing insn for the
pseudo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22473
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 18 Sep 1998 21:54:37 +0000 (21:54 +0000)]
�
* reload.c (find_reloads): Do not replace a pseudo with
(MEM (reg_equiv_addr)) in the initializing insn for the
pseudo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22472
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Fri, 18 Sep 1998 20:55:00 +0000 (20:55 +0000)]
* toplev.c (rest_of_compilation): Set bct_p on second call to
loop_optimize.
* loop.c (loop_optimize, scan_loop, strength_reduce): New argument
bct_p.
(strength_reduce): Only call analyze_loop_iterations and
insert_bct if bct_p set.
(check_dbra_loop): Fix typo.
(insert_bct): Use word_mode instead of SImode.
(instrument_loop_bct): Likewise. Do not delete iteration count
condition code generation insn. Initialize iteration count before
loop start.
* rtl.h (loop_optimize): Update prototype.
* ginclude/va-ppc.h (va_arg): longlong types in overflow area are
not doubleword aligned.
* rs6000.c (optimization_options): New function.
(secondary_reload_class): Only call true_regnum for PSEUDO_REGs.
* rs6000.h (OPTIMIZATION_OPTIONS): Define.
(REG_ALLOC_ORDER): Allocate highest numbered condition regsiters
first; cr1 can be used for FP record condition insns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22471
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Fri, 18 Sep 1998 18:33:17 +0000 (18:33 +0000)]
* g++.old-deja/g++.other/nested2.C: different virtual base classes
that happen to have the same base name, but in different scopes,
are incorrectly rejected
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22470
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Fri, 18 Sep 1998 15:45:43 +0000 (15:45 +0000)]
1998-09-18 Dave Love <d.love@dl.ac.uk>
* g77.texi: Various additions and some small fixes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22469
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Fri, 18 Sep 1998 15:44:51 +0000 (15:44 +0000)]
Various additions and some small fixes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22468
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Fri, 18 Sep 1998 10:27:46 +0000 (10:27 +0000)]
Fix for PR1654 - implement "movstrsi" pattern to copy simple blocks of memory.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22467
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 18 Sep 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22466
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 17 Sep 1998 18:46:24 +0000 (18:46 +0000)]
* Makefile.in (jcf-dump, jvgenmain): Link in memmove.o too.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22465
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 17 Sep 1998 15:31:30 +0000 (15:31 +0000)]
* Makefile.in ($(PARSE_H)): Removed target.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22463
138bc75d-0d04-0410-961f-
82ee72b054a4
amacleod [Thu, 17 Sep 1998 13:55:51 +0000 (13:55 +0000)]
Thu Sep 17 16:42:16 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
* except.c (start_catch_handler): Issue 'fatal' instead of 'error' and
re-align some code.
* libgcc2.c (__eh_rtime_match): fprintf a runtime error. Use <stdio.h>.
1998-09-17 Andrew MacLeod <amacleod@cygnus.com>
* exception.cc (__cplus_type_matcher): realign some code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22462
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Thu, 17 Sep 1998 08:04:30 +0000 (08:04 +0000)]
Move documentation files from egcs/gcc/objc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22461
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 17 Sep 1998 04:27:27 +0000 (04:27 +0000)]
* regmove.c (copy_src_to_dest): Check that modes match.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22460
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Thu, 17 Sep 1998 01:19:28 +0000 (01:19 +0000)]
Sun Sep 13 08:13:39 1998 Ben Elliston <bje@cygnus.com>
* objc/config-lang.in: Do not output the name of the selected
thread file when building the front-end. The Makefile for the
runtime library will do this.
* objc/Make-lang.in: Do not build the runtime library or install
the Objective C header files. The Makefile for the runtime
library will do this.
* objc/Makefile.in (all.indirect): Only build the front-end.
(compiler): Rename to `frontend'.
(obj-runtime): Remove target.
(copy-headers): Likewise.
(clean): No need to remove `libobjc.a' any longer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22459
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 17 Sep 1998 00:58:52 +0000 (00:58 +0000)]
* Makefile.in (JAVA_OBJS): Add memmove.o
(memmove.o): New target & rules.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22458
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 17 Sep 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22457
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 17 Sep 1998 00:30:53 +0000 (00:30 +0000)]
* Makefile.in ($(ARLINK), $(SHLINK)): Don't rely on 'ln -f'.
* Makefile.in (install): Don't rely on 'ln -f'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22456
138bc75d-0d04-0410-961f-
82ee72b054a4
robertl [Wed, 16 Sep 1998 20:13:19 +0000 (20:13 +0000)]
* config/i386/sco5.h (SUPPORTS_WEAK): True only if targeting ELF.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22455
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 16 Sep 1998 15:26:22 +0000 (15:26 +0000)]
* i386.h (PREFERRED_RELOAD_CLASS): Respect an existing class
narrower than FLOAT_REGS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22454
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Wed, 16 Sep 1998 13:51:44 +0000 (13:51 +0000)]
* cpplib.c: removed OLD_GPLUSPLUS_INCLUDE_DIR
* cccp.c: ditto
* Makefile.in (old_gxx_include_dir): removed
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22453
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Wed, 16 Sep 1998 13:16:27 +0000 (13:16 +0000)]
* egcs_update: Additionally touch gcc/java/parse.[ch].
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22452
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Wed, 16 Sep 1998 12:31:24 +0000 (12:31 +0000)]
update definition/use of HANDLE_PRAGMA to match new specification.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22451
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 16 Sep 1998 10:40:40 +0000 (10:40 +0000)]
* Make-lang.in (tinfo.o): Use CXXFLAGS when compiling.
(tinfo2.o): Likewise.
(exception.o): Likewise.
(new.o): Likewise.
(opnew.o): Likewise.
(opnewnt.o): Likewise.
(opvnew.o): Likewise.
(opvnewnt.o): Likewise.
(opdel.o): Likewise.
(opdelnt.o): Likewise.
(opvdel.o): Likewise.
(opvdelnt.o): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22450
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Wed, 16 Sep 1998 09:46:37 +0000 (09:46 +0000)]
* gen-protos.c (parse_fn_proto): Cast argument of ISALNUM to
`unsigned char'.
(main): Mark parameter `argc' with ATTRIBUTE_UNUSED.
When generating output, initialize missing struct member to zero.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22449
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Wed, 16 Sep 1998 06:49:57 +0000 (06:49 +0000)]
* regmove.c (copy_src_to_dest): Don't copy if that requires
(a) new register(s).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22448
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 16 Sep 1998 00:45:03 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22447
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 16 Sep 1998 00:31:22 +0000 (00:31 +0000)]
* global.c (reg_allocno): Now static.
* reload1.c (reg_allocno): Delete declaration.
(order_regs_for_reload): Take no arguments. Don't treat regs
allocated by global differently than those allocated by local-alloc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22446
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 16 Sep 1998 00:13:43 +0000 (00:13 +0000)]
* m68k/m68k.c (output_function_prologue): Reverse NO_ADDSUB_Q
condition, fix format strings.
(output_function_epilogue): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22445
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 16 Sep 1998 00:10:19 +0000 (00:10 +0000)]
* m68k/m68k.c: Don't include <stdlib.h> directly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22444
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 16 Sep 1998 00:01:28 +0000 (00:01 +0000)]
* rs6000.c (output_epilogue): Handle Chill.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22443
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 15 Sep 1998 23:43:50 +0000 (23:43 +0000)]
Fix out of date comments after previous change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22442
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 15 Sep 1998 23:32:22 +0000 (23:32 +0000)]
* gcse.c: New definition NEVER_SET for reg_first_set, reg_last_set,
mem_first_set, mem_last_set; because 0 can be a CUID.
(oprs_unchanged_p): Use new definition.
(record_last_reg_set_info): Likewise.
(record_last_mem_set_info): Likewise.
(compute_hash_table): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22441
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 15 Sep 1998 23:04:54 +0000 (23:04 +0000)]
* mn10200.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.
* mn10300.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22440
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 15 Sep 1998 22:47:10 +0000 (22:47 +0000)]
* combine.c (make_extraction): If no mode is specified for
an operand of insv, extv, or extzv, default it to word_mode.
(simplify_comparison): Similarly.
* expmed.c (store_bit_field): Similarly.
(extract_bit_field): Similarly.
* function.c (fixup_var_regs_1): Similarly.
* recog.c (validate_replace_rtx_1): Similarly.
* mips.md (extv, extzv, insv expanders): Default modes for most
operands. Handle TARGET_64BIT.
(movdi_uld, movdi_usd): New patterns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22439
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 15 Sep 1998 22:01:08 +0000 (22:01 +0000)]
�
* pa.c (emit_move_sequence): Do not replace a pseudo with its
equivalent memory location unless we have been provided a scratch
register. Similarly do not call find_replacement unless a
scratch register has been provided.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22438
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 15 Sep 1998 19:23:31 +0000 (19:23 +0000)]
* i386.h (PREFERRED_RELOAD_CLASS): For standard 387 constants,
return FLOAT_REGS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22437
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 15 Sep 1998 19:19:12 +0000 (19:19 +0000)]
* tree.h (BUILT_IN_CALLER_RETURN_ADDRESS): Unused. Kill.
(BUILT_IN_FP, BUILT_IN_SP, BUILT_IN_SET_RETURN_ADDR_REG): Kill.
(BUILT_IN_EH_STUB_OLD, BUILT_IN_EH_STUB, BUILT_IN_SET_EH_REGS): Kill.
(BUILT_IN_EH_RETURN, BUILT_IN_DWARF_CFA): New.
* c-decl.c (init_decl_processing): Update accordingly.
* expr.c (expand_builtin): Likewise.
* cp/decl.c (init_decl_processing): Likewise.
* rtl.h (global_rtl): Add cfa entry.
(virtual_cfa_rtx, VIRTUAL_CFA_REGNUM): New.
(LAST_VIRTUAL_REGISTER): Update.
* emit-rtl.c (global_rtl): Add cfa entry.
(init_emit): Initialize it.
* function.c (cfa_offset): New.
(instantiate_virtual_regs): Initialize it.
(instantiate_virtual_regs_1): Instantiate virtual_cfa_rtx.
(expand_function_end): Call expand_eh_return.
* tm.texi (ARG_POINTER_CFA_OFFSET): New.
* except.c (current_function_eh_stub_label): Kill.
(current_function_eh_old_stub_label): Likwise; update all references.
(expand_builtin_set_return_addr_reg): Kill.
(expand_builtin_eh_stub_old, expand_builtin_eh_stub): Kill.
(expand_builtin_set_eh_regs): Kill.
(eh_regs): Produce a third reg for the actual handler address.
(eh_return_context, eh_return_stack_adjust): New.
(eh_return_handler, eh_return_stub_label): New.
(init_eh_for_function): Initialize them.
(expand_builtin_eh_return, expand_eh_return): New.
* except.h: Update prototypes.
* flow.c (find_basic_blocks_1): Update references to the stub label.
* function.h (struct function): Kill stub label elements.
* libgcc2.c (in_reg_window): For REG_SAVED_REG, check that the
register number is one that would be in the previous window.
Provide a dummy definition for non-windowed targets.
(get_reg_addr): New function.
(get_reg, put_reg, copy_reg): Use it.
(__throw): Rely on in_reg_window, not INCOMING_REGNO. Kill stub
generating code and use __builtin_eh_return. Use __builtin_dwarf_cfa.
* alpha.c (alpha_eh_epilogue_sp_ofs): New.
(alpha_init_expanders): Initialize it.
(alpha_expand_epilogue): Use it.
* alpha.h: Declare it.
* alpha.md (eh_epilogue): New.
* m68h.h (ARG_POINTER_CFA_OFFSET): New.
* sparc.h (ARG_POINTER_CFA_OFFSET): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22436
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 15 Sep 1998 19:17:46 +0000 (19:17 +0000)]
* g++.old-deja/g++.brendan/array1.C: Size array via arithmetic based
on the native word size instead of an integer literal.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22435
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Tue, 15 Sep 1998 17:05:28 +0000 (17:05 +0000)]
* g++.old-deja/g++.other/static2.C: invocation of static data
member of type pointer-to-function denoted as non-static member
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22434
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Tue, 15 Sep 1998 17:04:53 +0000 (17:04 +0000)]
* call.c (build_field_call): handle static data members too
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22433
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Tue, 15 Sep 1998 16:32:49 +0000 (16:32 +0000)]
Fix thinko
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22432
138bc75d-0d04-0410-961f-
82ee72b054a4
raeburn [Tue, 15 Sep 1998 15:49:37 +0000 (15:49 +0000)]
Add stack alignment descriptions to comments describing stack layouts.
Also describe which layouts are used for EABI.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22431
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Tue, 15 Sep 1998 14:36:22 +0000 (14:36 +0000)]
* g++.old-deja/g++.other/typedef5.C: add some more tests involving
checks involving function types and aliases
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22430
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Tue, 15 Sep 1998 14:28:07 +0000 (14:28 +0000)]
* typeck.c (comptypes): when comparing pointer types, check
whether referred types match even in strictest modes
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22429
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 15 Sep 1998 13:43:59 +0000 (13:43 +0000)]
tweak
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22428
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 15 Sep 1998 13:43:48 +0000 (13:43 +0000)]
tweak
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22427
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 15 Sep 1998 11:43:54 +0000 (11:43 +0000)]
* cp-tree.h: Revert previous change.
(finish_struct_methods): Remove declaration.
* class.c: Revert previous change.
(maybe_warn_about_overly_private_class): New function.
(finish_struct_methods): Declare here, and make static. Remove
unnecessary parameters. Tidy slightly. Use
maybe_warn_about_overly_private_class.
(finish_struct_1): Adjust. Remove check for private constructors,
now done elsewhere.
(finish_struct): Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22426
138bc75d-0d04-0410-961f-
82ee72b054a4
amacleod [Tue, 15 Sep 1998 11:20:52 +0000 (11:20 +0000)]
Tue Sep 15 14:10:54 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
* except.h (struct eh_entry): Add false_label field.
(end_catch_handler): Add prototype.
* except.c (push_eh_entry): Set false_label field to NULL_RTX.
(start_catch_handler): When using old style exceptions, issue
runtime typematch code before continuing with the handler.
(end_catch_handler): New function, generates label after handler
if needed by older style exceptions.
(expand_start_all_catch): No need to check for new style exceptions.
(output_exception_table_entry): Only output the first handler label
for old style exceptions.
* libgcc2.c (__eh_rtime_match): New routine to lump runtime matching
mechanism into one function, if a runtime matcher is provided.
1998-09-15 Andrew MacLeod <amacleod@cygnus.com>
* cp/except.c (expand_start_catch_block): No need to check for new
exception model.
(process_start_catch_block_old): Deleted.
(process_start_catch_block): Add call to start_decl_1().
(expand_end_catch_block): Add call to end_catch_handler().
* cp/exception.cc (__cplus_type_matcher): Only check the exception
language if there is an exception table.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22425
138bc75d-0d04-0410-961f-
82ee72b054a4
amacleod [Tue, 15 Sep 1998 11:03:03 +0000 (11:03 +0000)]
Tue Sep 15 13:53:59 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
* config/i960/i960.h (SLOW_BYTE_ACCESS): Change definition to 1.
1998-09-15 Andrew MacLeod <amacleod@cygnus.com>
* cp/search.c (expand_indirect_vtbls_init): Mark temporary stack slots
as used to prevent conflicts with virtual function tables.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22424
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 15 Sep 1998 10:03:15 +0000 (10:03 +0000)]
* integrate.c (copy_decl_list): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22423
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Tue, 15 Sep 1998 05:26:00 +0000 (05:26 +0000)]
* config/sparc/sparc.md (movdf_const_intreg_sp32): Fix length
attribute.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22422
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 15 Sep 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22421
138bc75d-0d04-0410-961f-
82ee72b054a4
brolley [Mon, 14 Sep 1998 14:55:10 +0000 (14:55 +0000)]
Mon Sep 14 16:46:36 1998 Dave Brolley <brolley@cygnus.com>
* typeck.c (build_chill_slice): Always use TYPE_DOMAIN to get the
domain type of the array.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22420
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 14 Sep 1998 14:04:01 +0000 (14:04 +0000)]
Bump for snapshot
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22418
138bc75d-0d04-0410-961f-
82ee72b054a4
brolley [Mon, 14 Sep 1998 13:50:41 +0000 (13:50 +0000)]
Mon Sep 14 16:46:36 1998 Dave Brolley <brolley@cygnus.com>
* expr.c (build_chill_function_call): Remove redundant call to
chill_convert_to_assignment
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22417
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Mon, 14 Sep 1998 11:11:07 +0000 (11:11 +0000)]
- update listing of rs6000-specific constraints
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22416
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 14 Sep 1998 11:09:07 +0000 (11:09 +0000)]
* cp-tree.h (lang_type): Add has_non_private_static_mem_fn.
(CLASSTYPE_HAS_NON_PRIVATE_STATIC_MEM_FN): New macro, to access it.
* class.c (maybe_class_too_private_p): New function.
(finish_struct_methods): Use it.
(finish_struct_1): Likewise.
(finish_struct): Set CLASSTYPE_HAS_NON_PRIVATE_STATIC_MEM_FN if
appropriate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22415
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 14 Sep 1998 11:05:47 +0000 (11:05 +0000)]
* pt.c (check_specialization_scope): Fix spelling error.
(check_explicit_specialization): Remove code to handle explicit
specializations in class scope; they are now correctly diagnosed
as errors.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22414
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 14 Sep 1998 10:34:00 +0000 (10:34 +0000)]
Bump for snapshot
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22413
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 14 Sep 1998 10:32:46 +0000 (10:32 +0000)]
Fix typos/thinkos in previous change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22412
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 14 Sep 1998 09:51:08 +0000 (09:51 +0000)]
Bump for snapshot
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22411
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 14 Sep 1998 09:42:24 +0000 (09:42 +0000)]
* Makefile.in: Add many missing dependencies.
* buffer.c, class.c, constants.c, decl.c: Use system.h and toplev.h
as appropriate.
* except.c, expr.c, jcf-io.c jcf-parse.c, jcf-write.c: Likewise.
* jvgenmain.c lang.c mangle.c typeck.c verify.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22410
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 14 Sep 1998 00:45:01 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22409
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Sun, 13 Sep 1998 23:15:59 +0000 (23:15 +0000)]
* invoke.texi (C Dialect Options): Put back missing @end itemize.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22408
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Sun, 13 Sep 1998 22:37:15 +0000 (22:37 +0000)]
* configure.in: remove usage of `!' to negate the result of a
command; some common shells do not support it
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22407
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Sun, 13 Sep 1998 21:22:53 +0000 (21:22 +0000)]
Fix non-local goto testsuite failures on sparc64.
* config/sparc/sparc.md (goto_handler_and_restore): Allow any mode
for operand zero.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22406
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 13 Sep 1998 21:12:44 +0000 (21:12 +0000)]
Revert previous patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22405
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Sun, 13 Sep 1998 20:37:17 +0000 (20:37 +0000)]
We now fully bootstrap on solaris-2.7 sparcv9.
toplevel:
* config.sub: Recognize sparcv9 just like sparc64.
gcc/ChangeLog:
* configure.in: in sparc9-sol2 config, use 'if test' not
brackets.
* configure: Rebuilt.
* config/sparc/sol2-sld-64.h (SPARC_DEFAULT_CMODEL): Change to
CM_MEDANY.
(CPP_CPU_SPEC): Do not define _LP64, header files do this.
(CPP_CPU_DEFAULT_SPEC): Likewise.
* config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Get the names right
for arch64 libfuncs.
gcc/java/ChangeLog:
* jcf-io.c: Include string.h.
libchill/ChangeLog:
* configure.in: Use 'if test' not brackets.
* configure: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22404
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sun, 13 Sep 1998 06:17:31 +0000 (06:17 +0000)]
Add support for strsignal, for platforms which have it but don't have
sys_siglist (like Solaris 2.7.)
* acconfig.h (NEED_DECLARATION_STRSIGNAL): Provide a stub.
* collect2.c: Don't declare `sys_siglist' here.
(my_strsignal): Prototype and define new function. Use it in
place of `sys_siglist' hacks.
* mips_tfile.c: Likewise.
* configure.in (AC_CHECK_FUNCS): Check for strsignal.
(GCC_NEED_DECLARATIONS): Likewise.
* system.h (strsignal): Prototype it, if necessary.
(sys_siglist): Declare it, if necessary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22403
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Sun, 13 Sep 1998 05:44:40 +0000 (05:44 +0000)]
* loop.c (move_movables): While removing insn sequences, preserve
the next pointer of the most recently deleted insn when we skip
over a NOTE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22402
138bc75d-0d04-0410-961f-
82ee72b054a4