Commit Graph

9429 Commits

Author SHA1 Message Date
Richard Kenner
406c2af7ed (attribute_in_list): New declaration.
From-SVN: r9457
1995-04-25 18:52:37 -04:00
Richard Kenner
3e3d7e77cd (valid_machine_attribute): Use new function attribute_in_list...
(valid_machine_attribute): Use new function attribute_in_list, makes
sure type_attribute_variants are reused even when attributes have
parameters.
Assign any new type to TREE_TYPE (decl).
(attribute_in_list): New function.
(attribute_list_contained): Use it.

From-SVN: r9456
1995-04-25 18:52:18 -04:00
Jim Wilson
8faf4a6843 (main): Pass INIT_ENVIRONMENT to putenv.
From-SVN: r9455
1995-04-25 15:39:42 -07:00
Richard Kenner
33a79dfafb (chain_member_purpose): Make similar to chain_member_value.
From-SVN: r9454
1995-04-25 18:39:11 -04:00
Jim Wilson
713ff25294 (INIT_ENVIRONMENT): Define as string not putenv call.
From-SVN: r9453
1995-04-25 15:38:15 -07:00
Jim Wilson
3ffeb8f1c7 (expand_return): When returning BLKmode structure in
registers, copy it to a psuedo-reg instead of to hard registers.

From-SVN: r9452
1995-04-25 15:25:28 -07:00
Richard Kenner
91887f0bf6 Make-lang.in.
From-SVN: r9451
1995-04-25 18:08:27 -04:00
Richard Kenner
f1908d7025 Change "realclean" to "maintainer-clean".
From-SVN: r9450
1995-04-25 18:07:11 -04:00
Richard Kenner
209d691e03 Removed __NetBSD__ from conditional.
Declare strerror if HAVE_STRERROR is defined; otherwise declare
sys_errlist and sys_nerr.
(my_strerror): New function.
(errno): Don't define if already defined as a macro.

From-SVN: r9449
1995-04-25 17:47:34 -04:00
Richard Kenner
d14d353d13 (current_file_function_operand): Return false if profiling.
From-SVN: r9448
1995-04-25 17:43:07 -04:00
Richard Kenner
34aa3599f1 (convert_move): Don't access a hard reg in an invalid mode when doing
a truncation.

From-SVN: r9447
1995-04-25 17:05:37 -04:00
Richard Kenner
c89e8dc28f (CONST_OK_FOR_LETTER_P, case 'L'): Reject 0x80000000.
From-SVN: r9446
1995-04-25 16:36:31 -04:00
Richard Kenner
e6118f890d (add_operand): Test for exactly the constants allowed by the
constraints.

From-SVN: r9445
1995-04-25 16:36:05 -04:00
Richard Kenner
daa6d5ffc0 (start_decl): New args for attributes; call decl_attributes.
From-SVN: r9444
1995-04-25 16:06:42 -04:00
Richard Kenner
c15b1d4507 (start_decl): Two new tree parameters.
From-SVN: r9443
1995-04-25 16:06:19 -04:00
Richard Kenner
99ac47b5d2 (initdcl, notype_initdcl): Pass attributes to start_decl; delete call
to decl_attributes.

From-SVN: r9442
1995-04-25 16:06:00 -04:00
Michael Meissner
17ea663341 Do not allow DFs to use 2 register addressing if -msoft-float
From-SVN: r9441
1995-04-25 19:46:08 +00:00
Richard Kenner
2ac5334923 (divhi3, udivhi3, modhi3, umodhi3): Deleted these insns plus some surrounding trash.
(divhi3, udivhi3, modhi3, umodhi3): Deleted these insns plus some
surrounding trash.
(divmodhi4, udivmodhi4): Added these insns.

From-SVN: r9440
1995-04-25 15:45:30 -04:00
Richard Kenner
f5ec002697 (duplicate_decls): Don't look at TYPE_ACTUAL_ARG_TYPES if it is not
set.

From-SVN: r9439
1995-04-25 13:30:35 -04:00
Richard Kenner
007cac0f1a Initial revision
From-SVN: r9438
1995-04-25 12:42:00 -04:00
Richard Kenner
622ff7098e (alpha_builtin_saveregs): Add to incoming args addr if less than 6
named args, not less than or equal to.

From-SVN: r9437
1995-04-25 10:12:34 -04:00
Richard Kenner
e041d3e92b (fatal, error): Make first arg const to avoid warning.
From-SVN: r9436
1995-04-24 19:44:34 -04:00
Richard Kenner
a3fd7507da (expand_end_bindings): Write a BARRIER after call to abort in nonlocal
handler.

From-SVN: r9435
1995-04-24 19:22:18 -04:00
Richard Kenner
ae8c59c0a0 (expand_decl_init): Call preserve_temp_slots to keep around any temp
whose address was taken.

From-SVN: r9434
1995-04-24 15:25:06 -04:00
Mike Stump
e8abc66f60 67th Cygnus<->FSF merge
From-SVN: r9433
1995-04-24 17:27:46 +00:00
Torbjorn Granlund
87c7361897 (call_internal_reg): Fix typos in length calculation.
(call_value_internal_reg): Likewise.

From-SVN: r9432
1995-04-21 23:39:23 +00:00
Roland McGrath
635b02bf02 (STANDARD_INCLUDE_DIR): New macro.
From-SVN: r9431
1995-04-21 17:18:23 +00:00
Roland McGrath
a825be5a91 (STANDARD_INCLUDE_DIR): Macro moved to generic gnu.h.
From-SVN: r9430
1995-04-21 17:17:09 +00:00
Richard Kenner
ba78c9ff87 (default_compilers): Pass -I to gnat1.
From-SVN: r9429
1995-04-21 08:23:45 -04:00
Richard Kenner
c5993d837c (lang_options): Add -I for GNAT.
From-SVN: r9428
1995-04-21 08:22:39 -04:00
Richard Kenner
8980b5a34d (integer_all_onesp): Test to size of mode, not TYPE_PRECISION.
From-SVN: r9427
1995-04-21 08:11:06 -04:00
Richard Kenner
4ac8e06eb1 (main): Turn on -fforce-mem for -O2.
From-SVN: r9426
1995-04-21 08:08:07 -04:00
Richard Kenner
4d39710e8e ([lr]rotate_double): Replace; old versions were bogus.
(fold, shift and rotate): Don't call tree_int_cst_sgn on non-integer.
(fold, case LROTATE_EXPR): If constant count, convert to RROTATE_EXPR.
(fold, case RROTATE_EXPR): Sometimes commute logical op with rotate.
Delete pair of counteracting shifts.

From-SVN: r9425
1995-04-21 08:03:23 -04:00
Richard Kenner
0e32506c6b (simplify_logical, case AND): If still an AND, get new values for op0
and op1.

From-SVN: r9424
1995-04-21 07:57:42 -04:00
Jim Wilson
8aa2a30584 Completely rewritten.
From-SVN: r9423
1995-04-20 18:19:27 -07:00
Jim Wilson
058f9bb586 (FAST_BIT, CONSTLEN_2_BIT, CONSTLEN_3_BIT, CONSTLEN_0_BIT,
TARGET_FASTCODE, TARGET_CLEN3, TARGET_CLEN0, TARGET_OPTIONS): Delete.
(TARGET_SWITCHES): Delete -mclen3 and -mclen0 options.
(TARGET_DEFAULT): Is zero.
(OVERRIDE_OPTIONS): Delete code to set max_count_si and max_count_hi.
(SPECIAL_REG): New macro.
(HARD_REGNO_MODE_OK): Allow any mode in any general register.
(GO_IF_LEGITIMATE_ADDRESS): Delete constant + reg address case.
(MOVE_RATIO): Define to 2 when TARGET_SMALLCODE.
(max_si, max_hi, max_count_si, max_count_hi): Delete.

From-SVN: r9422
1995-04-20 18:19:03 -07:00
Jim Wilson
51aea58dad Delete spurious constraints from all define_expands.
(rotlsi3_1): Set T reg instead of clobbering it.
(ashrsi3): Use expand_ashiftrt instead of gen_shifty_op.
(movsi_i, movhi_i, movsf_i): Add conditions to reject patterns
needing a reload.
(movdi-2, movdf_k): Correct conditions to reject patterns needing
a reload.
([inverse_]branch_{true,false}): Pass operands to output_branch.
(jump): Delete unnecessary braces.
(call, call_value): Don't use expand_acall.  Force operand0 into
a register.

From-SVN: r9421
1995-04-20 18:18:26 -07:00
Jason Merrill
657bb6dc84 Use TREE_ADDRESSABLE rather than | TYPE_NEEDS_CONSTRUCTING to decide whether a...
Use TREE_ADDRESSABLE rather than
|        TYPE_NEEDS_CONSTRUCTING to decide whether a parameter needs to be
|        passed by invisible reference.

From-SVN: r9420
1995-04-20 22:26:30 +00:00
Torbjorn Granlund
a01408abbe (TARGET_SWITCHES): Fix typo.
From-SVN: r9419
1995-04-19 21:49:24 +00:00
Mike Stump
43f2999d1d 66th Cygnus<->FSF merge
From-SVN: r9418
1995-04-19 17:08:54 +00:00
Per Bothner
8a0e8d4dc4 (get_set_constructor_bytes): Fix BITS_BIG_ENDIAN -> BYTES_BIG_ENDIAN.
From-SVN: r9417
1995-04-18 18:09:38 -07:00
Per Bothner
b09f334842 (store_constructor): Fix BITS_BIG_ENDIAN -> BYTES_BIG_ENDIAN for SET_TYPE.
From-SVN: r9416
1995-04-18 18:07:59 -07:00
Per Bothner
b2b6cc0a55 (FIXPROTO_DEFINES): Define _HPUX_SOURCE so putenv gets seen.
From-SVN: r9415
1995-04-18 17:23:29 -07:00
Michael Meissner
7198acbe9b Always define handle_pragma_weak, but don't do anything unless
HANDLE_PRAGMA_WEAK is defined.

From-SVN: r9414
1995-04-18 20:51:03 +00:00
Michael Meissner
d924d023c7 Do not put enclose within HANDLE_SYSV_PRAGMA
From-SVN: r9413
1995-04-18 20:06:17 +00:00
Mike Stump
44a8d0b357 65th Cygnus<->FSF merge
From-SVN: r9412
1995-04-18 19:23:38 +00:00
Michael Meissner
7b83cfef6d Do not give an error for __attribute__((weak)) on systems that do not support it.
From-SVN: r9411
1995-04-18 18:59:29 +00:00
Michael Meissner
3d6f7931f9 Move pragma interface support to c-pragma.h
From-SVN: r9410
1995-04-18 18:16:51 +00:00
Michael Meissner
dce58868d9 Initial revision
From-SVN: r9409
1995-04-18 18:10:45 +00:00
Michael Meissner
3b7f6cca35 Do not generate mem->mem SF moves if -msoft-float
From-SVN: r9408
1995-04-18 18:08:17 +00:00