Commit Graph

22266 Commits

Author SHA1 Message Date
Mumit Khan
53df21a6d4 * stl_config.h (__CYGWIN__): Cygwin newlib RTL lacks drand48.
From-SVN: r26966
1999-05-16 20:33:37 -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
2e5b444824 * gcc.c-torture/compile/990517-1.c: New test.
From-SVN: r26963
1999-05-16 19:47:29 -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
92b3fc3ae3 990326-1.c: Force bitfields to be aligned.
* execute/990326-1.c: Force bitfields to be aligned.
        (e4, f4): New tests.
        (main): Call them.

From-SVN: r26961
1999-05-16 19:18:59 -06:00
Jeff Law
924e00ffb8 Daily bump.
From-SVN: r26960
1999-05-16 18:45:02 -06:00
Stu Grossman
53504016e1 cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance the *mangled pointer beyond the end of the string.
* cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
        the *mangled pointer beyond the end of the string.  Clean up code to
        match prevailing coding style.

From-SVN: r26959
1999-05-16 18:44:09 -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
Mark Mitchell
74322f31ce decl2.c (build_expr_from_tree): Handle COMPONENT_REFs that indicate a reference to a field that is a qualified name.
* decl2.c (build_expr_from_tree): Handle COMPONENT_REFs that
	indicate a reference to a field that is a qualified name.

From-SVN: r26956
1999-05-16 23:46:40 +00:00
Jason Merrill
b283d5d716 revert
From-SVN: r26955
1999-05-16 16:59:39 -04:00
Jason Merrill
b5f2178755 and another one
From-SVN: r26954
1999-05-16 16:52:10 -04:00
Jason Merrill
cf694b8f83 * init.c (build_new_1): suspend_momentary while calculating size.
From-SVN: r26953
1999-05-16 16:48:42 -04:00
Jason Merrill
7a8f9fa9cf decl2.c (finish_objects): Don't use .?tors.* if we don't have ASM_OUTPUT_CONSTRUCTOR.
* decl2.c (finish_objects): Don't use .?tors.* if we don't have
	ASM_OUTPUT_CONSTRUCTOR.
	* friend.c (do_friend): Add attrlist arg.  Remove support for
	getting a non-decl as 'decl'.
	* decl.c (grokfndecl): Remove attrlist arg.  Don't set attrs or
	rtl.
	(grokdeclarator): Adjust.
	* cp-tree.h: Adjust.
	* parse.y (direct_new_declarator): Make the first one a
	nonmomentary_expr, too.
	* init.c (build_new): suspend_momentary while we're calculating
	the size.
	(build_new_1): Don't copy size.

From-SVN: r26952
1999-05-16 16:40:00 -04:00
Mark Mitchell
88b117b740 cp-tree.h (permanent_p): New function.
* cp-tree.h (permanent_p): New function.
	* init.c (build_new_1): Use mapcar, not copy_node, to copy a
	possibly complex tree node.
	* tree.c (mapcar): Adjust comments, and follow coding standards in
	conditional.
	(permanent_p): New function.

From-SVN: r26951
1999-05-16 19:31:51 +00:00
Jeff Law
31146a60e7 Daily bump.
From-SVN: r26950
1999-05-15 18:45:04 -06:00
Craig Burley
9f01126349 update derived files
From-SVN: r26949
1999-05-15 14:19:39 -04:00
Craig Burley
ff852b4454 fix INTEGER*8 subscripts, add -fflatten-arrays
From-SVN: r26948
1999-05-15 11:46:16 -04: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
0ef04c1a55 mkfixinc.sh: Add the Hurd (*-*-gnu*) to the list of targets that do not need any fixes.
P
	* fixinc/mkfixinc.sh: Add the Hurd (*-*-gnu*) to the list of
	targets that do not need any fixes.

From-SVN: r26946
1999-05-14 20:21:35 -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
Jeff Law
ab015df5ee Delete accidentally duplicated test
From-SVN: r26944
1999-05-14 20:17:31 -06:00
Jeff Law
9a77c744a3 Add Stu
From-SVN: r26943
1999-05-14 20:15:03 -06:00
Mark Kettenis
0b8b672215 configure.in: Add shared library support for the Hurd (*-*-gnu*).
* configure.in: Add shared library support for the Hurd
        (*-*-gnu*).
        * config/gnu.ml: New file.

From-SVN: r26942
1999-05-14 20:06:37 -06:00
Jeff Law
9874c8582a Daily bump.
From-SVN: r26941
1999-05-14 18:45:04 -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
Michael Hayes
f155b9434c c4x.md (*umulqi3_highpart_clobber): Fix operand 2 constraints order.
X
	* config/c4x/c4x.md (*umulqi3_highpart_clobber): Fix operand 2
 	constraints order.

From-SVN: r26936
1999-05-14 15:46:02 +00:00
Alexandre Petit-Bianco
af8b342afe [multiple changes]
Fri May 14 12:31:08 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* xref.c (xref_set_current_fp): New function, defined.
	* xref.h (xref_set_current_fp): New function, prototyped.
Fri May 14 11:57:54 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* check-init.c (check_init): Take into account that
 	LABELED_BLOCK_STMT can be empty.

From-SVN: r26935
1999-05-14 06:44:11 -07:00
Ulrich Drepper
62dab29cd2 Update.
From-SVN: r26934
1999-05-14 13:34:09 +00:00
Ulrich Drepper
5dd0c182b1 (FD_ZERO): Fix operand numbers in asm input operands.
From-SVN: r26933
1999-05-14 13:33:17 +00:00
Jeff Law
4b5c9f6b57 Daily bump.
From-SVN: r26932
1999-05-13 18:45:02 -06:00
Alexandre Petit-Bianco
1fb89a4d59 parse.y (java_check_regular_methods): Warning check on not overriding methods with default access in other packages...
Thu May 13 18:30:48 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* parse.y (java_check_regular_methods): Warning check on not
 	overriding methods with default access in other packages does not
 	apply to `<clinit>'.
	(java_complete_lhs): If block body is an empty_stmt_node, replace
 	it by NULL_TREE. This avoid gcc generating an irrelevant warning.

From-SVN: r26930
1999-05-13 12:01:19 -07:00
Per Bothner
aca1a6cbac Fix typo.
From-SVN: r26929
1999-05-13 08:45:03 -07:00
Per Bothner
6ddf32e318 class.c (push_lang_context): Turn off DECL_IGNORED_P for primitive Java types, if we actually see `extern "C"'.
�
	* class.c (push_lang_context):  Turn off DECL_IGNORED_P for
	primitive Java types, if we actually see `extern "C"'.

From-SVN: r26928
1999-05-13 08:42:58 -07:00
Per Bothner
e229f2cdda class.c (push_lang_context): Turn off DECL_IGNORED_P for primitive Java types, if we actually see `extern "C"'.
h
	* class.c (push_lang_context):  Turn off DECL_IGNORED_P for
	primitive Java types, if we actually see `extern "C"'.

From-SVN: r26927
1999-05-13 08:42:53 -07:00
Alexandre Petit-Bianco
ce6e914727 check-init.c (check_init): Removed code accepting to see things falling through default:, when doing xrefs.
Thu May 13 13:23:38 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* check-init.c (check_init): Removed code accepting to see things
	falling through default:, when doing xrefs.
	* java-tree.h (do_not_fold): New global variable, declared.
	* parse.y (do_not_fold): New global variable, defined.
	(java_complete_expand_method): Set `do_not_fold' to the value of
 	`flag_emit_xref'. When doing xrefs: copy the thrown exceptions,
 	and reinstall them after them have been purged; do not check for
 	initializations; do not issue missing return errors.
	(java_complete_lhs): Do not attempt to patch INSTANCEOF_EXPR nodes
 	when doing xrefs.
	(patch_binop): Skip the fold part when doing xrefs.
	(build_string_concatenation): Skip the concatenation part when
 	doing xrefs.
	(patch_synchronized_statement): Do not generate a try-finally when
 	doing xrefs.
	(patch_throw_statement): When doing xrefs, do not call BUILD_THROW
 	and keep the location where the throw was seen.
	* typeck.c (convert): When `do_not_fold' is set, do not attempt
 	any treatment on the converted node an simply return a NOP_EXPR of
 	the targeted type.
	* xref.c (xref_get_data): New function, defined.
	* xref.h (xref_get_data): New function, declared.
	(XREF_GET_DATA): Use xref_get_data.

From-SVN: r26926
1999-05-13 07:33:37 -07: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
Kaveh R. Ghazi
1b01250dd0 gjavah.c (print_include): Cast the result of `strlen' to int when comparing against a signed value.
* gjavah.c (print_include): Cast the result of `strlen' to int
        when comparing against a signed value.
        (add_namelet): Likewise.

From-SVN: r26924
1999-05-13 12:05:02 +00:00
Kaveh R. Ghazi
6de8697e4d * gcc.dg/noreturn-1.c: New test.
From-SVN: r26923
1999-05-13 09:18:43 +00:00
Jeffrey A Law
16f322e33c * cpp.texi: Fix some typos.
From-SVN: r26922
1999-05-12 19:25:49 -06:00
Michael Hayes
348425392f * tmpnam.c (L_tmpnam): Fix typo.
From-SVN: r26921
1999-05-12 19:23:42 -06:00
Franz Sirl
bedee6f81c * gcc.dg/990513-1.c: New test.
From-SVN: r26920
1999-05-12 19:08:10 -06:00
Andreas Schwab
16481bae54 * gcc.c-torture/execute/990513-1.c: New test.
From-SVN: r26919
1999-05-12 19:03:24 -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