Mark Mitchell
640e1822bc
* dsp16xx.c (override_options): Fix typos in GC root registration.
...
From-SVN: r29437
1999-09-15 16:55:37 +00:00
Philip Blundell
e68eda9101
Fix profiling support and unique section support.
...
From-SVN: r29436
1999-09-15 14:27:19 +00:00
Kaveh R. Ghazi
23fb21ff10
* actions.c (warn_unhandled): Use xstrdup, not xmalloc/strcpy.
...
From-SVN: r29435
1999-09-15 14:18:33 +00:00
Kaveh R. Ghazi
c1b59dce97
genattr.c (main): Add extern prototype.
...
* genattr.c (main): Add extern prototype. Call return, not exit.
* genattrtab.c (main): Likewise.
* gencheck.c (main): Likewise.
* gencodes.c (main): Likewise.
* genconfig.c (main): Likewise.
* genemit.c (main): Likewise.
* genextract.c (main): Likewise.
* genflags.c (main): Likewise.
* gengenrtl.c (main): Likewise.
* genopinit.c (main): Likewise.
* genoutput.c (main): Likewise.
* genpeep.c (main): Likewise.
* genrecog.c (main): Likewise.
* genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
* genattrtab.c (get_insn_name): Likewise.
* gencodes.c (get_insn_name): Likewise.
* genconfig.c (get_insn_name): Likewise.
* genemit.c (get_insn_name): Likewise.
* genextract.c (get_insn_name): Likewise.
* genflags.c (get_insn_name): Likewise.
* genopinit.c (get_insn_name): Likewise.
* genpeep.c (get_insn_name): Likewise.
* gencheck.c (usage): Add static prototype.
* genextract.c (print_path): Constify a char*.
* genopinit.c (optabs): Likewise.
* genoutput.c (operand_data, data, output_predicate_decls,
compare_operands): Likewise.
* genrecog.c (write_tree): Add default case in switch.
From-SVN: r29434
1999-09-15 14:13:50 +00:00
Kaveh R. Ghazi
7adfcfed37
rtl.h (get_insn_name, [...]): Add prototypes.
...
* rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
* print-rtl.c (get_insn_name): Remove prototype.
* toplev.h (progname): Declare const.
* toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
dump_sched_info, dump_local_alloc, regset_release_memory,
print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
error_with_file_and_line, error_with_decl, error_for_asm, error,
fatal, warning_with_file_and_line, warning_with_decl, warning,
pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
Remove redundant prototypes.
(notice, check_lang_option, report_file_and_line, vnotice,
mark_file_stack): Add static prototype.
(set_fatal_function): Add prototype.
(vnotice, report_file_and_line, set_fatal_function,
check_lang_option): Constify a char*.
(main): Prototype. Call return, not exit.
cp:
* typeck2.c (ack): Don't declare progname.
From-SVN: r29433
1999-09-15 14:04:10 +00:00
Kaveh R. Ghazi
04cabffc4e
aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
...
* aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
* configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
* gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
* ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
From-SVN: r29432
1999-09-15 13:53:46 +00:00
Bernd Schmidt
0d1416c6a2
Remove second arg from assign_parms
...
From-SVN: r29431
1999-09-15 10:07:22 +00:00
Nathan Sidwell
dd42155e21
typeck.c (expr_sizeof): Reinstall and augment OFFSET_REF comment.
...
* typeck.c (expr_sizeof): Reinstall and augment OFFSET_REF
comment.
From-SVN: r29429
1999-09-15 08:58:51 +00:00
Jeff Law
7462a33f04
Daily bump.
...
From-SVN: r29428
1999-09-15 01:45:08 -06:00
Alexandre Oliva
354f0b0403
lex.c (cp_pragma_interface, [...]): Copy filenames with ggc_alloc_string.
...
* lex.c (cp_pragma_interface, cp_pragma_implementation): Copy
filenames with ggc_alloc_string.
From-SVN: r29427
1999-09-15 06:11:48 +00:00
Mark Mitchell
9263e6d6cd
decl.c (build_target_expr): Set TREE_SIDE_EFFECTS on the TARGET_EXPR.
...
* decl.c (build_target_expr): Set TREE_SIDE_EFFECTS on the
TARGET_EXPR.
* call.c (build_over_call): Don't set TREE_SIDE_EFFECTS on
the TARGET_EXPR.
* cvt.c (build_up_reference): Likewise.
* tree.c (build_cplus_new): Likewise.
(get_target_expr): Likewise.
From-SVN: r29426
1999-09-15 06:09:53 +00:00
Jeffrey A Law
41babf2e0d
cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to arg_pointer_rtx fixed if...
...
* cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
arg_pointer_rtx fixed if the argument pointer register is
not fixed.
(NONZERO_BASE_PLUS_P): Likewise.
From-SVN: r29425
1999-09-14 22:05:38 -06:00
Richard Henderson
5c9f708d43
Makefile.in (USER_H): Remove va-foo.h.
...
* Makefile.in (USER_H): Remove va-foo.h.
* ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
va-spur.h,va-v850.h}: Remove.
From-SVN: r29424
1999-09-14 20:42:26 -07:00
Richard Henderson
5126c35a62
* genrecog.c (add_to_sequence): Rename MATCH_INSN2.
...
From-SVN: r29423
1999-09-14 20:32:55 -07:00
Richard Henderson
a669dbf832
rtl.def (match_insn, [...]): Remove match_insn; rename match_insn2 to match_insn.
...
* rtl.def (match_insn, match_insn2): Remove match_insn; rename
match_insn2 to match_insn.
From-SVN: r29422
1999-09-14 20:28:12 -07:00
Richard Henderson
1c57c60c5e
sparc.md (eligible_for_return_delay): New attribute.
...
* sparc/sparc.md (eligible_for_return_delay): New attribute.
(in_return_delay): Use it instead of match_insn.
From-SVN: r29421
1999-09-14 19:48:32 -07:00
Alexandre Oliva
d6bd825c23
va_list.h (va-alpha.h): Do not include.
...
* config/alpha/va_list.h (va-alpha.h): Do not include.
(__gnuc_va_list): Typedef as in varargs.h.
From-SVN: r29420
1999-09-15 02:09:41 +00:00
Richard Henderson
4d9452a14a
ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and DECL_LIVE_RANGE_RTL.
...
* ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
DECL_LIVE_RANGE_RTL.
From-SVN: r29419
1999-09-14 18:14:59 -07:00
Mark Mitchell
bf43101eb6
except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER, not NOTE_BLOCK_NUMBER.
...
* except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
not NOTE_BLOCK_NUMBER.
(expand_eh_region_end): Likewise.
(find_exception_handler_labels): Likewise.
(scan_region): Likewise.
(exception_optimize): Likewise.
(update_rethrow_references): Likewise.
(set_insn_eh_region): Likewise.
* final.c (final_scan_insn): Likewise.
* flow.c (make_edges): Likewise.
* integrate.c (expand_inline_function): Likewise.
* print-rtl.c (print_rtx): Likewise.
From-SVN: r29418
1999-09-14 23:51:34 +00:00
Richard Henderson
8411a90399
stdarg.h, varargs.h: Implement in terms of builtin functions and types.
...
* ginclude/stdarg.h, ginclude/varargs.h: Implement in
terms of builtin functions and types.
From-SVN: r29416
1999-09-14 16:30:44 -07:00
Richard Henderson
514066a133
sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
...
* sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
(sh_build_va_list, sh_va_start, sh_va_arg): New.
* sh.h (BUILD_VA_LIST_TYPE): New.
(EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
From-SVN: r29415
1999-09-14 16:29:48 -07:00
Richard Henderson
5d3f2bd523
mips.c (mips_build_va_list): New.
...
* mips.c (mips_build_va_list): New.
(mips_va_start, mips_va_arg): New.
* mips.h (BUILD_VA_LIST_TYPE): New.
(EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
From-SVN: r29414
1999-09-14 16:29:31 -07:00
Richard Henderson
88e6fdcbfb
recog.h (struct recog_data): Make dup_num...
...
* recog.h (struct recog_data): Make dup_num, operand_address_p,
n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
(struct insn_data): Likewise with n_operands, n_dups,
n_alternatives, output_format.
* regclass.c (scan_one_insn): Cast n_operands to int before
arithmetic inside comparison.
From-SVN: r29413
1999-09-14 16:23:17 -07:00
Richard Henderson
5a26ca07ef
* toplev.c (compile_function): Unconditionally emit nop.
...
From-SVN: r29412
1999-09-14 15:14:31 -07:00
Kaveh R. Ghazi
1eda7a81d3
haifa-sched.c (actual_hazard): Move declaration of variable `this_cost' into the scope where it is used.
...
* haifa-sched.c (actual_hazard): Move declaration of variable
`this_cost' into the scope where it is used.
From-SVN: r29411
1999-09-14 18:44:10 +00:00
Kaveh R. Ghazi
341a243eaf
c-pragma.c (handle_pragma_token): Wrap variables name' and
value' in HANDLE_PRAGMA_WEAK.
...
* c-pragma.c (handle_pragma_token): Wrap variables `name' and
`value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
* genrecog.c (make_insn_sequence): Call memset, not bzero.
* jump.c (find_insert_position): Don't declare or define unless
!HAVE_conditional_arithmetic.
(returnjump_p_1, delete_prior_computation): Add static prototypes.
* mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
* recog.c (offsettable_address_p): Prototype function pointer.
(preprocess_constraints): Call memset, not bzero.
* tree.c (tree_node_kind_names): Constify a char*. Make static.
(gcc_obstack_init): Don't declare.
(fix_sizetype): Add static prototype.
(gcc_obstack_init): Use prototype casts in call to _obstack_begin.
(tree_cons): Call memset, not bzero.
* varasm.c (remove_from_pending_weak_list): Wrap declaration and
definition in macro ASM_WEAKEN_LABEL.
(mark_const_hash_entry): Add static prototype.
From-SVN: r29410
1999-09-14 18:19:09 +00:00
Kaveh R. Ghazi
da09e3172d
c-lex.c (handle_generic_pragma): Remove unused variable `c'.
...
* c-lex.c (handle_generic_pragma): Remove unused variable `c'.
* unroll.c (find_common_reg_term, subtract_reg_term,
loop_find_equiv_value): Add static prototypes.
(unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
(copy_loop_body): Remove unreachable break statement.
* sparc.c (sparc_va_arg): Remove unused variable `tmp'.
* sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
From-SVN: r29409
1999-09-14 16:27:32 +00:00
Kaveh R. Ghazi
d6b4689097
g77spec.c (lang_specific_driver): Remove unnecessary argument in call to function `fatal'.
...
* g77spec.c (lang_specific_driver): Remove unnecessary argument in
call to function `fatal'.
From-SVN: r29408
1999-09-14 16:16:31 +00:00
Bernd Schmidt
bcb3399464
Undo bogus changes from gcc2 merge
...
From-SVN: r29407
1999-09-14 14:37:12 +00:00
Tom Tromey
86bcc1a3b4
java-insns.h: Turned constants into an enum.
...
* include/java-insns.h: Turned constants into an enum. Added
multiple-inclusion protection.
From-SVN: r29406
1999-09-14 14:19:59 +00:00
Mumit Khan
62dafdeb1b
* gthr-win32.h: New file.
...
From-SVN: r29405
1999-09-14 04:13:49 -06:00
Mumit Khan
593d3a34f8
winnt.c (i386_pe_valid_decl_attribute_p): Recognize shared as a valid attribute.
...
* i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
shared as a valid attribute.
* i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
* extend.texi: Document `shared' variable attribute.
From-SVN: r29404
1999-09-14 04:06:06 -06:00
Loren J. Rittle
46346e0ea5
configure.in: Handle --enable-threads on FreeBSD.
...
* configure.in: Handle --enable-threads on FreeBSD.
* configure: Rebuit.
From-SVN: r29403
1999-09-14 04:04:04 -06:00
Andreas Jaeger
e86e67304e
configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add thread support.
...
* configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
thread support.
* configure: Rebuilt.
From-SVN: r29402
1999-09-14 04:01:01 -06:00
Joel Sherrill
d147663589
configure.in (m68k-*-rtemscoff*): Added.
...
* configure.in (m68k-*-rtemscoff*): Added.
* configure.in (mips64orion-*-rtems*): Converted to ELF.
* configure.in (sparc-*-rtemsaout*): Added as alias for old
sparc-rtems configuration.
* configure.in (sparc-*-rtemself*): Added.
* configure.in (sparc-*-rtems*): Now ELF not a.out.
* config/i386/rtems.h: Added comment.
* config/sparc/rtemself.h: New file.
* configure.in (m68k-rtemself): Added.
* config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
and DWARF_DEBUGGING_INFO.
* config/m68k/crti.s: New file.
* config/m68k/crtn.s: New file.
* config/m68k/t-crtstuff: New file.
* config/m68k/rtemself.h: New file.
* configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
global ctor/dtor and C++ exception handling.
* config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
ENDFILE_SPEC.
* config/i386/t-rtems-i386: New File.
Co-Authored-By: Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
Co-Authored-By: Rosimildo DaSilva <rdasilva@connecttel.com>
From-SVN: r29401
1999-09-14 03:52:09 -06:00
Andreas Schwab
03c0377003
stmt.c (expand_end_case): Return right away if the case stack is empty.
...
* stmt.c (expand_end_case): Return right away if the case stack is
empty.
From-SVN: r29400
1999-09-14 07:52:02 +00:00
Jeffrey A Law
21f50117c6
Makefile.in (version.c): Remove rule incorrectly brought in from the gcc2 merge.
...
* Makefile.in (version.c): Remove rule incorrectly brought in from
the gcc2 merge.
From-SVN: r29399
1999-09-14 01:48:44 -06:00
Marc Espie
161bc93cb7
* objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
...
From-SVN: r29398
1999-09-14 01:46:09 -06:00
Marc Espie
4ce8ba6e5a
* Makefile.in: Prepend $(SHELL) to move-if-change calls.
...
From-SVN: r29397
1999-09-14 01:45:42 -06:00
Jeff Law
37ce8f792f
Daily bump.
...
From-SVN: r29396
1999-09-14 01:45:09 -06:00
Marc Espie
84c8132030
Makefile.in: Prepend $(SHELL) to move-if-change calls.
...
* Makefile.in: Prepend $(SHELL) to move-if-change calls.
* msdos/top.sed: Take into account a prepended $(SHELL) to
move-if-change.
* winnt/config-nt.sed: Likewise. Kill bogus substitution.
From-SVN: r29395
1999-09-14 01:42:59 -06:00
J"orn Rennecke
18bf656fc3
regmove.c (fixup_match_1): Don't change an unchanging register.
...
* regmove.c (fixup_match_1): Don't change an unchanging register.
(stable_but_for_p): Renamed to:
(stable_and_no_regs_but_for_p). Reject unchanging registers too.
Changed all callers.
From-SVN: r29394
1999-09-14 01:39:14 -06:00
Andreas Schwab
328de7dac7
loop.c (strength_reduce): Don't call reg_used_between_p if the insn from BL2 is after the insn from BL.
...
* loop.c (strength_reduce): Don't call reg_used_between_p if the
insn from BL2 is after the insn from BL.
From-SVN: r29393
1999-09-14 01:34:59 -06:00
Jeff Law
51f53e0105
Fix typo in comment.
...
From-SVN: r29392
1999-09-14 01:18:02 -06:00
Jeff Law
66519c706b
Fix typos in a recent revision.
...
From-SVN: r29391
1999-09-14 00:52:41 -06:00
Marc Espie
2ac2226c50
libiberty.h (basename): OpenBSD has a correct prototype.
...
* libiberty.h (basename): OpenBSD has a correct prototype.
(xrealloc): Remove outdated comment.
From-SVN: r29390
1999-09-14 00:35:01 -06:00
Richard Henderson
4bbf910eef
recog.h (INSN_OUTPUT_FORMAT_*): New.
...
* recog.h (INSN_OUTPUT_FORMAT_*): New.
(struct insn_data): Merge `template' and `outfun' into `output'.
Add `output_format'.
* genoutput.c (INSN_OUTPUT_FORMAT_*): New.
(struct data): Remove `outfun'; add `output_format'.
(name_for_index): Remove declaration.
(output_insn_data): Handle output formats.
(process_template): Emit the bare array for @.
(gen_expand, gen_split): Set output_format to NONE.
* output.h (get_insn_template): Declare.
* final.c (get_insn_template): New.
(final_scan_insn): Use it.
* toplev.c (compile_file): Likewise.
* c4x/c4x.c (c4x_process_after_reload): Likewise.
* i860/i860.c (output_delayed_branch): Likewise.
(output_delay_insn): Likewise.
From-SVN: r29389
1999-09-13 21:19:34 -07:00
Alexandre Oliva
c452dcde0a
* rtl.c (obstack_alloc_rtx): Removed.
...
From-SVN: r29388
1999-09-14 02:31:19 +00:00
Mark Mitchell
9d85d30c20
cp-tree.h (build_target_expr): New function.
...
* cp-tree.h (build_target_expr): New function.
* call.c (build_conditional_expr): Use build_target_expr.
(convert_like): Likewise.
(build_over_call): Likewise.
* cvt.c (build_up_reference): Likewise.
* decl.c (build_cleanup_on_safe_obstack): Fold into ...
(destroy_local_var): Here.
(build_target_expr): New function.
* tree.c (build_cplus_new): Use it.
(get_target_expr): Likewise.
From-SVN: r29387
1999-09-14 00:50:07 +00:00
Zack Weinberg
88731f16b0
gmicro.md: Disable move DF->DI anonymous pattern.
...
1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
* config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
From-SVN: r29386
1999-09-14 00:02:56 +00:00