Commit Graph

12170 Commits

Author SHA1 Message Date
Richard Kenner
0161e8dace (enum attrs): Add A_FORMAT_ARG.
(init_attribute): Initialize it.
(decl_attributes, case A_FORMAT): Clean up error messages.
(decl_attributes, case A_FORMAT_ARG): New case.
(struct international_format_info): New structure and typedef.
(international_format_list): New variable.
(record_international_format): New function.
(init_format_info): Call it for gettext, dcgettext, and dcgettext.
(check_format_info): See if format arg is call to internationalization
function.

From-SVN: r12241
1996-06-08 13:35:57 -04:00
Jim Wilson
87e2427658 Change output to be a sequence of short strings
separated by commas rather than a single long macro definition.

From-SVN: r12240
1996-06-07 19:45:34 -07:00
Jim Wilson
ffd8633682 (MULTILIB_SELECT): Delete definition.
(multilib_select): Delete static initializer.
(multilib_obstack, multilib_raw): New global variables.
(multilib.h): Include inside multilib_raw definition.
(main): Set multilib_select from multilib_raw.

From-SVN: r12239
1996-06-07 19:44:31 -07:00
Jim Wilson
2d91790329 (simplify_binary_operation...
(simplify_binary_operation, case MULT): Check for case
where width is larger than HOST_BITS_PER_WIDE_INT, and upper most
bit is set.  We can not generate a simple shift in this case.

From-SVN: r12238
1996-06-07 19:36:34 -07:00
Per Bothner
44803a5b36 config.guess (i?86-ncr-sysv*): Emit minor release numbers.
* config.guess (i?86-ncr-sysv*):  Emit minor release numbers.
Recognize the NCR 4850 machine and NCR Pentium-based platforms.

From-SVN: r12225
1996-06-07 18:25:20 -07:00
Jim Wilson
6321d910e2 (EXTENDED_SDB_BASIC_TYPES): Define.
(PUT_SDB_TYPE): Delete now unnecessary shifting and masking.

From-SVN: r12224
1996-06-07 17:15:54 -07:00
Jim Wilson
64c6526a79 (gsyms.h): Include if CROSS_COMPILE is defined.
(plain_type_1): Use TYPE_PRECISION instead of TYPE_SIZE.
Add check for LONG_DOUBLE_TYPE_SIZE if EXTENDED_SDB_BASIC_TYPES.

From-SVN: r12223
1996-06-07 17:12:38 -07:00
Jim Wilson
b058040c91 (enum sdb_type): Add T_LNGDBL if EXTENDED_SDB_BASIC_TYPES.
(enum sdb_masks): Add EXTENDED_SDB_BASIC_TYPES masks.

From-SVN: r12222
1996-06-07 17:09:02 -07:00
Jim Wilson
75694d3866 (i960_output_move_{double,quad}): Declare.
From-SVN: r12221
1996-06-07 17:03:53 -07:00
Richard Kenner
2361ec2a84 Initial revision
From-SVN: r12220
1996-06-07 19:22:01 -04:00
Richard Kenner
7cc5b18f7b (__objc_thread_exit_status): Declare global variable.
From-SVN: r12219
1996-06-07 19:21:30 -04:00
Richard Kenner
8341df325a Remove inclusion of source files.
From-SVN: r12218
1996-06-07 19:21:17 -04:00
Richard Kenner
cc782a7e9e Now compiles as a separate source file, so include appropriate
Objective-C headers.

From-SVN: r12217
1996-06-07 19:21:00 -04:00
Richard Kenner
7228791ecf (OBJC_THREAD_FILE): Add target and dependency.
From-SVN: r12216
1996-06-07 19:16:50 -04:00
Richard Kenner
bb029709d1 (OBJC_THREAD_FILE): New variable.
From-SVN: r12215
1996-06-07 19:15:45 -04:00
Richard Kenner
bae37e7153 (TARGET_SWITCHES): Treat -m68302 like -m68000 and -m68332 like
-m68020; remove -mno-68302 and -mno-68332.

From-SVN: r12214
1996-06-07 19:03:57 -04:00
Per Bothner
8f6562d026 * expr.c (safe_from_p): Allow Chill-style variable-sized arrays.
From-SVN: r12213
1996-06-07 12:11:44 -07:00
Per Bothner
03cad97d1e gen-protos.c (progname): New variable (needed by cppalloc.c).
* gen-protos.c (progname):  New variable (needed by cppalloc.c).
(main):  Set progname.

From-SVN: r12212
1996-06-07 11:59:34 -07:00
Per Bothner
b3ea4fcad1 fixincludes: When running find...
* fixincludes:  When running find, add "/." to directory name
to force expanding symlinks to directories.

From-SVN: r12211
1996-06-07 00:32:54 -07:00
Per Bothner
35e93fb4de * fix-header.c (read_scan_file): Use CPP_FATAL_ERRORS.
From-SVN: r12210
1996-06-07 00:32:32 -07:00
Per Bothner
6c8e6d0c5c cppmain.c (fancy_abort): Only define #ifdef abort.
* cppmain.c (fancy_abort):  Only define #ifdef abort.
(main):  Make sure cpp_fatal is before exit.

From-SVN: r12209
1996-06-07 00:32:01 -07:00
Per Bothner
c8fb2307d5 * cpperror.c (fatal): Removed function.
From-SVN: r12208
1996-06-07 00:31:46 -07:00
Per Bothner
e2f79f3c03 cpplib.c (xcalloc): From from cppalloc.c.
* cpplib.c (xcalloc):  From from cppalloc.c.
* cpplib.c (cpp_push_buffer):  If recursion too deap, return NULL
rather than exiting with fatal.
(make_assertion, cpp_expand_to_buffer, push_macro_expansion,
do_include, cpp_start_rea):  Handle NULL return from cpp_push_buffer.
(output_line_command):  Update position even if no_output.
        (parse_clear_mark):  Use fatal instead of abort.

From-SVN: r12207
1996-06-07 00:30:20 -07:00
Per Bothner
426b6fa3ab cppalloc.c (memory_full): Don't use fatal; use fprintf+exit.
* cppalloc.c (memory_full):  Don't use fatal;  use fprintf+exit.
* cppalloc.c (xcalloc):  Move from here to cpplib.c.

From-SVN: r12206
1996-06-07 00:29:20 -07:00
Jeff Law
fabe72bb89 h8300.c (h8300_monitor_function_p): New function.
* h8300/h8300.c (h8300_monitor_function_p): New function.
        (h8300_os_task_function_p): Likewise.
        (os_task, monitor): Variables to note if the current
        function is an os_task or monitor.
        (function_prologue): Set monitor and/or os_task as needed.  Handle
        os_task and monitor functions.
        (function_epilogue): Clear monitor and os_task.  Handle os_task and
        monitor functions.
        (h8300_valid_machine_decl_attribute): Accept "OS_Task" and
        "monitor".

From-SVN: r12205
1996-06-06 21:13:53 -06:00
Per Bothner
c57a4b7c02 fix-header.c (read_scan_file): Use cpp_fatal.
* fix-header.c (read_scan_file):  Use cpp_fatal.
Use renamed function names, and return protocols.
* fix-header.c (check_macro_names):  Fix struct parse_file->cpp_reader.

From-SVN: r12204
1996-06-06 20:07:32 -07:00
Per Bothner
59de031165 cppmain.c (main): Use CPP_SET_WRITTEN and cpp_fatal.
* cppmain.c (main):  Use CPP_SET_WRITTEN and cpp_fatal.
Use renamed function names, and return protocols.

From-SVN: r12203
1996-06-06 20:06:57 -07:00
Per Bothner
a94c94be24 cpplib.c (init_parse_option): Renamed to cpp_options_init.
* cpplib.c (init_parse_option):  Renamed to cpp_options_init.
(push_parse_file):  Renamed to ...
(cpp_start_read):  Change to return 1 on success, 0 on failure.
(init_parse_file):  Renamed to cpp_reader_init.
* cpplib.c (cpp_start_read, cpp_handle_options, cpp_finish,
parse_goto_mark, parse_move_mark):  Use cpp_fatal rather than fatal.
* cpplib.c (newline_fix):  Remove unused function.

From-SVN: r12202
1996-06-06 20:05:31 -07:00
Per Bothner
05a2b36fad cpperror.c (cpp_message): Generalize for "fatal" errors.
* cpperror.c (cpp_message):  Generalize for "fatal" errors.
(cpp_fatal):  New function (just calls cpp_message).

From-SVN: r12201
1996-06-06 20:04:54 -07:00
Per Bothner
b23378c8ab * cpphash.c (cpp_lookup): Change struct parse_file -> cpp_reader.
From-SVN: r12200
1996-06-06 20:04:29 -07:00
Per Bothner
194d74937d cpplib.h (struct parse_file): Removed.
* cpplib.h (struct parse_file):  Removed.
(CPP_FATAL_LIMIT, CPP_FATAL_ERRORS, CPP_OUT_BUFFER):  New macros.

From-SVN: r12199
1996-06-06 20:04:04 -07:00
Jim Wilson
1c20ae99ca (init_cumulative_args): Change EXPR_LIST to PARALLEL in comments.
(init_cumulative_args): Change EXPR_LIST to PARALLEL
in comments.
(function_arg): Generate PARALLEL instead of EXPR_LIST.

From-SVN: r12198
1996-06-06 16:44:49 -07:00
Jim Wilson
bd625e2114 (FUNCTION_ARG): General PARALLEL instead of EXPR_LIST.
From-SVN: r12197
1996-06-06 16:40:38 -07:00
Jim Wilson
bd16a708b9 (call_value): Handle PARALLEL in operands[0].
(call_value_multiple_internal2): New pattern.

From-SVN: r12196
1996-06-06 16:34:44 -07:00
Jim Wilson
a20b7b051e (function_arg): Return PARALLEL for structure with aligned double fields.
(function_arg): Return PARALLEL for structure with
aligned double fields.
(type_dependent_reg): Delete.
(mips_function_value): Return PARALLEL for structure
with two floating point fields.

From-SVN: r12195
1996-06-06 16:29:34 -07:00
Jim Wilson
45afe7a2f5 (TYPE_DEPENDENT_REG): Delete.
From-SVN: r12194
1996-06-06 16:24:53 -07:00
Richard Kenner
d653961594 (TARGET_SWITCHES): Group all floating point options.
When an fp option is selected, unset bits used for other mutually
exclusive fp options.
(OVERRIDE_OPTIONS): No longer need special case for SUPPORT_SUN_FPA, as the
bits used for 68881 and SKY are cleared by new entries in TARGET_SWITCHES.

From-SVN: r12193
1996-06-06 19:24:31 -04:00
Jim Wilson
e5eeae6506 (expand_value_return): Handle PARALLEL return_reg.
From-SVN: r12192
1996-06-06 16:14:12 -07:00
Jim Wilson
5c4cdc9fdf (assign_parms): Handle PARALLEL parameter in ENTRY_PARM.
From-SVN: r12191
1996-06-06 16:13:24 -07:00
Jim Wilson
ae73d3bec5 (emit_group_load, emit_group_store, use_group_regs): New
declarations.

From-SVN: r12190
1996-06-06 16:12:26 -07:00
Jim Wilson
fffa9c1d2e (emit_group_load, emit_group_store): New functions.
(use_group_regs): New function.
(emit_push_insn): Handle PARALLEL parameter in REG.
(expand_assignment): Handle PARALLEL to_rtx.
(store_expr): Handle PARALLEL target.

From-SVN: r12189
1996-06-06 16:04:56 -07:00
Jim Wilson
cacbd53270 (expand_call): Handle NIL in PARALLEL.
(expand_call): Handle NIL in PARALLEL.  Handle PARALLEL
parameter in REG.  Handle PARALLEL return value in VALREG.
(emit_library_call, emit_library_call_value): Abort for PARALLEL.
(store_one_arg): Delete code for handling EXPR_LIST.

From-SVN: r12188
1996-06-06 16:02:02 -07:00
Richard Kenner
1853aadde2 Whitespace, formatting, and spelling fixes in comments.
From-SVN: r12187
1996-06-06 18:44:52 -04:00
Richard Kenner
69685820b3 (assign_parms): Tighten up code that makes REG_EQUIV notes for parms.
From-SVN: r12186
1996-06-06 18:38:13 -04:00
Richard Kenner
5fd7f37d2e (fold): Don't do anything with evaluated SAVE_EXPR.
From-SVN: r12185
1996-06-06 18:21:16 -04:00
Richard Kenner
6db59ad5ad (movsi_const0, movhi): Favor clr with TARGET_5200.
(add[qhs]3): Don't use two addqw/subqw insns to add small integers to
an address register with TARGET_68060.
(stack push peephole): Use moveq.l with TARGET_5200 (when appropriate).

From-SVN: r12184
1996-06-06 17:53:49 -04:00
Richard Kenner
0d0dd44d1e (CPU_FPU_SPEC, CPP_SPEC, ASM_SPEC): Support m5200.
From-SVN: r12183
1996-06-06 17:42:11 -04:00
Richard Kenner
15338c41de Disable byte and word arithmetic, rotate, integer divide, dbcc,
etc. insns for TARGET_5200.

From-SVN: r12182
1996-06-06 17:41:07 -04:00
Richard Kenner
240922421d (const_method): Do not synthesize long constants with byte or word
operations with TARGET_5200.

From-SVN: r12181
1996-06-06 17:40:30 -04:00
Richard Kenner
106bee4b93 (MASK_5200, TARGET_5200): New macros.
(TARGET_SWITCHES): Add "m5200".
(LEGITIMATE_INDEX_P): Add TARGET_5200 to conditional expression.

From-SVN: r12180
1996-06-06 17:40:02 -04:00