OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years ago * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
ghazi [Mon, 13 May 2002 13:52:08 +0000 (13:52 +0000)]
* config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
Fix typo, use this->is() rather than manually (and perhaps
incorrectly) inlining it.
* config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
Likewise.
* testsuite/22_locale/ctype_scan_char.cc: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53422 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* config/s390/linux.h: Revert 2002-04-22 changes.
uweigand [Mon, 13 May 2002 12:33:24 +0000 (12:33 +0000)]
* config/s390/linux.h: Revert 2002-04-22 changes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53421 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-05-13 Paolo Carlini <pcarlini@unitus.it>
paolo [Mon, 13 May 2002 12:31:50 +0000 (12:31 +0000)]
2002-05-13  Paolo Carlini  <pcarlini@unitus.it>
    Jakub Jelinek  <jakub@redhat.com>

* testsuite/22_locale/money_get_members_char.cc
(test01, test02, test04): Use the de_DE@euro named locale
instead of de_DE to allow for an uniform behaviour with
both old and Euro-era localedata; tweak some tests.
* testsuite/22_locale/money_get_members_wchar_t.cc
(test01, test02, test04): Likewise.
* testsuite/22_locale/money_put_members_char.cc
(test01, test02, test04): Likewise.
* testsuite/22_locale/money_put_members_wchar_t.cc
(test01, test02, test04): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53420 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-05-13 Paolo Carlini <pcarlini@unitus.it>
paolo [Mon, 13 May 2002 10:58:14 +0000 (10:58 +0000)]
2002-05-13  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/22_locale/codecvt_members_char_char.cc
(test03): Robustify wrt localedata.
* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
* testsuite/22_locale/collate_members_char.cc (test04): Likewise.
* testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
* testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
* testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
* testsuite/22_locale/messages_members_char.cc (test03): Likewise.
* testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
* testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
* testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
* testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
* testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
* testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
* testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
* testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
* testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
* testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
* testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
* testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
* testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
* testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
* testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
* testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53419 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-05-13 Scott Marks <SMarks@mobile-mind.com>
nickc [Mon, 13 May 2002 10:55:31 +0000 (10:55 +0000)]
2002-05-13  Scott Marks <SMarks@mobile-mind.com>
* config/fr30/fr30.md: Only allow splits of immediate loads if the destination
is a register.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53418 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * rtti.c (emit_tinfo_decl): Call import_export_decl.
jason [Mon, 13 May 2002 08:00:49 +0000 (08:00 +0000)]
    * rtti.c (emit_tinfo_decl): Call import_export_decl.
        * decl2.c (import_export_decl): Set DECL_NOT_REALLY_EXTERN on
        tinfo decls by default.  Don't mess with the builtins.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53417 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * class.c (build_vtbl_ref_1): Use fixed_type_or_null.
jason [Mon, 13 May 2002 08:00:48 +0000 (08:00 +0000)]
    * class.c (build_vtbl_ref_1): Use fixed_type_or_null.
        (fixed_type_or_null): See through reference vars.
        (build_base_path): Vtable contents are constant.
        * typeck.c (get_member_function_from_ptrfunc): Likewise.

        * rtti.c (emit_tinfo_decl): Call import_export_decl.
        * decl2.c (import_export_decl): Set DECL_NOT_REALLY_EXTERN on
        tinfo decls by default.  Don't mess with the builtins.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53416 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Mon, 13 May 2002 07:16:56 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53415 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * Makefile.in (c-common.o, cppinit.o): Update.
neil [Mon, 13 May 2002 05:57:38 +0000 (05:57 +0000)]
* Makefile.in (c-common.o, cppinit.o): Update.
* c-common.c: Include except.h.
(cb_register_builtins): Handle __USING_SJLJ_EXCEPTIONS__.
Call TARGET_CPU_CPP_BUILTINS and TARGET_OS_CPP_BUILTINS.
* cppinit.c (__USING_SJLJ_EXCEPTIONS): Not here.
* defaults.h (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS,
CPP_PREDEFINES): Handle here.
config:
* alpha/alpha-interix.h, alpha/gnu.h, alpha/linux.h,
alpha/netbsd.h, alpha/openbsd.h, alpha/osf.h, alpha/unicosmk.h,
alpha/vms.h, alpha/vxworks.h: Remove CPP_PREDEFINES, define
TARGET_OS_CPP_BUILTINS.
* alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Define.
(CPP_SPEC, EXTRA_SPECS): Update.
(CPP_AM_BWX_SPEC, CPP_AM_MAX_SPEC, CPP_AM_FIX_SPEC,
CPP_AM_CIX_SPEC, CPP_IM_EV4_SPEC, CPP_IM_EV5_SPEC,
CPP_IM_EV6_SPEC, CPP_CPU_EV4_SPEC, CPP_CPU_EV5_SPEC,
CPP_CPU_EV56_SPEC, CPP_CPU_PCA56_SPEC, CPP_CPU_EV6_SPEC,
CPP_CPU_EV67_SPEC, CPP_CPU_DEFAULT_SPEC, CPP_CPU_SPEC): Remove.
doc:
* tm.texi (TARGET_REGISTER_CPP_BUILTINS): Remove.
(TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53410 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * emit-rtl.c (global_rtl): Update comment.
zack [Mon, 13 May 2002 04:50:20 +0000 (04:50 +0000)]
* emit-rtl.c (global_rtl): Update comment.
(const_double_htab, const_double_htab_hash,
const_double_htab_hash, lookup_const_double): New.
(const_int_htab_hash, const_int_htab_eq): Remove const
qualifiers, which cause tons of warnings with RTL checking on.
(gen_rtx_CONST_DOUBLE): Deleted.
(const_double_from_real_value): New function - bears some
resemblance to the former immed_real_const_1.
(immed_double_const): Moved here from varasm.c and
simplified.
(gen_rtx_REG): Make REGNO unsigned to squelch warnings.
(gen_rtx_SUBREG): Use gen_rtx_raw_SUBREG.
(gen_rtx): Use immed_double_const.
(init_emit_once): Initialize the const_double_htab.  Use
REAL_VALUE_FROM_INT where possible.  Can now use
CONST_DOUBLE_FROM_REAL_VALUE when setting up const_tiny_rtx.
* varasm.c (struct varasm_status): Remove x_const_double_chain.
(const_double_chain, immed_real_const, clear_const_double_mem): Delete.
(immed_double_const, immed_real_const_1): Moved to emit-rtl.c.
(init_varasm_status, mark_varasm_status): Don't touch
x_const_double_chain.

* output.h: Delete prototype for clear_const_double_mem.
* real.h: Make REAL_VALUE_TYPE a macro again.  Remove leading
'0' slot from all CONST_DOUBLE_FORMAT definitions.  Prototype
const_double_from_real_value, not immed_real_const_1, and use
it to define CONST_DOUBLE_FROM_REAL_VALUE.  Define new macro
CONST_DOUBLE_ATOF.
* rtl.h (CONST_DOUBLE_CHAIN): Kill.
(CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH): Adjust.
(gen_rtx_CONST_DOUBLE, immed_real_const): Delete prototypes.
(gen_rtx_REG): Second arg is unsigned.

* gengenrtl.c (special_rtx): Take out CONST_DOUBLE.
(excluded_rtx): New, return true for CONST_DOUBLE.
(genmacro): Write nothing for excluded codes.
* combine.c (combine_simplify_rtx): Use CONST_DOUBLE_FROM_REAL_VALUE.
* expr.c (expand_expr): Likewise.
* ggc-common.c (ggc_mark_rtx_children_1): Don't mark the
CONST_DOUBLE_CHAIN.
* toplev.c (rest_of_compilation): Don't call
clear_const_double_mem.

* config/rs6000/rs6000.c (rs6000_float_const): Delete.
(rs6000_hash_constant): Remove CONST_DOUBLE special case.
(toc_hash_eq): Remove CONST_DOUBLE and LABEL_REF special cases.
* config/rs6000/rs6000-protos.h: Don't prototype rs6000_float_const.
* config/c4x/c4x.md, config/rs6000/rs6000.md: Use CONST_DOUBLE_ATOF.
* config/dsp16xx/dsp16xx.md, config/mips/mips.md,
config/pa/pa.md: Use CONST_DOUBLE_FROM_REAL_VALUE.
* config/sparc/sparc.md, config/sparc/sparc.c: Use immed_double_const.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53409 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agolibstdc++-v3:
ghazi [Mon, 13 May 2002 02:52:47 +0000 (02:52 +0000)]
libstdc++-v3:
* config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
change.

gcc:
* mips/iris6.h (CPLUSPLUS_CPP_SPEC): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53408 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-05-12 David S. Miller <davem@redhat.com>
davem [Mon, 13 May 2002 02:24:12 +0000 (02:24 +0000)]
2002-05-12  David S. Miller  <davem@redhat.com>

* gcc.c-torture/execute/conversion.c (ldnear): Use long double
types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53407 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * tree.h (copy_node): Don't mention TREE_PERMANENT.
tromey [Sun, 12 May 2002 21:42:00 +0000 (21:42 +0000)]
* tree.h (copy_node): Don't mention TREE_PERMANENT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53404 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gensupport.c (n_comma_elts): Moved here from genattrtab.c.
zack [Sun, 12 May 2002 18:43:33 +0000 (18:43 +0000)]
* gensupport.c (n_comma_elts): Moved here from genattrtab.c.
(scan_comma_elt): New function.  Accepts whitespace in comma lists.
* gensupport.h: Prototype new routines.
* genattr.c (gen_attr): Use scan_comma_elt.  Avoid unnecessary
use of printf.
* genattrtab.c (n_comma_elts): Moved to gensupport.c.
(next_comma_elt): Use scan_comma_elt.

* config/i386/i386.md: Use new attribute notation to break up
long lines in define_attr forms.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53403 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cp-lang.c (ok_to_generate_alias_set_for_type): Backend-created
jason [Sun, 12 May 2002 17:29:05 +0000 (17:29 +0000)]
    * cp-lang.c (ok_to_generate_alias_set_for_type): Backend-created
        structs are safe.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53402 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * expr.c (compress_float_constant): New.
rth [Sun, 12 May 2002 17:09:24 +0000 (17:09 +0000)]
    * expr.c (compress_float_constant): New.
        (emit_move_insn): Use it.
        (float_extend_from_mem): New.
        (init_expr_once): Initialize it.
        * real.c (exact_real_truncate): New.

        * config/i386/i386.h (CONST_COSTS): Assume CONST_DOUBLE gets
        dropped into memory; penalize for size.
        (RTX_COSTS): FLOAT_EXTEND is free.
        * config/i386/i386.md (extendsfdf2, extendsfxf2, extendsftf2,
        extenddfxf2, extenddftf2): Accept constants and drop them to memory.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53401 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * profile.h (profile_info): Add missing extern to declaration.
rth [Sun, 12 May 2002 17:03:35 +0000 (17:03 +0000)]
    * profile.h (profile_info): Add missing extern to declaration.
        * profile.c (profile_info): Define it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53400 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago*** empty log message ***
marekm [Sun, 12 May 2002 16:08:25 +0000 (16:08 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53399 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * pt.c (tsubst_expr) [ASM_STMT]: Copy ASM_INPUT_P.
jason [Sun, 12 May 2002 09:25:45 +0000 (09:25 +0000)]
    * pt.c (tsubst_expr) [ASM_STMT]: Copy ASM_INPUT_P.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53397 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Sun, 12 May 2002 07:17:34 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53396 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * MAINTAINERS: Reflect libgcj reality.
tromey [Sun, 12 May 2002 01:42:30 +0000 (01:42 +0000)]
* MAINTAINERS: Reflect libgcj reality.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53390 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
mark [Sun, 12 May 2002 01:11:18 +0000 (01:11 +0000)]
* gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
space characters.
(previous_internal): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53389 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
danglin [Sun, 12 May 2002 01:01:21 +0000 (01:01 +0000)]
* config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
to 64 for hppa 64-bit port.
(__glibcpp_long_double_bits): Define to 64 for all hppa ports.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53388 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Revise sets of general registers
danglin [Sun, 12 May 2002 00:01:54 +0000 (00:01 +0000)]
* pa/pa32-regs.h (HARD_REGNO_MODE_OK): Revise sets of general registers
used for DImode and TImode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53387 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cpplex.c (_cpp_lex_direct): When in a directive at EOF
neil [Sat, 11 May 2002 21:02:34 +0000 (21:02 +0000)]
* cpplex.c (_cpp_lex_direct): When in a directive at EOF
fake a newline.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53386 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoOops, this went with the previous commit
zack [Sat, 11 May 2002 18:23:28 +0000 (18:23 +0000)]
Oops, this went with the previous commit

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53385 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * reorg.c (dbr_schedule): Remove unnecessary test.
danglin [Sat, 11 May 2002 17:38:40 +0000 (17:38 +0000)]
* reorg.c (dbr_schedule): Remove unnecessary test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53384 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * i386.md (testsi to testqi spliters): New.
hubicka [Sat, 11 May 2002 17:16:28 +0000 (17:16 +0000)]
* i386.md (testsi to testqi spliters): New.

2002-01-14  Josef Zlomek  <zlomek@matfyz.cz>

cfg.c (dump_edge_info): added dumping of EDGE_CAN_FALLTHRU.

Wed Jan  9 2002  Josef Zlomek  <zlomj9am@artax.karlin.mff.cuni.cz>

* basic-block.h: New flag EDGE_CAN_FALLTHRU
* cfganal.c (set_edge_can_fallthru_flag): New function; marks the edges
that can be made fallthru.

Mon Nov 12 16:25:53 CET 2001  Jan Hubicka  <jh@suse.cz>

* cfglayout.c (cleanup_unconditional_jumps): New static function.
(cfg_layout_initialize): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53383 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/rs6000/rs6000.c (rs6000_default_long_calls,
zack [Sat, 11 May 2002 16:25:05 +0000 (16:25 +0000)]
* config/rs6000/rs6000.c (rs6000_default_long_calls,
rs6000_longcall_switch, rs6000_set_default_type_attributes): New.
(TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Set it.
(rs6000_override_options): Handle -m(no-)longcall.
(init_cumulative_args, output_mi_thunk): Check for both
longcall and shortcall attributes on the function.
(rs6000_attribute_table): Add "shortcall".
(rs6000_handle_longcall_attribute): Update comment.
(altivec_expand_unop_builtin, altivec_expand_binop_builtin,
altivec_expand_ternop_builtin): Add default clauses to switches
to silence warnings.

* config/rs6000/rs6000.h: Declare rs6000_longcall_switch and
rs6000_default_long_calls.  Define REGISTER_TARGET_PRAGMAS.
(TARGET_OPTIONS): Add longcall and no-longcall.

* config/rs6000/rs6000.md (call_nonlocal_sysv,
call_value_nonlocal_sysv): Split by alternatives.  One pair
accepts only SYMBOL_REFs and rejects if CALL_LONG is set in
the call cookie.  The other pair accepts only LR/CTR and has
no restriction.

* config.gcc (rs6000-*-* | powerpc*-*-* trailer stanza):
Set c_target_objs, cxx_target_objs; add t-rs6000-c-rule to
tmake_file.
* config/rs6000/rs6000-c.c: New file.
* config/rs6000/t-rs6000-c-rule: New file.
* config/rs6000/rs6000-protos.c: Add multiple-include guard.
Prototype rs6000_pragma_longcall.

* doc/extend.texi: Document shortcall attribute.
* doc/invoke.texi: Document -mlongcall, -mno-longcall.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53382 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/avr/avr.c (avr_mcu_types): Update supported devices.
marekm [Sat, 11 May 2002 13:37:05 +0000 (13:37 +0000)]
* config/avr/avr.c (avr_mcu_types): Update supported devices.
* config/avr/avr.h (CPP_SPEC, LINK_SPEC, CRT_BINUTILS_SPECS): Likewise.
* config/avr/t-avr (MULTILIB_MATCHES): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53381 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * dbxout.c: Fix formatting.
kazu [Sat, 11 May 2002 10:47:05 +0000 (10:47 +0000)]
* dbxout.c: Fix formatting.
* dependence.c: Likewise.
* df.c: Likewise.
* diagnostic.c: Likewise.
* doloop.c: Likewise.
* dominance.c: Likewise.
* doschk.c: Likewise.
* dwarf2asm.c: Likewise.
* dwarf2out.c: Likewise.
* dwarfout.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53380 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Sat, 11 May 2002 07:16:43 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53379 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoMinor fix to treelang; Update MAINTAINERS and ChangeLog to reflect this.
timjosling [Sat, 11 May 2002 01:09:48 +0000 (01:09 +0000)]
Minor fix to treelang; Update MAINTAINERS and ChangeLog to reflect this.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53375 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * final.c (end_final): Tidy whitespace. Don't honor flag_pack_struct.
rth [Sat, 11 May 2002 00:32:01 +0000 (00:32 +0000)]
    * final.c (end_final): Tidy whitespace.  Don't honor flag_pack_struct.
        Convert integers constants as needed.  Replace "nwords" field with
        "sizeof_bb".
        (final): Save profile data if cfun->arc_profile, not profile_arc_flag.
        * function.h: Fix typo in comment.
        * libgcc2.c (struct bb): Replace "nwords" with "sizeof_bb".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53374 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * fold-const.c (build_range_check): Optimize (c>=1) && (c<=127)
sayle [Fri, 10 May 2002 22:24:13 +0000 (22:24 +0000)]
* fold-const.c (build_range_check): Optimize (c>=1) && (c<=127)
into the equivalent (signed char)c > 0.

* gcc.c-torture/execute/20020510-1.c: New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53373 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * loop.c: (PREFETCH_EXTREME_DIFFERENCE, PREFETCH_BEFORE_LOOP): New.
janis [Fri, 10 May 2002 20:48:32 +0000 (20:48 +0000)]
* loop.c: (PREFETCH_EXTREME_DIFFERENCE, PREFETCH_BEFORE_LOOP): New.
(PREFETCH_CONDITIONAL): Renamed from PREFETCH_NOT_ALWAYS.
(struct prefetch_info): Fix spelling of member bytes_accessed.
(emit_prefetch_instructions): Make dump messages more regular;
restructure code to add more dump messages; use new macros for
heuristics. (There are no code generation changes in any of this).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53371 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-05-10 David S. Miller <davem@redhat.com>
davem [Fri, 10 May 2002 20:13:02 +0000 (20:13 +0000)]
2002-05-10  David S. Miller  <davem@redhat.com>

* rtl.h (INSN_ANNULLED_BRANCH_P): Accept INSN too, update comment.
(struct rtx_def): Update unchanging flag comment.
* doc/rtl.texi (INSN_ANNULLED_BRANCH_P): Update description.
* reorg.c (delete_from_delay_list): INSN_ANNULLED_BRANCH_P needs
to be handled to INSN too.
(dbr_schedule): Likewise.
* resource.c (next_insn_no_annul): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53370 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-05-10 David S. Miller <davem@redhat.com>
davem [Fri, 10 May 2002 18:58:00 +0000 (18:58 +0000)]
2002-05-10  David S. Miller  <davem@redhat.com>

* cse.c (rtx_cost): Remove multiplication by power of 2 special
casing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53369 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-05-10 David S. Miller <davem@redhat.com>
davem [Fri, 10 May 2002 18:08:32 +0000 (18:08 +0000)]
2002-05-10  David S. Miller  <davem@redhat.com>

* gcc.c-torture/execute/conversion.c: Test long double too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53368 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Use mabi=64 and
ro [Fri, 10 May 2002 15:25:58 +0000 (15:25 +0000)]
* config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Use mabi=64 and
. as N64/N32 libgcc_s.so subdirs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53366 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-05-10 David S. Miller <davem@redhat.com>
davem [Fri, 10 May 2002 15:07:41 +0000 (15:07 +0000)]
2002-05-10  David S. Miller  <davem@redhat.com>

* config/sparc/sparc.md: Use define_constants for unspec numbers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53364 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoUpdate to latest versions.
pthomas [Fri, 10 May 2002 14:45:31 +0000 (14:45 +0000)]
Update to latest versions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53362 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * acinclude.m4 (enable_symvers): Quote $LD.
ro [Fri, 10 May 2002 12:53:13 +0000 (12:53 +0000)]
* acinclude.m4 (enable_symvers): Quote $LD.
* aclocal.m4: Regenerate.
* configure: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53361 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-05-09 David S. Miller <davem@redhat.com>
davem [Fri, 10 May 2002 12:50:11 +0000 (12:50 +0000)]
2002-05-09  David S. Miller  <davem@redhat.com>

* rtl.h (struct rtx_def): Document unchanging and in_struct flags
more accurately.
(INSN_ANNULLED_BRANCH_P): Only valid for JUMP_INSN and CALL_INSN, fix
comment.
(INSN_FROM_TARGET_P): Valid also for CALL_INSN.
* doc/rtl.texi: Document these macros more accurately.
* recog.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P for
JUMP_INSNs and CALL_INSNs.
* resource.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P
or INSN_FROM_TARGET_P if the code is appropriate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53360 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/avr/avr.c (print_operand): Check that addr is a SYMBOL_REF
marekm [Fri, 10 May 2002 12:22:36 +0000 (12:22 +0000)]
* config/avr/avr.c (print_operand): Check that addr is a SYMBOL_REF
before using SYMBOL_REF_FLAG (addr).

* config/avr/avr-protos.h (avr_io_address_p): Declare.
* config/avr/avr.c (io_address_p): Rename to avr_io_address_p.
Make non-static.  Update all callers.
* config/avr/avr.md (*cbi, *sbi, *sbix_branch, *sbix_branch_bit7):
New insns to clear/set/test a single bit in I/O address space.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53359 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Fri, 10 May 2002 07:17:05 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53358 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * jni.cc (_Jv_JNIFunctions): Fixed typo.
tromey [Fri, 10 May 2002 01:47:55 +0000 (01:47 +0000)]
* jni.cc (_Jv_JNIFunctions): Fixed typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53353 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * rtl.h (ENABLE_RTL_FLAG_CHECKING): Also check for gcc >= 2.7.
ghazi [Fri, 10 May 2002 01:30:03 +0000 (01:30 +0000)]
* rtl.h (ENABLE_RTL_FLAG_CHECKING): Also check for gcc >= 2.7.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53352 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * java/util/ResourceBundle.java: New version from Classpath.
tromey [Thu, 9 May 2002 23:41:42 +0000 (23:41 +0000)]
* java/util/ResourceBundle.java: New version from Classpath.
* java/util/Locale.java: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53351 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * athlon.md, k6.md, pentium.md, ppro.md): New files.
law [Thu, 9 May 2002 23:41:39 +0000 (23:41 +0000)]
    * athlon.md, k6.md, pentium.md, ppro.md): New files.
        * i386.md: Move scheduling information into new files.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53350 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * Makefile.in: Update.
neil [Thu, 9 May 2002 22:48:36 +0000 (22:48 +0000)]
* Makefile.in: Update.
* c-common.c (flag_iso, flag_undef, cb_register_builtins,
builtin_define_std): New.
(c_common_init): Register CPP builtins callback.
* c-common.h (flag_iso, flag_undef): New.
* c-decl.c (c_decode_option): Set flag_iso and flag_undef.
* c-lex.c: Don't include target.h.
(cb_register_builtins): Move to c-common.c.
(init_c_lex): Don't register hook here.
* c-lex.h (builtin_define, builtin_assert, builtin_define_std): New.
(cpp_define, cpp_assert): Remove.
* gcc.c (cc1_options): Pass -undef to front end.
* target-def.h (TARGET_REGISTER_CPP_BUILTINS): Remove.
(TARGET_INITIALIZER): Update.
* target.h (struct cpp_reader): Don't predeclare.
(struct gcc_target): Remove cpp builtin hook.
* tree.c (default_register_cpp_builtins): Remove.
cp:
* cp-tree.h (flag_ansi): Remove.
* decl2.c (flag_ansi): Remove.
(cxx_decode_option): Set flag_iso and flag_undef.
doc:
* tm.texi: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53349 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cppexp.c (_cpp_expand_op_stack): Set op_limit.
neil [Thu, 9 May 2002 22:27:31 +0000 (22:27 +0000)]
* cppexp.c (_cpp_expand_op_stack): Set op_limit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53348 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Define.
jakub [Thu, 9 May 2002 21:19:10 +0000 (21:19 +0000)]
* config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Define.
(SHLIB_LINK, SHLIB_INSTALL): Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53347 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/sparc/t-linux64 (SHLIB_MAPFILES): Set.
jakub [Thu, 9 May 2002 21:09:27 +0000 (21:09 +0000)]
* config/sparc/t-linux64 (SHLIB_MAPFILES): Set.
* config/sparc/libgcc-sparc-glibc.ver: New file.
* config/cris/t-linux (SHLIB_MAPFILES): Remove.
* mklibgcc.in: Preprocess SHLIB_MAPFILES with ml flags.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53346 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR target/6429
jakub [Thu, 9 May 2002 21:01:55 +0000 (21:01 +0000)]
PR target/6429
* Makefile.in (libgcc.mk): Pass SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
* mklibgcc.in: If SHLIB_SLIBDIR_SUFFIXES is defined, put libgcc_s
shared libraries into multilib dirs, with SONAME libgcc_s.so.1 for
base multilibs.
* config/t-slibgcc-elf-ver (SHLIB_LINK): Adjust for the above.
* config/t-slibgcc-sld (SHLIB_LINK): Likewise.
* config/i386/t-linux64 (SHLIB_SLIBDIR_SUFFIXES): Define.
* config/sparc/t-linux64 (SHLIB_SLIBDIR_SUFFIXES): Define.
* config/sparc/t-sol2-64 (SHLIB_SLIBDIR_SUFFIXES): Define.

* lib/g77.exp (g77_link_flags): Append all multilib dirs containing
libgcc_s*.so.1 below gcc object dir to LD_LIBRARY_PATH.
* lib/g++.exp (g++_link_flags): Likewise.
* lib/objc.exp (objc_target_compile): Likewise.

* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
multilib dirs containing libgcc_s*.so.1 below gcc object dir to
LD_LIBRARY_PATH.

* testsuite/lib/libjava.exp (libjava_arguments): Append all
multilib dirs containing libgcc_s*.so.1 below gcc object dir to
LD_LIBRARY_PATH.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53345 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/ia64/ia64.md: Use define_constants for unspec numbers.
rth [Thu, 9 May 2002 20:58:35 +0000 (20:58 +0000)]
    * config/ia64/ia64.md: Use define_constants for unspec numbers.
        * config/ia64/ia64.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53344 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/mips/mips.c (mips_add_large_offset_to_sp): Remove FILE arg.
rsandifo [Thu, 9 May 2002 20:10:54 +0000 (20:10 +0000)]
* config/mips/mips.c (mips_add_large_offset_to_sp): Remove FILE arg.
(save_restore_insns): Likewise.
(mips_expand_prologue, mips_expand_epilogue): Update callers.
(highpart_shift_operator): Attach ATTRIBUTE_UNUSED to mode argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53341 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* Makefile.in: Honour DESTDIR.
dj [Thu, 9 May 2002 19:57:00 +0000 (19:57 +0000)]
* Makefile.in: Honour DESTDIR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53340 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * i386.md (type attribute): Add "rotate" for rotate insns.
law [Thu, 9 May 2002 17:58:09 +0000 (17:58 +0000)]
    * i386.md (type attribute): Add "rotate" for rotate insns.
        (rotate insns): Set type to "rotate".
        (various attributes and function units): Treat rotate like shift.
        (pent_pair attribute): Only rotates by one bit position are
        pairable.
        (sbb insns): Explicitly set pent_pair attribute on a couple
        that were missing it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53338 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * sh.c (sh_builtin_saveregs): If starting with an odd fp register,
amylaar [Thu, 9 May 2002 17:41:56 +0000 (17:41 +0000)]
* sh.c (sh_builtin_saveregs): If starting with an odd fp register,
make sure that buffer starts on odd word address.
(sh_va_arg): Skip odd fp registers when reading a double precision
value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53337 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * typeck.c (get_member_function_from_ptrfunc): Reorganize.
jason [Thu, 9 May 2002 17:27:37 +0000 (17:27 +0000)]
    * typeck.c (get_member_function_from_ptrfunc): Reorganize.
        Use subtraction rather than a bitmask to get the index.
        * cvt.c (cp_convert_to_pointer): Bail on an error_mark_node.

        * pt.c (tsubst_expr) [ASM_STMT]: Copy ASM_INPUT_P.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53335 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * tree.h (preserve_data, object_permanent_p, type_precision):
neil [Thu, 9 May 2002 17:20:33 +0000 (17:20 +0000)]
* tree.h (preserve_data, object_permanent_p, type_precision):
Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53334 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cpplib.c (cpp_init_internal_pragmas): Remove #pragma poison.
neil [Thu, 9 May 2002 17:14:22 +0000 (17:14 +0000)]
* cpplib.c (cpp_init_internal_pragmas): Remove #pragma poison.
* cppmacro.c (paste_all_tokens): Bad pastes are a hard error.
doc:
* cpp.texi: Update for removal of obsolete features.
testsuite:
* gcc.dg/cpp/poison.c: Update.
* gcc.dg/cpp/20000625-2.c: Remove.
* gcc.dg/cpp/direct2s.c: Remove final test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53333 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoadd PR note
jason [Thu, 9 May 2002 15:47:50 +0000 (15:47 +0000)]
add PR note

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53332 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * final.c (end_final): Use C trees to output data structures for profiling.
hubicka [Thu, 9 May 2002 15:07:00 +0000 (15:07 +0000)]
* final.c (end_final): Use C trees to output data structures for profiling.

* Makefile.in (LIBGCC_DEPS): Added missing dependency on gcov-io.h
        (profile.o): New dependency profile.h
        (final.o): New dependency profile.h
        * profile.h: New file. New global structure profile_info.
        * final.h (count_edges_instrumented_now): Declare.
        (current_function_cfg_checksum): Declare.
        (function_list): New structure.
        (functions_head, functions_tail): New static variables.
        (end_final): Emits more data, removed some -ax stuff.
        (final): Stores function names and chcksums.
        * gcov-io.h (__write_gcov_string): New function.
        (__read_gcov_string): New function.
        * gcov.c (read_profile): New function.
        (create_program_flow_graph): Uses read_profile instead of reading
da_file.
        (read_files): Removed da_file checking, it's done by read_profile now.
        * libgcc2.c (bb_function_info): New structure.
        (bb): New field in structure, removed some -ax stuff.
        (__bb_exit_func): Changed structure of da_file.
        * profile.c (count_edges_instrumented_now): New global variable.
        (current_function_cfg_checksum): New global variable.
        (max_counter_in_program): New global variable.
        (get_exec_counts): New function.
        (compute_checksum): New function.
        (instrument_edges): Sets count_edges_instrumented_now.
        (compute_branch_probabilities): Uses get_exec_counts instead of
reading da_file.
        (branch_prob): Calls compute_checksum and writes extra data to bbg_file.
        (init_branch_prob): Removed da_file checking, done in get_exec_counts
now.
        (end_branch_prob): Removed da_file checking, done in get_exec_counts
now.
        * gcov.texi: Updated information about gcov file format.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53330 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * i386.c (ia32_use_dfa_pipeline_interface): New function. Use
law [Thu, 9 May 2002 13:45:20 +0000 (13:45 +0000)]
    * i386.c (ia32_use_dfa_pipeline_interface): New function.  Use
        the DFA interface for Pentium processors.
        (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): DEFINE.
        (attr_pent_pair, ix86_pent_find_pair): Remove.
        (ix86_sched_reorder_pentium): Remove.
        (ix86_sched_reorder): Remove reordering for Pentium.
        * i386.md (Pentium scheduling): Rewrite using DFA description.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53329 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoForgot to commit long long ago. See my message to gcc-patches from
law [Thu, 9 May 2002 13:33:58 +0000 (13:33 +0000)]
Forgot to commit long long ago.  See my message to gcc-patches from
Mar 28 :-)  Testcase for PR 3311.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53328 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cfganal.c (can_fallthru): Fix fast path.
hubicka [Thu, 9 May 2002 12:56:47 +0000 (12:56 +0000)]
* cfganal.c (can_fallthru): Fix fast path.
* cfgrtl.c (verify_flow_info): Avoid crash on conditionals
with edges to the next block.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53327 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * final.c (end_final): Use C trees to output data structures for profiling.
hubicka [Thu, 9 May 2002 12:54:19 +0000 (12:54 +0000)]
* final.c (end_final): Use C trees to output data structures for profiling.

* Makefile.in (LIBGCC_DEPS): Added missing dependency on gcov-io.h
        (profile.o): New dependency profile.h
        (final.o): New dependency profile.h
        * profile.h: New file. New global structure profile_info.
        * final.h (count_edges_instrumented_now): Declare.
        (current_function_cfg_checksum): Declare.
        (function_list): New structure.
        (functions_head, functions_tail): New static variables.
        (end_final): Emits more data, removed some -ax stuff.
        (final): Stores function names and chcksums.
        * gcov-io.h (__write_gcov_string): New function.
        (__read_gcov_string): New function.
        * gcov.c (read_profile): New function.
        (create_program_flow_graph): Uses read_profile instead of reading
da_file.
        (read_files): Removed da_file checking, it's done by read_profile now.
        * libgcc2.c (bb_function_info): New structure.
        (bb): New field in structure, removed some -ax stuff.
        (__bb_exit_func): Changed structure of da_file.
        * profile.c (count_edges_instrumented_now): New global variable.
        (current_function_cfg_checksum): New global variable.
        (max_counter_in_program): New global variable.
        (get_exec_counts): New function.
        (compute_checksum): New function.
        (instrument_edges): Sets count_edges_instrumented_now.
        (compute_branch_probabilities): Uses get_exec_counts instead of
reading da_file.
        (branch_prob): Calls compute_checksum and writes extra data to bbg_file.
        (init_branch_prob): Removed da_file checking, done in get_exec_counts
now.
        (end_branch_prob): Removed da_file checking, done in get_exec_counts
now.
        * gcov.texi: Updated information about gcov file format.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53326 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * sbitmap.c: Fix formatting.
kazu [Thu, 9 May 2002 12:02:29 +0000 (12:02 +0000)]
* sbitmap.c: Fix formatting.
* scan.c: Likewise.
* scan-decls.c: Likewise.
* sched-deps.c: Likewise.
* sched-ebb.c: Likewise.
* sched-rgn.c: Likewise.
* sched-vis.c: Likewise.
* sdbout.c: Likewise.
* sibcall.c: Likewise.
* simplify-rtx.c: Likewise.
* ssa.c: Likewise.
* ssa-ccp.c: Likewise.
* ssa-dce.c: Likewise.
* stmt.c: Likewise.
* stor-layout.c: Likewise.
* stringpool.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53324 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-05-09 David S. Miller <davem@redhat.com>
davem [Thu, 9 May 2002 10:50:22 +0000 (10:50 +0000)]
2002-05-09  David S. Miller  <davem@redhat.com>

* config/sparc/sol2.h (ASM_CPU_SPEC): Handle -mcpu=v9.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53323 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-05-07 David S. Miller <davem@redhat.com>
davem [Thu, 9 May 2002 10:38:44 +0000 (10:38 +0000)]
2002-05-07  David S. Miller  <davem@redhat.com>

* config/sparc/sparc.h (TARGET_BUGGY_QP_LIB): Define to zero.
* config/sparc/sol2.h (TARGET_BUGGY_QP_LIB): Override to one.
* config/sparc/sparc.c (emit_soft_tfmode_libcall): If the Qp
library implementation clobbers the output before the inputs
are fully consumed, use stack temporary for the output.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53322 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-05-09 Hassan Aurag <aurag@cae.com>
toon [Thu, 9 May 2002 09:11:58 +0000 (09:11 +0000)]
2002-05-09  Hassan Aurag  <aurag@cae.com>

* expr.c (ffeexpr_reduced_ugly2log_): Allow logicals-as-integers
under -fugly-logint as arguments of .and., .or., .xor.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53321 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Thu, 9 May 2002 07:16:43 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53320 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc_release: Correct upload handling.
mmitchel [Thu, 9 May 2002 05:49:55 +0000 (05:49 +0000)]
* gcc_release: Correct upload handling.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53315 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* config/netbsd.h (CPP_SPEC): Remove.
thorpej [Thu, 9 May 2002 03:53:58 +0000 (03:53 +0000)]
* config/netbsd.h (CPP_SPEC): Remove.
* config/i386/netbsd-elf.h (CPP_SPEC): Define.
* config/i386/netbsd.h (CPP_SPEC): Define.
* config/ns32k/netbsd.h (CPP_SPEC): Define.
* config/sparc/netbsd-elf.h (CPP_SPEC): Remove.
* config/sparc/netbsd.h (CPP_SPEC): Define.
* config/vax/netbsd.h (CPP_SPEC): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53314 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * read-rtl.c: Fix formatting.
kazu [Thu, 9 May 2002 01:42:28 +0000 (01:42 +0000)]
* read-rtl.c: Fix formatting.
* real.c: Likewise.
* recog.c: Likewise.
* regclass.c: Likewise.
* regmove.c: Likewise.
* reg-stack.c: Likewise.
* reload1.c: Likewise.
* reload.c: Likewise.
* resource.c: Likewise.
* rtlanal.c: Likewise.
* rtl.c: Likewise.
* rtl-error.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53313 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * pa/pa-64.h (MAX_WCHAR_TYPE_SIZE): Delete.
danglin [Wed, 8 May 2002 23:10:59 +0000 (23:10 +0000)]
* pa/pa-64.h (MAX_WCHAR_TYPE_SIZE): Delete.
* pa/pa.h (MAX_WCHAR_TYPE_SIZE): Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53309 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDefine __SSE2__ if -msse2 instead of __SSE2_BUILTINS__
bernds [Wed, 8 May 2002 23:05:41 +0000 (23:05 +0000)]
Define __SSE2__ if -msse2 instead of __SSE2_BUILTINS__

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53308 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * rtl.h (RTL_FLAG_CHECK*): Add an argument for the macro name,
janis [Wed, 8 May 2002 22:37:21 +0000 (22:37 +0000)]
* rtl.h (RTL_FLAG_CHECK*): Add an argument for the macro name,
and use it in all invocations of these macros.  Clean up comments.
* rtl.c (rtl_check_failed_flag): Add an argument for the name
of the flag access macro whose check failed.
* doc/rtl.texi (Flags): Document additional flag uses.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53306 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoNew tests for rotating.
trix [Wed, 8 May 2002 21:22:06 +0000 (21:22 +0000)]
New tests for rotating.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53305 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR preprocessor/6521
neil [Wed, 8 May 2002 21:21:19 +0000 (21:21 +0000)]
PR preprocessor/6521
* cppfiles.c (handle_missing_header): Don't do anything
different for <> includes.
doc:
* cppopts.texi: Update documentation for -MG.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53304 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cpplex.c (cpp_interpret_charconst): Truncate as well as
neil [Wed, 8 May 2002 21:02:31 +0000 (21:02 +0000)]
* cpplex.c (cpp_interpret_charconst): Truncate as well as
sign-extend.
doc:
* cpp.texi: Clarify multichar charconst valuation.
testsuite:
* gcc.dg/cpp/charconst-4.c: More tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53301 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config.guess: Import 2002-03-20 version.
mmitchel [Wed, 8 May 2002 20:26:35 +0000 (20:26 +0000)]
* config.guess: Import 2002-03-20 version.
* config.sub: Import 2002-04-26 version.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53300 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * doc/invoke.texi: Document -mwindiss option.
mmitchel [Wed, 8 May 2002 19:33:47 +0000 (19:33 +0000)]
* doc/invoke.texi: Document -mwindiss option.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53299 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * java/jcf-write.c (write_classfile): Write the file to a
mmitchel [Wed, 8 May 2002 19:24:42 +0000 (19:24 +0000)]
* java/jcf-write.c (write_classfile): Write the file to a
temporary file and then rename it.

* libjava/Makefile.am (all_java_source_files): New variable.
(all_java_class_files): Likewise.
.java.class: New rule.
(CLEANFILES): Remove tmp-list.
* libjava/Makefile.in: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53298 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config-ml.in: Allow for PWDCMD to determine ML_POPDIR.
ro [Wed, 8 May 2002 18:26:56 +0000 (18:26 +0000)]
* config-ml.in: Allow for PWDCMD to determine ML_POPDIR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53297 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoAdjust copyright dates
mmitchel [Wed, 8 May 2002 18:26:06 +0000 (18:26 +0000)]
Adjust copyright dates

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53296 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * dwarf2out.c (output_call_frame_info): Don't emit a CIE with no FDEs.
jason [Wed, 8 May 2002 15:33:04 +0000 (15:33 +0000)]
    * dwarf2out.c (output_call_frame_info): Don't emit a CIE with no FDEs.

        * dwarf2out.c (gen_type_die): Abort on broken recursion.

        PR c++/6381
        * dwarf2out.c (rtl_for_decl_location): Only expand INTEGER_CST and
        REAL_CST.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53295 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDo not allow big-endian/little-endian multilibs to override arm/thumb
nickc [Wed, 8 May 2002 15:01:13 +0000 (15:01 +0000)]
Do not allow big-endian/little-endian multilibs to override arm/thumb
multilibs.
Do not build hardware floating point multilibs, nor apcs-26 multilibs for
the Thumb.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53294 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c/6569.
mmitchel [Wed, 8 May 2002 14:37:55 +0000 (14:37 +0000)]
PR c/6569.
* varasm.c (mark_weak): New function.
(merge_weak): Use it.  Do not call declare_weak.
(declare_weak): Use merge_weak.

PR c/6569
* gcc.dg/weak-3.c: Update location of warning messages.
* gcc.dg/weak-5.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53293 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
billingd [Wed, 8 May 2002 12:38:55 +0000 (12:38 +0000)]
2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>

* testsuite/lib/libjava.exp (test_libjava_from_javac):
Append .exe to executable names.  Fix for cygwin.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53291 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoFix merge typos.
hubicka [Wed, 8 May 2002 11:16:37 +0000 (11:16 +0000)]
Fix merge typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53288 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cse.c (dead_libcall_p): Update counts.
hubicka [Wed, 8 May 2002 11:13:54 +0000 (11:13 +0000)]
* cse.c (dead_libcall_p): Update counts.
(delete_trivially_dead_insns): Update call of dead_libcall_p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53287 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cfglayout.c (function_tail_eff_head): Rename to ...
hubicka [Wed, 8 May 2002 09:17:27 +0000 (09:17 +0000)]
* cfglayout.c (function_tail_eff_head): Rename to ...
(function_footer): ... this one.
(unlink_insn_chain): New functions.
(label_for_bb): Only call block_label and emit debug message.
(record_effective_endpoints): Actually unlink the headers and footers.
(fixup_reorder_cahin): Re-insert the unlinked sequences.
(cfg_layout_duplicate_bb): Use duplicate_insn_chain.
* cfglayout.h (struct reorder_block_def): New fields footer/header;
remove eff_head/eff_end.
* rtl.h (set_first_insn): Declare.
* emit-rtl.c (set_first_insn): New function.

* cfglayout.c (fixup_reorder_chain): Dump duplicated
(cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge,
cfg_layout_duplicate_bb): New global function.
(duplicate_insn_chain): New static function.
* cfglayout.h (cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge,
cfg_layout_duplicate_bb): Declare.
(struct reorder_block_def): Add "original" field.
* emit-rtl.c (emit_copy_of_insn_after): New function.
* rtl.h (emit_copy_of_insn_after): Declare.

* cfglayout.c (fixup_fallthru_exit_predecessor): Kill.
(fixup_reorder_chain): properly handle edges to exit block.

Wed May  8 11:10:31 CEST 2002  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
       Jan Hubicka  <jh@suse.cz>

* basic-block.h (note_prediction_to_br_prob): declare.
* c-semantics.c: Inlucde predit.h
(expand_stmt): predict GOTO_STMT as not taken.
* cfgcleanup.c: (delete_unreachable_blocks): Make global.
(cleanup_cfg): Do not free tail_recursion_list.
* cfgrtl.c (can_delete_note_p): Delete NOTE_INSN_PREDICTION.
(flow_delete_block): Kill predictions past end of basic block.
* output.h (delete_unreachable_blocks): Declare.
* predict.c (predicted_by_p, process_note_predictions,
process_note_prediction, last_block_p): New function.
(estimate_probability): Bypass loop on PRED_CONTINUE;
do not handle noreturn heuristics; kill PRED_RETURN; add
PRED_EARLY_RETURN.
* predict.def (PRED_CONTINUE, PRED_EARLY_RETURN, PRED_GOTO,
PRED_CONST_RETURN, PRED_NEGATIVE_RETURN, PRED_NULL_RETURN): New.
* predict.h (IS_TAKEN): New constant.
* print-rtl.c (print_rtx): Pretty print NOTE_INSN_PREDICTION.
* rtl.c (NOTE_INSN_PREDICTION): New.
* rtl.h (NOTE_PREDICTION, NOTE_PREDICTION_ALG, NOTE_PREDICTION_FLAGS):
New macro.
(insn_note): add NOTE_INSN_PREDICTION.
* sibcall.c (optimize_sibling_and_tail_recursive_call): Do not build
CFG; free tail_recursion_label_list.
* stmt.c: Include predict.h;
(return_prediction): New.
(expand_value_return): Use it.
* toplev.c: Lower NOTE_INSN_PREDICTION before sibcall.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53285 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/mips/mips.md: Name the unspecs with define_constant.
rsandifo [Wed, 8 May 2002 08:01:35 +0000 (08:01 +0000)]
* config/mips/mips.md: Name the unspecs with define_constant.
(*HILO_delay): Rename to 'hilo_delay' (no star).
(reload_indi): Replace gen_rtx_UNSPEC with gen_hilo_delay.
(reload_outdi, reload_outsi): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53284 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Wed, 8 May 2002 07:17:04 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53283 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gjavah.c (throwable_p): Use xstrdup, not strdup.
tromey [Wed, 8 May 2002 04:51:50 +0000 (04:51 +0000)]
* gjavah.c (throwable_p): Use xstrdup, not strdup.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53279 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
aoliva [Wed, 8 May 2002 04:38:00 +0000 (04:38 +0000)]
* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
script entry, and set LD to it when configuring multilibs.
* configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53278 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * toplev.c: Fix formatting.
kazu [Wed, 8 May 2002 02:05:00 +0000 (02:05 +0000)]
* toplev.c: Fix formatting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53276 138bc75d-0d04-0410-961f-82ee72b054a4