Commit Graph

5267 Commits

Author SHA1 Message Date
Richard Kenner 4b46230e9d (make_tree, case CONST_INT): Properly set high part if unsigned.
From-SVN: r5280
1993-09-08 06:15:49 -04:00
Richard Stallman 91fa3c30b7 (push_init_level): Diagnose extra brace group at end of record.
(push_init_level): Diagnose extra brace group at end
of record.  Set constructor_type to 0.
(pop_init_level): Don't output anything if constructor_type is 0.
(process_init_element): Do nothing if constructor_type is 0.

From-SVN: r5279
1993-09-08 09:56:15 +00:00
Richard Kenner 90b5a681ce (c_build_type_variant): Allocate new type in same obstack as old one.
From-SVN: r5278
1993-09-07 19:11:15 -04:00
Richard Stallman e3a12f0cb1 (digest_init): Fix error message text.
From-SVN: r5277
1993-09-07 21:46:24 +00:00
Richard Kenner 943cc24261 (expand_binop): Must always widen second operand of shift.
From-SVN: r5276
1993-09-07 14:54:27 -04:00
Richard Kenner 9e1835de3e (schedule_block): Correct type of BIT.
From-SVN: r5275
1993-09-07 14:40:27 -04:00
Richard Kenner ac27d58987 (fold): Don't try to process an RTL_EXPR.
From-SVN: r5274
1993-09-07 14:32:05 -04:00
Richard Stallman 71f1501370 (dbxout_type): Handle enum constants bigger than one word.
Don't print big unsigned values as negative.

From-SVN: r5273
1993-09-07 12:27:26 +00:00
Richard Stallman 86463d5d64 (default_conversion): For enum that's unsigned,
if it's at least as wide as int, convert to an unsigned type.

From-SVN: r5272
1993-09-07 12:26:58 +00:00
Richard Stallman 75b4643788 (build_enumerator): Choose type properly for wide constants.
(finish_enum): Always set type of the enumerators to the enum type.

From-SVN: r5271
1993-09-07 12:26:20 +00:00
Richard Stallman ebf3718c05 (LIB_SPEC, LINK_SPEC, SWITCH_TAKES_ARG):
Definitions copied from sparc/sol2.h.
(CPP_SPEC): Copied from sparc/sol2.h, but deleted -msparclite.

From-SVN: r5270
1993-09-07 10:21:11 +00:00
Richard Kenner 809ffa71e1 (insn_name_ptr): Define for debugging.
(walk_rtx, case MATCH_OP_DUP): Expand recog_dup_loc using XEXP not XVECEXP.

From-SVN: r5269
1993-09-06 14:42:55 -04:00
Richard Kenner ccf5f34234 (emit_libcall_block): Don't move insns that reference things set in
previous insns.

From-SVN: r5268
1993-09-06 13:27:49 -04:00
Richard Kenner f8163c9219 (modified_between_p): Handle vectors.
(modified_in_p): New function.
(refers_to_regno_p): If setting AP, FP, or SP, we clobber the virtual
registers.

From-SVN: r5267
1993-09-06 13:27:22 -04:00
Richard Stallman 966963e68b Don't declare abort.
From-SVN: r5266
1993-09-06 12:36:01 +00:00
Jim Wilson fca13b64f6 (abort): Correct volatile function declaration.
From-SVN: r5265
1993-09-05 22:03:16 -07:00
Doug Evans a2bbfba6c4 (USER_H): Add va-h8300.h.
From-SVN: r5264
1993-09-06 02:05:33 +00:00
Richard Stallman eaf2e788fd (grokdeclarator): For PARM_DECLs, only call
c_build_type_variant is constp or volatilep is true.

From-SVN: r5263
1993-09-05 22:35:15 +00:00
Doug Evans 7223feb046 collect2.c (our_file_name, [...]): deleted.
* collect2.c (our_file_name, last_file_name): deleted.
        (our_file_names): New variable.
        (is_in_prefix_list): New function.
        (find_a_file): Call is_in_prefix_list.
        (main): Make COLLECT_NAMES a list of our invocations.
        If we've invoked ourselves, try again with ld_file_name.

From-SVN: r5262
1993-09-05 22:20:29 +00:00
Richard Stallman cb61f66f5b (assign_parms): When parm needs conversion on entry,
don't store it back in the slot where it was passed.

From-SVN: r5261
1993-09-05 20:01:32 +00:00
Richard Kenner 76229ac8db (print_operand): Convert fprintf of single letters to putc and convert fprintf of constant strings to fputs.
(print_operand): Convert fprintf of single letters to putc and convert
fprintf of constant strings to fputs.
Output '%u' operand as hexadecimal.

From-SVN: r5260
1993-09-05 06:44:00 -04:00
Richard Kenner b839fb3fe9 (truthvalue_conversion): A complex value is nonzero if either part is
nonzero, not if both parts are nonzero.

From-SVN: r5259
1993-09-04 11:16:10 -04:00
Richard Kenner 25a1019f18 (build_enumerator): Apply default conversion to constant-expression.
From-SVN: r5258
1993-09-03 19:02:27 -04:00
Richard Kenner 78af79ab5a (skip_if_group): Check for traditional mode when skipping ahead to
next #, ignore unless at beginning of line.

From-SVN: r5257
1993-09-03 18:03:32 -04:00
Michael Meissner 3c58aa350d pass -v/-dn to elf linker.
From-SVN: r5256
1993-09-03 21:54:58 +00:00
Jeff Law 41ded2895e pa.h (READONLY_DATA_ASM_OP): Define.
* pa.h (READONLY_DATA_ASM_OP): Define.
	(READONLY_DATA_SECTION): Define.
	(EXTRA_SECTIONS): Add in_readonly_data.
	(EXTRA_SECTION_FUNCTIONS): Add readonly_data.

From-SVN: r5255
1993-09-02 23:53:48 -06:00
Richard Kenner e600165c51 Improve generated code for C400 Clipper.
(TARGET_SWITCHES): New options `c300' `c400'.
(TARGET_C300, TARGET_C400): New defines.
(TARGET_DEFAULT): Define as TARGET_C300.
(CONDITIONAL_REGISTER_USAGE): New define.

From-SVN: r5254
1993-09-02 19:18:55 -04:00
Michael Meissner 729105f4a5 Fix typo.
From-SVN: r5253
1993-09-02 22:17:51 +00:00
Doug Evans 96f56dcd37 (__INT_MAX__, __LONG_MAX__, __LONG_LONG_MAX__): New macros.
(INT_MAX, LONG_MAX, LONG_LONG_MAX): Use them.

From-SVN: r5252
1993-09-02 21:39:58 +00:00
Michael Meissner ae1ac70285 ELF now omits leading underscores.
From-SVN: r5251
1993-09-02 18:35:26 +00:00
Michael Meissner 3cca99e839 Add spaces in basic block output.
From-SVN: r5250
1993-09-02 10:55:40 +00:00
Michael Meissner 92832bb59a Update basic block profiling.
From-SVN: r5249
1993-09-02 10:50:41 +00:00
Richard Kenner 9d436547f7 Clean up case and remove leading zeros from hex constants.
From-SVN: r5248
1993-09-01 21:57:02 -04:00
Jim Wilson dcac138d8e (truncdfsf2): Round to single instead of doing nothing.
From-SVN: r5247
1993-09-01 16:57:46 -07:00
Jim Wilson e26a82e41e (jump_optimize): When optimize conditional jump around
unconditional jump, handle case where prev_label can be zero.

From-SVN: r5246
1993-09-01 16:20:32 -07:00
Jim Wilson 549a367ad6 (finish_decl): For static const variables, preserve
initializers instead of discarding them.

From-SVN: r5245
1993-09-01 15:59:32 -07:00
Richard Kenner 915bb7632b (find_reloads): Bump REJECT for a hard register; just not for a
pseudo.

From-SVN: r5244
1993-09-01 18:46:03 -04:00
Richard Kenner e7113111af (movdf): Simplify by taking advantage of having SECONDARY_MEMORY_NEEDED.
Fix bugs relating to order in which moves are done.

From-SVN: r5243
1993-09-01 18:42:37 -04:00
Richard Kenner 7ea555a4fc (SECONDARY_MEMORY_NEEDED): New macro.
From-SVN: r5242
1993-09-01 18:41:53 -04:00
Richard Kenner eb4e800377 (input_operand): Allow "easy" FP constants.
From-SVN: r5241
1993-09-01 18:41:28 -04:00
Jim Wilson 87935f601e (find_reloads_address_1): Handle SUBREGs same as REGs.
From-SVN: r5240
1993-09-01 15:07:57 -07:00
Mike Stump 5555d6d103 collect2.c (is_ctor_dtor): Make sizeof argument match the string.
* collect2.c (is_ctor_dtor): Make sizeof argument match the
        string.

From-SVN: r5239
1993-09-01 22:06:56 +00:00
Brendan Kehoe 2bf5788be6 * Makefile.in (start.encap): Build g++ here also.
From-SVN: r5238
1993-09-01 15:02:25 -04:00
Jim Wilson c2f9f64eb2 (make_compound_operation): Handle the case (and (xor/ior (lshift...) (lshift...)) ...).
(make_compound_operation): Handle the case
(and (xor/ior (lshift...) (lshift...)) ...).
(make_field_assignment): In get_pos_from_mask call, only invert
bits in mode mask.

From-SVN: r5237
1993-08-31 15:08:25 -07:00
Jim Wilson f40fac9b07 (push_reload): Abort is secondary_reload wants same
class as an input reload.

From-SVN: r5236
1993-08-31 14:22:41 -07:00
Jim Wilson 67d4766b4a New file.
From-SVN: r5235
1993-08-31 14:17:04 -07:00
Jim Wilson 432fde528e (libgcc1.a, libgcc2.a): Don't use set -e.
From-SVN: r5234
1993-08-31 14:06:04 -07:00
Jim Wilson d7a58f93b1 (xsys-protos.h): Use fixtmp.c not tmp.c, and delete
it afterwards.

From-SVN: r5233
1993-08-31 13:38:04 -07:00
Jim Wilson a45035b6ed (assign_stack_temp): When allocate a slot too large,
split extra off into a slot of its own.
(combine_temp_slots): New function.
(free_temp_slots, pop_temp_slots): Call combine_temp_slots.

From-SVN: r5232
1993-08-31 13:30:12 -07:00
Richard Kenner 9d7877e3c8 (zero_extendqisi2...
(zero_extendqisi2, zero_extendqihi2): Change anonymous patterns to use 16-bit
and 32-bit hexadecimal values and masks instead of bit ranges if constant.
(rotlsi3, lshrsi3, move condition codes, scc insns): Likewise.

From-SVN: r5231
1993-08-31 06:35:25 -04:00