OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years ago * lib/scanasm.exp (scan-assembler): Use upvar, not uplevel.
jason [Thu, 16 May 2002 05:10:10 +0000 (05:10 +0000)]
    * lib/scanasm.exp (scan-assembler): Use upvar, not uplevel.
        (scan-assembler-not, scan-assembler-dem): Likewise.
        (scan-assembler-dem-not): Likewise.

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

22 years ago * cp/rtti.c (get_tinfo_decl): Don't call comdat_linkage.
jason [Thu, 16 May 2002 04:48:52 +0000 (04:48 +0000)]
    * cp/rtti.c (get_tinfo_decl): Don't call comdat_linkage.
        Do set DECL_COMDAT.
        (synthesize_tinfo_var): Take the public decl.
        (create_real_tinfo_var): Likewise.  Check DECL_COMDAT.
        (emit_tinfo_decl): Adjust.  Call import_export_decl.
        * cp/decl2.c (import_export_decl): Simplify tinfo decl handling.
        * config/mips/mips.c (mips_output_external): Don't do sdata
        optimization for a variable with DECL_COMDAT set.

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

22 years agoThis file needs resurrecting
korbb [Thu, 16 May 2002 03:59:42 +0000 (03:59 +0000)]
This file needs resurrecting

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

22 years ago2002-05-15 Aldy Hernandez <aldyh@redhat.com>
aldyh [Thu, 16 May 2002 01:12:42 +0000 (01:12 +0000)]
2002-05-15  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/altivec.h: Cleanups for tighter typechecking.
        Cleanups for accepting modifiers on pointers.
        Fix predicate typos.
        Allow long pointers as well as int pointers.

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

22 years ago * varasm.c (merge_weak): Remove special case for extern and common.
rth [Thu, 16 May 2002 00:14:24 +0000 (00:14 +0000)]
    * varasm.c (merge_weak): Remove special case for extern and common.

        * gcc.dg/weak-5.c (vfoo1c, vfoo1g): Warn here.

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

22 years ago2002-05-15 Matt Hiller <hiller@redhat.com>
hiller [Thu, 16 May 2002 00:11:32 +0000 (00:11 +0000)]
2002-05-15  Matt Hiller  <hiller@redhat.com>

* testsuite/gcc.c-torture/compile/20000804-1.x: Don't return 1 if
        XFAILing.
* testsuite/gcc.c-torture/compile/20001226-1.x: Ditto.
* testsuite/gcc.c-torture/compile/920520-1.x: Ditto.
* testsuite/gcc.c-torture/compile/mipscop-1.x: XFAIL for now.
* testsuite/gcc.c-torture/compile/mipscop-2.x: Ditto.
* testsuite/gcc.c-torture/compile/mipscop-3.x: Ditto.
* testsuite/gcc.c-torture/compile/mipscop-4.x: Ditto.

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

22 years ago2002-05-15 Aldy Hernandez <aldyh@redhat.com>
aldyh [Thu, 16 May 2002 00:06:39 +0000 (00:06 +0000)]
2002-05-15  Aldy Hernandez  <aldyh@redhat.com>

        * reload1.c (forget_old_reloads_1): Do not use subreg offset.

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

22 years ago2002-05-15 Aldy Hernandez <aldyh@redhat.com>
aldyh [Wed, 15 May 2002 23:45:52 +0000 (23:45 +0000)]
2002-05-15  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.md ("altivec_mtvscr"): Set VSCR register.
        ("altivec_mfvscr"): Read from VSCR.

        Add vscr sets for the following insns: altivec_vctuxs,
        altivec_vaddubs, altivec_vaddsbs, altivec_vadduhs,
        altivec_vaddshs, altivec_vadduws, altivec_vaddsws, altivec_vctsxs,
        altivec_vmhaddshs, altivec_vmhraddshs, altivec_vmsumuhs,
        altivec_vmsumshs, altivec_vpkuhss, altivec_vpkshss,
        altivec_vpkuwss, altivec_vpkswss, altivec_vpkuhus,
        altivec_vpkshus, altivec_vpkuwus, altivec_vpkswus,
        altivec_vsububs, altivec_vsubsbs, altivec_vsubuhs,
        altivec_vsubshs, altivec_vsubuws, altivec_vsubsws,
        altivec_vsum4ubs, altivec_vsum4sbs, altivec_vsum4shs,
        altivec_vsum2sws, altivec_vsumsws.

        * config/rs6000/rs6000.h: Add VSCR fixed register.
        (CALL_REALLY_USED_REGISTERS): Add vscr.
        (CALL_USED_REGISTERS): Same.
        (FIXED_REGISTERS): Same.
        (REG_ALLOC_ORDER): Same.
        (reg_class): Add VSCR_REGS.
        (REG_CLASS_NAMES): Same.
        (REG_CLASS_CONTENTS): Same.
        (VSCR_REGNO): New.
        (REGISTER_NAMES): Add vscr.
        (DEBUG_REGISTER_NAMES): Same.
        (ADDITIONAL_REGISTER_NAMES): Same.
        (FIRST_PSEUDO_REGISTER): Increment.
        (CONDITIONAL_REGISTER_USAGE): Set VSCR as a global register.

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

22 years ago libstdc++/6641
ljrittle [Wed, 15 May 2002 22:32:25 +0000 (22:32 +0000)]
libstdc++/6641
* include/bits/c++config (__USE_MALLOC): Report case where
the user improperly defined it on the command line.

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

22 years ago2002-05-15 Jakub Jelinek <jakub@redhat.com>
rth [Wed, 15 May 2002 20:39:55 +0000 (20:39 +0000)]
2002-05-15  Jakub Jelinek  <jakub@redhat.com>

        * fold-const.c (fold): Fix a typo.

2002-05-15  Eric Botcazou  <ebotcazou@multimania.com>

        * fold-const.c (fold) [LT_EXPR]: Move the transformation of a
        comparison against the highest or lowest integer value before
        the 'X >= CST to X > (CST - 1)' and 'X < CST to X <= (CST - 1)'
        transformation and that of an unsigned comparison against 0
        right after.

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

22 years ago * varasm.c (merge_weak): Error for any weakening after definition.
rth [Wed, 15 May 2002 16:50:44 +0000 (16:50 +0000)]
    * varasm.c (merge_weak): Error for any weakening after definition.
        Adjust weakening after use warning to catch more cases.
        (assemble_alias): Set TREE_USED and TREE_ASM_WRITTEN consistently.
        * config/alpha/alpha.c (alpha_encode_section_info): Do not abort.

        * gcc.dg/weak-5.c (vfoo1c): No warning here.
        (vfoo1f): Warning here.
        (vfoo1l): Don't redefine the alias.

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

22 years ago * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
ro [Wed, 15 May 2002 15:57:05 +0000 (15:57 +0000)]
* testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
Retrieve current limits before setting.

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

22 years ago2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 15 May 2002 14:38:30 +0000 (14:38 +0000)]
2002-05-15  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/6518
* include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
for null case.
(ostream::operator<<(const _CharT*)): Same.
(ostream<char>::operator<<(const char*)): Same.
* testsuite/27_io/ostream_inserter_char.cc (test07): Add test.

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

22 years ago2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 15 May 2002 13:15:17 +0000 (13:15 +0000)]
2002-05-15  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/6594
* src/strstream.cc (strstreambuf): Fix leak.

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

22 years ago2002-05-15 Paolo Carlini <pcarlini@unitus.it>
paolo [Wed, 15 May 2002 10:27:29 +0000 (10:27 +0000)]
2002-05-15  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/6648
* include/bits/istream.tcc (istream::getline, ignore):
Upon __idelim (__delim) call sbumpc() not snextc().
* testsuite/27_io/narrow_stream_objects.cc:
Add test08 and test09.

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

22 years ago * invoke.texi (-malign-double): Re-add lost warning.
hubicka [Wed, 15 May 2002 09:00:30 +0000 (09:00 +0000)]
* invoke.texi (-malign-double): Re-add lost warning.

* i386-protos.h (x86_output_mi_thunk): Declare.
* unix.h (ASM_OUTPUT_MI_THUNK): Move offline to ...
* i386.c (x86_output_mi_thunk): ... here; handle 64bits.

* dwarf2out.c (output_call_frame_info): Do not skip unwind info
when flag_asynchronous_unwind_tables is set.

* flags.h (flag_reorder_functions): Declare.
* function.c (prepare_function_start): Initialize frequnecy.
* params.def (HOT_BB_COUNT_FRACTION, HOT_BB_FREQUENCY_FRACTION): New paramters.
* Makefile.in (predict.o): Add dependency on target.h and params.h
* defaults.h (HOT_TEXT_SECTION_NAME,
UNLIKELY_EXECUTED_TEXT_SECTION_NAME): New macros.
* predict.c (choose_function_section): New function.
(estimate_bb_frequencies): Use it.
* toplev.c (flag_reorder_functions): New global variable.
(lang_independent_options): New.
(parse_options_and_default_flags): Set.
* varasm.c (assemble_start_function): Bypass functdion alignment
for never executed functions.
* invoke.texi (-freorder-blocks, -freorder-functions): Document.
(param hot-bb-count-fraction, hot-bb-frequency-fraction): New.
* tm.texi (HOT_TEXT_SECTION_NAME, UNLIKELY_EXECUTED_TEXT_SECTION_NAME):
Document.

Thu Jan  3 21:52:09 CET 2002  Jan Hubicka  <jh@suse.cz>

* predict.c: Inlude profile.h
(MIN_COUNT): Rename to MIN_COUNT_FRACTION
(maybe_hot_bb_p, probably_cold_bb_p, probably_never_executed_bb_p):
Use the information about maximal counter in the program.

Thu Dec 20 22:14:00 CET 2001  Jan Hubicka  <jh@suse.cz>

* basic-block.h (maybe_hot_bb_p, probably_cold_bb_p,
probably_never_executed_bb_p): New functions.
* cfgcleanup.c (outgoing_edges_match): Use them.
* predict.c (MIN_COUNT, MIN_FREQUENCY): New macros.
(maybe_hot_bb_p, probably_cold_bb_p,
probably_never_executed_bb_p): New functions.

* function.h (function): Add new field function_frequency.
* predict.c (compute_function_frequency): New function.
(estimate_probability): Call it.

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

22 years ago2002-03-09 Jakub Jelinek <jakub@redhat.com>
davem [Wed, 15 May 2002 07:46:09 +0000 (07:46 +0000)]
2002-03-09  Jakub Jelinek  <jakub@redhat.com>

PR optimization/5172, optimization/5200
* gcse.c (gcse_main): Disable store_motion.

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

22 years agoDaily bump.
gccadmin [Wed, 15 May 2002 07:18:42 +0000 (07:18 +0000)]
Daily bump.

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

22 years agoDaily bump.
gccadmin [Wed, 15 May 2002 07:18:39 +0000 (07:18 +0000)]
Daily bump.

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

22 years ago * c-parse.in (MODIFIED_WCHAR_TYPE): New macro.
zack [Wed, 15 May 2002 05:30:01 +0000 (05:30 +0000)]
* c-parse.in (MODIFIED_WCHAR_TYPE): New macro.
(c_common_nodes_and_builtins): Use it.
(builtin_define_with_value): New function.
(cb_register_builtins): Define __SIZE_TYPE__,
__PTRDIFF_TYPE__, __WCHAR_TYPE__, and __WINT_TYPE__ here,
using builtin_define_with_value.  Use consistent notation when
defining __GXX_WEAK__.
(WCHAR_TYPE_SIZE): Don't redefine.
(combine_strings): Don't use WCHAR_TYPE_SIZE.

* cppdefault.h: Don't provide defaults for SIZE_TYPE,
PTRDIFF_TYPE, WCHAR_TYPE, or WINT_TYPE.
* cppinit.c (builtin_array): Remove entries for __SIZE_TYPE__ etc.
* tradcpp.c (initialize_builtins): Likewise.
* gcc.c (cpp_unique_options): Don't muck with __WCHAR_TYPE__.

* c-lex.h (builtin_define_with_value): Prototype.
* system.h: Poison NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_WCHAR_TYPE,
NO_BUILTIN_PTRDIFF_TYPE, and NO_BUILTIN_WINT_TYPE.
* doc/tm.texi: Remove mention of NO_BUILTIN_SIZE_TYPE etc.

* config/avr/avr.h, config/h8300/h8300.h, config/i386/i386.h,
config/ia64/ia64.h, config/mips/dec-osf1.h, config/mips/iris6.h,
config/mips/linux.h, config/mips/mips.h, config/mips/netbsd.h,
config/mips/osfrose.h, config/mips/sni-svr4.h, config/rs6000/aix51.h,
config/s390/linux.h, config/sh/sh.h, config/sh/sh64.h,
config/sparc/linux64.h, config/sparc/netbsd-elf.h,
config/sparc/sol2-bi.h, config/sparc/sparc.h:
Do not define NO_BUILTIN_SIZE_TYPE etc.  Remove all references
to __SIZE_TYPE__ etc from all spec strings. When this makes
extra specs empty, delete them.

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

22 years ago * pa.c (override_options): Override TARGET_JUMP_IN_DELAY when scheduling
danglin [Wed, 15 May 2002 03:02:23 +0000 (03:02 +0000)]
* pa.c (override_options): Override TARGET_JUMP_IN_DELAY when scheduling
for PA8000 or generating dwarf2 call frame information.
(output_call): Remove DO_FRAME_NOTES check from return pointer
optimization.
(following_call): Return 0 when scheduling for PA8000 or generating
dwarf2 call frame information.  Revise comment.

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

22 years agoconfig/alpha:
neil [Tue, 14 May 2002 20:24:19 +0000 (20:24 +0000)]
config/alpha:
* alpha.h (TARGET_CPU_CPP_BUILTINS): Define __IEEE_FP
and __IEEE_FP_INEXACT as appropriate.
(CPLUSPLUS_CPP_SPEC): Don't define __cplusplus.
(CPP_SPEC): Remove ieee defines.
* freebsd.h, netbsd.h: Remove ieee defines.

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

22 years ago * config/i386/i386.c (ix86_save_reg): Make regno unsigned.
rth [Tue, 14 May 2002 18:17:56 +0000 (18:17 +0000)]
    * config/i386/i386.c (ix86_save_reg): Make regno unsigned.
        (ix86_safe_length, ix86_safe_length_prefix, ix86_safe_memory): Kill.

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

22 years agoconfig:
neil [Tue, 14 May 2002 17:35:50 +0000 (17:35 +0000)]
config:
* arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define.
(CPP_SPEC): Update.
(CPP_APCS_PC_SPEC, CPP_APCS_PC_DEFAULT_SPEC,
CPP_FLOAT_SPEC, CPP_FLOAT_DEFAULT_SPEC, CPP_ENDIAN_SPEC,
CPP_ENDIAN_DEFAULT_SPEC, CPP_INTERWORK_DEFAULT_SPEC,
CPP_INTERWORK_SPEC, CPP_PREDEFINES): Remove.
(EXTRA_SPECS): Update.
* arm/conix-elf.h, arm/linux-elf.h, arm/netbsd.h, arm/riscix.h,
arm/riscix1-1.h, arm/rtems-elf.h, arm/semiaof.h, arm/unknown-elf.h,
arm/unknown-elf-oabi.h, arm/vxarm.h: Remove CPP_PREDEFINES and
define TARGET_OS_CPP_BUILTINS if necessary.

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

22 years ago* g++.dg/init/pm1.C: New test.
aoliva [Tue, 14 May 2002 17:21:21 +0000 (17:21 +0000)]
* g++.dg/init/pm1.C: New test.

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

22 years ago* cp-tree.h (struct lang_type): Added non_zero_init.
aoliva [Tue, 14 May 2002 17:20:47 +0000 (17:20 +0000)]
* cp-tree.h (struct lang_type): Added non_zero_init.
(CLASS_NON_ZERO_INIT_P): New macro.
(zero_init_p, force_store_init_value, build_forced_zero_init): Declare.
* class.c (check_field_decls): Test non_zero_init.
* cvt.c (convert_to_pointer_force): Use cp_convert_to_pointer for
zero-to-NULL conversions.
* decl.c (obscure_complex_init): Don't reset DECL_INITIAL of a
type that needs zero-initialization without zeros.
(check_initializer_decl): Compute zero-initializer for types
that require a non-trivial one.
* init.c (build_forced_zero_init): New function.
(build_default_init): Use it.
* tree.c (zero_init_p): New function.
* typeck2.c (force_store_init_value): New function.
(process_init_constructor): Create non-trivial zero-initializers
for array members and class fields.

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

22 years ago * gcc.c (cpp_options): Must pass -m* and -f* options
neil [Tue, 14 May 2002 17:12:16 +0000 (17:12 +0000)]
* gcc.c (cpp_options): Must pass -m* and -f* options
to the front end even when only preprocessing.
(cc1_options): Remove redundant -lang-c.
* tradcpp.c (main): Ignore -m options.
cp:
* lang-specs.h: Remove redundant -lang-c++.
objc:
* lang-specs.h: Similarly.

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

22 years ago2002-05-14 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Tue, 14 May 2002 16:16:18 +0000 (16:16 +0000)]
2002-05-14  Vladimir Makarov  <vmakarov@redhat.com>

* genautomata.c (transform_3): Add code for transformation
`(A,B,...)+C -> A+C,B,...'.

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

22 years ago * Make-lang.in (gnat1$(exeext), gnatbind$(exeext), gnattools):
ro [Tue, 14 May 2002 15:25:30 +0000 (15:25 +0000)]
* Make-lang.in (gnat1$(exeext), gnatbind$(exeext), gnattools):
Restore $(CONFIG_H) and prefix.o dependencies.
(ada.stage[1-4]): Depend on stage?-start.

* Makefile.in (b_gnatb.c): Depend on interfac.o.

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

22 years agorevert last checkin
jason [Tue, 14 May 2002 14:14:43 +0000 (14:14 +0000)]
revert last checkin

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

22 years ago * final.c (end_final): Do not output profile_arcs constructor, when
hubicka [Tue, 14 May 2002 10:49:21 +0000 (10:49 +0000)]
* final.c (end_final): Do not output profile_arcs constructor, when
no functions are instrumented.

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

22 years ago * i386.md (testsi to testqi_zext_1 splitter): Fix typo.
hubicka [Tue, 14 May 2002 10:46:27 +0000 (10:46 +0000)]
* i386.md (testsi to testqi_zext_1 splitter): Fix typo.

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

22 years ago * doc/install.texi: Remove special markup originally required for
gerald [Tue, 14 May 2002 10:38:46 +0000 (10:38 +0000)]
* doc/install.texi: Remove special markup originally required for
HTML generation with texi2html.

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

22 years ago * doc/install.texi (Specific, *-*-solaris2*): Update passus on
gerald [Tue, 14 May 2002 09:14:50 +0000 (09:14 +0000)]
* doc/install.texi (Specific, *-*-solaris2*): Update passus on
setting CONFIG_SHELL to /bin/ksh and remove alternate trick to
(possibly) work around broken /bin/sh.

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

22 years agoFix typo in last change.
schwab [Tue, 14 May 2002 08:41:39 +0000 (08:41 +0000)]
Fix typo in last change.

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

22 years ago * config/ia64/sysv4.h (DO_SELECT_SECTION): Factored out of
schwab [Tue, 14 May 2002 08:39:27 +0000 (08:39 +0000)]
* config/ia64/sysv4.h (DO_SELECT_SECTION): Factored out of
SELECT_SECTION.
(UNIQUE_SECTION): Define to get small data correctly.

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

22 years ago * varasm.c (resolve_unique_section): Add third parameter
schwab [Tue, 14 May 2002 08:35:59 +0000 (08:35 +0000)]
* varasm.c (resolve_unique_section): Add third parameter
flag_function_or_data_sections and use it instead of
flag_function_sections.
(assemble_start_function): Pass flag_function_sections.
(asm_emit_uninitialised): Pass flag_data_sections.
(assemble_variable): Likewise.

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

22 years ago * config/i386/i386.md: Use define_constants for unspec numbers.
rth [Tue, 14 May 2002 07:43:37 +0000 (07:43 +0000)]
    * config/i386/i386.md: Use define_constants for unspec numbers.
        * config/i386/i386.c: Likewise.

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

22 years agoDaily bump.
gccadmin [Tue, 14 May 2002 07:17:42 +0000 (07:17 +0000)]
Daily bump.

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

22 years ago * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
tromey [Tue, 14 May 2002 05:29:30 +0000 (05:29 +0000)]
* java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
* java/util/natTimeZone.cc: Include sys/time.h and time.h here.
Include platform.h.

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

22 years ago * flow.c (invalidate_mems_from_autoinc): Rewrite to use for_each_rtx.
law [Tue, 14 May 2002 04:15:57 +0000 (04:15 +0000)]
    * flow.c (invalidate_mems_from_autoinc): Rewrite to use for_each_rtx.
        Update prototype and callers.
        (propagate_one_insn): Stack pointer adjustments kill MEMs on
        the mem_set_list which reference the stack pointer, as do
        calls to constant functions as they may clobber outgoing
        argument space.

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

22 years ago * fixinc/inclhack.def (winidss_valist): Limit applicability.
mmitchel [Tue, 14 May 2002 00:33:14 +0000 (00:33 +0000)]
* fixinc/inclhack.def (winidss_valist): Limit applicability.
* fixinc/fixincl.x: Regenerated.
* fixinc/tests/base/math.h: Update.
* fixinc/tests/base/testing.h: Likewise.

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

22 years ago * genattr.c (gen_attr): Don't emit a comma after the last
zack [Tue, 14 May 2002 00:15:51 +0000 (00:15 +0000)]
* genattr.c (gen_attr): Don't emit a comma after the last
enumerator.

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

22 years ago * jcf-write.c (write_classfile): Unlink the temporary file if it
mmitchel [Tue, 14 May 2002 00:04:54 +0000 (00:04 +0000)]
* jcf-write.c (write_classfile): Unlink the temporary file if it
cannot be renamed.  Use concat to build up the name of the
temporary file

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

22 years ago * cfgrtl.c (purge_dead_edges): Handle abnormal call edges created
rth [Mon, 13 May 2002 23:00:35 +0000 (23:00 +0000)]
    * cfgrtl.c (purge_dead_edges): Handle abnormal call edges created
        by non-local gotos.
        * recog.c (peephole2_optimize): Likewise.

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

22 years ago * doc/contrib.texi: Update my entry.
neil [Mon, 13 May 2002 22:04:30 +0000 (22:04 +0000)]
* doc/contrib.texi: Update my entry.
* wwwdocs/htdocs/bugs.html: Update.

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

22 years ago* configure.in: simplify makefile fragment collection.
dj [Mon, 13 May 2002 21:18:59 +0000 (21:18 +0000)]
* configure.in: simplify makefile fragment collection.

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

22 years ago* configure.in: remove code to build emacs.
dj [Mon, 13 May 2002 21:16:48 +0000 (21:16 +0000)]
* configure.in: remove code to build emacs.

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

22 years ago* mh-apollo68: remove unused HDEFINES setting.
dj [Mon, 13 May 2002 21:14:13 +0000 (21:14 +0000)]
* mh-apollo68: remove unused HDEFINES setting.
* mh-dgux: remove unused HDEFINES setting.
* mh-dgux386: remove unused HDEFINES setting, duplicate RANLIB=true

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

22 years ago* configure.in : Remove --srcdir argument from targargs and buildargs
dj [Mon, 13 May 2002 21:11:55 +0000 (21:11 +0000)]
* configure.in : Remove --srcdir argument from targargs and buildargs
(it's always overridden in the Makefile anyway).  Rearrange a bit.

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

22 years ago* configure: move some logic to configure.in
dj [Mon, 13 May 2002 20:55:30 +0000 (20:55 +0000)]
* configure: move some logic to configure.in
* configure.in: move some logic from configure

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

22 years ago * cppfiles.c (open_file): Change mode (DJGPP only) of redirected
neil [Mon, 13 May 2002 20:28:28 +0000 (20:28 +0000)]
* cppfiles.c (open_file): Change mode (DJGPP only) of redirected
input to O_BINARY.

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

22 years ago2002-05-13 Andreas Tobler <a.tobler@schweiz.ch>
dje [Mon, 13 May 2002 20:19:10 +0000 (20:19 +0000)]
2002-05-13  Andreas Tobler  <a.tobler@schweiz.ch>

        * src/powerpc/ffi_darwin.c (ffi_prep_closure): Declare fd at
        beginning of function (for older apple cc).

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

22 years ago Fixes PR libgcj/6389:
tromey [Mon, 13 May 2002 20:10:37 +0000 (20:10 +0000)]
Fixes PR libgcj/6389:
* Makefile.in: Rebuilt.
* Makefile.am (nat_source_files): Added natTimeZone.cc.
* java/util/natTimeZone.cc: New file.
* java/util/TimeZone.java (getDefaultTimeZoneId): New method.
* java/lang/System.java: Merged with Classpath.
* java/lang/Runtime.java: Merged with Classpath.
* java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
security check.
(setIn0): Renamed from setIn; don't run security check.
(setOut0): Renamed from setOut; don't run security check.
(file_encoding, getpwuid_adaptor, getSystemTimeZone,
init_properties): Moved to natRuntime.cc.
Moved many includes to natRuntime.cc.
(isWordsBigEndian): New method.
* java/lang/natRuntime.cc: Include Long.h, also other includes
previously in natSystem.cc.
(maxMemory): New function.
(exitInternal): Renamed from `_exit'.
(exit): Removed.
(init): Don't set finalize_on_exit.
(exitInternal): Use `finalizeOnExit'.
(file_encoding, getpwuid_adaptor): New functions from
natSystem.cc.
(insertSystemProperties): New method, renamed from
System::init_properties.  Don't set user.timezone.
(_load): Don't call checkLink.
(execInternal): New method.
(availableProcessors): Likewise.
(nativeGetLibname): Likewise.

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

22 years ago * i386.c (ia32_multipass_dfa_lookahead): Prototype.
law [Mon, 13 May 2002 20:03:26 +0000 (20:03 +0000)]
    * i386.c (ia32_multipass_dfa_lookahead): Prototype.

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

22 years ago * i386.c (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
law [Mon, 13 May 2002 19:54:24 +0000 (19:54 +0000)]
    * i386.c (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
        (ia32_multipass_dfa_lookahead): New function.

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

22 years ago * config.table: Use mh-x86pic also for x86-64.
schwab [Mon, 13 May 2002 19:13:44 +0000 (19:13 +0000)]
* config.table: Use mh-x86pic also for x86-64.

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

22 years ago * gcc.c (SWITCH_TAKES_ARG): Remove 'V'.
neil [Mon, 13 May 2002 19:10:16 +0000 (19:10 +0000)]
* gcc.c (SWITCH_TAKES_ARG): Remove 'V'.
(translate_options): Remove 'V'.
(process_command): Similarly.
doc:
* invoke.texi: Remove documentation of 'V'.

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

22 years ago2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 13 May 2002 14:24:34 +0000 (14:24 +0000)]
2002-05-13  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/22_locale/ctype_scan_char.cc: Tweak.
* testsuite/22_locale/ctype_scan_wchar_t.cc: New.

* docs/html/install.html: Fix.

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

22 years ago2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 13 May 2002 13:58:00 +0000 (13:58 +0000)]
2002-05-13  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/fstream.tcc
(basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
try/catch blocks.
* src/localename.cc (locale::_Impl::_M_install_facet): Same.

* docs/html/install.html: Tweak, add bits about required locales
for the 22_locale tests when using the gnu model.

* testsuite/27_io/istream_sentry.cc: Tweak.

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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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