Mark Mitchell
989037420d
haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
...
* haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
(split_edges): Likewise.
(schedule_block): Likewise.
(compute_block_backward_dependencies): Likewise.
(schedule_region): Likewise.
(schedule_insns): Likewise.
From-SVN: r30383
1999-11-03 22:44:10 +00:00
Catherine Moore
8cd0faaf32
defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
...
* defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
* emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
* final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
* ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
* jump.c (delete_unreferenced_labels): Don't delete if
LABEL_ALTERNATE_NAME is set.
* print-rtl.c (print_rtx): Dump alternate name.
* rtl.def (CODE_LABEL): Change format to "iuuis00s".
* rtl.h (LABEL_ALTERNATE_NAME): Define.
* rtl.texi (LABEL_ALTERNATE_NAME): Document.
* tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
From-SVN: r30382
1999-11-03 16:55:51 -05:00
Mark Mitchell
1e30f9b4da
class.c (check_bitfield_decl): New function, split out from finish_stuct_1.
...
* class.c (check_bitfield_decl): New function, split out from
finish_stuct_1.
(check_field_decl): Likewise. Recursively examine members of
anonymous structs.
(finish_struct_1): Use them.
* cp-tree.h (ANON_UNION_TYPE_P): New macro.
From-SVN: r30381
1999-11-03 21:34:04 +00:00
Kaveh R. Ghazi
4b66e1c091
fix-header.c (recognized_extern, [...]): Constify a char*.
...
* fix-header.c (recognized_extern, recognized_function): Constify
a char*.
* lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
(pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
(compute_available): Remove unused variable `last'.
(compute_nearerout): Remove unused variable `temp_bitmap'.
(pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
Remove unused variable `x'.
* scan.h (recognized_function, recognized_extern): Constify a
char*.
* simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
From-SVN: r30380
1999-11-03 20:40:32 +00:00
Tom Tromey
f0447047c4
Actually removed files which were supposedly
...
removed a long time ago.
From-SVN: r30379
1999-11-03 19:25:13 +00:00
Franz Sirl
241a1bcc87
varasm.c (decode_rtx_const): Use XSTR to access the string of a SYMBOL_REF.
...
* varasm.c (decode_rtx_const): Use XSTR to access the string
of a SYMBOL_REF.
From-SVN: r30378
1999-11-03 10:42:17 -08:00
Richard Henderson
efd67b425a
* c-decl.c (duplicate_decls): Copy DECL_MODE too.
...
From-SVN: r30377
1999-11-03 10:11:23 -08:00
Tom Tromey
d83e44be33
* gcconfig.h: Merged in local changes from old config.h.
...
From-SVN: r30376
1999-11-03 17:26:59 +00:00
Jeffrey A Law
eb5a48980d
pa.c (ireg_operand): New function.
...
* pa.c (ireg_operand): New function.
* pa.h (PREDICATE_CODES): Handle ireg_operand.
* pa.md (parallel_addb, parallel_movb): Use ireg_operand.
Fix out of date comment.
From-SVN: r30375
1999-11-03 06:25:17 -07:00
Jeffrey A Law
4aa95f0d43
* pa.md (negdi2): Turn into expander + anonymous pattern.
...
From-SVN: r30374
1999-11-03 05:45:21 -07:00
Jeffrey A Law
6f04382aaa
* reload.c (find_reloads): Fix typos in recent change.
...
From-SVN: r30373
1999-11-03 05:43:35 -07:00
Bernd Schmidt
1b3b576549
Copy reg notes in eliminate_regs_in_insn.
...
From-SVN: r30372
1999-11-03 11:23:27 +00:00
Jeffrey A Law
77355bd5f2
* dwarf2out.c: Do not include ctype.h.
...
From-SVN: r30371
1999-11-03 03:28:30 -07:00
Jeff Law
35a44d1875
Daily bump.
...
From-SVN: r30369
1999-11-03 01:45:39 -07:00
Mark Mitchell
5fa38924e7
* decl.c (grokfndecl): Remove dead code.
...
From-SVN: r30368
1999-11-03 06:58:48 +00:00
Mark Mitchell
9581dc651f
* dump.c (dequeue_and_dump): Fix thinko for catch-clauses.
...
From-SVN: r30367
1999-11-03 06:54:37 +00:00
Scott Snyder
f5733617e3
decl2.c (build_expr_from_tree): Handle REALPART_EXPR and IMAGPART_EXPR.
...
1999-11-02 Scott Snyder <snyder@fnal.gov>
* decl2.c (build_expr_from_tree): Handle REALPART_EXPR and
IMAGPART_EXPR.
* pt.c (tsubst_copy): Likewise.
From-SVN: r30366
1999-11-03 06:52:46 +00:00
Bryce McKinlay
8fbe2d958a
posix-threads.cc: Don't include boehm-config.h.
...
1999-11-02 Bryce McKinlay <bryce@albatross.co.nz>
* posix-threads.cc: Don't include boehm-config.h. Include gcconfig.h
instead.
From-SVN: r30365
1999-11-03 03:10:22 +00:00
Bryce McKinlay
765de7ea98
gcconfig.h: Don't define MPROTECT_VDB on Linux/i386.
...
1999-11-02 Bryce McKinlay <bryce@albatross.co.nz>
* gcconfig.h: Don't define MPROTECT_VDB on Linux/i386.
From-SVN: r30364
1999-11-03 03:04:52 +00:00
Richard Kenner
6457af891a
regclass.c (record_reg_classes): Always use may_move_cost when seeing how operand fits with various register classes.
...
* regclass.c (record_reg_classes): Always use may_move_cost when
seeing how operand fits with various register classes.
From-SVN: r30362
1999-11-02 21:52:18 -05:00
Bryce McKinlay
5e4f217316
posix-threads.cc: Don't include boehm-config.h.
...
1999-11-02 Bryce McKinlay <bryce@albatross.co.nz>
* posix-threads.cc: Don't include boehm-config.h.
From-SVN: r30361
1999-11-03 02:13:40 +00:00
Tom Tromey
a3feaa92e0
* quick_threads.c: Include gcconfig.h, not boehm-config.h.
...
From-SVN: r30360
1999-11-03 01:26:31 +00:00
Tom Tromey
965fe4f16f
* boehm.cc: Don't include boehm-config.h.
...
From-SVN: r30359
1999-11-03 01:15:40 +00:00
Tom Tromey
89de952f8f
configure: Rebuilt.
...
* configure: Rebuilt.
* configure.in: Don't create boehm-config.h.
* Makefile.in: Rebuilt.
* Makefile.am (libgcjgc_la_SOURCES): Reference gcconfig.h, not
config.h.
($(all_objs)): Depend on gcconfig.h.
* gc_priv.h: Reference GCCONFIG_H, not CONFIG_H.
* gcconfig.h: Define GCCONFIG_H, not CONFIG_H.
* config.h: Removed.
From-SVN: r30358
1999-11-03 01:11:03 +00:00
Richard Henderson
925fa22749
resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
...
* resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
* toplev.c: Revert Nov 1 13:22 change.
From-SVN: r30357
1999-11-02 15:43:44 -08:00
Alexandre Oliva
da0182574f
ultrasp1.c: Removed xfail.
...
* gcc.dg/ultrasp1.c: Removed xfail.
* gcc.dg/struct-ret-2.c: Likewise.
* gcc.dg/array-1.c: Likewise.
From-SVN: r30356
1999-11-02 21:08:34 +00:00
Jason Eckhardt
b21534148c
pa.md (height reduction patterns): Add checks for overlapping operands to avoid semantic-destroying splits for...
...
Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
* config/pa/pa.md (height reduction patterns): Add checks for
overlapping operands to avoid semantic-destroying splits for
height reduction patterns.
From-SVN: r30355
1999-11-02 20:29:50 +00:00
Alexandre Oliva
1a87de8db5
configure.in (m68k-hp-hpux*, [...]): The underscore should have been an hyphen, fixed.
...
* configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
have been an hyphen, fixed.
* configure: Rebuilt.
From-SVN: r30354
1999-11-02 17:46:16 +00:00
Nick Clifton
b020fd9210
Fix compile time warnings
...
From-SVN: r30353
1999-11-02 17:06:24 +00:00
Jan Hubicka
f5da5c8714
jump.c (jump_optimize_1): Swap the incscc and the conditional mode detection code
...
* jump.c (jump_optimize_1): Swap the incscc and the conditional mode
detection code
* unroll.c (unroll_loop): Remove LOOP notes when loop is
completely unrolled.
From-SVN: r30352
1999-11-02 09:37:23 -07:00
Bernd Schmidt
c3dfacf03a
Delete two useless declarations.
...
From-SVN: r30351
1999-11-02 16:00:03 +00:00
Catherine Moore
b5ee778900
Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
...
* Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
* rtl.h (rtx_equal_p): Move prototype.
* rtl.c (rtx_equal_function_value_matters): Move from
rtlanal.c
(rtx_equal_p): Likewise.
* rtlanal.c (rtx_equal_function_value_matters): Delete.
(rtx_equal_p): Likewise.
From-SVN: r30350
1999-11-02 10:48:26 -05:00
Diego Novillo
96e9c98d59
resource.c (mark_target_live_regs): For unconditional branches...
...
* resource.c (mark_target_live_regs): For unconditional branches,
the resources found at the branch target should be added to the
resources found so far, not intersected.
From-SVN: r30349
1999-11-02 09:41:16 -05:00
Philippe De Muyter
df548dfc02
* xstrdup (sys/types.h): Include this file.
...
From-SVN: r30347
1999-11-02 03:25:28 -07:00
Jeffrey A Law
952470882e
* gcc.1 (PA options): Remove obsolete -mshared-libs options.
...
From-SVN: r30346
1999-11-02 03:23:46 -07:00
Jeffrey A Law
937ac3f98c
* pa.h (ADDR_VEC_ALIGN): Define.
...
From-SVN: r30345
1999-11-02 01:50:55 -07:00
Jeff Law
7ee424ed73
Daily bump.
...
From-SVN: r30344
1999-11-02 01:45:07 -07:00
Alexandre Petit-Bianco
efa0a23fc2
parse.y (method_header:): Issue error message for rule `type error'.
...
Mon Nov 1 23:42:00 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (method_header:): Issue error message for rule `type
error'.
(synchronized:): Error report when not using synchronized.
From-SVN: r30343
1999-11-01 23:51:19 -08:00
Jason Merrill
b78121f657
decl2.c (maybe_make_one_only): Always make things comdat on ELF targets, too.
...
* decl2.c (maybe_make_one_only): Always make things comdat on
ELF targets, too.
From-SVN: r30341
1999-11-02 02:33:05 -05:00
Jason Merrill
c4d6cee389
tweak comment
...
From-SVN: r30340
1999-11-02 02:26:47 -05:00
Jason Merrill
bf279c4e1a
libgcc2.c (__do_global_dtors): Only do EH frame stuff if ! HAS_INIT_SECTION.
...
* libgcc2.c (__do_global_dtors): Only do EH frame stuff if
! HAS_INIT_SECTION.
From-SVN: r30339
1999-11-02 02:24:27 -05:00
Jeffrey A Law
a5a06a788d
jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT notes when presented with "if (foo) break...
...
* jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
notes when presented with "if (foo) break; end_of_loop" and
the break sequence gets moved out of the loop.
From-SVN: r30338
1999-11-02 00:22:47 -07:00
Jeffrey A Law
d269eb53b1
unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
...
* unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
Remove explicit zero initializations of entries within MAP.
From-SVN: r30337
1999-11-01 23:39:04 -07:00
Richard Henderson
f6d204868a
* reg-stack.c (convert_regs_1): Handle EH edges specially.
...
From-SVN: r30336
1999-11-01 18:09:55 -08:00
Tom Tromey
e40217a763
boehm.cc (_Jv_InitGC): Set GC_java_finalization.
...
* boehm.cc (_Jv_InitGC): Set GC_java_finalization.
(sum_blocks): Removed.
(_Jv_GCFreeMemory): Use GC_get_free_bytes.
From-SVN: r30335
1999-11-02 00:12:10 +00:00
Mark Mitchell
3d43c0742f
Remove duplicate of friend18.C
...
From-SVN: r30334
1999-11-01 23:38:57 +00:00
Mark Mitchell
67289ea639
bitmap.h (BITMAP_XMALLOC): New macro.
...
* bitmap.h (BITMAP_XMALLOC): New macro.
* flow.c (CLEAN_ALLOCA): Remove.
(delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
(life_analysis): Likewise.
(update_life_info): Don't use CLEAN_ALLOCA.
(life_analysis_1): Use xmalloc/xcalloc instead of alloca.
(calculate_global_regs_live): Likewise.
(print_rtl_with_bb): Likewise.
(verify_flow_info): Likewise.
* global.c (global_alloc): Likewise.
(global_conflicts): Likewise.
* integrate.c (save_for_inline_nocopy): Likewise.
(expand_inline_function): Likewise.
* jump.c (jump_optimize_1): Likewise.
(duplicate_loop_exit_test): Likewise.
(thread_jumps): Likewise.
* loop.c (loop_optimize): Likewise.
(combine_givs): Likewise.
(recombine_givs): Likewise.
* reorg.c (dbr_schedule): Likewise.
* unroll.c (unroll_loop): Likewise.
From-SVN: r30333
1999-11-01 23:19:44 +00:00
Tom Tromey
20bbd3cd53
Merged GC 5.0alpha4 with local changes, plus:
...
* Makefile.in: Rebuilt.
* Makefile.am (gctest_LDADD): Added THREADLIB.
(TESTS): New macro.
* configure: Rebuilt.
* configure.in (INCLUDES): New subst.
From-SVN: r30332
1999-11-01 23:15:51 +00:00
Mark Mitchell
c05ddfa745
* combine.c (combine_instructions): Use xmalloc instead of alloca.
...
From-SVN: r30331
1999-11-01 22:42:01 +00:00
Richard Henderson
9fd4e3280e
toplev.c (rest_of_compilation): Don't optimize the CFG when rebuilding, just before dbr.
...
* toplev.c (rest_of_compilation): Don't optimize the CFG
when rebuilding, just before dbr.
From-SVN: r30330
1999-11-01 13:22:59 -08:00