Commit Graph

5427 Commits

Author SHA1 Message Date
Richard Stallman 50560a2954 (bc_gen_rtx): Deleted.
From-SVN: r5440
1993-09-23 18:57:49 +00:00
Jan Brittenson 1f57f40b33 declared yyerror before using it
From-SVN: r5439
1993-09-23 11:45:53 -07:00
Richard Stallman da9f42b18e (handle_pragma_weak): Test HANDLE_PRAGMA_WEAK
and WEAK_ASM_OP and SET_ASM_OP.

From-SVN: r5438
1993-09-23 17:25:13 +00:00
Jan Brittenson c53e944060 changed bytecode rtx structure references into macros
From-SVN: r5437
1993-09-23 10:15:31 -07:00
Jan Brittenson 45d7f9b959 change bytecode rtx structure references into macros
From-SVN: r5436
1993-09-23 10:08:59 -07:00
Jan Brittenson e7a4277263 changed bytecode rtx structure references into macros
From-SVN: r5435
1993-09-23 10:08:13 -07:00
Richard Stallman 5b7ded0d78 (stmt.o): Fix typo.
From-SVN: r5434
1993-09-23 17:06:17 +00:00
Richard Stallman a97f5a864f (expand_increment): Don't store directly ito a subreg
that is narrower than a word.

From-SVN: r5433
1993-09-23 16:56:28 +00:00
Jan Brittenson 672fd7e238 added bytecode dependencies
From-SVN: r5432
1993-09-23 09:48:35 -07:00
Richard Stallman c059f055c2 Fix typos in recent changes.
(bc-arity.h, bc-opcode.h, bc-opname.h): Use `./'.

From-SVN: r5431
1993-09-23 16:02:22 +00:00
Richard Stallman ef026f9101 (init_reg_last_arrays): New function.
(combine_instructions): Use it.
(force_to_mode): Narrow mask to fit mode (except VOIDmode).
(record_value_for_reg): When zeroing reg_last_set_value, also
zero reg_last_set_{mode,nonzero_bits,sign_bit_copies}.
(record_dead_and_set_regs): Likewise.

From-SVN: r5430
1993-09-23 06:11:30 +00:00
James Van Artsdalen 9f5cad0582 (record_label_references): Don't follow a null label reference chain.
From-SVN: r5429
1993-09-23 06:07:19 +00:00
Richard Stallman a05afb9511 Include bytetypes.h only if __GNUC__.
(bc_initialize): Add MODE arg to REAL_VALUE_ATOF calls.

From-SVN: r5428
1993-09-23 05:52:37 +00:00
Richard Stallman d5056595c0 (bi-lexer.c): File is in $(srcdir).
From-SVN: r5427
1993-09-23 04:32:46 +00:00
Richard Stallman b3fe11b85b (flag_allow_single_precision): Declared.
From-SVN: r5426
1993-09-23 02:05:43 +00:00
Richard Stallman 55b4742bf3 (flag_allow_single_precision): New variable.
(c_decode_option): Handle -fallow-single-precision.

From-SVN: r5425
1993-09-23 02:04:32 +00:00
Richard Stallman 0e03210994 (set_init_index): Handle and allow CONST_DECL.
(build_c_cast): When making a CONSTRUCTOR for a union cast,
specify its type.

(default_conversion): Implement -fallow-single-precision.

From-SVN: r5424
1993-09-23 02:03:14 +00:00
Richard Stallman 27f32a5400 (bi-arity, bi-opcode, bi-opname, bi-unparse, bi-lexer):
Make the rules explicit.  Don't use $^.
(bi-run.o, bi-parser.o, bi-lexer.o): Eliminate $<.
(bc-arity.h, bc-opcode.h, bc-opname.h): Eliminate $< and $@.

From-SVN: r5423
1993-09-22 23:50:42 +00:00
Richard Stallman a8ac57d39a Include bytetypes.h.
(bc_emit_bytecode): Likewise.
(bc_emit_instruction) [! __GNUC__]: Don't really use bc-typecd.def.

From-SVN: r5422
1993-09-22 22:26:59 +00:00
Richard Stallman a68c760860 (bc_adjust_stack): Use VALIDATE_STACK_FOR_BC, not VALIDATE_STACK.
From-SVN: r5421
1993-09-22 22:01:15 +00:00
Richard Stallman a9ec36e3a3 (bi-lexer.o, bi-parser.o): Use ALL_CFLAGS.
From-SVN: r5420
1993-09-22 22:00:50 +00:00
Richard Stallman 0becdd8ea6 Typedefs deleted.
From-SVN: r5419
1993-09-22 22:00:32 +00:00
Richard Stallman 4332e9e4bf (union stacktype): Deleted.
(BI_PARAMS): Don't continue the parmlist.

From-SVN: r5418
1993-09-22 20:45:04 +00:00
Richard Stallman 904f3f5af8 (main): Make sure there's some value within each pair of braces.
From-SVN: r5417
1993-09-22 20:44:24 +00:00
Richard Stallman 7b95735e08 (union stacktype): Deleted.
From-SVN: r5416
1993-09-22 20:26:02 +00:00
Richard Stallman 6e82804465 (bc_assemble_integer): Make definition static.
From-SVN: r5415
1993-09-22 20:23:04 +00:00
Richard Stallman 5e70898cb4 (bc_strdup): Don't use strcpy's value.
From-SVN: r5414
1993-09-22 20:21:03 +00:00
Jan Brittenson d591efa11c make sure cc1, cc1plus, and cc1obj targets always make all the bytecode stuff
From-SVN: r5413
1993-09-22 13:06:10 -07:00
Richard Stallman f4e2550326 (xsigned): New macro.
(QItype, HItype, SItype, DItype): Use that.

From-SVN: r5412
1993-09-22 19:57:36 +00:00
Jan Brittenson 6317749beb declared finalize_pic as void
From-SVN: r5411
1993-09-22 12:21:03 -07:00
Richard Stallman 659d75b802 (FPROP): Recognize 80387 or 68881 XFmode format.
From-SVN: r5410
1993-09-22 19:15:37 +00:00
Jan Brittenson 0172ca3ffb made bc_emit_trampoline a macro, moved it to m68k.h
From-SVN: r5409
1993-09-22 12:04:33 -07:00
Jan Brittenson 0aa4232c16 make sym_lookup global instead of static.
From-SVN: r5408
1993-09-22 12:02:19 -07:00
Jan Brittenson 11eff9c024 declare further functions needed for bc_emit_trampoline.
declare further functions needed for bc_emit_trampoline. Include
bytecode header files.

From-SVN: r5407
1993-09-22 12:01:32 -07:00
Jan Brittenson 262038b4bc added missing declaration for bytecode
From-SVN: r5406
1993-09-22 11:47:34 -07:00
Jan Brittenson c20bf1f3b3 bytecode modifications
From-SVN: r5405
1993-09-22 11:45:56 -07:00
Jan Brittenson 292b12167d fixed typo in bytecode code
From-SVN: r5404
1993-09-22 11:45:16 -07:00
Mike Stump 33d7026fec cp-class.c (finish_struct): Move special C++ only code that handles anonymous unions inside structures here.
* cp-class.c (finish_struct): Move special C++ only code that
          handles anonymous unions inside structures here.
        * stor-layout.c (layout_record): From here.

From-SVN: r5403
1993-09-22 18:43:15 +00:00
Jan Brittenson c02bd5d96e bytecode fixes
From-SVN: r5402
1993-09-22 11:33:20 -07:00
Richard Stallman e9b7093a9f (combine_temp_slots): Handle deletion properly.
Free the RTL that is allocated.

From-SVN: r5401
1993-09-22 18:29:43 +00:00
Richard Stallman 635b1dad85 (build_component_ref): For a field in an anonymous union,
make two nested COMPONENT_REFs.
(lookup_field): Additional arg INDIRECT.

From-SVN: r5400
1993-09-22 18:26:01 +00:00
Kresten Krab Thorup 214a36e850 (-compare:, -shouldNotImplement:): Added.
From-SVN: r5399
1993-09-22 18:00:23 +00:00
Kresten Krab Thorup d4b130122f (objc_write_type, objc_write_types): Take take char** args for writing strings in stead of char* to match NeXT.
(objc_write_type, objc_write_types): Take
       take char** args for writing strings in stead of char* to
       match NeXT.  Also correct some typos in error messages.

From-SVN: r5398
1993-09-22 17:59:50 +00:00
Jan Brittenson 2f2c485abd renamed jumpif and jumpifnot to xjumpif and xjumpifnot respectively to
avoid namespace conflict in stmt.c

From-SVN: r5397
1993-09-22 10:55:26 -07:00
Jan Brittenson e81d77b502 fixed compilation problems in bc_expand_decl_init
From-SVN: r5396
1993-09-22 10:54:20 -07:00
Kresten Krab Thorup 163d999617 (INITIALIZE_TRAMPOLINE): Append call to __enable_execute_stack.
(INITIALIZE_TRAMPOLINE): Append call to
__enable_execute_stack.
(CLEAR_INSN_CACHE): New macro.

From-SVN: r5395
1993-09-22 17:45:18 +00:00
Kresten Krab Thorup c1381fd357 (__enable_execute_stack): Add case for NeXT/__MACH__.
From-SVN: r5394
1993-09-22 17:44:56 +00:00
Jan Brittenson 9aefc7b6f4 Initial revision
From-SVN: r5393
1993-09-22 10:44:51 -07:00
Jan Brittenson 422e2ed3d7 fixed typo
From-SVN: r5392
1993-09-22 10:43:07 -07:00
Kresten Krab Thorup e117897348 (__clear_cache): add case for new CLEAR_INSN_CACHE.
From-SVN: r5391
1993-09-22 17:43:00 +00:00