Richard Henderson
2ba573431e
tree.c (new_alias_set): New function.
...
* tree.c (new_alias_set): New function.
* tree.h (new_alias_set): Declare it.
* c-common.c (c_get_alias_set): Use it.
From-SVN: r22504
1998-09-20 12:02:58 -07:00
Richard Henderson
899f1ed698
fold-const.c (fold): Yet another COND_EXPR bug...
...
* fold-const.c (fold): Yet another COND_EXPR bug: when folding
to an ABS expr, convert an unsigned input to signed.
From-SVN: r22503
1998-09-20 05:37:58 -07:00
Mark Mitchell
056a3b121c
* class.c (maybe_warn_about_overly_private_class): Reformat.
...
From-SVN: r22502
1998-09-20 12:30:50 +00:00
Martin v. Löwis
3add584574
New test case
...
From-SVN: r22501
1998-09-20 12:13:07 +00:00
Mark Mitchell
27c7a08d68
* Makefile.in (bootstrap): Pass TARGET_FLAGS_TO_PASS to `make all'.
...
From-SVN: r22500
1998-09-20 11:21:12 +00:00
Jeffrey A Law
c479c2acdf
* fold-const.c (fold): Fix another type in COND_EXPR handling code.
...
From-SVN: r22499
1998-09-20 05:16:12 -06:00
Michael Hayes
6261669528
configure.in: Add support for c4x targets.
...
* configure.in: Add support for c4x targets.
* configure: Rebuilt.
From-SVN: r22498
1998-09-20 05:12:53 -06:00
Dave Love
0155cab432
sfe.c (e_wdfe): Set f__init to avoid spurious recursive i/o error from formatted direct i/o.
...
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.
From-SVN: r22496
1998-09-20 10:53:05 +00:00
Dave Love
7ce87fcaf2
Set f__init to avoid spurious recursive i/o error from formatted
...
direct i/o.
From-SVN: r22495
1998-09-20 10:51:55 +00:00
Robert Lipe
391705971a
except.c: Include system.h.
...
* except.c: Include system.h.
* Makefile.in (except.o): Depend on system.h.
From-SVN: r22494
1998-09-20 09:06:51 +00:00
Kaveh R. Ghazi
7511142254
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.
From-SVN: r22493
1998-09-20 06:43:23 +00:00
Manfred Hollstein
9a8a366668
Makefile.in: Add dummy targets "info", "install-info", "clean-info" and "dvi".
...
�
* Makefile.in: Add dummy targets "info", "install-info", "clean-info"
and "dvi".
From-SVN: r22492
1998-09-20 04:34:06 +00:00
Jeff Law
221f50c66f
Daily bump.
...
From-SVN: r22491
1998-09-19 18:45:01 -06:00
Richard Henderson
e67afd1ee0
* config.sub: Fix typo in last change.
...
From-SVN: r22490
1998-09-19 17:13:42 -07:00
Richard Henderson
f5c9764010
combine.c (distribute_notes): If an insn is a cc0 user, only delete it if we can also delete the cc0 setter.
...
* combine.c (distribute_notes): If an insn is a cc0 user, only
delete it if we can also delete the cc0 setter.
From-SVN: r22489
1998-09-19 17:01:31 -07:00
Michael Tiemann
a58bd5080a
fold-const.c (fold): Fix typo in COND_EXPR handling code.
...
* fold-const.c (fold): Fix typo in COND_EXPR handling code.
(invert_truthvalue): Enable truthvalue inversion for
floating-point operands if -ffast-math.
From-SVN: r22488
1998-09-19 17:27:02 -06:00
Melissa O'Neill
750930c1f8
configure.in: Disable collect2 for nextstep.
...
* 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.
From-SVN: r22487
1998-09-19 17:01:43 -06:00
Robert Lipe
655d03a858
* config/i386/sco5.h (TARGET_MEM_FUNCTIONS): Define.
...
From-SVN: r22486
1998-09-19 22:25:53 +00:00
Torbjorn Granlund
b567319fc3
fp-bit.c (pack_d): Do not clear SIGN when fraction is 0.
...
* fp-bit.c (pack_d): Do not clear SIGN when fraction is 0.
(_fpadd_parts): Get sign right for 0.
From-SVN: r22485
1998-09-19 15:44:10 -06:00
Jeff Law
1553cb7a66
Fix typo.
...
From-SVN: r22484
1998-09-19 15:29:07 -06:00
Michael Hayes
9949a9f27a
varargs.h: Add support for C4x target.
...
* ginclude/varargs.h: Add support for C4x target.
* ginclude/stdargs.h: Likewise.
From-SVN: r22483
1998-09-19 15:27:09 -06:00
Michael Hayes
b9d6c60d55
config.sub: Add support for C4x target.
...
* config.sub: Add support for C4x target.
* configure.in: Likewise.
From-SVN: r22482
1998-09-19 15:26:17 -06:00
Michael Hayes
8e44ac71fd
config.sub: Add support for C4x target.
...
�
* config.sub: Add support for C4x target.
* configure.in: Likewise.
From-SVN: r22481
1998-09-19 15:26:14 -06:00
Alexandre Oliva
ec9c05e3ec
removed XFAIL mark; it will be back in a few weeks if the failure remains
...
From-SVN: r22480
1998-09-19 18:30:30 +00:00
Richard Henderson
3fe5612d61
alpha.c (alpha_return_addr): SET should be VOIDmode.
...
* 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.
From-SVN: r22479
1998-09-19 05:14:38 -07:00
Richard Earnshaw
9c8cc54f26
arm.c (bad_signed_byte_operand): Check both arms of a sum in a memory address.
...
* 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.
From-SVN: r22478
1998-09-19 07:57:44 +00:00
Richard Earnshaw
332072dbd1
arm.c (add_constant): New parameter address_only, change caller.
...
* 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.
From-SVN: r22477
1998-09-19 07:46:45 +00:00
Jeff Law
e9904c1772
Daily bump.
...
From-SVN: r22476
1998-09-18 18:45:01 -06:00
Michael Hayes
cb0ca2844b
README.C4X: New file with information about the c4x ports.
...
* 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.
From-SVN: r22475
1998-09-18 18:03:07 -06:00
Jeff Law
289c9aa3c7
Minor tweak.
...
From-SVN: r22474
1998-09-18 17:13:48 -06:00
Jeff Law
0a6401c411
reload.c (find_reloads): Do not replace a pseudo with (MEM (reg_equiv_addr)) in the initializing insn...
...
P
* reload.c (find_reloads): Do not replace a pseudo with
(MEM (reg_equiv_addr)) in the initializing insn for the
pseudo.
From-SVN: r22473
1998-09-18 15:54:39 -06:00
Jeff Law
f10df53cc3
reload.c (find_reloads): Do not replace a pseudo with (MEM (reg_equiv_addr)) in the initializing insn...
...
�
* reload.c (find_reloads): Do not replace a pseudo with
(MEM (reg_equiv_addr)) in the initializing insn for the
pseudo.
From-SVN: r22472
1998-09-18 15:54:37 -06:00
David Edelsohn
5accd82209
toplev.c (rest_of_compilation): Set bct_p on second call to loop_optimize.
...
* 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.
From-SVN: r22471
1998-09-18 16:55:00 -04:00
Alexandre Oliva
735955227e
nested2.C: different virtual base classes that happen to have the same base name...
...
* 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
From-SVN: r22470
1998-09-18 18:33:17 +00:00
Dave Love
6f43347108
g77.texi: Various additions and some small fixes.
...
1998-09-18 Dave Love <d.love@dl.ac.uk>
* g77.texi: Various additions and some small fixes.
From-SVN: r22469
1998-09-18 15:45:43 +00:00
Dave Love
0b31330e26
Various additions and some small fixes.
...
From-SVN: r22468
1998-09-18 15:44:51 +00:00
Nick Clifton
d2a73f8ee2
Fix for PR1654 - implement "movstrsi" pattern to copy simple blocks of memory.
...
From-SVN: r22467
1998-09-18 10:27:46 +00:00
Jeff Law
feaefdd522
Daily bump.
...
From-SVN: r22466
1998-09-17 18:45:02 -06:00
Jeffrey A Law
da4f7dc143
* Makefile.in (jcf-dump, jvgenmain): Link in memmove.o too.
...
From-SVN: r22465
1998-09-17 12:46:24 -06:00
Tom Tromey
4a4a468259
* Makefile.in ($(PARSE_H)): Removed target.
...
From-SVN: r22463
1998-09-17 15:31:30 +00:00
Andrew MacLeod
7ac2148be5
[multiple changes]
...
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.
From-SVN: r22462
1998-09-17 13:55:51 +00:00
Ben Elliston
005dda25ff
Move documentation files from egcs/gcc/objc.
...
From-SVN: r22461
1998-09-17 18:04:30 +10:00
J"orn Rennecke
9d2106a4a4
* regmove.c (copy_src_to_dest): Check that modes match.
...
From-SVN: r22460
1998-09-17 05:27:27 +01:00
Ben Elliston
fbe39e483d
config-lang.in: Do not output the name of the selected thread file when building the front-end.
...
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.
From-SVN: r22459
1998-09-17 11:19:28 +10:00
Jeffrey A Law
e6a480d38c
Makefile.in (JAVA_OBJS): Add memmove.o
...
* Makefile.in (JAVA_OBJS): Add memmove.o
(memmove.o): New target & rules.
From-SVN: r22458
1998-09-16 18:58:52 -06:00
Jeff Law
684e454474
Daily bump.
...
From-SVN: r22457
1998-09-16 18:45:02 -06:00
H.J. Lu
492d8fbe47
Makefile.in ($(ARLINK), $(SHLINK)): Don't rely on 'ln -f'.
...
* Makefile.in ($(ARLINK), $(SHLINK)): Don't rely on 'ln -f'.
* Makefile.in (install): Don't rely on 'ln -f'.
From-SVN: r22456
1998-09-16 18:30:53 -06:00
Robert Lipe
086afc19bb
* config/i386/sco5.h (SUPPORTS_WEAK): True only if targeting ELF.
...
From-SVN: r22455
1998-09-16 20:13:19 +00:00
Richard Henderson
b66a3ac1ad
i386.h (PREFERRED_RELOAD_CLASS): Respect an existing class narrower than FLOAT_REGS.
...
* i386.h (PREFERRED_RELOAD_CLASS): Respect an existing class
narrower than FLOAT_REGS.
From-SVN: r22454
1998-09-16 08:26:22 -07:00
Alexandre Oliva
0d7138a12f
cpplib.c: removed OLD_GPLUSPLUS_INCLUDE_DIR
...
* cpplib.c: removed OLD_GPLUSPLUS_INCLUDE_DIR
* cccp.c: ditto
* Makefile.in (old_gxx_include_dir): removed
From-SVN: r22453
1998-09-16 13:51:44 +00:00