Commit Graph

61 Commits

Author SHA1 Message Date
Zack Weinberg
0e1db22605 lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc was not given.
P
        * lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc
        was not given.

From-SVN: r26986
1999-05-17 17:33:05 -06:00
Zack Weinberg
3e18b97b07 lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc was not given.
�
        * lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc
        was not given.

From-SVN: r26985
1999-05-17 17:33:04 -06:00
Zack Weinberg
5f4609821f lang-specs.h: Pass -$ to the preprocessor.
1999-05-10 18:21 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
	* lang-specs.h: Pass -$ to the preprocessor.

From-SVN: r26871
1999-05-10 11:30:04 -04:00
Dave Brolley
d234235cb4 actions.c (chill_expand_assignment): Use powersetlen to calculate the length of an array of packed bits.
Tue May  4 14:52:53 1999  Dave Brolley  <brolley@cygnus.com>
	* actions.c (chill_expand_assignment): Use powersetlen to calculate the
	length of an array of packed bits.

From-SVN: r26767
1999-05-04 07:56:26 -04:00
Nathan Sidwell
33ac5264ef Make-lang.in (ch/chill.info): Put MAKEINFO parameters in correct order.
* Make-lang.in (ch/chill.info): Put MAKEINFO parameters in correct
        order.

From-SVN: r26567
1999-04-20 16:40:41 -06:00
Mumit Khan
d20a4159c3 config-lang.in (compilers): Add exeext.
* config-lang.in (compilers): Add exeext.
        (stagestuff): Likewise.

From-SVN: r26462
1999-04-14 14:12:19 -06:00
Zack Weinberg
507df93940 cppinit.c (install_predefs): Delete function.
1999-04-06 12:51 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
	* cppinit.c (install_predefs): Delete function.
	(cpp_start_read): Don't call install_predefs.
	(cpp_handle_option): Remove case 'u' and all refs to
	opts->inhibit_predefs.
	(print_help): Don't mention -undef.
	(initialize_builtins): Define __HAVE_BUILTIN_SETJMP__, to
	match cccp.
	* cpplib.h (struct cpp_options): Remove inhibit_predefs
	member.
	* cccp.c (predefs): Delete variable.
	(main): Remove case 'u' in argument parse loop,
	'inhibit_predefs' variable, and the code block that would
	process CPP_PREDEFINES.
	(initialize_builtins): Don't define __OBJC__, the driver will
	do that.
	* gcc.c (default_compilers): Remove -undef from all specs that
	invoke a C preprocessor.
	* ch/lang-specs.h: Likewise.
	* cp/lang-specs.h: Likewise.
	* f/lang-specs.h: Likewise.
	* objc/lang-specs.h: Likewise.

From-SVN: r26212
1999-04-06 09:54:30 +00:00
Jeffrey A Law
f6087261f4 * Make-lang.in (CHILL_FLAGS_TO_PASS): Do not pass $(CC).
From-SVN: r26128
1999-04-02 07:56:11 -07:00
Kaveh R. Ghazi
63e5baa6c9 Makefile.in (hash.h): Generate using gperf language 'C'...
* Makefile.in (hash.h): Generate using gperf language 'C', not
        'KR-C', so gperf uses the `const' keyword on strings.
        * gperf (resword): Const-ify a char*.

From-SVN: r26080
1999-03-31 07:48:00 +00:00
Jeffrey A Law
919a1ded90 Make-lang.in (CHILL.dvi): New target.
* Make-lang.in (CHILL.dvi): New target.
        (CHILL.mostlyclean): Remove remnants of old runtime library structure.

From-SVN: r26028
1999-03-27 16:31:23 -07:00
Craig Burley
ad4144a7f4 fix up ChangeLog entry confusion
From-SVN: r25428
1999-02-24 23:33:38 -05:00
Craig Burley
43297964f3 improve wall of separation between build and install
From-SVN: r25367
1999-02-22 03:49:36 -05:00
Zack Weinberg
be163a70f5 flags.h: Declare flag_no_ident.
1999-01-31 17:52 -0500  Zack Weinberg  <zack@midnite.ec.rhno.columbia.edu>
	* flags.h: Declare flag_no_ident.
	* toplev.c: Define flag_no_ident.  Process -f(no-)ident here.
	* c-decl.c: Don't define flag_no_ident.  Don't process
          -f(no-)ident switches here.
	* ch/decl.c: Likewise.
	* cp/decl2.c: Likewise.
	* c-tree.h: Don't declare flag_no_ident.
	* ch/ch-tree.h: Likewise.
	* cp/cp-tree.h: Likewise.
	* config/elfos.h (ASM_FILE_END): Output final .ident directive
          only if !flag_no_ident.
	* config/ptx4.h: Likewise.
	* config/svr4.h: Likewise.
	* config/alpha/elf.h: Likewise.
	* config/arm/linux-elf.h: Likewise.
	* config/i386/sco5.h: Likewise.
	* config/i860/fx2800.h: Likewise.
	* config/mips/gnu.h: Likewise.
	* config/i386/osfrose.h: Likewise.
	* gcc.c (C specs): Map -Qn to -fno-ident.
	* ch/lang-specs.h: Likewise.
	* cp/lang-specs.h: Likewise.
	* f/lang-specs.h: Likewise.
	* objc/lang-specs.h: Likewise.
	* java/lang-specs.h: Likewise.

From-SVN: r24943
1999-01-31 17:46:42 +00:00
Zack Weinberg
925ecf340f flags.h: Declare flag_no_ident.
(
1999-01-31 17:52 -0500  Zack Weinberg  <zack@midnite.ec.rhno.columbia.edu>
	* flags.h: Declare flag_no_ident.
	* toplev.c: Define flag_no_ident.  Process -f(no-)ident here.
	* c-decl.c: Don't define flag_no_ident.  Don't process
          -f(no-)ident switches here.
	* ch/decl.c: Likewise.
	* cp/decl2.c: Likewise.
	* c-tree.h: Don't declare flag_no_ident.
	* ch/ch-tree.h: Likewise.
	* cp/cp-tree.h: Likewise.
	* config/elfos.h (ASM_FILE_END): Output final .ident directive
          only if !flag_no_ident.
	* config/ptx4.h: Likewise.
	* config/svr4.h: Likewise.
	* config/alpha/elf.h: Likewise.
	* config/arm/linux-elf.h: Likewise.
	* config/i386/sco5.h: Likewise.
	* config/i860/fx2800.h: Likewise.
	* config/mips/gnu.h: Likewise.
	* config/i386/osfrose.h: Likewise.
	* gcc.c (C specs): Map -Qn to -fno-ident.
	* ch/lang-specs.h: Likewise.
	* cp/lang-specs.h: Likewise.
	* f/lang-specs.h: Likewise.
	* objc/lang-specs.h: Likewise.
	* java/lang-specs.h: Likewise.

From-SVN: r24942
1999-01-31 17:46:27 +00:00
Zack Weinberg
0a3d2db2bd flags.h: Declare flag_no_ident.
X
1999-01-31 17:52 -0500  Zack Weinberg  <zack@midnite.ec.rhno.columbia.edu>
	* flags.h: Declare flag_no_ident.
	* toplev.c: Define flag_no_ident.  Process -f(no-)ident here.
	* c-decl.c: Don't define flag_no_ident.  Don't process
          -f(no-)ident switches here.
	* ch/decl.c: Likewise.
	* cp/decl2.c: Likewise.
	* c-tree.h: Don't declare flag_no_ident.
	* ch/ch-tree.h: Likewise.
	* cp/cp-tree.h: Likewise.
	* config/elfos.h (ASM_FILE_END): Output final .ident directive
          only if !flag_no_ident.
	* config/ptx4.h: Likewise.
	* config/svr4.h: Likewise.
	* config/alpha/elf.h: Likewise.
	* config/arm/linux-elf.h: Likewise.
	* config/i386/sco5.h: Likewise.
	* config/i860/fx2800.h: Likewise.
	* config/mips/gnu.h: Likewise.
	* config/i386/osfrose.h: Likewise.
	* gcc.c (C specs): Map -Qn to -fno-ident.
	* ch/lang-specs.h: Likewise.
	* cp/lang-specs.h: Likewise.
	* f/lang-specs.h: Likewise.
	* objc/lang-specs.h: Likewise.
	* java/lang-specs.h: Likewise.

From-SVN: r24941
1999-01-31 17:46:25 +00:00
Jeffrey A Law
ed730bcf61 Makefile.in (typeck.o): Depend on insn-codes.h.
* Makefile.in (typeck.o): Depend on insn-codes.h.
        * actions.c (chill_handle_multi_case_label): Initialize "expr".
        * decl.c (poplevel): Initialize "block_previously_created".
        * expr.c (chill_expand_expr): Initialize "size0" and "size1".
        (fold_set_expr): Initialize "buffer1".
        * inout.c (process_io_list): Initialize "to_assign".
        (check_exprlist): Initialize "result".
        * parse.c (expand_expr): Declare.
        (parse_multi_dimension_case_action): Initialize "end_case_label".
        * tasking.c (build_start_process): Initialize "struct_type_node".
        * typeck.c (apply_chill_field_layout): Initialize "word".
        (type_for_mode); Unconditionally cast RHS & LHS to ints to shut up
        signed/unsigned comparison warning.
Kill remaining chill warnings.

From-SVN: r24775
1999-01-19 15:32:39 -07:00
Kaveh R. Ghazi
08c259de90 ch-tree.h: Remove conflicting prototypes for pedwarn, warning_with_decl, and make_dcl_rtl.
* ch-tree.h: Remove conflicting prototypes for pedwarn,
        warning_with_decl, and make_dcl_rtl.

From-SVN: r24744
1999-01-18 08:58:16 +00:00
Jeffrey A Law
82770562a5 * Makefile.in: Do not put ^Ls at the start of a line.
From-SVN: r24723
1999-01-17 13:58:58 -07:00
Jeff Law
6f48294de2 Update FSF address in copyright header.
From-SVN: r24612
1999-01-11 06:17:38 -07:00
Jeff Law
e511adc05d Fix copyrights.
From-SVN: r24538
1999-01-06 14:10:08 -07:00
Jeffrey A Law
3d0a71b3ed Makefile.in: Add some missing $(exeext).
* Makefile.in: Add some missing $(exeext).  Remove some obsolete
        runtime stuff.
        * Make-lang.in: Similarly.

From-SVN: r24508
1999-01-05 18:57:27 -07:00
Jeffrey A Law
0d797e77a2 Makefile.in (lex.c): Do not depend on hash.h.
* Makefile.in (lex.c): Do not depend on hash.h.
        (lex.o): Depend on hash.h.

From-SVN: r23826
1998-11-24 02:00:34 -07:00
Kaveh R. Ghazi
6fbe990127 Warning fixes:
* Makefile.in (lex.o): Depend on dwarfout.h.
        * lang-specs.h: Add missing braces in initializer.
        * lex.c: Include dwarfout.h, if DWARF_DEBUGGING_INFO is defined.

From-SVN: r23168
1998-10-19 09:17:21 +00:00
Kaveh R. Ghazi
12fe4621bf Warning fixes:
* expr.c (build_chill_card): Use &&, not &, when comparing truth
        values.
        * parse.c (parse_spec_module): Remove unused variable
        `module_name', but preserve function call from initialization.
        (parse_operand6): Mark variable `location' with ATTRIBUTE_UNUSED.
        * inout.c (init_text_location): Remove unused variable `textlength'.

From-SVN: r23106
1998-10-15 07:04:49 +00:00
Kaveh R. Ghazi
bd748f743d typeck.c (build_chill_cast): Fix typo in assignment statement.
* typeck.c (build_chill_cast): Fix typo in assignment statement.
        * tasking.c (build_signal_descriptor): Use IDENTIFIER_POINTER()
        when printing a `tree'.

From-SVN: r23091
1998-10-14 19:30:05 +00:00
Kaveh R. Ghazi
297a6bfc70 Warning fixes:
* ch-tree.h (build_delay_case_end): Remove unused parameter.
        (build_receive_case_end): Likewise.
        (check_queue_size): Likewise.
        * parse.c: Callers changed.
        * satisfy.c: Likewise.
        * tasking.c (build_receive_buffer_case_end): Remove unused
        parameter `label_cnt'.
        (build_receive_signal_case_end): Likewise.
        (build_receive_case_end): Likewise.
        (build_delay_case_end): Likewise.
        (check_queue_size): Likewise for parameter `type'.
        All callers changed.

From-SVN: r22957
1998-10-09 10:08:26 +00:00
Jeffrey A Law
e39b138b41 typeck (type_for_mode): Only return TItype nodes when HOST_BITS_PER_WIDE_INT is >= 64 bits.
* typeck (type_for_mode): Only return TItype nodes when
        HOST_BITS_PER_WIDE_INT is >= 64 bits.
        (type_for_size): Similarly.
        * decl.c (intTI_type_node, unsigned_intTI_type_node): Only declare
        when HOST_BITS_PER_WIDE_INT is >= 64 bits.
        (init_decl_processing): Only create TItype nodes when
        HOST_BITS_PER_WIDE_INT is >= 64 bits.

From-SVN: r22914
1998-10-07 23:01:10 -06:00
Kaveh R. Ghazi
39828aec68 Warning fixes:
* Makefile.in (hash.h): Add -L KR-C -F ', 0, 0, 0' flags to gperf.
        (hash.h): Regenerate using gperf 2.7.1 (19981006 egcs).

From-SVN: r22883
1998-10-07 09:29:29 +00:00
Nick Clifton
43cab252f9 Replace occurances of HANDLE_SYSV_PRAGMA with HANDLE_GENERIC_PRAGMAS.
handle_generic_pragma() New function: Parse generic pragmas.

From-SVN: r22712
1998-10-01 10:53:39 +00:00
Kaveh R. Ghazi
c1daea12d5 * parse.c (emit_label): Fix return-type of prototype.
From-SVN: r22683
1998-09-30 17:24:36 +00:00
Kaveh R. Ghazi
36ef59e797 Warning fixes:
* actions.c (chill_handle_multi_case_label): Always return a value
	in function returning non-void.
	* except.c: Include OS headers before any local ones.
	* typeck.c (layout_chill_range_type): Change type of variable
	`negprecision' to int.
	(apply_chill_array_layout): Initialize variables `stepsize' and
	`start_bit'.
	(layout_chill_struct_type): Change type of variable `min_align' to
	unsigned int.
	(smash_dummy_type): Change name of variable `main' to `main_tree'.

From-SVN: r22680
1998-09-30 16:49:55 +00:00
Kaveh R. Ghazi
5efaf7b00e Warning fixes:
* actions.c (id_cmp): Do pointer arithmetic as `long' not `int' to
 	ensure enough bits for calculation.
	* ch-tree.h (check_text_length): Remove unused parameter.
	* convert.c (display_int_cst): Cast a HOST_WIDE_INT argument to
	function sprintf into the appropriate type for printing.
	* decl.c (print_lang_decl): Use HOST_WIDE_INT_PRINT_DEC as the
	format specifier.
	(print_mode): Likewise.
	(init_decl_processing): Cast the arguments of bcopy/bzero to char *.
	* grant.c (grant_array_type): Use HOST_WIDE_INT_PRINT_DEC as
	the format specifier.
	* inout.c (check_text_length): Remove unused parameter `type'.
	(build_chill_associate): Initialize variables `arg1', `arg2',
	`arg3', `arg4' and `arg5'.
	(build_chill_modify): Likewise.
	(scanformcont): Change type of variable `curr' to `unsigned char'.
	* lex.c (maybe_downcase): Cast the argument of `tolower' to
	`unsigned char'.
	* satisfy.c (satisfy): Remove unused parameter in call to
	`check_text_length'.
	* tasking.c (generate_tasking_code_variable): Pass a HOST_WIDE_INT
	as a `long' in call to function `error'.
	(decl_tasking_code_variable): Likewise.

From-SVN: r22679
1998-09-30 16:34:45 +00:00
Kaveh Ghazi
5abb0464be Grr, fix address.
From-SVN: r22678
1998-09-30 16:10:05 +00:00
Kaveh R. Ghazi
875ac75a20 Warning fixes:
* grant.c (decode_decl_selective): Cast switch's enum argument to
        an int.
        (really_grant_this): Add default case in switch.
        * typeck.c (chill_resulting_class): Add default cases in switch.
        Also add `break' statements after each case.

From-SVN: r22677
1998-09-30 16:07:19 +00:00
Kaveh R. Ghazi
1f6b0ce0c5 ch-tree.h (build_compare_expr): Change first argument's type from enum chill_tree_code' to enum tree_code'.
* ch-tree.h (build_compare_expr): Change first argument's type
        from `enum chill_tree_code' to `enum tree_code'.
        (build_compare_discrete_expr): Likewise.
        * expr.c (build_compare_set_expr): Likewise.
        (build_compare_string_expr): Likewise.
        (build_compare_expr): Likewise.
        (build_compare_discrete_expr): Likewise.  Also add default case in
        switch statement.
        (compare_int_csts): Add default case in switch statement.

From-SVN: r22643
1998-09-29 18:41:05 +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
Dave Brolley
20aa9a3576 typeck.c (build_chill_slice): Always use TYPE_DOMAIN to get the domain type of the array.
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.

From-SVN: r22420
1998-09-14 10:55:10 -04:00
Dave Brolley
13aa1501c0 expr.c (build_chill_function_call): Remove redundant call to chill_convert_to_assignment
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

From-SVN: r22417
1998-09-14 09:50:41 -04:00
Dave Brolley
6cf624a0a5 actions.c (chill_convert_for_assignment): Make a copy of the result node before modifying it.
Thu Sep 10 17:52:36 1998  Dave Brolley  <brolley@cygnus.com>
	* actions.c (chill_convert_for_assignment): Make a copy of the result
	node before modifying it.

From-SVN: r22382
1998-09-10 10:56:22 -04:00
John Carr
a269a03c80 final.c (final): If a label is reached only from a single jump...
(
	* final.c (final): If a label is reached only from a single jump,
	call NOTICE_UPDATE_CC on the jump and its predecessor before
	emitting the insn after the label.
	* i386.h: Add AMD K6 support.
	Change TARGET_* macros to use table lookup.
	(INITIALIZE_TRAMPOLINE): Improve trampoline code.
	(ADJUST_COST): Change definition to call function in i386.c.
	(ISSUE_RATE): Define as 2 for anything newer than an 80486.
	* i386.c: Add AMD K6 support.
	Add constants for feature tests used by TARGET_* macros.
	(split_di): If before reload, call gen_lowpart and gen_highpart.
	(x86_adjust_cost): New function.
	(put_jump_code): New function.
	(print_operand): New codes 'D' and 'd'.
	* i386.md: New insn types.  New insn attribute "memory".
	Redefine scheduling parameters to use new types and add AMD K6
	support.  Explicitly set type of most insns.
	(move insns): K6 prefers movl $0,reg to xorl reg,reg.  Pentium
	Pro and K6 prefer movl $1,reg to incl reg.
	(adddi3, subdi3): Set cc_status.
	(DImode shift patterns): Change label counters from HOST_WIDE_INT
	to int; x86 can't have more than 2^31 DImode shifts per	file.
	(setcc): Combine all setcc patterns.  Allow writing memory.
	Combine all jump patterns using match_operator.
	(*bzero): Name pattern.  Emit mutliple stos instructions when that
	is faster than rep stos.
	(xordi3, anddi3, iordi3): Simplify DImode logical patterns and
	add define_split.
	* ch/Make-lang.in: Comment ^L characters.  Sun make doesn't like them.

From-SVN: r22292
1998-09-06 05:52:08 +00:00
John Carr
f429f2c549 final.c (final): If a label is reached only from a single jump...
�
	* final.c (final): If a label is reached only from a single jump,
	call NOTICE_UPDATE_CC on the jump and its predecessor before
	emitting the insn after the label.
	* i386.h: Add AMD K6 support.
	Change TARGET_* macros to use table lookup.
	(INITIALIZE_TRAMPOLINE): Improve trampoline code.
	(ADJUST_COST): Change definition to call function in i386.c.
	(ISSUE_RATE): Define as 2 for anything newer than an 80486.
	* i386.c: Add AMD K6 support.
	Add constants for feature tests used by TARGET_* macros.
	(split_di): If before reload, call gen_lowpart and gen_highpart.
	(x86_adjust_cost): New function.
	(put_jump_code): New function.
	(print_operand): New codes 'D' and 'd'.
	* i386.md: New insn types.  New insn attribute "memory".
	Redefine scheduling parameters to use new types and add AMD K6
	support.  Explicitly set type of most insns.
	(move insns): K6 prefers movl $0,reg to xorl reg,reg.  Pentium
	Pro and K6 prefer movl $1,reg to incl reg.
	(adddi3, subdi3): Set cc_status.
	(DImode shift patterns): Change label counters from HOST_WIDE_INT
	to int; x86 can't have more than 2^31 DImode shifts per	file.
	(setcc): Combine all setcc patterns.  Allow writing memory.
	Combine all jump patterns using match_operator.
	(*bzero): Name pattern.  Emit mutliple stos instructions when that
	is faster than rep stos.
	(xordi3, anddi3, iordi3): Simplify DImode logical patterns and
	add define_split.
	* ch/Make-lang.in: Comment ^L characters.  Sun make doesn't like them.

From-SVN: r22291
1998-09-06 05:52:02 +00:00
Jeffrey A Law
d261f3f9e6 Makefile.in (INCLUDES): Update after recent reorganization at the toplevel gcc directory.
* Makefile.in (INCLUDES): Update after recent reorganization at the
        toplevel gcc directory.

From-SVN: r22281
1998-09-05 16:51:23 -06:00
Richard Henderson
f7e2dc364e * Makefile.in: Update dependancies for top-level gcc files that moved.
From-SVN: r22279
1998-09-05 15:26:50 -07:00
Jeffrey A Law
d4751916e8 Makefile.in: Tweak to avoid building runtime.
* Makefile.in: Tweak to avoid building runtime.  It's built
        elsewhere now.

From-SVN: r22241
1998-09-04 19:22:57 -06:00
Jeff Law
675adc8425 Chill runtime moves into toplevel libchill directory.
From-SVN: r22240
1998-09-04 19:17:03 -06:00
Dave Brolley
247751724f Chill testsuite problems...
Thu Sep  3 15:32:03 1998  Dave Brolley  <brolley@cygnus.com>
	* typeck.c (layout_chill_range_type): set TYPE_SIZE_UNIT.

From-SVN: r22207
1998-09-03 08:41:14 -04:00
Nick Clifton
c5168e64d4 Change HANDLE_PRAGMA macro so that it supports USE_CPPLIB
From-SVN: r22167
1998-09-02 10:04:26 +00:00
Dave Brolley
058ebd7ee6 decl.c (layout_chill_variants): Calculate nlables properly.
Mon Aug 31 15:35:16 1998  Dave Brolley  <brolley@cygnus.com>
	* decl.c (layout_chill_variants): Calculate nlables properly.

From-SVN: r22130
1998-08-31 08:35:32 -04:00
Martin v. Löwis
af3d5d5313 Update reference to standard.
From-SVN: r22050
1998-08-28 02:43:24 +00:00