Commit Graph

18808 Commits

Author SHA1 Message Date
Jeff Law
8d5c8167c9 regs.h (HARD_REGNO_CALLER_SAVE_MODE): New macro.
* regs.h (HARD_REGNO_CALLER_SAVE_MODE): New macro.
        * caller-save.c (init_caller_save): Use it.
        * tm.texi: Document HARD_REGNO_CALLER_SAVE_MODE.

From-SVN: r22682
1998-09-30 11:21:12 -06:00
Robert Lipe
5ae4c799f2 configure.in: Escape ^ in grep string.
* configure.in: Escape ^ in grep string.
        * configure: Rebuilt.

From-SVN: r22681
1998-09-30 11:19:00 -06: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
Zack Weinberg
f81a440f85 configure.in: Add --enable-cpplib option which uses cpplib for cpp...
* configure.in: Add --enable-cpplib option which uses cpplib
        for cpp, but doesn't link cpplib into cc1.  Make help text
        capitalization consistent.
        * configure: Rebuilt.

From-SVN: r22670
1998-09-30 05:59:24 -06:00
Dave Love
f6184c7690 u77-test.f (main): Excise `hostnm' to avoid losing on systems which need -lsocket.
1998-09-30  Dave Love  <d.love@dl.ac.uk>
	* g77.f-torture/execute/u77-test.f (main): Excise `hostnm' to
	avoid losing on systems which need -lsocket.

From-SVN: r22669
1998-09-30 11:51:37 +00:00
Dave Love
43b80f8247 Makefile.in (f2cext.c): Depend on g2c.h.
1998-09-30  Dave Love  <d.love@dl.ac.uk>
	* Makefile.in (f2cext.c): Depend on g2c.h.

From-SVN: r22668
1998-09-30 11:50:08 +00:00
Mark Mitchell
95ca22f405 function.c (gen_mem_addressof): If the address REG is REG_USERVAR_P make the new REG be so also.
* function.c (gen_mem_addressof): If the address REG is
	REG_USERVAR_P make the new REG be so also.
	* loop.c (scan_loop): Apply DeMorgan's laws and add documentation
	in an attempt to clarify slightly.

From-SVN: r22667
1998-09-30 10:10:02 +00:00
Jeffrey A Law
ee06cc21bf expr.c (expand_expr): Handle COMPONENT_REF...
* expr.c (expand_expr): Handle COMPONENT_REF, BIT_FIELD_REF ARRAY_REF
        and INDIRECT_REF in code to check MAX_INTEGER_COMPUTATION_MODE.

From-SVN: r22666
1998-09-30 02:59:18 -06:00
Catherine Moore
257441dbb0 fix bad patch.
From-SVN: r22665
1998-09-30 04:26:10 -04:00
Jeffrey A Law
789eb4f550 * All .h files pushed down into the objc/ subdirectory.
* Makefile.in (copy_headers): Corresponding changes.
        * configure.in (AC_INIT): Corresponding changes.
        * configure: Rebuilt.

From-SVN: r22664
1998-09-30 02:17:56 -06:00
Jeff Law
e9c1562590 Rebuilt.
From-SVN: r22663
1998-09-30 02:08:06 -06:00
Robert Lipe
bba4de62d4 Makefile.in (all): Correct dependencies do --disable-multilibs works again.
* Makefile.in (all): Correct dependencies do --disable-multilibs
	works again.
  	(distclean): Correct typo.

From-SVN: r22662
1998-09-30 08:05:57 +00:00
Dave Love
f5f6df5cef open.c: Back out part of last Netlib update affecting scratch files which clashed with...
1998-09-28  Dave Love  <d.love@dl.ac.uk>
	* libI77/open.c: Back out part of last Netlib update affecting
	scratch files which clashed with the g77 variations and broke
	implicit endfile on rewind.

From-SVN: r22660
1998-09-30 02:45:44 +00:00
Ben Elliston
bce1b48955 Makefile.in: Rewrite.
* Makefile.in: Rewrite.
        * configure.in: Likewise.
        * configure: Regenerate.
        * All .c files.  Remove "objc" prefix when including objc header
        files.  Include tconfig.h, not ../tconfig.h.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>

From-SVN: r22659
1998-09-29 20:13:15 -06:00
Jeffrey A Law
6fc19d6d03 Makefile.in (TARGET_CONFIGDIRS): Add libobjc.
* Makefile.in (TARGET_CONFIGDIRS): Add libobjc.
        (ALL_TARGET_MODULES): Add all-target-libobjc.
        (CONFIGURE_TARGET_MODULES, CHECK_TARGET_MODULES): Similarly.
        (INSTALL_TARGET_MODULES, CLEAN_TARGET_MODULES): Similarly.
        (all-target-libchill): Add dependencies.
        * configure.in (target_libs): Add libchill.

From-SVN: r22658
1998-09-29 20:02:35 -06:00
Jeff Law
4fa78b354f Daily bump.
From-SVN: r22657
1998-09-29 18:45:02 -06:00
Manfred Hollstein
f653f0ab3f configure.in (target_subdir): Remove duplicate line.
�
	* configure.in (target_subdir): Remove duplicate line.

From-SVN: r22656
1998-09-29 23:50:57 +00:00
Jim Wilson
dc5737cfe7 Fix typo that disabled loop unrolling for many targets.
* loop.c (get_condition): Fix typo in May 9 change.

From-SVN: r22650
1998-09-29 13:04:10 -07: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
Benjamin Kosnik
98e48780cf
new test

From-SVN: r22642
1998-09-29 16:13:35 +00:00
Benjamin Kosnik
8b424a9b49 *** empty log message ***
From-SVN: r22641
1998-09-29 16:13:14 +00:00
Joern Rennecke
4955a04323 Add entry for -fdump-unnumberd option.
From-SVN: r22640
1998-09-29 15:23:09 +01:00
Andrew MacLeod
89ed4e9d84 invoke.texi (-fexceptions): Merge 2 different descriptions.
Tue Sep 29 11:11:38 EDT 1998  Andrew MacLeod  <amacleod@cygnus.com>
        * invoke.texi (-fexceptions): Merge 2 different descriptions.

From-SVN: r22635
1998-09-29 08:15:16 +00:00
Jeff Law
fa78f41e38 Daily bump.
From-SVN: r22634
1998-09-28 18:45:01 -06:00
Alexandre Oliva
4a2f8460dc bitfld1.C: expected failure
* g++.old-deja/g++.other/bitfld1.C: expected failure
	* g++.old-deja/g++.other/nested2.C: ditto
	* g++.old-deja/g++.robertl/eb132.C: no longer an expected failure

From-SVN: r22633
1998-09-28 21:24:13 +00:00
Anthony Green
a64c757e99 * semantics.c (finish_asm_stmt): Always permit volatile asms.
From-SVN: r22632
1998-09-28 20:23:27 +00:00
Kaveh R. Ghazi
630962bf86 toplev.c (documented_lang_options): Spelling corrections.
* toplev.c (documented_lang_options): Spelling corrections.
(`whoes' -> `whose')

From-SVN: r22631
1998-09-28 19:13:25 +00:00
Mark Mitchell
4f70a84653 decl.c (grokdeclarator): Tighten checks for invalid destructors.
* decl.c (grokdeclarator): Tighten checks for invalid
	destructors.  Improve error-messages and error-recovery.
	* decl2.c (check_classfn): Don't assume that mangled destructor
	names contain type information.

From-SVN: r22630
1998-09-28 17:34:33 +00:00
Alexandre Oliva
ab339d62c0 configure.in: new flags --with-ld and --with-as...
* configure.in: new flags --with-ld and --with-as, equivalent
	to setting LD and AS environment variables.  Test whether
	specified arguments are GNU commands, and report them with
	checking messages.  Use the specified AS for configure
	tests too.
	* configure: ditto
	* acconfig.h: add DEFAULT_ASSEMBLER and DEFAULT_LINKER
	* config.in: ditto
	* gcc.c (find_a_file): when looking for `as' and `ld', return
	the DEFAULT program if it exists
	* collect2.c (main): use DEFAULT_LINKER if it exists
	* gcc.c (find_a_file): the test for existence of a full
	pathname was reversed

From-SVN: r22629
1998-09-28 15:52:01 +00:00
Michael Meissner
42820a49dd Make ASM_OUTPUT_MI_THUNK ELF only for now and always use jump
From-SVN: r22628
1998-09-28 14:40:27 +00:00
Mark Mitchell
8ff0c1af0e * tree.h (TYPE_BINFO): Document.
From-SVN: r22627
1998-09-28 14:23:17 +00:00
Stan Cox
9588f31b35 i386-coff.h (dbxcoff.h): Added.
From-SVN: r22626
1998-09-28 11:05:13 +00:00
Catherine Moore
fd86857287 fix last patch.
From-SVN: r22622
1998-09-28 06:57:35 -04:00
Nick Clifton
1f2b04b361 Applied Jim's small patch to reload () for arm-elf.
From-SVN: r22621
1998-09-28 10:33:41 +00:00
Mark Mitchell
ece320145f c-common.c (c_get_alias_set): Tighten slightly for FUNCTION_TYPEs and ARRAY_TYPEs.
* c-common.c (c_get_alias_set): Tighten slightly for FUNCTION_TYPEs
	and ARRAY_TYPEs.  Tidy up.  Improve support for type-punning.
	* expr.c (store_field): Add alias_set parameter.  Set the
	MEM_ALIAS_SET accordingly, if the target is a MEM.
	(expand_assignment): Use it.
	(store_constructor_field): Pass 0.
	(expand_expr): Likewise.

From-SVN: r22620
1998-09-28 07:44:12 +00:00
Catherine Moore
7d0756fbf1 flags.h: Add flag_data_sections.
* flags.h:  Add flag_data_sections.
        * toplev.c:  Add option -fdata-sections.  Add flag_data_sections.
        (compile_file):  Error if flag_data_sections not supported.
        * varasm.c (assemble_variable):  Handle flag_data_sections.
        * config/svr4.h:  Modify prefixes for UNIQUE_SECTION_NAME.
        * config/mips/elf.h:  Likewise.
        * config/mips/elf64.h:  Likewise.
        * invoke.texi:  Describe -fdata-sections.

From-SVN: r22619
1998-09-28 02:24:06 -04:00
Jeff Law
52464fd6e7 Fix typos.
From-SVN: r22616
1998-09-27 21:24:01 -06:00
Jeffrey A Law
7542d87cee * news.texi: Update from Craig.
From-SVN: r22615
1998-09-27 21:23:24 -06:00
Craig Burley
6fd7449401 invoke.texi (-ffloat-store): Clarify that this option does not affect intermediate results -- only variables.
* invoke.texi (-ffloat-store): Clarify that this option
        does not affect intermediate results -- only variables.

From-SVN: r22614
1998-09-27 21:17:17 -06:00
Jeffrey A Law
fcce57564b * cpp.texi: Update for Fortran usage from Craig.
From-SVN: r22613
1998-09-27 21:14:40 -06:00
Jeffrey A Law
494933e4cd configure.in: Minor cleanups for building in the $(target_alias) subdir.
* configure.in: Minor cleanups for building in the $(target_alias)
        subdir.

From-SVN: r22612
1998-09-27 21:07:27 -06:00
Jeff Law
f7c69d5640 Daily bump.
From-SVN: r22611
1998-09-27 18:45:32 -06:00
Jeff Law
c848b6d26e Daily bump.
From-SVN: r22604
1998-09-26 18:45:02 -06:00
Jason Merrill
fe41d26a25 fix
From-SVN: r22601
1998-09-25 22:24:42 -04:00
Jeff Law
762d45abc8 Daily bump.
From-SVN: r22600
1998-09-25 18:45:01 -06:00
Alexandre Oliva
c9b6c487be bitfld1.C: built-in operator!= should be preferred over template operator!= for enum bitfields
* g++.old-deja/g++.other/bitfld1.C: built-in operator!= should be
	preferred over template operator!= for enum bitfields

From-SVN: r22599
1998-09-25 22:57:30 +00:00
Jason Merrill
c536a84ad8 update
From-SVN: r22598
1998-09-25 17:46:25 -04:00