OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years ago2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 27 Feb 2002 01:01:31 +0000 (01:01 +0000)]
2002-02-26  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
Adjust comment.
* include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
(basic_ios::_M_fill_init): New.
(basic_ios::fill()): Deal with _M_fill lazily.
Adjust comment.
* testsuite/27_io/ios_init.cc (test02): Adjust testcase.

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

22 years ago * config/i386/i386.c (print_operand): Don't append ATT-style
rth [Wed, 27 Feb 2002 00:29:00 +0000 (00:29 +0000)]
    * config/i386/i386.c (print_operand): Don't append ATT-style
        length suffixs to x87 opcodes when in Intel mode.

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

22 years ago * emit-rtl.c (gen_const_vector_0): Remove TYPE argument.
rth [Wed, 27 Feb 2002 00:22:09 +0000 (00:22 +0000)]
    * emit-rtl.c (gen_const_vector_0): Remove TYPE argument.
        (init_emit_once): Update calls.
        * fixinc/gnu-regex.c (_GNU_SOURCE): Remove.
        (init_syntax_once): Prototype.

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

22 years ago * pa-linux.h (LIB_SPEC): Update definition.
danglin [Tue, 26 Feb 2002 23:38:34 +0000 (23:38 +0000)]
* pa-linux.h (LIB_SPEC): Update definition.
* pa32-linux.h (LINK_COMMAND_SPEC): Delete.

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

22 years ago * include/Makefile.am (thread_target_headers): Unconditionally
ljrittle [Tue, 26 Feb 2002 23:02:52 +0000 (23:02 +0000)]
* include/Makefile.am (thread_target_headers): Unconditionally
stage and install gthr-posix.h.
(${target_builddir}/gthr-posix.h): New rule cloned off
${target_builddir}/gthr-default.h.
(${target_builddir}/gthr-default.h): Support chained inclusion
of gthr support headers.
* include/Makefile.in: Rebuilt.

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

22 years ago * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers
rth [Tue, 26 Feb 2002 22:41:48 +0000 (22:41 +0000)]
    * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers
        if we emitted a stop bit.

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

22 years ago * configure.in (libgcc_visibility): Substitute.
jakub [Tue, 26 Feb 2002 21:39:07 +0000 (21:39 +0000)]
* configure.in (libgcc_visibility): Substitute.
* configure: Rebuilt.
* mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global
defined symbols .hidden.

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

22 years ago * attribs.c (c_common_attribute_table): Add visibility.
jakub [Tue, 26 Feb 2002 21:17:22 +0000 (21:17 +0000)]
* attribs.c (c_common_attribute_table): Add visibility.
(handle_visibility_attribute): New function.
* varasm.c (assemble_visibility): New function.
* output.h (assemble_visibility): Add prototype.
* tree.h (MODULE_LOCAL_P): Define.
* crtstuff.c (__dso_handle): Use visibility attribute.
* config/i386/i386.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG
for MODULE_LOCAL_P symbols too.
* config/ia64/ia64.c (ia64_encode_section_info): Handle
MODULE_LOCAL_P symbols the same way as local symbols.
Add SDATA_NAME_FLAG_CHAR even if decl was explicitely forced
into .sdata/.sbss by the user.
* doc/extend.texi (Function Attributes): Document visibility
attribute.

* gcc.dg/ia64-visibility-1.c: New test.

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

22 years ago PR debug/5770
jakub [Tue, 26 Feb 2002 21:08:57 +0000 (21:08 +0000)]
PR debug/5770
* dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for
STRING_CST initializer spanning the whole variable without
embedded zeros.
If expand_expr returned MEM, don't use it.

* g++.dg/debug/debug4.C: New test.

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

22 years ago2002-02-26 Paolo Carlini <pcarlini@unitus.it>
paolo [Tue, 26 Feb 2002 20:56:24 +0000 (20:56 +0000)]
2002-02-26  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/locale_facets.tcc (num_put::_M_widen_int):
Group all the integral types, not only decs.
* testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
tests, add a few more.

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

22 years ago* dwarf2out.c (gen_inlined_subroutine_die): If block is abstract,
aoliva [Tue, 26 Feb 2002 19:05:26 +0000 (19:05 +0000)]
* dwarf2out.c (gen_inlined_subroutine_die): If block is abstract,
generate a die for the lexical block.

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

22 years ago * config/h8300/h8300-protos.h: Add a prototype for
kazu [Tue, 26 Feb 2002 12:50:52 +0000 (12:50 +0000)]
* config/h8300/h8300-protos.h: Add a prototype for
compute_logical_op_length.
* config/h8300/h8300.c (compute_logical_op_length): New.
* config/h8300/h8300.md (anonymous logical patterns): Use
compute_logical_op_length for length.

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

22 years agoDaily bump.
gccadmin [Tue, 26 Feb 2002 08:17:53 +0000 (08:17 +0000)]
Daily bump.

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

22 years ago * update_version: Automatically update version files on all
mmitchel [Tue, 26 Feb 2002 07:13:25 +0000 (07:13 +0000)]
* update_version: Automatically update version files on all
branches.
* crontab: Only invoke update_version once.

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

22 years ago2002-02-26 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 26 Feb 2002 06:58:01 +0000 (06:58 +0000)]
2002-02-26  Aldy Hernandez  <aldyh@redhat.com>

        * dwarf2out.c (modified_type_die): Do not call type_main_variant
        for vectors.
        (gen_type_die): Same.

        * attribs.c (handle_vector_size_attribute): Set debug information.

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

22 years ago2002-02-26 Daniel Egger <degger@fhm.edu>
aldyh [Tue, 26 Feb 2002 06:50:25 +0000 (06:50 +0000)]
2002-02-26  Daniel Egger  <degger@fhm.edu>

        * config/rs6000/rs6000.md: Swap define_insn attributes to
        fix incorrect generation of merge high instructions instead
        of merge low.

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

22 years ago2002-02-26 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 26 Feb 2002 06:22:24 +0000 (06:22 +0000)]
2002-02-26  Aldy Hernandez  <aldyh@redhat.com>

        * c-typeck.c (really_start_incremental_init): Use
        bitsize_zero_node for vectors.

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

22 years ago2002-02-26 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 26 Feb 2002 06:20:48 +0000 (06:20 +0000)]
2002-02-26  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo.
        ("*set_vrsave_internal"): Same.

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

22 years agoDaily bump.
mmitchel [Tue, 26 Feb 2002 06:12:33 +0000 (06:12 +0000)]
Daily bump.

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

22 years agoSet version numbers for mainline
mmitchel [Tue, 26 Feb 2002 05:50:55 +0000 (05:50 +0000)]
Set version numbers for mainline

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

22 years ago * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law
rth [Tue, 26 Feb 2002 05:46:15 +0000 (05:46 +0000)]
    * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law
        in EXPAND_SUM case.  Use host_integerp/tree_low_cst.

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

22 years ago2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 26 Feb 2002 04:55:48 +0000 (04:55 +0000)]
2002-02-25  Benjamin Kosnik  <bkoz@redhat.com>

* src/ios.cc (ios_base::~ios_base): Tweak.
(ios_base::_M_call_callbacks): Deal with null __p.
(ios_base::ios_base): Set _M_callbacks.
* include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
* testsuite/27_io/ios_init.cc (test02): Fix.

* mkcheck.in (static_fail): Failed links go to output file.

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

22 years ago * gcc.c-torture/execute/960416-1.x: New.
kazu [Mon, 25 Feb 2002 23:07:09 +0000 (23:07 +0000)]
* gcc.c-torture/execute/960416-1.x: New.
* gcc.c-torture/execute/divconst-3.x: Likewise.

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

22 years ago PR target/5755
jakub [Mon, 25 Feb 2002 22:49:44 +0000 (22:49 +0000)]
PR target/5755
* config/i386/i386.c (ix86_return_pops_args): Only pop
fake structure return argument if it was passed on the stack.

* gcc.dg/20020224-1.c: New test.

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

22 years ago * attribs.c (decl_attributes): Also re-layout PARM_DECL and
jason [Mon, 25 Feb 2002 22:38:53 +0000 (22:38 +0000)]
    * attribs.c (decl_attributes): Also re-layout PARM_DECL and
        RESULT_DECL.

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

22 years ago* gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to
aoliva [Mon, 25 Feb 2002 13:25:11 +0000 (13:25 +0000)]
* gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to
link with shared_name only.
* doc/invoke.texi (Link Options): Document new behavior.

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

22 years ago * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
bryce [Mon, 25 Feb 2002 09:58:13 +0000 (09:58 +0000)]
* Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
dependency tracking for .java files.
* Makefile.in: Rebuilt.

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

22 years agoDaily bump.
gccadmin [Mon, 25 Feb 2002 08:16:22 +0000 (08:16 +0000)]
Daily bump.

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

22 years ago2002-02-25 Aldy Hernandez <aldyh@redhat.com>
aldyh [Mon, 25 Feb 2002 07:22:37 +0000 (07:22 +0000)]
2002-02-25  Aldy Hernandez  <aldyh@redhat.com>

        * c-typeck.c (push_init_level): Handle vectors.

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

22 years ago2002-02-25 Phil Edwards <pme@gcc.gnu.org>
pme [Mon, 25 Feb 2002 05:24:53 +0000 (05:24 +0000)]
2002-02-25  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/faq/index.html:  Update.
* docs/html/faq/index.txt:  Regenerate.

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

22 years ago2002-02-24 Adam Megacz <adam@xwt.org>
megacz [Mon, 25 Feb 2002 05:21:45 +0000 (05:21 +0000)]
2002-02-24  Adam Megacz  <adam@xwt.org>

        * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
        typo. Sorry.

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

22 years ago* config/sparc/sparc.c (const64_high_operand): Zero-extend
aoliva [Mon, 25 Feb 2002 04:14:45 +0000 (04:14 +0000)]
* config/sparc/sparc.c (const64_high_operand): Zero-extend
operands of SPARC_SETHI_P.
(input_operand): Likewise.
(sparc_emit_set_const32): Likewise.
* config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64.
(SPARC_SETHI32_P): Zero-extend operand from 32 bits.
(CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'.  Add `N' as SETHI.
* config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'.
(movdi_insn_sp64_vis): Likewise.
(movdi split, movdf split): Use SETHI32.
* doc/md.texi: Document SPARC constraints L, M and N.

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

22 years ago2002-02-24 Adam Megacz <adam@xwt.org>
megacz [Mon, 25 Feb 2002 04:10:53 +0000 (04:10 +0000)]
2002-02-24  Adam Megacz  <adam@xwt.org>

* java/net/natPlainDatagramSocketImpl.cc: Updated #includes
for Win32, changed #ifdefs to check WIN32 instead of the
(now-obsolete) USE_WINSOCK, and removed support for socket
timeouts on Win32 pending further discussion.

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

22 years ago2002-02-24 Adam Megacz <adam@xwt.org>
megacz [Mon, 25 Feb 2002 04:04:43 +0000 (04:04 +0000)]
2002-02-24  Adam Megacz  <adam@xwt.org>

        * Makefile.am: Added win32_threads.c to sources list.
        * win32_threads.c: Added two */'s which I had neglected.

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

22 years ago2002-02-25 Aldy Hernandez <aldyh@redhat.com>
aldyh [Mon, 25 Feb 2002 02:30:33 +0000 (02:30 +0000)]
2002-02-25  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.md ("get_vrsave_internal"): New.
        ("*set_vrsave_internal"): use mfspr for Darwin.

        * config/rs6000/rs6000.c (rs6000_emit_prologue): Call
        gen_get_vrsave_internal.

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

22 years ago2002-02-24 Adam Megacz <adam@xwt.org>
megacz [Mon, 25 Feb 2002 02:01:29 +0000 (02:01 +0000)]
2002-02-24  Adam Megacz  <adam@xwt.org>

* win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
* win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
delete

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

22 years ago2002-02-24 Adam Megacz <adam@xwt.org>
megacz [Sun, 24 Feb 2002 23:17:26 +0000 (23:17 +0000)]
2002-02-24  Adam Megacz  <adam@xwt.org>

        * java/lang/Win32Process.java: Created a dummy class to allow
        build process to run to completion.

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

22 years agoNew test.
amodra [Sun, 24 Feb 2002 23:17:23 +0000 (23:17 +0000)]
New test.

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

22 years ago * optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND.
kenner [Sun, 24 Feb 2002 21:43:52 +0000 (21:43 +0000)]
* optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND.

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

22 years ago* test_summary: Additional to XPASS and FAIL, add UNRESOLVED,
aoliva [Sun, 24 Feb 2002 20:45:15 +0000 (20:45 +0000)]
* test_summary: Additional to XPASS and FAIL, add UNRESOLVED,
WARNING and ERROR output from the *.sum files.

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

22 years agojar -C fix
green [Sun, 24 Feb 2002 19:59:46 +0000 (19:59 +0000)]
jar -C fix

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

22 years ago2002-02-24 Craig Rodrigues <rodrigc@gcc.gnu.org>
rodrigc [Sun, 24 Feb 2002 18:57:38 +0000 (18:57 +0000)]
2002-02-24 Craig Rodrigues  <rodrigc@gcc.gnu.org>

        PR c++/4093
        * cp-tree.h (SET_BINFO_MARKED): Cast false part of condition
        to void.

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

22 years ago * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
jsturm [Sun, 24 Feb 2002 17:55:44 +0000 (17:55 +0000)]
    * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
        Define ffi_result union for ffi_call result.  Cast
        ffi_result members to jvalue.

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

22 years ago * include/ffi.h.in: Add typedef for ffi_arg.
jsturm [Sun, 24 Feb 2002 17:31:45 +0000 (17:31 +0000)]
    * include/ffi.h.in: Add typedef for ffi_arg.
        * src/ffitest.c (main): Declare rint with ffi_arg.

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

22 years ago * cpplex.c (cpp_interpret_charconst): Get signedness or
neil [Sun, 24 Feb 2002 12:52:30 +0000 (12:52 +0000)]
* cpplex.c (cpp_interpret_charconst): Get signedness or
otherwise of wide character constants correct.
* cppexp.c (lex): Get signedness of wide charconsts correct.
* testsuite/gcc.dg/cpp/wchar-1.c: New test.

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

22 years ago * optabs.c (widen_operand): Only call convert_modes for
kenner [Sun, 24 Feb 2002 12:46:52 +0000 (12:46 +0000)]
* optabs.c (widen_operand): Only call convert_modes for
promoted SUBREG if signedness matches.
* config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns.

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

22 years agoDaily bump.
gccadmin [Sun, 24 Feb 2002 08:16:22 +0000 (08:16 +0000)]
Daily bump.

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

22 years ago * libjava.lang/InvokeReturn.java: New file.
jsturm [Sun, 24 Feb 2002 06:45:19 +0000 (06:45 +0000)]
* libjava.lang/InvokeReturn.java: New file.
* libjava.lang/InvokeReturn.out: New file.

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

22 years ago * gcc_release: Revert change to -p interface. Allow for local and
jsm28 [Sun, 24 Feb 2002 01:37:10 +0000 (01:37 +0000)]
* gcc_release: Revert change to -p interface.  Allow for local and
remote cases in creating directories.  Give an error if -p
argument names a directory.

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

22 years ago * cpplib.c (glue_header_name): Use local buffer to build up
neil [Sat, 23 Feb 2002 20:21:39 +0000 (20:21 +0000)]
* cpplib.c (glue_header_name): Use local buffer to build up
header name.

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

22 years ago * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM.
neil [Sat, 23 Feb 2002 17:10:34 +0000 (17:10 +0000)]
* doc/cpp.texi, doc/invoke.texi: Update documentation for -MM.

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

22 years ago * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and
kazu [Sat, 23 Feb 2002 14:17:25 +0000 (14:17 +0000)]
* config/h8300/h8300.c (output_simode_bld): Handle H8/300 and
H8/300[HS] separately.
* config/h8300/h8300.md: Remove the early clobber constraint
from bit field patterns.

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

22 years ago * config/h8300/h8300.md (mulqihi3): Tighten predicates to
kazu [Sat, 23 Feb 2002 13:45:36 +0000 (13:45 +0000)]
* config/h8300/h8300.md (mulqihi3): Tighten predicates to
register_operand.
(mulhisi3): Likewise.
(umulqisi3): Likewise.
(umulhisi3): Likewise.

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

22 years ago * cppinit.c (output_deps): Correct test for stdout output.
neil [Sat, 23 Feb 2002 13:42:40 +0000 (13:42 +0000)]
* cppinit.c (output_deps): Correct test for stdout output.
(init_dependency_output): Cure warning.

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

22 years ago * expr.c (store_expr): When converting expression to promoted
kenner [Sat, 23 Feb 2002 13:21:17 +0000 (13:21 +0000)]
* expr.c (store_expr): When converting expression to promoted
equivalent type, allow using SUBREG_REG of TARGET as the target
of the expansion of EXP.
* loop.c (basic_induction_var, case SUBREG): Always look inside.
* config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl.
(alpha_emit_set_const): Handle SImode when can't make new pseudos.
(alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos.
* config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing.

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

22 years ago * doc/contribute.texi, doc/extend.texi, doc/install.texi,
jsm28 [Sat, 23 Feb 2002 12:59:09 +0000 (12:59 +0000)]
* doc/contribute.texi, doc/extend.texi, doc/install.texi,
doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi,
doc/standards.texi, doc/tm.texi: Remove trailing whitespace.

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

22 years ago* Makefile.in (MAKEINFO): Don't assume makeinfo will be built just
aoliva [Sat, 23 Feb 2002 10:06:59 +0000 (10:06 +0000)]
* Makefile.in (MAKEINFO): Don't assume makeinfo will be built just
because its Makefile is there; test for the executable instead.

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

22 years ago PR optimization/5747
jakub [Sat, 23 Feb 2002 08:56:22 +0000 (08:56 +0000)]
PR optimization/5747
* loop.c (scan_loop): Update reg info if move_movables created new
pseudos.

* gcc.dg/20020222-1.c: New test.

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

22 years agoDaily bump.
gccadmin [Sat, 23 Feb 2002 08:16:12 +0000 (08:16 +0000)]
Daily bump.

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

22 years ago * gcc.c (init_gcc_spec): Revert last change.
dje [Sat, 23 Feb 2002 05:59:47 +0000 (05:59 +0000)]
    * gcc.c (init_gcc_spec): Revert last change.

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

22 years ago* Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
aoliva [Sat, 23 Feb 2002 03:15:37 +0000 (03:15 +0000)]
* Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
* testsuite/Makefile.in: Likewise.

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

22 years ago- Add missing mask_operand patch.
dje [Sat, 23 Feb 2002 02:11:07 +0000 (02:11 +0000)]
- Add missing mask_operand patch.

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

22 years ago2002-02-23 David Edelsohn <edelsohn@gnu.org>
dje [Sat, 23 Feb 2002 02:07:21 +0000 (02:07 +0000)]
2002-02-23  David Edelsohn  <edelsohn@gnu.org>

        * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use
        gpc_reg_operand constraint.

2002-02-23  Alan Modra  <amodra@bigpond.net.au>

        * config/rs6000/rs6000.c (num_insns_constant): Fix formatting.
        Simplify comparison of `low'.
        (add_operand): Fix formatting.
        (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P.
        (rs6000_stack_info): Remove redundant test setting push_p.
        (output_toc): Fix formatting.
        * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use
        cc_reg_not_cr0_operand constraint.
        (booldi3, boolcdi3 splitters): Same.

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

22 years ago2002-02-23 Aldy Hernandez <aldyh@redhat.com>
aldyh [Sat, 23 Feb 2002 00:51:51 +0000 (00:51 +0000)]
2002-02-23  Aldy Hernandez  <aldyh@redhat.com>

        * altivec.h: Add extra level of parentheses on casts.

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

22 years ago Fix for PR java/2369:
tromey [Sat, 23 Feb 2002 00:42:13 +0000 (00:42 +0000)]
Fix for PR java/2369:
* jvspec.c (verify_class_name): New function.
(lang_specific_driver): Call it.
(JAVA_START_CHAR_P): New macro.
(JAVA_PART_CHAR_P): Likewise.

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

22 years ago * java/net/URL.java (getPath): New JDK 1.3 method.
bothner [Sat, 23 Feb 2002 00:15:49 +0000 (00:15 +0000)]
* java/net/URL.java (getPath):  New JDK 1.3 method.

* java/net/URLStreamHandler.java (parseURL):
It is wrong to prepend '/' to the file part of a relative url.

* java/net/URLStreamHandler.java (parseURL):
Minor optizations - append '/' rather than "/".

* java/net/URLStreamHandler.java (parseURL):
Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
We probably should canonicalize for a context-relative url, though.
* java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
* java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
(sameFile):  New method.  Uses canonicalizeFilename.

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

22 years ago * gcc.c (init_gcc_spec): Do not link with static libgcc.a if
dje [Sat, 23 Feb 2002 00:00:27 +0000 (00:00 +0000)]
    * gcc.c (init_gcc_spec): Do not link with static libgcc.a if
        gcc invoked with -shared-libgcc.

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

22 years ago * class.c: Change vtable to be more compatible with g++ v3 abi.
bothner [Fri, 22 Feb 2002 23:59:39 +0000 (23:59 +0000)]
*  class.c:  Change vtable to be more compatible with g++ v3 abi.
(get_dispatch_table):  Prepend offset-to-top (always 0) and
type_info pointer (currently unimplemented hence NULL) to vtable.
Specifically, prepend offset-to-top and typeinfo ptr (currently null).
(make_class_data):  Variable dtable_start_offset is sizeof 2 pointers.
Adjust vtable pointers by dtable_start_offse - i.e. skip new words.
(build_dtable_decl):  Add declarations for new fields.

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

22 years ago2002-02-22 Phil Edwards <pme@gcc.gnu.org>
pme [Fri, 22 Feb 2002 23:45:28 +0000 (23:45 +0000)]
2002-02-22  Phil Edwards  <pme@gcc.gnu.org>

* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  Fix comment.
* aclocal.m4:  Regenerate.
* docs/html/configopts.html:  Document --enable-symvers.
* config/linker-map.gnu:  Break libsupc++ symbols out to their own tag.

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

22 years ago * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
tromey [Fri, 22 Feb 2002 23:24:45 +0000 (23:24 +0000)]
* java/lang/natSystem.cc (init_properties): Include the `Inc.' in
java.vendor and java.vm.vendor.
* gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
recent copyright date.
* gnu/gcj/convert/Convert.java (version): Print `Inc'.
* gij.cc (version): Print `Inc'.

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

22 years ago* acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
aoliva [Fri, 22 Feb 2002 21:31:06 +0000 (21:31 +0000)]
* acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
* aclocal.m4, configure: Rebuilt.

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

22 years ago2002-02-22 Philipp Thomas <pthomas@suse.de>
paolo [Fri, 22 Feb 2002 21:23:09 +0000 (21:23 +0000)]
2002-02-22  Philipp Thomas  <pthomas@suse.de>

        * include/backward/tempbuf.h: get_temporary_buffer and
        return_temporary_buffer are in namespace std, not in __gnu_cxx.

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

22 years ago * expr.c (store_expr): When converting expression to promoted
kenner [Fri, 22 Feb 2002 21:18:25 +0000 (21:18 +0000)]
* expr.c (store_expr): When converting expression to promoted
equivalent type, allow using SUBREG_REG of TARGET as the target
of the expansion of EXP.
* loop.c (basic_induction_var, case SUBREG): Always look inside.
* config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl.
(alpha_emit_set_const): Handle SImode when can't make new pseudos.
(alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos.
* config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing.

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

22 years ago PR c++/5748
jakub [Fri, 22 Feb 2002 21:09:09 +0000 (21:09 +0000)]
PR c++/5748
* stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union
decl if any of elements was TREE_USED.

* g++.dg/opt/anonunion1.C: New test.

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

22 years ago* config/sparc/sol2.h: Don't include sys/mman.h.
aoliva [Fri, 22 Feb 2002 18:43:54 +0000 (18:43 +0000)]
* config/sparc/sol2.h: Don't include sys/mman.h.
* config/sparc/sparc.c (arith_operand): Use SMALL_INT32.
(arith_4096_operand): Don't throw high bits away.
(const64_operand): Take sign extension of CONST_INTs into account.
(const64_high_operand, sparc_emit_set_const32): Likewise.
(GEN_HIGHINT64): Likewise.
(sparc_emit_set_const64_quick1): Likewise.
(const64_is_2insns): Likewise.
(print_operand): Use trunc_int_for_mode for sign extension.
* config/sparc/sparc.h (SMALL_INT32): Likewise.
* config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE
chars.  Assume CONST_INT is already properly sign-extended.
(movdi split): Sign-extend each SImode part.
(andsi3 split): Don't mask high bits off, so that result
remains properly sign-extend.
(iorsi3 split): Likewise.
(xorsi3 split): Likewise.

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

22 years ago PR other/5746
jakub [Fri, 22 Feb 2002 17:42:19 +0000 (17:42 +0000)]
PR other/5746
* semantics.c (finish_switch_cond): Don't call get_unwidened
if error_mark_node.

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

22 years agoinclude:
jimb [Fri, 22 Feb 2002 17:01:23 +0000 (17:01 +0000)]
include:
Allow the user to specify functions for allocating memory for
splay tree roots and nodes.
* splay-tree.h (splay_tree_allocate_fn, splay_tree_deallocate_fn):
New types.
(splay_tree): New fields: `allocate', `deallocate', and
`allocate_data'.
(splay_tree_new_with_allocator): New function declaration.

libiberty:
* splay-tree.c (splay_tree_xmalloc_allocate,
splay_tree_xmalloc_deallocate): New functions.
(splay_tree_new): Call splay_tree_new_with_allocator, passing the
above functions and a dummy data pointer.
(splay_tree_new_with_allocator): New function.
(splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
splay_tree_remove): Use the splay tree's allocation and
deallocation functions.

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

22 years ago * parse.y (patch_method_invocation): Set CAN_COMPLETE_NORMALLY on call
bothner [Fri, 22 Feb 2002 13:57:43 +0000 (13:57 +0000)]
* parse.y (patch_method_invocation): Set CAN_COMPLETE_NORMALLY on call
to finit$ (otherwise generate_bytecode_insns drops it). However, we
don't need to set it on the COMPOUND_EXPR - the caller does that.

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

22 years ago * gnu/gcj/protocol/file/Connection.java (conect): Open the input
bothner [Fri, 22 Feb 2002 13:53:23 +0000 (13:53 +0000)]
* gnu/gcj/protocol/file/Connection.java (conect):  Open the input
and/or output streams immediately here, instead of using File.exists.
(inputStream, outputStream):  New fields to save open streams.
(getInputStream, getOutputStream):  Use already-opened streams.

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

22 years ago2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 22 Feb 2002 12:09:56 +0000 (12:09 +0000)]
2002-02-21  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in (target_alias): Default to yes.
* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
libgcc to default case.

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

22 years agocp:
nathan [Fri, 22 Feb 2002 11:57:52 +0000 (11:57 +0000)]
cp:
PR c++/2645, DR 295
* cp-tree.h (tsubst_flags_t): Add tf_ignore_bad_quals,
tf_keep_type_decl.
(make_typename_type): Use tsubst_flags_t.
* decl.c (make_typename_type): Adjust. Return non-artificial
TYPE_DECLs, if required.
(grokdeclarator): Simplify CVR qualification handling. Allow bad
qualifiers on typedef types.
* decl2.c (handle_class_head): Adjust make_typename_type call.
* parse.y (nested_name_specifier): Likewise.
(typename_sub0): Likewise.
(typename_sub1): Likewise.
* pt.c (convert_template_argument): Adjust make_typename_type
return value.
(tsubst): Adjust cp_build_qualified_type_real calls.
(check_cv_quals_for_unify): Cope with alowing bad qualifications
on template type parms.
(instantiate_decl): Recheck substitutions to give warnings on bad
qualifications.
* tree.c (cp_build_qualified_type_real): Use tf_allow_bad_quals.
testsuite:
* g++.dg/template/qualttp19.C: New test.
* g++.dg/template/qualttp20.C: New test.
* g++.old-deja/g++.jason/report.C: Adjust expected errors
* g++.old-deja/g++.other/qual1.C: Likewise.

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

22 years ago * fold-const.c (fold): Fix typo in comments.
rsandifo [Fri, 22 Feb 2002 11:50:47 +0000 (11:50 +0000)]
* fold-const.c (fold): Fix typo in comments.

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

22 years ago2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 22 Feb 2002 11:36:26 +0000 (11:36 +0000)]
2002-02-21  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in (target_alias): Default to yes.
* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
libgcc to default case.

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

22 years agoDaily bump.
gccadmin [Fri, 22 Feb 2002 08:19:09 +0000 (08:19 +0000)]
Daily bump.

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

22 years ago * Makefile.in (langhooks.o): Update dependencies.
dnovillo [Fri, 22 Feb 2002 04:42:38 +0000 (04:42 +0000)]
* Makefile.in (langhooks.o): Update dependencies.

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

22 years ago * langhooks.c: Include flags.h.
dnovillo [Fri, 22 Feb 2002 04:23:21 +0000 (04:23 +0000)]
* langhooks.c: Include flags.h.

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

22 years ago* acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
aoliva [Fri, 22 Feb 2002 03:21:28 +0000 (03:21 +0000)]
* acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
Use it.
* Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
* aclocal.m4, configure, Makefile.in: Rebuilt.

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

22 years ago* configure.in (CXX_FOR_TARGET): Add -shared-libgcc for
aoliva [Fri, 22 Feb 2002 03:21:02 +0000 (03:21 +0000)]
* configure.in (CXX_FOR_TARGET): Add -shared-libgcc for
libstdc++-v3 and libjava.

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

22 years agoFix typo
mmitchel [Fri, 22 Feb 2002 01:54:44 +0000 (01:54 +0000)]
Fix typo

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

22 years ago * gcc_release: Correct handling of diff-generation. Add
mmitchel [Fri, 22 Feb 2002 01:52:35 +0000 (01:52 +0000)]
* gcc_release: Correct handling of diff-generation.  Add
"diffs" major mode.

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

22 years agocl
aldyh [Fri, 22 Feb 2002 00:22:33 +0000 (00:22 +0000)]
cl

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

22 years agoforgot cl
aldyh [Fri, 22 Feb 2002 00:21:35 +0000 (00:21 +0000)]
forgot cl

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

22 years ago2002-02-21 Aldy Hernandez <aldyh@redhat.com>
aldyh [Fri, 22 Feb 2002 00:09:04 +0000 (00:09 +0000)]
2002-02-21  Aldy Hernandez  <aldyh@redhat.com>

        * gcc.dg/attr-alwaysinline.c: New.

        * c-common.c (c_common_post_options): Set inline trees by
        default.

        * doc/extend.texi (Function Attributes): Document always_inline
        attribute.
        Update documentation about inlining when not optimizing.

        * cp/decl.c (duplicate_decls): Merge always_inline attribute.

        * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0
        unless DECL_ALWAYS_INLINE.

        * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0
        unless DECL_ALWAYS_INLINE.
        (c_disregard_inline_limits): Disregard if always_inline set.

        * langhooks.c (lhd_tree_inlining_disregard_inline_limits):
        Disregard if always_inline set.
        (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0
        unless DECL_ALWAYS_INLINE.

        * attribs.c (handle_always_inline_attribute): New.
        (c_common_attribute_table): Add always_inline.

        * config/rs6000/altivec.h: Add prototypes for builtins
        requiring the always_inline attribute.

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

22 years ago2002-02-21 Eric Christopher <echristo@redhat.com>
echristo [Fri, 22 Feb 2002 00:07:06 +0000 (00:07 +0000)]
2002-02-21  Eric Christopher  <echristo@redhat.com>

* expmed.c (store_bit_field): Try to simplify the subreg
before generating a new one when when the mode size of
value is less than maxmode.

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

22 years ago * emit-rtl.c (offset_address): Use simplify_gen_binary rather
rth [Thu, 21 Feb 2002 23:06:16 +0000 (23:06 +0000)]
    * emit-rtl.c (offset_address): Use simplify_gen_binary rather
        than gen_rtx_PLUS to form the sum.
        * explow.c (force_reg): Rearrange to not allocate new pseudo
        when force_operand returns a register.
        * expr.c (expand_assignment): Allow offset_rtx expansion to
        return a sum.  Do not force addresses into registers.
        (expand_expr): Likewise.
        * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus
        to canonicalize arithmetic that didn't simpify.
        (simplify_plus_minus): New argument force; update
        all callers.  Don't split CONST unless we can do something with it,
        and wouldn't lose the constness of the operands.

        * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs
        that we generated earlier.

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

22 years ago * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
tromey [Thu, 21 Feb 2002 23:03:14 +0000 (23:03 +0000)]
* dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
(output_line_info): Use constant `1', with a long explanatory
comment.
* system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison.

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

22 years ago * jump.c (redirect_jump): If old label has no UID, don't try to
amylaar [Thu, 21 Feb 2002 22:48:02 +0000 (22:48 +0000)]
* jump.c (redirect_jump): If old label has no UID, don't try to
delete it.

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

22 years ago * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG.
amylaar [Thu, 21 Feb 2002 21:29:28 +0000 (21:29 +0000)]
* sh.md (insv): Provide byte offsets for gen_rtx_SUBREG.
If input is constant, do shifts at compile time.

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

22 years ago * doc/extend.texi: Fix some more overfull hboxes.
jsm28 [Thu, 21 Feb 2002 21:22:09 +0000 (21:22 +0000)]
* doc/extend.texi: Fix some more overfull hboxes.

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

22 years ago PR optimization/4994
jakub [Thu, 21 Feb 2002 21:16:22 +0000 (21:16 +0000)]
PR optimization/4994
* config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX
register moves.

* g++.dg/opt/mmx1.C: New test.

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