Commit Graph

20571 Commits

Author SHA1 Message Date
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
Jeff Law
6ea296f8bf Daily bump.
From-SVN: r25052
1999-02-05 17:47:03 -07:00
Michael Meissner
3603fb785f loop.c (check_dbra_loop): A store using an address giv for which we have no life information is not...
* loop.c (check_dbra_loop): A store using an address giv for which
        we have no life information is not reversible.

From-SVN: r25051
1999-02-05 17:46:54 -07:00
Jeffrey A Law
5f3db57e52 loop.c (strength_reduce): Clear not_every_iteration when passing the NOTE_INSN_LOOP_CONT note.
* loop.c (strength_reduce): Clear not_every_iteration when
        passing the NOTE_INSN_LOOP_CONT note.

From-SVN: r25050
1999-02-05 07:38:32 -07:00
Dave Brolley
d33c2956a4 function.c (fixup_var_refs): Scan catch_clauses too.
Fri Feb  5 17:08:01 1999  Dave Brolley  <brolley@cygnus.com>
        * function.c (fixup_var_refs): Scan catch_clauses too.

From-SVN: r25049
1999-02-05 09:12:38 -05:00
Brendan Kehoe
2814ec94f8 bogus tests
From-SVN: r25048
1999-02-05 07:28:26 -05:00
Benjamin Kosnik
9a6e70c918 c-common.c (decl_attributes): Fix reserved space for init_priority.
�
Fri Feb  5 11:49:49 1999  Benjamin Kosnik  <bkoz@loony.cygnus.com>
	* c-common.c (decl_attributes): Fix reserved space for init_priority.
	* tree.h (MAX_RESERVED_INIT_PRIORITY): New macro.

From-SVN: r25047
1999-02-05 11:46:16 +00:00
Benjamin Kosnik
4c4e4fd61b c-common.c (decl_attributes): Fix reserved space for init_priority.
�
Fri Feb  5 11:49:49 1999  Benjamin Kosnik  <bkoz@loony.cygnus.com>
	* c-common.c (decl_attributes): Fix reserved space for init_priority.
	* tree.h (MAX_RESERVED_INIT_PRIORITY): New macro.

From-SVN: r25046
1999-02-05 11:46:14 +00:00
Benjamin Kosnik
aa33de95b2 c-common.c (decl_attributes): Fix reserved space for init_priority.
�
Fri Feb  5 11:49:49 1999  Benjamin Kosnik  <bkoz@loony.cygnus.com>
	* c-common.c (decl_attributes): Fix reserved space for init_priority.
	* tree.h (MAX_RESERVED_INIT_PRIORITY): New macro.

From-SVN: r25045
1999-02-05 11:46:10 +00:00
Jeff Law
342d9c89f6 haifa-sched.c (add_dependence): Do not add a dependency on a note.
h
        * haifa-sched.c (add_dependence): Do not add a dependency on a
        note.

From-SVN: r25044
1999-02-05 04:43:22 -07:00
Jeff Law
29ed8a2760 haifa-sched.c (add_dependence): Do not add a dependency on a note.
�
        * haifa-sched.c (add_dependence): Do not add a dependency on a
        note.

From-SVN: r25043
1999-02-05 04:43:20 -07:00
Nick Clifton
3c4fc1ccc4 Only call update_flow_info if instruction scheduling is enabled.
From-SVN: r25042
1999-02-05 10:57:02 +00:00
Zack Weinberg
850350d1f7 Makefile.in (gen-protos): Use libcpp.a like everyone else.
1999-02-05 11:22 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
	* Makefile.in (gen-protos): Use libcpp.a like everyone else.

From-SVN: r25041
1999-02-05 08:24:29 +00:00
Zack Weinberg
a49f70bdf9 cpplib.c (initialize_char_syntax): Move to cppinit.c.
1999-02-04 14:33 -0500	Zack Weinberg  <zack@rabi.phys.columbia.edu>
	* cpplib.c (initialize_char_syntax): Move to cppinit.c.
	(cpp_define): Remove redundant syntax checks.
	(make_assertion): Rename cpp_assert, remove redundant syntax
	checks, export.
	(cpp_options_init): Don't init things to zero twice.
	(cpp_expand_to_buffer): Use memcpy, not a char-by-char loop.
	(do_include): Kill excessively verbose #import warning that
	snuck back in in the gcc2 merge.
	(convert_string): Removed.
	(do_line): Rewrite with simple last-name-used cache instead of
	private hashtable.
	(cpp_start_read): Call initialize_char_syntax here, not...
	(cpp_reader_init): ...here.
	(cpp_handle_options): Support the -std switch.
	* cpplib.h (cpp_buffer): Add last_nominal_fname member.
	(cpp_options): Add c9x flag.
	Declare all the is_* tables and trigraph table here, as const.
	Prototype cpp_assert and initialize_char_syntax.
	* cppinit.c: New file.
	* cppfiles.c (read_and_prescan): Optimize.
	* Makefile.in (LIBCPP_OBJS): Add cppinit.o.

From-SVN: r25040
1999-02-05 08:11:18 +00:00
Andrew Haley
93089423bd class.c (make_class_data): The superclass of an interface should be null, not class Object.
1999-02-05  Andrew Haley  <aph@cygnus.com>
        * class.c (make_class_data): The superclass of an interface should
        be null, not class Object.
        * lex.c (java_lex): Sign extend hex literals.

From-SVN: r25039
1999-02-05 07:58:05 +00:00
Jason Merrill
01235b8090 cp-tree.h: Declare it.
* cp-tree.h: Declare it.
Missed a piece...

From-SVN: r25038
1999-02-04 21:55:44 -05:00