Commit Graph

3676 Commits

Author SHA1 Message Date
Jeff Law
1474e30354 [multiple changes]
Thu May 20 10:00:42 1999   Stephen L Moshier  <moshier@world.std.com>
        * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
        * function.c (assign_stack_local): Align stack slot propertly.
        (assign_outer_stack_local): Likewise.

From-SVN: r27073
1999-05-20 16:22:34 -06:00
Mark Mitchell
e697e20a89 expr.h (lang_expand_constant): Declare.
* expr.h (lang_expand_constant): Declare.
	* toplev.c (lang_expand_constant): Define it.
	* varasm.c (output_constant): Use it.

From-SVN: r27058
1999-05-20 10:37:50 +00:00
Kaveh R. Ghazi
f96b337ae4 optabs.c (expand_cmplxdiv_straight, [...]): Change function definitions to K&R style.
* optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
        Change function definitions to K&R style.

From-SVN: r27057
1999-05-20 08:29:52 +00:00
Bruce Korb
bf3118d04b A fix for one breaks another :( - do not ignore SIGCLD!
From-SVN: r27055
1999-05-20 08:19:05 +00:00
Alexandre Oliva
48ac9ce28c static initialization removal & K&R-ification
From-SVN: r27052
1999-05-20 07:10:41 +00:00
Andreas Schwab
3d3fcaef67 dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use asm_fprintf and %L to generate the label name.
* config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
        asm_fprintf and %L to generate the label name.
        * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
        (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.

From-SVN: r27048
1999-05-19 19:54:28 -06:00
Jeff Law
b87bc8f3ad jump.c (can_reverse_comparison_p): Do not abort if the comparison insn for a conditional jump can not be found.
�
        * jump.c (can_reverse_comparison_p): Do not abort if the comparison
        insn for a conditional jump can not be found.

From-SVN: r27042
1999-05-19 18:41:24 -06:00
Jeff Law
1945961b39 mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations on variables in specific sections other than...
�
        * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
        on variables in specific sections other than .sbss and .sdata.

From-SVN: r27037
1999-05-19 17:06:09 -06:00
Bruce Korb
c329beb0be KandR-ification of fixincl.x
From-SVN: r27024
1999-05-19 08:37:57 +00:00
Mark Mitchell
1483bddbc8 stmt.c (expand_return): Call start_cleanup_deferral and end_cleanup_deferral around conditional code.
* stmt.c (expand_return): Call start_cleanup_deferral and
	end_cleanup_deferral around conditional code.

From-SVN: r27018
1999-05-19 03:54:49 +00:00
Bruce Korb
c2caf52789 fixincl.tpl: Avoid depending on ANSI C features for filename lists.
�
        * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
        filename lists.
        * fixinc/fixincl.x: Rebuilt.

From-SVN: r27016
1999-05-18 20:14:51 -06:00
Jan Hubicka
446ba5266e * i386.c (output_float_compare): Avoid GNU-C extensions.
From-SVN: r27005
1999-05-18 19:54:03 -06:00
Jeff Law
965f45361e version.c: Bump to distinguish mainline tree from the gcc-2.95 branch.
* version.c: Bump to distinguish mainline tree from the
        gcc-2.95 branch.
Also rotate the ChangeLog file.

From-SVN: r27000
1999-05-18 17:55:18 -06:00
Craig Burley
c64f913e00 improve open-coding of complex divide, use new method in g77
From-SVN: r26993
1999-05-17 21:05:14 -04:00
Krister Walfridsson
af0ca0276c configure.in (arm*-*-netbsd*): Use collect2.
* configure.in (arm*-*-netbsd*): Use collect2.
        (i[34567]86-*-netbsd*): Likewise.
        (m68k*-*-netbsd*): Likewise.
        (ns32k-*-netbsd*): Likewise.
        (sparc-*-netbsd*): Likewise.
        (vax-*-netbsd*): Likewise.
        * configure: Rebuilt.

From-SVN: r26991
1999-05-17 17:58:15 -06:00
Zack Weinberg
eeb183e9c7 cppspec.c: Insert -no-gcc into command line unless -gcc was given by user.
* cppspec.c: Insert -no-gcc into command line unless -gcc was
        given by user.
        * gcc.c (default_compilers): Define __GNUC__ and
        __GNUC_MINOR__ only if -no-gcc was not given.
        * objc/lang-specs.h: Likewise.
        * cpp.texi: Document -x and -std options; explain that -lang
        is no longer supported.  Minor related corrections.

From-SVN: r26990
1999-05-17 17:37:19 -06:00
Alexandre Oliva
bcf1ba1d14 Makefile.in (stmp-fixproto): Pass location of mkinstalldirs to fixproto.
* Makefile.in (stmp-fixproto): Pass location of mkinstalldirs to
        fixproto.
        * fixproto: Avoid unportable constructs such as `basename' and
        `mkdir -p'.  Use mkinstalldirs from the environment if `mkdir -p'
        fails.

From-SVN: r26983
1999-05-17 17:07:40 -06:00
Alexandre Oliva
180013289b * fixinc/fixincl.c: Remove #error, it is not portable.
From-SVN: r26981
1999-05-17 17:02:28 -06:00
Marc Espie
ef4969e0b6 * collect2.c (main): Fix typo in COLLECT2_HOST_INITIALIZATION.
From-SVN: r26979
1999-05-17 16:56:24 -06:00
Rainer Orth
1c80456606 Removed no-op pipe
From-SVN: r26973
1999-05-17 12:41:23 +00:00
Rainer Orth
9f8eec3979 Wait for children from chain_open()
From-SVN: r26972
1999-05-17 12:39:19 +00:00
Mark Mitchell
c15398de77 tree.def (TYPE_NONCOPIED_PARTS): Revise documentation to match reality.
* tree.def (TYPE_NONCOPIED_PARTS): Revise documentation to match
        reality.
        * expr.c (init_noncopied_parts): Don't generate initializers for
        parts that don't need them.

From-SVN: r26969
1999-05-17 07:21:14 +00:00
Jeffrey A Law
74a6cc9fb5 Bump for snapshot
From-SVN: r26967
1999-05-16 20:56:48 -06:00
Jan Hubicka
e74389ffa1 reg-stack.c: Do not emit pop insns after cc0 setter.
* reg-stack.c: Do not emit pop insns after cc0 setter.
        (emit_pop_insn): Do not emit insn in case WHEN is NULL.
        (compare_for_stack_reg): Update REG_DEAD note and
        do not emit push insn.
        * i386.c: (output_float_compare): Handle new REG_DEAD notes.

From-SVN: r26965
1999-05-16 20:31:35 -06:00
Andreas Schwab
64c0b41420 m68k.c (standard_68881_constant_p): Don't accept -0.0 as valid 68881 constant.
* m68k.c (standard_68881_constant_p): Don't accept -0.0 as valid
        68881 constant.

From-SVN: r26964
1999-05-16 19:49:19 -06:00
Andreas Schwab
71a874cd5e fold-const.c (fold_truthop): When converting a one-bit comparison don't sign extend the constant.
* fold-const.c (fold_truthop): When converting a one-bit
        comparison don't sign extend the constant.

From-SVN: r26962
1999-05-16 19:24:24 -06:00
Andreas Schwab
51e2a951cc cse.c (cse_insn): Copy SRC_CONST before putting it in the REG_EQUAL note.
* cse.c (cse_insn): Copy SRC_CONST before putting it in the
        REG_EQUAL note.

From-SVN: r26958
1999-05-16 18:36:36 -06:00
Mike Stump
2459d1044b * vxppc.h (CPP_SPEC): Fix support for vararg functions.
From-SVN: r26957
1999-05-16 18:30:56 -06:00
Jeffrey A Law
1907bb7c74 hackshell.tpl: Fix mis-applied patch.
* fixinc/hackshell.tpl: Fix mis-applied patch.
        * fixinc/inclhack.sh: Regenerated.

From-SVN: r26947
1999-05-15 07:29:36 -06:00
Mark Kettenis
568154adcf mkfixinc.sh: Add the Hurd (*-*-gnu*) to the list of targets that do not need any fixes.
�
	* fixinc/mkfixinc.sh: Add the Hurd (*-*-gnu*) to the list of
	targets that do not need any fixes.

From-SVN: r26945
1999-05-14 20:21:32 -06:00
Michael Hayes
c08733d022 c4x.md (set_lo_sum+2): New splitter to load large const_ints.
* config/c4x/c4x.md (set_lo_sum+2): New splitter to load large
	const_ints.

From-SVN: r26940
1999-05-14 19:19:30 +00:00
Michael Hayes
152d599762 c4x.md (decrement_and_branch_on_count): Disabled.
* config/c4x/c4x.md (decrement_and_branch_on_count): Disabled.
	(doloop_begin, doloop_end): New patterns.
	(*rptb_init): Added extra operands.

From-SVN: r26939
1999-05-14 19:16:36 +00:00
Michael Hayes
a017abecb9 Fix previous patch.
From-SVN: r26938
1999-05-14 15:53:47 +00:00
Michael Hayes
a5efdce400 c4x.md (*umulqi3_highpart_clobber): Fix operand 2 constraints order.
�
	* config/c4x/c4x.md (*umulqi3_highpart_clobber): Fix operand 2
 	constraints order.

From-SVN: r26937
1999-05-14 15:46:05 +00:00
Ulrich Drepper
62dab29cd2 Update.
From-SVN: r26934
1999-05-14 13:34:09 +00:00
David Edelsohn
19ba816140 rs6000.c (mask_constant): Delete.
* rs6000.c (mask_constant): Delete.
	(mask_operand): Move mask_constant() body to here.
	* rs6000.h (mask_constant): Delete declaration.
	* rs6000.md (nabsdi2): Reverse subtraction in splitter.

From-SVN: r26925
1999-05-13 08:38:44 -04:00
Jeffrey A Law
16f322e33c * cpp.texi: Fix some typos.
From-SVN: r26922
1999-05-12 19:25:49 -06:00
Graham Stott
ab5193833c loop.c (maybe_eliminate_biv): Check regno against max_reg_before_loop.
* loop.c (maybe_eliminate_biv): Check regno against
        max_reg_before_loop.

From-SVN: r26918
1999-05-12 18:57:05 -06:00
Graham Stott
35f43fd13c i386.c (memory_address_info): Correct the scale factor test.
* i386.c (memory_address_info): Correct the scale
        factor test.

From-SVN: r26917
1999-05-12 18:51:03 -06:00
Jeff Law
269bcf848b Fix typo.
From-SVN: r26916
1999-05-12 18:47:11 -06:00
Nick Burrett
f7af5035b7 arm.md (nop): Backout Apr 27 change.
* arm.md (nop): Backout Apr 27 change. Ensure REGISTER_PREFIX is
        applied to each register.
        * aof.h (ASM_FILE_START): Define register `r0'.

From-SVN: r26914
1999-05-12 18:38:09 -06:00
Zack Weinberg
3ecc3258ed configure.in: Make --enable-cpp and --with-cpp-install-dir documented options.
1999-05-12 20:22 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
	* configure.in: Make --enable-cpp and --with-cpp-install-dir
	documented options.  Enable the cpp driver by default.
	* configure: Rebuilt.

From-SVN: r26908
1999-05-12 17:38:28 +00:00
David Edelsohn
9615f23975 rs6000.c (print_operand): Calculate signed constant more clearly.
* rs6000.c (print_operand) [w]: Calculate signed constant more clearly.
        (rs6000_allocate_stack_space): Print as hexadecimal value.
        * rs6000.h (CONST_OK_FOR_LETTER_P): 'L' checks for a signed,
        16-bit shifted constant.  Fix typo for 'P'.
        (EXTRA_CONSTARINT): 'T' checks for a 32-bit mask operand.
        * rs6000.md (movsi, addsi3_internal1, movdi, adddi3_internal1):
        Use 'L' for shifted constant.
        (anddi3_internal3): Fix typo.
        (32-bit mask patterns): Use 'T'.

Co-Authored-By: Richard Henderson <rth@cygnus.com>

From-SVN: r26904
1999-05-12 11:10:54 -04:00
Bruce Korb
94db2f7184 verify a file's existence before copying it
From-SVN: r26898
1999-05-12 07:32:58 +00:00
Craig Burley
41af162ca7 disable maintenance of errno
From-SVN: r26897
1999-05-12 00:38:14 -04:00
Jeffrey A Law
fa27306655 * fixproto: Change "mkdir" calls to "mkdir -p"
From-SVN: r26894
1999-05-11 17:45:59 -06:00
Jeffrey A Law
49da3efb1d inclhack.def (io_def_quotes): Consistently allow multiple whitespace characters between the "define" and the...
* fixinc/inclhack.def (io_def_quotes): Consistently allow multiple
        whitespace characters between the "define" and the name of the macro.
        * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.

From-SVN: r26893
1999-05-11 17:06:49 -06:00
Richard Henderson
c576fce78d alpha.c (alpha_expand_block_move): Handle TImode registers used with ADDRESSOF.
* alpha.c (alpha_expand_block_move): Handle TImode registers
        used with ADDRESSOF.
        (alpha_expand_block_clear): Handle ADDRESSOF specially.

From-SVN: r26892
1999-05-11 13:48:40 -07:00
Ulrich Drepper
a575e5d377 Update.
From-SVN: r26891
1999-05-11 15:11:55 +00:00
Dave Brolley
593d78538d toplev.c (documented_lang_options): Add -MD, -MMD, -M and -MM for cpplib-enabled compilers.
Tue May 11 11:45:16 1999  Dave Brolley  <brolley@cygnus.com>
	* toplev.c (documented_lang_options): Add -MD, -MMD, -M and -MM for
	cpplib-enabled compilers.

From-SVN: r26881
1999-05-11 04:49:39 -04:00