Commit Graph

20586 Commits

Author SHA1 Message Date
Zack Weinberg
0961816af0 cpplib.c (do_define): Allow redefining __STDC__ with -D.
1999-02-09 10:30 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
	* cpplib.c (do_define): Allow redefining __STDC__ with -D.

From-SVN: r25109
1999-02-09 07:31:59 +00:00
Jeff Law
5cb8bcbbbf Daily bump.
From-SVN: r25108
1999-02-08 17:45:06 -07:00
Jim Blandy
507ba95664 configure.in: For PowerPC configurations...
1999-02-09  Jim Blandy  <jimb@zwingli.cygnus.com>
        * configure.in: For PowerPC configurations, accept "401", "ec603e",
        "740", and "750" as valid arguments to --with-cpu.
        * configure: Rebuilt.

From-SVN: r25107
1999-02-08 17:23:07 -07:00
Marc Espie
687361c834 Makefile.in (REQUIRED_OFILES): remove mkstemp.o
* Makefile.in (REQUIRED_OFILES): remove mkstemp.o
        * configure.in (funcs): Check for and conditionally add mkstemps to
        the list of functions libiberty will provide.
        * configure: Rebuilt.

From-SVN: r25106
1999-02-08 17:17:32 -07:00
Mark Kettenis
cd9e5e7ce0 configure.in (i[34567]86-*gnu*): Set float_format to i386.
* configure.in (i[34567]86-*gnu*): Set float_format to i386.
        * configure: Rebuilt.

From-SVN: r25104
1999-02-08 16:04:55 -07:00
Richard Henderson
247b14bd49 Clarify inline substitution failure.
From-SVN: r25103
1999-02-08 14:02:13 -08:00
Jeffrey A Law
29ae5b8934 rs6000.md: Revert "alternate use of crs if cr0 not available" patches from 01-22-1999...
* rs6000.md: Revert "alternate use of crs if cr0 not available"
        patches from 01-22-1999, 01-24-1999, 01-26-1999, and 02-08-1999.

From-SVN: r25102
1999-02-08 14:48:45 -07:00
Richard Henderson
20d83a046a * gcc.c-torture/execute/990208-1.c: New test.
From-SVN: r25101
1999-02-08 13:43:39 -08:00
Richard Henderson
acd693d10c output.h (current_function_has_computed_jump): Rename from current_function_addresses_labels.
* output.h (current_function_has_computed_jump): Rename from
        current_function_addresses_labels.
        * function.h (struct function): Likewise for addresses_labels member.
        * rtl.h (FUNCTION_FLAGS_HAS_COMPUTED_JUMP): Likewise.
        * function.c (current_function_has_computed_jump): Likewise.
        Update all references.
        * integrate.c (function_cannot_inline_p):
        Test current_function_has_computed_jump instead of addresses_labels.
        (initialize_for_inline): Likewise save.
        (output_inline_function): Likewise restore.
        * expr.c (expand_expr): Don't reference addresses_labels variables.
        * stmt.c (expand_computed_goto): Set has_computed_jump.

From-SVN: r25100
1999-02-08 13:39:33 -08:00
Michael Meissner
6ffc8580a7 This is being installed only to get it into the repository to help with the revert...
This is being installed only to get it into the repository to help
        with the revert, resubmit & review process for the massive rs6000.md
        changes.
        * rs6000.md (andsi3_internal1 splitter): Don't split if using the
        rlwinm instruction.
        (anddi3_internal1): Ditto.
        (andsi3_internal{2,3}): Correct some insn lengths.
        (anddi3*): Restore missing TARGET_POWERPC64, and don't emit old
        mnemonics.

From-SVN: r25099
1999-02-08 14:37:18 -07:00
Richard Henderson
d6b4453299 loop.c (reg_single_usage): New file-scope variable ...
* loop.c (reg_single_usage): New file-scope variable ...
        (scan_loop): ... moved out of here.  Always initialize.
        Test loop_has_call instead of reg_single_usage not zero.
        Free reg_single_usage after strength reduction.
        (count_loop_regs_set): Assume single_usage non-zero.
        (combine_givs_used_by_other): Test reg_single_usage.
        (load_mems_and_recount_loop_regs_set): Remove reg_single_usage
        as a parameter.  Assume non-zero.

From-SVN: r25098
1999-02-08 13:34:25 -08:00
Zack Weinberg
5dfa4da130 cpplib.c (special_symbol): Rewrite.
1999-02-08 23:25 -0500  Zack Weinberg  <zack@midnite.ec.rhno.columbia.edu>
	* cpplib.c (special_symbol): Rewrite.  Don't copy things
	  multiple times.  Handle __STDC__ specially.  T_CONST
	  indicates a constant /string/.  Don't handle T_*_TYPE and
	  T_SPEC_DEFINED.  Use cpp_buf_line_and_col instead of
	  adjust_position.  Determine the file buffer only if needed.
	  (initialize_builtins): Handle __SIZE_TYPE__,
	  __PTRDIFF_TYPE__, __WCHAR_TYPE__, __USER_LABEL_PREFIX__, and
	  __REGISTER_PREFIX__ with T_CONST special hashtab entries.
	  Don't provide __OBJC__; the driver does that.	 Provide
	  __STDC_VERSION__, using T_CONST.  Use T_STDC for
	  __STDC__.  Give install the length of all symbols defined.
	  (eval_if_expression): Drop code to insert and remove the
	  "defined" special symbol.
	* cpplib.h: Remove SELF_DIR_DUMMY (no longer used).  Remove
	  T_*_TYPE and T_SPEC_DEFINED from enum node_type; add T_STDC.
	* cpphash.c (install): Drop the `ivalue' parameter.  Constify
	  the `value' parameter.  All callers changed.
	* cpphash.h (install): Change prototype to match.
	  (union hashval): Remove `ival' member.
	* cppexp.c (cpp_lex): Handle `defined' here.

From-SVN: r25097
1999-02-08 20:27:27 +00:00
Jeff Law
1c6c21c8a8 pa.h (EXTRA_CONSTRAINT): Fix comment.
* pa.h (EXTRA_CONSTRAINT): Fix comment.

From-SVN: r25096
1999-02-08 09:34:10 -07:00
Jeff Law
49ad900dd1 pa.h (EXTRA_CONSTRAINT): Fix comment.
�
	* pa.h (EXTRA_CONSTRAINT): Fix comment.

From-SVN: r25095
1999-02-08 09:34:07 -07:00
Vladimir Makarov
ebc3c07836 Reset the correct date in Changelog for the previous patch.
From-SVN: r25094
1999-02-08 16:11:55 +00:00
Vladimir N. Makarov
43f7bed538 c-typeck.c (check_init_type_bitfields): Use nonincremental initialization of unions whose first member is a bitfield.
Mon Feb  9 18:57:45 1999  Vladimir N. Makarov  <vmakarov@cygnus.com>
	* c-typeck.c (check_init_type_bitfields): Use nonincremental
	initialization of unions whose first member is a bitfield.
        Remove unnecessary code for checking the declaration mode
        after DECL_C_BIT_FIELD.
	* varasm.c (output_constructor): Additional comment about the
 	constructor of bitfield union initialization.

From-SVN: r25093
1999-02-08 16:00:46 +00:00
Nick Clifton
ef5ae17671 Replace \\n\\t with \\;
From-SVN: r25092
1999-02-08 15:04:12 +00:00
Michael Hayes
e42efef590 c4x.md (*movhi_stik): New pattern.
* config/c4x/c4x.md (*movhi_stik): New pattern.
	(movhi): Allow some immediate constants to be directly
	stored in memory.

From-SVN: r25091
1999-02-08 14:58:08 +00:00
Michael Hayes
b2e9a2fdc8 c4x.md (all call patterns): Add constraints "Ur".
* config/c4x/c4x.md (all call patterns): Add constraints "Ur".
	(call, call_value): Force address into a register if not valid
	for a call instruction.
	(load_immed_address): Emit a USE of the SYMBOL_REF that is
	forced into memory.
	* config/c4x/c4x.c (c4x_print_operand): Fix 'C' and 'U' modifiers.

From-SVN: r25090
1999-02-08 14:50:03 +00:00
Michael Hayes
55310df79f c4x.c (call_address_operand, [...]): Rename from call_operand and symbolic_operand respectively.
* config/c4x/c4x.c (call_address_operand, symbolic_address_operand):
 	Rename from call_operand and symbolic_operand respectively.  All
	callers changed.
	* config/c4x/c4x.md (call_address_operand, symbolic_address_operand):
	Likewise.
	* config/c4x/c4x.h (call_address_operand, symbolic_address_operand):
	Likewise.
	(PREDICATE_CODES): Allow CONST, LABEL_REF for call_address_operand.

From-SVN: r25089
1999-02-08 14:18:31 +00:00
Zack Weinberg
917acb0e51 Replace changes in rev 1.223 which got lost
From-SVN: r25088
1999-02-08 14:17:04 +00:00
Michael Hayes
2718204c76 c4x.c (c4x_legitimize_address): Don't generate a LO_SUM address for HImode or HFmode but instead force address...
* config/c4x/c4x.c (c4x_legitimize_address): Don't generate a
 	LO_SUM address for HImode or HFmode but instead force address into
 	a register so that it is offsettable.
	(c4x_emit_move_sequence): Handle LO_SUM immediate address.

From-SVN: r25087
1999-02-08 14:00:37 +00:00
Michael Hayes
de67f00e39 c4x.c (c4x_address_cost): Return cost of 1 for REG+REG addressing if strength reduction enabled.
* config/c4x/c4x.c (c4x_address_cost): Return cost of 1 for
	REG+REG addressing if strength reduction enabled.

From-SVN: r25086
1999-02-08 13:50:22 +00:00
Michael Hayes
43790b4468 t-c4x (LIBGCC2_CFLAGS): Delete.
* config/c4x/t-c4x  (LIBGCC2_CFLAGS): Delete.
	(TARGET_LIBGCC2_CFLAGS): Define.

From-SVN: r25085
1999-02-08 13:36:56 +00:00
Nick Clifton
be1d3f9370 Fix for PR 18535 - enforce -mlong-calls option
From-SVN: r25084
1999-02-08 12:23:33 +00:00
Jason Merrill
7ff140c597 update
From-SVN: r25083
1999-02-08 07:03:15 -05:00
Alexandre Petit-Bianco
34f4db93fc parse.h: DECL_P renamed JDECL_P.
Mon Feb  8 11:50:50 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* parse.h: DECL_P renamed JDECL_P.
        * parse.y: DECL_P replaced by JDECL_P.
        (build_array_from_name): Always use pointer's type.
        (patch_bc_statement): Extra code to search continue target in a
        for loop. Fixed comments. Continue target is current loop when
        unlabeled.

From-SVN: r25082
1999-02-08 03:54:04 -08:00
Donn Terry
9691f3a1ea * real.c (PUT_REAL) [XFmode]: Zero the balance of the structure.
From-SVN: r25081
1999-02-08 03:40:32 -08:00
Marc Espie
e6a3e2ba64 * m88k/t-luna-gas: Remove bash dependency.
From-SVN: r25080
1999-02-08 03:33:29 -08:00
Graham Stott
ea0d7e8b63 * collect2.c (xrealloc): fix typo in last change.
From-SVN: r25079
1999-02-08 03:31:34 -08:00
Alexandre Petit-Bianco
acd663ee8d lex.c (java_read_char): Fixed utf8 decoding.
Fri Jan 29 18:19:02 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* lex.c (java_read_char): Fixed utf8 decoding.
	(java_unicode_2_utf8): Fixed utf8 encoding in the 0x800-0xffff
 	range.
	* parse.y (valid_builtin_assignconv_identity_widening_p): Fixed
 	comments. Local variable `all_primitive' is gone. Broadened
 	acceptance of `0' to floating point targets. `long' can now be
 	widened to `double' or `float'.
	(valid_method_invocation_conversion_p): Added leading
 	comment. Fixed tabulation.
	(build_string_concatenation): Optimize out left or right empty
 	string constants.

From-SVN: r25078
1999-02-08 03:20:39 -08:00
Jeffrey A Law
5f784c1db9 Bump for snapshot
From-SVN: r25076
1999-02-08 02:13:43 -07:00
Jeff Law
46a81e4754 Daily bump.
From-SVN: r25075
1999-02-07 17:45:02 -07:00
Robert Lipe
73cd2468a5 tree.h (TYPE_CHECK): Make it clear to the preprocessor that we do not want macro replacement within...
* tree.h (TYPE_CHECK): Make it clear to the preprocessor
	that we do not want macro replacement within a character constant.
	(TYPE_CHECK1): Likewise.

From-SVN: r25074
1999-02-07 20:20:36 +00:00
Jason Merrill
ad902c98f8 * Makefile.in (stuff2): Tweak.
From-SVN: r25073
1999-02-07 10:57:14 -05:00
Jason Merrill
700466c28c pt.c (maybe_process_partial_specialization): Complain about specialization in wrong namespace.
* pt.c (maybe_process_partial_specialization): Complain about
	specialization in wrong namespace.
	* tree.c (decl_namespace_context): New fn.
g++.pt/explicit73.C
	* decl2.c (arg_assoc_type): Handle TEMPLATE_TEMPLATE_PARM.
	* pt.c (coerce_template_template_parms): Handle nested
	template template parameters.
g++.pt/nttp[12].C

From-SVN: r25072
1999-02-07 10:44:12 -05:00
Jonathan Larmour
561cb39b35 new
From-SVN: r25071
1999-02-07 10:40:17 -05:00
Jason Merrill
54281b2919 update
From-SVN: r25070
1999-02-07 10:40:03 -05:00
Jason Merrill
7766fe8e5f * tree.h (DECL_P): New macro.
From-SVN: r25069
1999-02-07 10:37:43 -05:00
Jeffrey A Law
ff90310e44 Bump for snapshot
From-SVN: r25067
1999-02-06 18:15:09 -07:00
Jeff Law
b47e151bf7 Daily bump.
From-SVN: r25066
1999-02-06 17:45:02 -07:00
Jeffrey A Law
f15ec016f9 * mn10300.md (reload_insi): Do not earlyclobber the output operand.
From-SVN: r25065
1999-02-06 10:25:19 -07:00
Jeffrey A Law
8d31fdf4ba README.g77, [...]: Update email addresses.
* README.g77, gcc.c, gcc.texi: Update email addresses.
        * invoke.texi system.h: Likewise.

From-SVN: r25064
1999-02-06 10:20:33 -07:00
Jeffrey A Law
ab5c7875e7 * typeck2.c: Update email addrsses.
From-SVN: r25063
1999-02-06 10:12:29 -07:00
Jeffrey A Law
5b2c2c944e * g77.texi: Update email addresses.
From-SVN: r25062
1999-02-06 10:06:57 -07:00
Jeffrey A Law
9019832024 * README: Update email addresses.
From-SVN: r25061
1999-02-06 10:04:18 -07:00
Jim Wilson
8318490b1e unroll.c (find_splittable_givs): After express_from, call replace_rtx to convert dest_reg to new_reg.
* unroll.c (find_splittable_givs): After express_from, call replace_rtx
        to convert dest_reg to new_reg.

From-SVN: r25056
1999-02-06 03:08:51 -07:00
Jeffrey A Law
54ca6ffa13 reload1.c (reload_combine_note_store): Be more careful with STRICT_LOW_PART, ZERO_EXTRACT and SIGN_EXTRACT.
* reload1.c (reload_combine_note_store): Be more careful with
        STRICT_LOW_PART, ZERO_EXTRACT and SIGN_EXTRACT.
        (move2add_note_store): Likewise.

From-SVN: r25055
1999-02-06 02:41:08 -07:00
Kaveh R. Ghazi
bdc1937ed9 cppfiles.c (read_and_prescan): Cast the result of `xrealloc' to U_CHAR* when assigning to one.
* cppfiles.c (read_and_prescan): Cast the result of `xrealloc' to
        U_CHAR* when assigning to one.  Ensure the values of a ?: operator
        have the same type.
        * cppinit.c (initialize_char_syntax): Use K&R function definition.

From-SVN: r25054
1999-02-06 07:38:50 +00:00
Richard Earnshaw
b36ba79f65 Support for ARM9
Support for ARM9
* config/arm/arm.c (all_procs): Add arm9 and arm9tdmi.
* config/arm/arm.h ((TARGET_CPU_arm9, TARGET_CPUD_arm9tdmi): Define.
(TARGET_CPU_DEFAULT): Rework to support ARM9.
(CPP_CPU_ARCH_SPEC): Likewise.
(enum processor_type): Likewise.
* config/arm/arm.md (attr cpu): Add arm9.
General scheduling changes
* config/arm/arm.c (MAX_INSNS_SKIPPED): Delete.
(max_insns_skipped): New variable.
(arm_override_options): If generating hard floating point code for
the FPA, emit code for version 3.
When optimizing for space, don't synthesize constants.
Reword several flags based on the requested processor and optimization
level.
(use_return_insn): New argument iscond, all callers changed.  Don't
use a return insn if it will be conditional and that would be
expensive; eg on StrongARM.
(arm_adjust_cost): Anti- and output- dependencies normally have no
cost.
(load_multiple_sequence): Newer ARMs don't benefit from ldm if
the sequence is short.
(final_prescan_insn): Use max_insns_skipped instead of
MAX_INSNS_SKIPPED.  Note whether we will make a return instruction
conditional, and aviod this if it would be expensive.
* config/arm/arm.md (scheduling attributes and function units):
Rewrite to better describe ARM8, 9 and StrongARM.
* config/arm/arm.md (*movhi_insn_littleend): Make op0 predicate
s_register_operand.
(*ifcompare_plus_move): Use arm_rhs_operand in place of
arm_rhsm_operand.  Rework constraints.
(*if_plus_move): Likewise.
(*ifcompare_move_plus): Likewise.
(*if_move_plus): Likewise.
(*ifcompre_arith_move): Likewise.
(*if_arith_move): Likewise.
(*ifcompare_move_arith): Likewise.
(*if_move_arith): Likewise.
* config/arm/xm-netbsd.h: Don't include arm/xm-arm.h.

From-SVN: r25053
1999-02-06 04:09:55 +00:00