Richard Kenner
0844ee7f63
(built_in_function): Add BUILT_IN_AGGREGATE_INCOMING_ADDRESS.
...
From-SVN: r14618
1997-08-02 13:20:58 -04:00
Richard Kenner
f602c208ab
(flag_check_memory_usage, flag_prefix_function_name): New variable.
...
(f_options): Add `check-memory-usage' and `prefix_function_name'.
(main): Disable `-fomit-frame-pointer' if `-fcheck-memory-usage' is set
and the machine can't debug without the frame pointer.
From-SVN: r14617
1997-08-02 13:20:21 -04:00
Richard Kenner
17f5f329ca
(expand_computed_goto): If -fcheck-memory-usage, check that computed address of a goto is executable.
...
(expand_computed_goto): If -fcheck-memory-usage, check that computed address
of a goto is executable.
(expand_asm, expand_asm_operands): If -fcheck-memory-usage, disallow
asm statments.
From-SVN: r14616
1997-08-02 13:19:38 -04:00
Richard Kenner
8960ab1a98
(chkr_{check_addr,set_right}_libfunc): New definitions.
...
(chkr_{copy_bitmap,check_exec}_libfunc): Likewise.
(init_optabs): Initialize these chkr_*_libfunc.
From-SVN: r14615
1997-08-02 13:18:49 -04:00
Richard Kenner
86fa911a16
(put_var_into_stack, assign_parms): If -fcheck-memory-usage, set the
...
rights of pushed variable.
From-SVN: r14614
1997-08-02 13:18:18 -04:00
Richard Kenner
151b783bca
(flag_check_memory_usage, flag_prefix_function_name): New declaration.
...
From-SVN: r14613
1997-08-02 13:17:58 -04:00
Richard Kenner
99b5da0823
Add expand_modifier flags.
...
(chkr_*_libfunc): New decls.
(memory_use_mode): New declaration.
From-SVN: r14612
1997-08-02 13:17:40 -04:00
Richard Kenner
921b3427bc
(expand_builtin, case BUILT_IN_AGGREGATE_INCOMING_ADDRESS): New case.
...
(expand_assignment, expand_expr, emit_push_insn, store_expr):
Insert calls to chkr_check_addr, chkr_set_right, and chkr_copy_bitmap
when -fcheck-memory-usage.
(get_push_address, get_memory_usage_from_modifier): New functions.
From-SVN: r14611
1997-08-02 13:17:17 -04:00
Richard Kenner
8fbea4dc1a
(expr_size): Call expand_expr with appropriate flag.
...
From-SVN: r14610
1997-08-02 13:16:45 -04:00
Richard Kenner
18989c57d3
(init_decl_processing): Add __builtin_aggregate_incoming_address.
...
From-SVN: r14609
1997-08-02 13:15:09 -04:00
Richard Kenner
7815214ef7
(expand_call): If -fcheck-memory-usage...
...
(expand_call): If -fcheck-memory-usage, use pseudo-register, check
indirectly called function is executable, and set rights of memory for
aggregate as write only.
(store_one_arg): If -fcheck-memory-usage, set rights for pushed stack
argument.
From-SVN: r14608
1997-08-02 13:14:33 -04:00
Richard Kenner
ca20456a33
(OBJC_OBJC): Delete from here.
...
From-SVN: r14607
1997-08-02 09:09:23 -04:00
Richard Kenner
f163668c0d
(compare_constant_1, case STRING_CST): Compare TYPE_MODE.
...
(record_constant_1, case STRING_CST): Record TYPE_MODE.
From-SVN: r14606
1997-08-02 08:11:40 -04:00
Richard Kenner
2cde2255e0
(expand_expr, case PLACEHOLDER_EXPR): Find innermost matching and
...
don't check contains_placeholder_p.
From-SVN: r14605
1997-08-02 08:01:10 -04:00
Richard Kenner
cc3c7c1329
(contains_this_placeholder_p): Delete.
...
(contains_placeholder_p): Now contains code from above function.
(contains_placeholder_p, case 'r'): Don't look at offset info.
From-SVN: r14604
1997-08-02 08:00:52 -04:00
Per Bothner
40365c9252
* c-lang.c (lang_init): Restore, but add #if !USE_CPPLIB.
...
From-SVN: r14603
1997-08-01 14:18:54 -07:00
Per Bothner
736c628948
* c-lex.c (lang_init): Remove (recently moved here).
...
From-SVN: r14602
1997-08-01 14:18:54 -07:00
Per Bothner
dbbade7444
* objc/objc-act.c (lang_init): Don't check_newline #if USE_CPPLIB.
...
From-SVN: r14601
1997-08-01 14:17:44 -07:00
Jason Merrill
ec045ab46e
x
...
From-SVN: r14600
1997-08-01 18:48:18 +00:00
Richard Stallman
58a1b05a2f
Translate -svr4 to -sysv4 and -unixware to -sysv4.2uw.
...
From-SVN: r14578
1997-08-01 18:09:30 +00:00
Jeff Law
29763968ff
* pa.c (pa_reorg): Explode ADDR_DIFF_VEC insns too.
...
From-SVN: r14577
1997-08-01 11:23:22 -06:00
Mike Stump
8dff10278c
92th Cygnus<->FSF quick merge
...
From-SVN: r14576
1997-08-01 17:21:46 +00:00
Paul Eggert
5e5b9f6950
Initial revision
...
From-SVN: r14572
1997-08-01 13:06:04 +00:00
Ian Lance Taylor
e3367a77fd
Don't compile getpagesize if __CYGWIN32__
...
From-SVN: r14571
1997-07-31 23:39:26 +00:00
Stan Cox
1638ccd305
(SWITCHES_NEED_SPACES) Define.
...
From-SVN: r14570
1997-07-31 20:37:46 +00:00
Stan Cox
f25aca7a57
(*trunc*): Use scratch memory for output_fix_trunc.
...
From-SVN: r14569
1997-07-31 20:37:46 +00:00
Stan Cox
c27d9c3bce
(output_to_reg, output_fix_trunc): Use scratch memory
...
From-SVN: r14568
1997-07-31 20:37:46 +00:00
Stan Cox
4bc679adb2
(MAX_FIXED_MODE_SIZE): Define.
...
From-SVN: r14567
1997-07-31 20:37:46 +00:00
Jason Merrill
86e6f22fcc
92th Cygnus<->FSF quick merge
...
From-SVN: r14566
1997-07-30 23:01:56 +00:00
Per Bothner
a29f4129cc
cplus-dem.c: Various changes to produce Java output when passed DMGL_JAVA.
...
* cplus-dem.c: Various changes to produce Java output when passed
DMGL_JAVA. Thus "::" becomes "." and "JArray<Foo>" becomes "Foo[]".
(main): Support --java and -j flags to set DMGL_JAVA.
From-SVN: r14565
1997-07-30 12:05:31 -07:00
Per Bothner
72fa4f0ad2
* demangle.h (DMGL_JAVA): New option to request Java demangling.
...
From-SVN: r14564
1997-07-30 12:05:31 -07:00
Richard Earnshaw
38fc909b9f
(CPP_SPEC): add %(subtarget_cpp_spec).
...
From-SVN: r14563
1997-07-30 12:54:05 +00:00
Richard Earnshaw
9ce17ab2cc
(MULTILIB_OPTIONS): don't use deprecated -mN
...
options; use -mapcs-NN instead.
From-SVN: r14562
1997-07-30 12:53:11 +00:00
Richard Earnshaw
61330a1417
(TARGET_CPU_DEFAULT): define.
...
include aout.h rather than arm.h directly.
(ASM_SPEC): remove.
(CPP_SPEC): replace with...
(SUBTARGET_CPP_SPEC): ... this.
From-SVN: r14561
1997-07-30 12:52:22 +00:00
Richard Earnshaw
32bf7057dd
Don't define SET_ASM_OP for RISCiX
...
From-SVN: r14560
1997-07-30 12:51:32 +00:00
Richard Earnshaw
ce29b9d0db
define SET_ASM_OP by default (for GAS).
...
From-SVN: r14559
1997-07-30 12:50:57 +00:00
Richard Earnshaw
f5967c596a
replace arm-*-* with arm-*-aout.
...
From-SVN: r14558
1997-07-30 12:50:14 +00:00
Per Bothner
e3d1fd3263
Patches to use cpplib with cc1 #if USE_CPPLIB.
...
From-SVN: r14557
1997-07-29 15:40:30 -07:00
Per Bothner
b429435109
configure.in (--enable-c-cpplib): New option.
...
* configure.in (--enable-c-cpplib): New option.
(extra_c_flags, extra_c_objs): New variables.
From-SVN: r14556
1997-07-29 15:07:34 -07:00
Per Bothner
e8066a5d4a
Makefile.in (EXTRA_C_OBJS): New variable.
...
* Makefile.in (EXTRA_C_OBJS): New variable.
(INTERNAL_CFLAGS): Add @extra_c_flags@.
C_OBJS, OBJC_OBS: Add $(EXTRA_C_OBJS).
From-SVN: r14555
1997-07-29 15:07:34 -07:00
Per Bothner
0280cf849f
Add hooks for using autconf-style Makefile.in in language subdirs.
...
* configure.in (all_outputs, oldstyle_subdirs): New variables.
Pass all_outputs to AC_OUTPUT.
From-SVN: r14554
1997-07-29 15:03:06 -07:00
Per Bothner
788af388c9
Add hooks for using autconf-style Makefile.in in language subdirs.
...
* configure.lang: Only iterate over oldstyle_subdirs.
From-SVN: r14553
1997-07-29 15:03:06 -07:00
Jason Merrill
5f52dcfe1e
x
...
From-SVN: r14552
1997-07-29 05:38:55 +00:00
Ulrich Drepper
5db9f87736
update from main archive 970728
...
From-SVN: r14547
1997-07-28 23:37:45 +00:00
Brendan Kehoe
60bf20045f
integrate.c (expand_inline_function): Use xmalloc instead of alloca for the LABEL_MAP.
...
* integrate.c (expand_inline_function): Use xmalloc instead of
alloca for the LABEL_MAP.
(save_for_inline_copying): Likewise.
From-SVN: r14546
1997-07-28 19:08:39 -04:00
Brendan Kehoe
3bb1329eda
integrate.c (expand_inline_function): Use xmalloc instead of alloca for the LABEL_MAP.
...
* integrate.c (expand_inline_function): Use xmalloc instead of
alloca for the LABEL_MAP.
From-SVN: r14545
1997-07-28 15:49:08 -04:00
Jason Merrill
2f8844a8b6
x
...
From-SVN: r14544
1997-07-28 19:40:28 +00:00
Jason Merrill
6a7a9f0156
x
...
From-SVN: r14543
1997-07-28 18:30:18 +00:00
Jason Merrill
429baef53a
x
...
From-SVN: r14542
1997-07-28 17:42:09 +00:00
Richard Kenner
f0eebf28c4
(fold_range_test, fold): Avoid making SAVE_EXPR if at top level.
...
From-SVN: r14541
1997-07-27 19:35:53 -04:00