Jan Hubicka
635559ab2e
i386.c (ix86_expand_int_movcc): Cleanup; use expand_simple_*op.
...
* i386.c (ix86_expand_int_movcc): Cleanup; use expand_simple_*op.
* toplev.c (rest_of_compilation): Use CLEANUP_UPDATE_LIFE
to avoid update_life_info call.
* basic-block.h (CLEANUP_UPATE_LIFE): Define.
* cfgcleanup.c (bb_flags): New enum.
(BB_FLAGS, BB_SET_FLAG, BB_CLEAR_FLAG, FORWARDER_BLOCK_P): New macros.
(notice_new_block, update_forwarder_flag): New functions.
(try_simplify_condjump): Use FORWARDER_BLOCK_P.
(try_forward_edges): Likewise; update flags.
(merge_blocks): Likewise.
(outgoing_edges_match): Likewise.
(try_crossjump_to_edge): Likewise.
(try_optimize_cfg): Likewise; initialize and clear the flags;
recompute life info if needed.
(cleanup_cfg): No need to clear aux pointers.
From-SVN: r46434
2001-10-23 13:34:33 +00:00
Alexandre Oliva
fbb83b4330
i386.c (override_options): Default to minimum stack alignment when optimizing for code size.
...
* config/i386/i386.c (override_options): Default to minimum
stack alignment when optimizing for code size.
* doc/invoke.texi (-mpreferred-stack-boundary): Document the
change.
From-SVN: r46433
2001-10-23 11:50:50 +00:00
Alexandre Oliva
c6257c5d97
i386.c (override_options): Set upper limit of -mpreferred-stack-boundary to 12.
...
* config/i386/i386.c (override_options): Set upper limit of
-mpreferred-stack-boundary to 12.
From-SVN: r46432
2001-10-23 11:47:23 +00:00
Kriang Lerdsuwanakij
f1e09fa253
Fix date in ChangeLog
...
From-SVN: r46431
2001-10-23 09:20:55 +00:00
Kriang Lerdsuwanakij
b8c6534b88
cp-tree.def (UNBOUND_CLASS_TEMPLATE): New tree node.
...
* cp-tree.def (UNBOUND_CLASS_TEMPLATE): New tree node.
* cp-tree.h (make_unbound_class_template): Prototype new function.
* decl.c (make_unbound_class_template): New function.
* decl2.c (arg_assoc_template_arg): Handle UNBOUND_CLASS_TEMPLATE.
* error.c (dump_type): Likewise.
* mangle.c (write_type): Likewise.
* parse.y (template_parm): Likewise.
(template_argument): Use make_unbound_class_template.
* pt.c (convert_template_argument): Handle UNBOUND_CLASS_TEMPLATE.
(tsubst): Likewise.
(tsubst_copy): Likewise.
(unify): Likewise.
* tree.c (walk_tree): Likewise.
* typeck.c (comptypes): Likewise.
From-SVN: r46430
2001-10-23 09:14:15 +00:00
GCC Administrator
69f75f9daa
Daily bump.
...
From-SVN: r46428
2001-10-23 07:18:01 +00:00
Bryce McKinlay
e042de67c4
BufferedWriter (write (String, int, int)): Remove redundant bounds checks.
...
* java/io/BufferedWriter (write (String, int, int)): Remove
redundant bounds checks.
(write (char[], int, int)): Likewise.
From-SVN: r46426
2001-10-23 07:04:58 +01:00
Bryce McKinlay
d9d6919ebb
Fix typos.
...
From-SVN: r46425
2001-10-23 06:43:49 +01:00
Bryce McKinlay
afb2dec526
prims.cc (_Jv_Abort): Always print error message using fprintf, don't try to allocate.
...
* prims.cc (_Jv_Abort): Always print error message using fprintf,
don't try to allocate.
(_Jv_CreateJavaVM): Set gcj::runTimeInitialized.
* include/jvm.h (gcj::runTimeInitialized): New variable declaration.
* java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault): Handle
duplicate class registration with JvFail if the runtime hasn't been
initialized yet.
From-SVN: r46424
2001-10-23 06:42:03 +01:00
Tom Tromey
187e37f9a6
GregorianCalendar.java (getGregorianChange): Removed `date' argument.
...
* java/util/GregorianCalendar.java (getGregorianChange): Removed
`date' argument.
From-SVN: r46423
2001-10-23 04:16:13 +00:00
Zack Weinberg
001d274051
* recog.c (peephole2_optimize): Add default case to switch.
...
From-SVN: r46422
2001-10-23 04:09:05 +00:00
Kaveh R. Ghazi
e5969ba63a
libiberty.h (hex_init): Revert delete.
...
include:
* libiberty.h (hex_init): Revert delete.
libiberty:
* hex.c (hex_init): Provide empty stub.
From-SVN: r46421
2001-10-23 03:17:29 +00:00
Bryce McKinlay
aeb76991de
linux_threads.c (GC_init_parallel): Do not declare as a static constructor.
...
* linux_threads.c (GC_init_parallel): Do not declare as a static
constructor.
* include/gc.h (GC_init): Declare here. Add description.
* include/private/gc_priv.h (GC_init): Remove declaration.
From-SVN: r46420
2001-10-23 01:28:56 +01:00
Joseph Myers
b45bc005dc
gcc.texi (Sending Patches): Remove.
...
* doc/gcc.texi (Sending Patches): Remove.
f:
* g77.texi (Sending Patches): Remove.
From-SVN: r46418
2001-10-23 01:18:25 +01:00
Kaveh R. Ghazi
26ad2982d8
libiberty.h (_hex_value): Const-ify.
...
include:
* libiberty.h (_hex_value): Const-ify.
(hex_init): Delete.
libiberty:
* hex.c (hex_init): Delete.
(_hex_value): Const-ify and initialize at compile-time.
From-SVN: r46417
2001-10-22 22:32:57 +00:00
Jason Merrill
f20a609feb
tweak
...
From-SVN: r46416
2001-10-22 17:56:40 -04:00
Geert Bosch
d2740a69f9
* Make-lang.in (gnattools, cross-gnattools): Remove gnatmem.
...
From-SVN: r46415
2001-10-22 22:39:56 +02:00
Hans-Peter Nilsson
2f9ec5e5cc
unwind-dw2-fde.c (fde_unencoded_compare): Derefer pc_begin fields when comparing.
...
* unwind-dw2-fde.c (fde_unencoded_compare): Derefer pc_begin
fields when comparing.
From-SVN: r46414
2001-10-22 20:33:13 +00:00
Kaveh R. Ghazi
30cf489670
arm.h (HOST_INT, HOST_UINT): Delete.
...
* arm.h (HOST_INT, HOST_UINT): Delete. Remove all uses.
* arm.c (HOST_INT, HOST_UINT): Likewise.
From-SVN: r46413
2001-10-22 19:36:24 +00:00
Stan Shebs
3be131bee8
darwin-protos.h (darwin_exception_section): Declare.
...
* config/darwin-protos.h (darwin_exception_section): Declare.
(darwin_eh_frame_section): Declare.
From-SVN: r46412
2001-10-22 19:11:55 +00:00
Jan Hubicka
92b7812215
* i386.md (movti_rex64): Fix mode.
...
From-SVN: r46411
2001-10-22 16:22:31 +00:00
Zack Weinberg
6fa3d7b2cc
* Make-lang.in (f/intdoc): Depend on safe-ctype.o.
...
From-SVN: r46410
2001-10-22 15:49:40 +00:00
Stan Shebs
07c9d2eb2e
target.h (struct gcc_target): Add asm_out.exception_section, asm_out.eh_frame_section.
...
* target.h (struct gcc_target): Add asm_out.exception_section,
asm_out.eh_frame_section.
* target-def.h (TARGET_ASM_EXCEPTION_SECTION): New macro.
(TARGET_ASM_EH_FRAME_SECTION): New.
(TARGET_INITIALIZER): Update.
* output.h (default_exception_section): Declare.
(default_eh_frame_section): Declare.
* dwarf2out.c: Include target.h.
(output_call_frame_info): Call target hook for eh frames.
(default_eh_frame_section): New function.
* except.c: Include target.h.
(output_function_exception_table): Call target hook for exception
section.
* varasm.c (default_exception_section): Rename from
exception_section, remove EXCEPTION_SECTION macro.
* config/darwin.h (darwin_eh_frame_section): New function.
(EXCEPTION_SECTION): Remove.
(TARGET_ASM_EXCEPTION_SECTION): Define.
* config/nextstep.h (EH_FRAME_SECTION_ASM_OP): Remove.
(nextstep_exception_section): New function.
(nextstep_eh_frame_section): New function.
(TARGET_ASM_EXCEPTION_SECTION): Define.
(TARGET_ASM_EH_FRAME_SECTION): Define.
* config/pa/som.h (EXCEPTION_SECTION): Remove.
(TARGET_ASM_EXCEPTION_SECTION): Define.
* config/rs6000/sysv4.h, config/rs6000/xcoff.h
(EXCEPTION_SECTION): Remove.
(TARGET_ASM_EXCEPTION_SECTION): Define.
* config/stormy16/stormy16.h: Remove comments referencing
EXCEPTION_SECTION and EH_FRAME_SECTION_ASM_OP.
* doc/tm.texi: Document TARGET_ASM_EXCEPTION_SECTION and
TARGET_ASM_EH_FRAME_SECTION.
From-SVN: r46409
2001-10-22 14:43:31 +00:00
Nick Clifton
bbea0391f0
Fix precedence of conditional terms
...
From-SVN: r46408
2001-10-22 09:18:19 +00:00
Nick Clifton
857236af62
fix spelling typo in comment
...
From-SVN: r46407
2001-10-22 09:10:04 +00:00
Nick Clifton
f2d40127e2
Fix typo
...
From-SVN: r46406
2001-10-22 09:06:34 +00:00
Craig Rodrigues
92989aed09
re PR debug/4252 (cc1: Invalid option `-fdump-translation-unit')
...
PR debug/4252
* doc/invoke.texi: Remove references to -fdump-translation-unit.
From-SVN: r46405
2001-10-22 07:42:23 +00:00
Richard Henderson
a8bac9ab24
i386.c (ix86_expand_clear): New.
...
* config/i386/i386.c (ix86_expand_clear): New.
* config/i386/i386-protos.h: Declare it.
* config/i386/i386.md (setcc peep2s): Use it.
(movsi_xor): Unexport.
From-SVN: r46404
2001-10-22 00:19:01 -07:00
GCC Administrator
8356429f83
Daily bump.
...
From-SVN: r46403
2001-10-22 07:18:17 +00:00
Richard Henderson
e9cf0934ea
flow.c (clear_log_links): Use free_INSN_LIST_list, not free_EXPR_LIST_list for LOG_LINKS.
...
* flow.c (clear_log_links): Use free_INSN_LIST_list, not
free_EXPR_LIST_list for LOG_LINKS.
From-SVN: r46401
2001-10-22 00:09:53 -07:00
Bryce McKinlay
33d4b70f02
JIS0208_to_Unicode.cc: Declare java_exceptions pragma.
...
* gnu/gcj/convert/JIS0208_to_Unicode.cc: Declare java_exceptions
pragma.
* gnu/gcj/convert/JIS0212_to_Unicode.cc: Likewise.
* gnu/gcj/convert/Unicode_to_JIS.cc: Likewise.
* gnu/gcj/convert/gen-from-JIS.c: Put java_exceptions pragma in
output file.
From-SVN: r46400
2001-10-22 06:38:25 +01:00
Kaveh R. Ghazi
299b5f9ee9
* gjavah.c (jni_print_char): Fix thinko in last change.
...
From-SVN: r46399
2001-10-22 03:58:19 +00:00
Robert Lipe
e56feed63f
i386.c (sco_asm_named_section): Delete.
...
* config/i386/i386.c (sco_asm_named_section): Delete.
(sco_asm_out_constructor): Delete.
* config/i386/sco5.h (ASM_QUAD): Undo damage from att.h.
(ASM_OUTPUT_DOUBLE_INT): Likewise.
(TARGET_ASM_CONSTRUCTOR): Delete. Use default.
(TARGET_ASM_NAMED_SECTION): Use default for ELF.
(EXCEPTION_SECTION): Delete EH scn renaming hack.
From-SVN: r46398
2001-10-21 21:55:40 +00:00
Kaveh R. Ghazi
0df6c2c74e
c-format.c (maybe_read_dollar_number): Use safe-ctype macros and/or fold extra calls into fewer ones.
...
* c-format.c (maybe_read_dollar_number): Use safe-ctype macros
and/or fold extra calls into fewer ones.
* collect2.c (dump_file): Likewise.
* cppexp.c (parse_number): Likewise.
* cpplex.c (_cpp_lex_direct): Likewise.
* final.c (output_asm_insn, asm_fprintf): Likewise.
* fix-header.c (inf_scan_ident, main): Likewise.
* fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix):
Likewise.
* fold-const.c (real_hex_to_f): Likewise.
* gen-protos.c (parse_fn_proto): Likewise.
* genattrtab.c (check_attr_test, check_attr_value): Likewise.
* genrecog.c (change_state, write_action): Likewise.
* gensupport.c (shift_output_template): Likewise.
* local-alloc.c (requires_inout): Likewise.
* mips-tfile.c (IS_ASM_IDENT): Likewise.
* protoize.c (is_id_char, main): Likewise.
* real.c (asctoeg): Likewise.
* recog.c (asm_operand_ok): Likewise.
* reload.c (find_reloads): Likewise.
* scan.c (scan_identget_token): Likewise.
* sched-vis.c (print_value): Likewise.
* stringpool.c (ggc_alloc_string): Likewise.
* toplev.c (read_integral_parameter, decode_g_option): Likewise.
* tradcif.y (parse_number, yylex, parse_escape): Likewise.
* tradcpp.c (rescan): Likewise.
* tree.c (clean_symbol_name): Likewise.
* varasm.c (decode_reg_name): Likewise.
* alpha.h (ASM_OUTPUT_ASCII): Likewise.
* darwin.c (name_needs_quotes, func_name_maybe_scoped): Likewise.
* dsp16xx.h (ASM_OUTPUT_ASCII): Likewise.
* m88k.c (output_ascii): Likewise.
* m88k.h (OVERRIDE_OPTIONS): Likewise.
* mcore.h (REG_CLASS_FROM_LETTER): Likewise.
* ns32k/encore.h (ASM_OUTPUT_ASCII): Likewise.
* sh.h (REG_CLASS_FROM_LETTER): Likewise.
cp:
* xref.c (GNU_xref_member): Use safe-ctype macros and/or fold
extra calls into fewer ones.
f:
* bad.c (ffebad_finish): Use safe-ctype macros and/or fold extra
calls into fewer ones.
* implic.c (ffeimplic_lookup_): Likewise.
* intdoc.c (dumpimp): Likewise.
* intrin.c (ffeintrin_init_0): Likewise.
* lex.c (ffelex_backslash_, ffelex_cfebackslash_, ffelex_hash_):
Likewise.
* lex.h (ffelex_is_firstnamechar): Likewise.
* target.c (ffetarget_integerhex): Likewise.
java:
* gjavah.c (jni_print_char, decode_signature_piece): Use
safe-ctype macros and/or fold extra calls into fewer ones.
* lex.c (java_read_unicode, java_lex): Likewise.
* lex.h (JAVA_START_CHAR_P, JAVA_PART_CHAR_P, JAVA_ASCII_DIGIT,
JAVA_ASCII_HEXDIGIT, JAVA_ASCII_LETTER): Likewise.
* mangle_name.c (append_unicode_mangled_name,
unicode_mangling_length): Likewise.
From-SVN: r46397
2001-10-21 21:32:15 +00:00
Neil Booth
77b1a9217b
langhooks.c (lang_hook_default_do_nothing, [...]): New defaults.
...
* langhooks.c (lang_hook_default_do_nothing,
lang_hook_default_decode_option): New defaults.
* langhooks.h: Make hooks unconditional and non-NULL.
* toplev.c (compile_file, toplev_main): Update.
* toplev.h: Update comments.
* objc/objc-act.c (lang_hooks): Update to new paradigm.
From-SVN: r46396
2001-10-21 21:03:48 +00:00
Kaveh R. Ghazi
5297e08564
arm.h (FUNCTION_ARG_REGNO_P): Use IN_RANGE.
...
* arm.h (FUNCTION_ARG_REGNO_P): Use IN_RANGE.
* system.h (IN_RANGE): New macro.
From-SVN: r46395
2001-10-21 19:44:08 +00:00
Zack Weinberg
77c068446e
aclocal.m4 (AM_WITH_NLS): Also create and substitute INTLDEPS variable, which does not include $LIBICONV.
...
* aclocal.m4 (AM_WITH_NLS): Also create and substitute
INTLDEPS variable, which does not include $LIBICONV.
* Makefile.in: Use INTLDEPS in LIBDEPS.
* configure: Regenerate.
intl:
* dcigettext.c: Don't use #elif.
* gettextP.h: Prototype nls_uint32 and locale_charset here.
Always define ZERO to 1 to avoid warnings (ZERO is used in
flexible-array-member declarations).
* loadmsgcat.c: Apply __extension__ to structure definitions
using C99 designated initializer syntax.
Do not prototype locale_charset here.
* localcharset.c: Prototype get_charset_aliases before use.
Get rid of STATIC nonsense.
From-SVN: r46394
2001-10-21 16:29:13 +00:00
Craig Prescott
957569499b
target.h (FFETARGET_32bit_longs): Don't define for 64-bit hppa.
...
2001-10-21 Craig Prescott <prescott@phys.ufl.edu>
* target.h (FFETARGET_32bit_longs): Don't define
for 64-bit hppa.
From-SVN: r46393
2001-10-21 14:55:10 +00:00
Neil Booth
480709cc6c
cpphash.h (struct cpp_buffer): Delete read_ahead and extra_char.
...
* cpphash.h (struct cpp_buffer): Delete read_ahead and extra_char.
* cpplex.c (lex_percent, lex_dot): Remove.
(get_effective_char, skip_block_comment, skip_line_comment,
parse_identifier_slow, parse_number, parse_string, save_comment,
_cpp_lex_direct): Update to do lookback freely.
(IF_NEXT_IS, BACKUP): New macros.
* cpplib.c (cpp_push_buffer): Don't set read_ahead and extra_char.
* cppmacro.c (paste_tokens): Update.
From-SVN: r46392
2001-10-21 14:04:42 +00:00
GCC Administrator
28d8dc3a10
Daily bump.
...
From-SVN: r46390
2001-10-21 07:16:09 +00:00
Brendan Kehoe
84f92638c2
* MAINTAINERS: Tweak my address.
...
From-SVN: r46389
2001-10-20 18:30:42 -04:00
Hans-Peter Nilsson
fe90b4e623
Tweak last entry to that of the type_traits.h commit message
...
From-SVN: r46388
2001-10-20 19:45:41 +00:00
Brendan Kehoe
8829f27a76
type_traits.h (__Boolean): Renamed template from _Bool.
...
2001-10-20 Brendan Kehoe <brendan@zen.org>
* include/bits/type_traits.h (__Boolean): Renamed template from _Bool.
(__true_type, __false_type): Change usage.
* src/string-inst.cc (__destroy_aux): Change third parm to be
__false_type instead of _Bool<false>.
* src/misc-inst.cc (__uninitialized_fill_n_aux,
__uninitialized_copy_aux): Likewise.
From-SVN: r46387
2001-10-20 19:28:50 +00:00
Zack Weinberg
d7aa3e1e9a
Remove stray conflict marker
...
From-SVN: r46386
2001-10-20 18:16:32 +00:00
Hans-Peter Nilsson
a4017847d5
configure.in: Fake AC_EXEEXT invocation.
...
* configure.in: Fake AC_EXEEXT invocation.
* configure: Regenerate.
From-SVN: r46385
2001-10-20 17:05:52 +00:00
David Edelsohn
2434acdcbe
Makefile.in: Do not include SUBDIRS in objlist.
...
2001-10-20 David Edelsohn <dje@watson.ibm.com>
* Makefile.in: Do not include SUBDIRS in objlist. Create
libg2c.so from F2CEXT and SUBDIRS archives.
* libF77/Makefile.in: Create archive.
* libI77/Makefile.in: Same.
* libU77/Makefile.in: Same.
From-SVN: r46384
2001-10-20 16:02:09 +00:00
Brendan Kehoe
1499566441
type_traits.h (_Bool): Removed this type.
...
* bits/type_traits.h (_Bool): Removed this type.
(__true_type, __false_type): Change to be plain structs.
* src/string-inst.cc (__destroy_aux): Change third parm to be
__false_type instead of _Bool<false>.
* src/misc-inst.cc (__uninitialized_fill_n_aux,
__uninitialized_copy_aux): Likewise.
From-SVN: r46383
2001-10-20 11:42:39 -04:00
Nick Clifton
acb0aa657c
fix spelling typo
...
From-SVN: r46382
2001-10-20 15:33:59 +00:00
Hans-Peter Nilsson
129c089988
reload1.c (reload): Check CONSTANT_P before calling LEGITIMATE_PIC_OPERAND_P.
...
* reload1.c (reload): Check CONSTANT_P before calling
LEGITIMATE_PIC_OPERAND_P.
* config/cris/cris.c (cris_legitimate_pic_operand): Revert
workaround of 2001-10-13.
From-SVN: r46381
2001-10-20 15:10:11 +00:00
Jan Hubicka
38ca929b57
* i386.c (split_di): Handle splitting of DFmode.
...
From-SVN: r46380
2001-10-20 13:16:55 +00:00