OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years ago * config/os/bsd/freebsd/ctype_inline.h: Support _M_table
ljrittle [Tue, 11 Mar 2003 07:07:25 +0000 (07:07 +0000)]
* config/os/bsd/freebsd/ctype_inline.h:  Support _M_table
when so installed.
* testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.

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

21 years ago * Makefile.in: Update.
neil [Tue, 11 Mar 2003 06:42:21 +0000 (06:42 +0000)]
* Makefile.in: Update.
* c-common.c: Don't include real.h or except.h.
(REGISTER_PREFIX): Remove.
(builtin_define_std, builtin_define_with_value,
builtin_define_with_int_value, builtin_define_with_hex_fp_value,
builtin_define_type_max, builtin_define_type_precision,
builtin_define_float_constants): Move to c-cppbuiltin.c.
(c_stddef_cpp_builtins): New.
* c-common.h (builtin_define_with_value, c_stddef_cpp_builtins): New.
* c-cppbuiltin.c: New, extracted from c-common.c.
(define__GNUC__): New.
* cppspec.c (lang_specific_driver): Remove support of -no-gcc.
* gcc.c: Remove support of %v1, %v2 and %v3 specs.
(cpp_unique_options): Don't support no-gcc.
(do_spec_1): Remove support of version specs.
* doc/invoke.texi: Remove documentation of %v1, %v2 and %v3.
* doc/passes.texi: Update.
* doc/tm.texi: Update.
cp:
* Make-lang.in (CXX_C_OBJS): Update.
* lang-specs.h: Don't define __GNUG__ here.

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

21 years ago * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
ljrittle [Tue, 11 Mar 2003 05:32:56 +0000 (05:32 +0000)]
* testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
report lack of setenv().

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

21 years ago * g++.old-deja/g++.benjamin/16077.C: Adjust warnings.
mmitchel [Tue, 11 Mar 2003 02:37:17 +0000 (02:37 +0000)]
* g++.old-deja/g++.benjamin/16077.C: Adjust warnings.
* g++.old-deja/g++.warn/impint2.C: Likewise.

* call.c (perform_overload_resolution): New function.
(build_new_function_call): Use it.
(build_operator_new_call): Likewise.
(add_candidates): Add explicit_targs and template_only parameters.
(build_new_op): Adjust accordingly.
* cp-tree.h (build_operator_new_call): New function.
(build_function_call_real): Remove.
(build_function_call_maybe): Likewise.
* init.c (build_new_1): Use build_operator_new_call.
* typeck.c (build_function_call_real): Rename to ...
(build_function_call): ... this.

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

21 years ago * dwarf2out.c (multiple_reg_loc_descriptor): Fix thinko.
aldyh [Tue, 11 Mar 2003 02:01:41 +0000 (02:01 +0000)]
    * dwarf2out.c (multiple_reg_loc_descriptor): Fix thinko.

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

21 years ago2003-03-10 Andrew Pinski <apinski@apple.com>
geoffk [Tue, 11 Mar 2003 01:41:11 +0000 (01:41 +0000)]
2003-03-10  Andrew Pinski  <apinski@apple.com>

* config/darwin.c (machopic_function_base_name): If dynamic-no-pic
is on should not get here.
(machopic_indirect_data_reference): If dynamic-no-pic is on just
generate high/low parts of the address.
(machopic_legitimize_pic_address): Change MACHOPIC_PURE to
MACHOPIC_INDIRECT. Dynamic-no-pic uses 0 as the pic base. Generate
symbol and labels with a new reg.  Dynamic-no-pic does not have a
pic_offset_table_rtx.
(machopic_select_section): Change references of flag_pic to
MACHOPIC_INDIRECT.
(machopic_asm_out_destructor): Likewise.
* config/darwin.h (ASM_DECLARE_UNRESOLVED_REFERENCE): Change
reference of flag_pic to MACHOPIC_INDIRECT.
(MACHO_DYNAMIC_NO_PIC_P): Define as TARGET_DYNAMIC_NO_PIC.
(MACHOPIC_INDIRECT): Is also true when dynamic-no-pic is on.
(MACHOPIC_JUST_INDIRECT): Is also true when dynamic-no-pic is on.
(MACHOPIC_PURE): Is not pure when dynamic-no-pic is on.
* config/i386/darwin.h (MASK_MACHO_DYNAMIC_NO_PIC): Define as
0 for right now as dynamic-no-pic is not implemented on Darwin/ia32.
* config/rs6000/darwin.h (MASK_MACHO_DYNAMIC_NO_PIC): Define.
(TARGET_DYNAMIC_NO_PIC): Define.
(SUBTARGET_SWITCHES): Define, have sub-target switches for
dynamic-no-pic.
(SUBTARGET_OVERRIDE_OPTIONS): Move check for -fpic from
rs6000_override_options to here. Dynamic-no-pic overrides
pic.
(CC1_SPEC): Change from not static then pic to not static and not
dynamic-no-pic then pic.
* config/rs6000/rs6000.c (rs6000_override_options): Move the
check for -fpic and DARWIN_ABI to config/rs6000/darwin.h
(rs6000_legitimize_reload_address): Add case for loading floating in
dynamic-no-pic.
(rs6000_emit_move): Add case for dynamic-no-pic.  Change reference
of flag_pic to MACHOPIC_INDIRECT.
(secondary_reload_class): Conditional change the reference of
flag_pic to MACHOPIC_INDIRECT.
(rs6000_output_mi_thunk): Change reference of flag_pic to
MACHOPIC_INDIRECT.
(output_profile_hook): Likewise.
(machopic_output_stub): Non-pure (dynamic-no-pic) is now supported.
* config/rs6000/rs6000.md (movdf_low): Add the case for
MACHO_DYNAMIC_NO_PIC_P.
(call): Change references for flag_pic in TARGET_MACHO to
MACHOPIC_INDIRECT.
(SUBTARGET_OVERRIDE_OPTIONS): Add case where -fpic is on and
-mdynamic-no-pic is on.  Also move case for -fpic from rs6000.c.
* doc/invoke.texi (-mdynamic-no-pic): Document.

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

21 years agoRemove extra bits I included, by mistake, in my previous check-in
dpatel [Tue, 11 Mar 2003 01:25:12 +0000 (01:25 +0000)]
Remove extra bits I included, by mistake, in my previous check-in
for PR/9394 fix.

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

21 years agoDaily bump.
gccadmin [Tue, 11 Mar 2003 00:17:05 +0000 (00:17 +0000)]
Daily bump.

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

21 years agoPR/9394
dpatel [Mon, 10 Mar 2003 23:41:42 +0000 (23:41 +0000)]
PR/9394
        * gcc.c (DEFAULT_SWITCH_TAKES_ARG): Remove.
        (DEFAULT_WORD_SWITCH_TAKES_ARG): Remove.
        * gcc.h (DEFAULT_SWITCH_TAKES_ARG): Add.
        (DEFAULT_WORD_SWITCH_TAKES_ARG): Add.
        * cppspec.c (DEFAULT_SWTICH_TAKES_ARG): Remove.
        (DEFAULT_WORD_SWITCH_TAKES_ARG): Remove.

cp
        * g++spec.c (lang_specific_driver): Use DEFAULT_WORD_SWITCH_TAKES_ARG.

testsuite

        * g++.dg/cpp/c++_cmd_1.C: New test.
        * g++.dg/cpp/c++_cmd_1.h: New file.

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

21 years ago2003-03-10 Steven Bosscher <s.bosscher@student.tudelft.nl>
steven [Mon, 10 Mar 2003 23:33:15 +0000 (23:33 +0000)]
2003-03-10  Steven Bosscher  <s.bosscher@student.tudelft.nl>

        PR optimization/7189
        * toplev.c (rest_of_compilation):  Move
        check_function_return_warnings up to just after
        delete_unreachable_blocks.

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

21 years ago * com.c (duplicate_decls): Synchronize with C's duplicate_decls.
sayle [Mon, 10 Mar 2003 23:28:08 +0000 (23:28 +0000)]
* com.c (duplicate_decls): Synchronize with C's duplicate_decls.

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

21 years ago * config/m68hc11/m68hc11.h (HARD_REGNO_RENAME_OK): Define.
ciceron [Mon, 10 Mar 2003 22:10:37 +0000 (22:10 +0000)]
* config/m68hc11/m68hc11.h (HARD_REGNO_RENAME_OK): Define.
* config/m68hc11/m68hc11-protos.h (m68hc11_hard_regno_rename_ok):
Declare.
* config/m68hc11/m68hc11.c (m68hc11_hard_regno_rename_ok): New function
for reg rename optimization to avoid using Z and Y registers.

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

21 years ago PR c++/9798
jason [Mon, 10 Mar 2003 22:04:09 +0000 (22:04 +0000)]
    PR c++/9798
        * decl.c (push_using_directive): Push before recursing.

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

21 years agoadd xfail
jason [Mon, 10 Mar 2003 21:57:02 +0000 (21:57 +0000)]
add xfail

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

21 years ago * config/m68hc11/m68hc11.md ("*addhi3_68hc12"): Accept any constant
ciceron [Mon, 10 Mar 2003 21:51:02 +0000 (21:51 +0000)]
* config/m68hc11/m68hc11.md ("*addhi3_68hc12"): Accept any constant
when adding to X and Y since leax/leay are fast.
("*addhi3"): Accept 'I' constraint when adding to address register.
("rotlhi3"): Operand 1 must be a register_operand.
(peephole2): New peephole to optimize some adds.
* config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_P): Use 'I' constraint
to represent -2 .. 2 small integer range.

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

21 years ago * config/m68hc11/m68hc11.c (m68hc11_gen_rotate): Set carry before
ciceron [Mon, 10 Mar 2003 21:27:46 +0000 (21:27 +0000)]
* config/m68hc11/m68hc11.c (m68hc11_gen_rotate): Set carry before
each 16-bit rotation.

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

21 years ago PR c++/9868
jason [Mon, 10 Mar 2003 21:11:48 +0000 (21:11 +0000)]
    PR c++/9868
        * call.c (resolve_scoped_fn_name): Handle the case of a function
        pointer member.

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

21 years ago PR c++/9868
jason [Mon, 10 Mar 2003 21:10:37 +0000 (21:10 +0000)]
    PR c++/9868
        * call.c (resolve_scoped_fn_name): Handle the case of a function
        pointer member.

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

21 years ago2003-03-10 Segher Boessenkool <segher@koffie.nl>
aldyh [Mon, 10 Mar 2003 20:52:31 +0000 (20:52 +0000)]
2003-03-10  Segher Boessenkool  <segher@koffie.nl>

        * testsuite/gcc.dg/altivec-9.c: New file.

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

21 years ago 2003-03-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Mon, 10 Mar 2003 20:42:23 +0000 (20:42 +0000)]
2003-03-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* gcc.dg/ppc-sdata-1.c: New test.
* gcc.dg/ppc-sdata-2.c: New test.

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

21 years ago * c-opts.c (add_prefixed_path): Don't use concat. When
zack [Mon, 10 Mar 2003 20:02:27 +0000 (20:02 +0000)]
* c-opts.c (add_prefixed_path): Don't use concat.  When
prefixing with cpp_GCC_INCLUDE_DIR, copy only the first
cpp_GCC_INCLUDE_DIR_len characters.

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

21 years ago2003-03-10 Mohan Embar <gnustuff@thisiscool.com>
aph [Mon, 10 Mar 2003 19:52:15 +0000 (19:52 +0000)]
2003-03-10  Mohan Embar  <gnustuff@thisiscool.com>

        * dostime.c: add #include <stddef.h> for definition of NULL

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

21 years ago2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
aph [Mon, 10 Mar 2003 19:45:30 +0000 (19:45 +0000)]
2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>

        * include/jvm.h: removed declaration of _Jv_ThisExecutable()
        setter; made return value of getter const char* instead of char*
        * prims.cc: removed all references to _Jv_ThisExecutable().
        These are in the platform-specific sections now.
        * posix.cc: define platform-specific _Jv_ThisExecutable().
        Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
        * win32.cc: define platform-specific _Jv_ThisExecutable()
        using GetModuleFilename()
        * java/lang/natRuntime.cc: set gnu.gcj.progname property
        to argv[0] instead of _Jv_ThisExecutable()

2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>

        * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
        that is set if we are using addr2name.awk instead of addr2line.
        (NameFinder): Set usingAddr2name if using addr2name.awk.
        (getExternalLabel): New native method to convert a method
        name to an external label.
        (lookup): Convert name given by addr2line to an external label
        before demangling.

        * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
        constant representing the prefix attached to method names to
        convert them to an external label.
        (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
        using LABEL_PREFIX.

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

21 years ago2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
aph [Mon, 10 Mar 2003 19:39:18 +0000 (19:39 +0000)]
2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>

        * jcf-io.c (caching_stat): Account for both DIR_SEPARATOR
        and DIR_SEPARATOR_2 for a target.
        Correct minor typos.

        * jcf-write.c (make_class_file_name): Take both DIR_SEPARATOR
        and DIR_SEPARATOR_2 for a target into account.

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

21 years ago2003-03-10 Segher Boessenkool <segher@koffie.nl>
aldyh [Mon, 10 Mar 2003 19:36:26 +0000 (19:36 +0000)]
2003-03-10  Segher Boessenkool  <segher@koffie.nl>

        * testsuite/gcc.dg/altivec-9.c: New file.

        * config/rs6000/rs6000.c (altivec_frame_fixup): Remove.
        (rs6000_emit_prologue): Use rs6000_frame_related instead.

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

21 years agoAndreas Tobler <a.tobler@schweiz.ch>
andreast [Mon, 10 Mar 2003 19:10:26 +0000 (19:10 +0000)]
Andreas Tobler <a.tobler@schweiz.ch>

        * src/powerpc/darwin_closure.S: Recode to fit dynamic libraries.

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

21 years ago2003-03-10 Aldy Hernandez <aldyh@redhat.com>
aldyh [Mon, 10 Mar 2003 18:46:35 +0000 (18:46 +0000)]
2003-03-10  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/spe.h: Define __ev64_*64__ to use single element
        vectors.
        (__ev_convert_u64): Remove macro.  Define as inline.
        (__ev_convert_s64): Same.

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

21 years ago * cfgcleanup.c (try_optimize_cfg): Fix thinko in previous patch.
hubicka [Mon, 10 Mar 2003 18:32:17 +0000 (18:32 +0000)]
* cfgcleanup.c (try_optimize_cfg): Fix thinko in previous patch.

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

21 years ago2003-03-10 Aldy Hernandez <aldyh@redhat.com>
aldyh [Mon, 10 Mar 2003 18:03:17 +0000 (18:03 +0000)]
2003-03-10  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.h (DWARF_FRAME_REGISTERS): Define.
        (rs6000_stack_t): Add spe_64bit_regs_used.

        * config/rs6000/rs6000.c (rs6000_stack_info): Calculate
        spe_64bit_regs_used, and use it to determine the size of the
        frame.
        (spe_func_has_64bit_regs_p): New.
        (spe_synthesize_frame_save): New.
        (rs6000_frame_related): Handle SPE synthetic registers.
        (rs6000_emit_prologue): Only save in 64-bits if the function used
        any registers in 64-bit mode.
        (rs6000_emit_epilogue): Same, but for restore.

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

21 years ago* arm.h (enum floating_point_type): Delete. Replace with...
rearnsha [Mon, 10 Mar 2003 17:53:19 +0000 (17:53 +0000)]
* arm.h (enum floating_point_type): Delete.  Replace with...
(enum fputype): ... new.
(FPUTYPE_DEFAULT): Renamed from FP_DEFAULT.  Values reworked.
* linux-elf.h (FPUTYPE_DEFAULT): Likewise.
* arm.md (attr fpu): Reworked for new underlying enum values.
* arm.c (arm_fpu_arch): Now enum fputype.
(arm_fpu_tune): Renamed from arm_fpu.  Now enum fputype.
(arm_override_options, arm_output_epilogue, arm_expand_prologue):
Update uses of arm_fpu_arch and arm_fpu_tune.

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

21 years ago * Makefile.in: Rebuilt.
tromey [Mon, 10 Mar 2003 17:28:21 +0000 (17:28 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
(JC1FLAGS): Removed -Wno-deprecated.

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

21 years ago * cfgcleanup.c (outgoing_edges_match): Compare the jump tables.
zlomek [Mon, 10 Mar 2003 17:23:44 +0000 (17:23 +0000)]
* cfgcleanup.c (outgoing_edges_match): Compare the jump tables.
(try_crossjump_to_edge): Replace refereces to one jump table by
references to identical jump table.
* loop.c (load_mems): Moved setting the JUMP_LABEL to replace_label.
(replace_label): Moved to rtlanal.c.
(struct rtx_pair): Moved to rtl.h.
* rtl.h (struct rtx_pair): Moved from loop.c.
(replace_label): New extern function.
(subrtx_p): New extern function.
(tablejump_p): New extern function.
* rtlanal.c (replace_label): Moved from loop.c.
(subrtx_p_1): New static function.
(subrtx_p): New function.
(tablejump_p): New function.

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

21 years ago * libjava.jacks/jacks.xfail: Updated to reflect reality.
tromey [Mon, 10 Mar 2003 16:39:15 +0000 (16:39 +0000)]
* libjava.jacks/jacks.xfail: Updated to reflect reality.

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

21 years ago2003-03-10 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 10 Mar 2003 15:31:03 +0000 (15:31 +0000)]
2003-03-10  Michael Koch  <konqueror@gmx.de>

* java/nio/ByteOrder.java
(nativeOrder): Working implementation, added documentation.
(toString): Added documentation.

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

21 years agoForgot to add them to the commit command line before
mkoch [Mon, 10 Mar 2003 15:16:52 +0000 (15:16 +0000)]
Forgot to add them to the commit command line before

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

21 years ago2003-03-10 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 10 Mar 2003 14:48:09 +0000 (14:48 +0000)]
2003-03-10  Michael Koch  <konqueror@gmx.de>

* java/net/DatagramSocket.java,
java/net/MulticastSocket.java,
java/net/Socket.java,
java/net/URL.java,
java/net/URLConnection.java:
Fixed some documentation tags to make javadoc and friends happy.

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

21 years ago2003-03-10 Michael Koch <koqnueror@gmx.de>
mkoch [Mon, 10 Mar 2003 14:33:47 +0000 (14:33 +0000)]
2003-03-10  Michael Koch  <koqnueror@gmx.de>

* java/beans/beancontext/BeanContextServicesSupport.java,
java/beans/beancontext/BeanContextSupport.java: New files.
* Makefile.am
(awt_source_files): Added new files.
* Makefile.in: Regenerated.

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

21 years ago * cfgcleanup.c (merge_blocks): Return where to iterate next.
hubicka [Mon, 10 Mar 2003 14:31:10 +0000 (14:31 +0000)]
* cfgcleanup.c (merge_blocks): Return where to iterate next.
(try_optimize_cfg): Use return value of merge_blocks

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

21 years ago2003-03-10 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 10 Mar 2003 13:21:38 +0000 (13:21 +0000)]
2003-03-10  Michael Koch  <konqueror@gmx.de>

* java/awt/FocusTraversalPolicy.java
(FocusTraversalPolicy): Documentation added.
(getComponentAfter): Documentation added.
(getComponentBefore): Documentation added.
(getFirstComponent): Documentation added.
(getLastComponent): Documentation added.
(getDefaultComponent): Documentation added.
(getInitialComponent): Documentation added.
* java/awt/ScrollPaneAdjustable.java
(sp): New member variable.
(orientation): New member variable.
(value): New member variable.
(minimum): New member variable.
(maximum): New member variable.
(visibleAmount): New member variable.
(unitIncrement): New member variable.
(blockIncrement): New member variable.
(adjustmentListener): New member variable.
(ScrollPaneAdjustable): Rewrote.
(addAdjustmentListener): New method.
(removeAdjustmentListener): New method.
(getAdjustmentListeners): New method.
(getBlockIncrement): New method.
(getMaximum): New method.
(getMinimum): New method.
(getOrientation): New method.
(getUnitIncrement): New method.
(getValue): New method.
(getVisibleAmount): New method.
(setBlockIncrement): New method.
(setUnitIncrement): New method.
(setMaximum): Implemented.
(setMinimum): Implemented.
(setValue): New method.
(setVisibleAmount): Implemented.
(paramString): New method.
* java/awt/Window.java
(show): Use setVisible(true) instead of super.show().
(hide): Use sevVisible(false) instead of super.hide().
(processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
(postEvent): Deprecated.
(applyResourceBundle): Deprecated.
(processWindowFocusEvent): New method.
(processWindowStateEvent): New method.
* java/awt/datatransfer/DataFlavor.java: Reindented.
* java/awt/font/TextHitInfo.java
(charIndex): New member variable.
(leadingEdge): New member variable.
(TextHitInfo): New constructor.
(getCharIndex): Implemented.
(isLeadingEdge): Implemented.
(getInsertionIndex): Implemented.
(hashCode): Access charIndex directly.
(equals): Reformated.
(leading): Implemented.
(trailing): Implemented.
(beforeOffset): Implemented.
(afterOffset): Implemented.
(getOtherHit): Implemented.
(getOffsetHit): Implemented.
(toString): Implemented.
* java/awt/image/BufferedImage.java
(BufferedImage): Implements WritableRenderedImage.
(observers): New member variable.
(addTileObserver): New method.
(removeTileObserver): New method.

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

21 years ago * cfg.c (unchecked_make_edge): New.
matz [Mon, 10 Mar 2003 12:59:12 +0000 (12:59 +0000)]
    * cfg.c (unchecked_make_edge): New.
        (cached_make_edge): Use it.
        * basic-block.h (unchecked_make_edge): Declare.
        * cfglayout.c (cfg_layout_duplicate_bb): Use it.

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

21 years ago2003-03-10 Steven Bosscher <s.bosscher@student.tudelft.nl>
steven [Mon, 10 Mar 2003 12:48:08 +0000 (12:48 +0000)]
2003-03-10  Steven Bosscher  <s.bosscher@student.tudelft.nl>

PR optimization/7189
* toplev.c (rest_of_compilation):  Move
check_function_return_warnings up to just after
delete_unreachable_blocks.

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

21 years ago* fpa.md: New file. Move all patterns relating to FPA co-processor
rearnsha [Mon, 10 Mar 2003 12:40:19 +0000 (12:40 +0000)]
* fpa.md: New file.  Move all patterns relating to FPA co-processor
to here...
* arm.md: ... from here.
(cirrus.md, fpa.md): Include at end of description.
(divsf3, divdf3, modsf3, movdf3, sqrtsf2, sqrtdf2): New expands.
(pic_load_addr_based): Remove register constraint from expander.
(seq, sne, sgt, sle, slt, sge, sgeu, sleu, sgtu, sltu, sunordered)
(sordered, sungt, sunle, sunge, sunlt): Likewise.
(eh_epilogue, tablejump): Likewise.

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

21 years ago PR c++/9373
mmitchel [Mon, 10 Mar 2003 07:26:34 +0000 (07:26 +0000)]
PR c++/9373
* g++.dg/opt/ptrmem2.C: New test.

PR c++/9373
* cp-lang.c (cxx_get_alias_set): Use alias set zero for
pointers to member functions.

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

21 years ago2003-03-09 Paolo Carlini <pcarlini@unitus.it>
paolo [Mon, 10 Mar 2003 06:55:00 +0000 (06:55 +0000)]
2003-03-09  Paolo Carlini  <pcarlini@unitus.it>

* config/io/basic_file_stdio.cc: include <unistd.h>.

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

21 years ago PR c++/8534
mmitchel [Mon, 10 Mar 2003 06:22:28 +0000 (06:22 +0000)]
PR c++/8534
* decl.c (build_ptrmemfunc_type): Do not allow default arugments
in pointer-to-member-function types.

PR c++/8534
* g++.dg/opt/ptrmem1.C: New test.

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

21 years ago * expr.c (cplus_expand_constant): Use C90 prototype style.
gdr [Mon, 10 Mar 2003 05:44:46 +0000 (05:44 +0000)]
* expr.c (cplus_expand_constant): Use C90 prototype style.
(cxx_expand_expr): Likewise.

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

21 years ago2003-03-10 Ben Elliston <bje@wasabisystems.com>
bje [Mon, 10 Mar 2003 05:34:43 +0000 (05:34 +0000)]
2003-03-10  Ben Elliston  <bje@wasabisystems.com>

* MAINTAINERS: Update my mail address.

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

21 years agoDaily bump.
gccadmin [Mon, 10 Mar 2003 00:17:09 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago PR libgcj/9934:
tromey [Sun, 9 Mar 2003 22:50:02 +0000 (22:50 +0000)]
PR libgcj/9934:
* java/io/natFileDescriptorPosix.cc (available): Fixed arguments
to lseek.  Return 0 if we can't compute the value.

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

21 years ago2003-03-09 Paolo Carlini <pcarlini@unitus.it>
paolo [Sun, 9 Mar 2003 22:31:45 +0000 (22:31 +0000)]
2003-03-09  Paolo Carlini  <pcarlini@unitus.it>
    Nathan Myers  <ncm@cantrip.org>

PR libstdc++/7744
* config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
seekoff, seekpos): Add a boolean parameter __stdio.
* config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
fseek/ftell, respectively), otherwise read (write, lseek, lseek,
respectively).
* include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
_M_really_overflow, seekoff): Use the boolean parameter in the calls.
* include/std/std_fstream.h (sync): Likewise.
* src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
* src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert libstdc++/8399
commit involving isatty(0).
* acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
        (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
   * configure.in: Remove call.
* aclocal.m4: Regenerate.
        * config.h.in: Regenerate.
        * configure: Regenerate.
* testsuite/27_io/narrow_stream_objects.cc (test11): Add.

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

21 years ago * config/rs6000/rs6000.md (movsi_update1): Add TARGET_UPDATE final
dje [Sun, 9 Mar 2003 22:28:31 +0000 (22:28 +0000)]
    * config/rs6000/rs6000.md (movsi_update1): Add TARGET_UPDATE final
        condition.

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

21 years ago * config/frv/frv.h: Use TARGET_CPU_CPP_BUILTINS, not CPP_PREDEFINES.
neil [Sun, 9 Mar 2003 22:01:15 +0000 (22:01 +0000)]
* config/frv/frv.h: Use TARGET_CPU_CPP_BUILTINS, not CPP_PREDEFINES.
* config/ip2k/ip2k.h: Similarly.
* config/m32r/m32r.h: Similarly.
* config/m68hc11/m68hc11.h: Similarly.
* config/mn10200/mn10200.h: Similarly.
* config/mn10300/mn10300.h: Similarly.
* config/pdp11/pdp11.h: Similarly.
* config/v850/v850.h: Similarly.
* config/rs6000/vxworks.h: Similarly for TARGET_OS_CPP_BUILTINS.
* config/v850/retms.h: Similarly for TARGET_OS_CPP_BUILTINS.
* config/mips/iris3.h: Remove #if 0 block.

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

21 years ago * gcc.c (do_spec_1) ['{']: Revert 2003-02-24 patch. Don't handle
sayle [Sun, 9 Mar 2003 21:44:49 +0000 (21:44 +0000)]
* gcc.c (do_spec_1) ['{']: Revert 2003-02-24 patch.  Don't handle
pending argument upon return from handle_braces here.
(do_spec_2): Instead handle it upon return from do_spec_1 here.

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

21 years ago2003-03-09 Paolo Carlini <pcarlini@unitus.it>
paolo [Sun, 9 Mar 2003 21:35:09 +0000 (21:35 +0000)]
2003-03-09  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/9988
* include/bits/fstream.tcc (overflow): don't write EOF to file.
* testsuite/27_io/filebuf_virtuals.cc (test15): Add.

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

21 years ago2003-03-09 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Sun, 9 Mar 2003 20:41:31 +0000 (20:41 +0000)]
2003-03-09  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* varasm.c (make_decl_one_only): Use declare_weak().

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

21 years ago PR middle-end/9986
danglin [Sun, 9 Mar 2003 19:47:54 +0000 (19:47 +0000)]
PR middle-end/9986
* c-common.c (c_common_nodes_and_builtins): Initialize target builtins
after the common builtins.
* pa-hpux.h (DONT_HAVE_FPUTC_UNLOCKED): Define.
* pa.c (TARGET_INIT_BUILTINS): Define.
(pa_init_builtins): New function.
* pa.md (call, call_value, sibcall, sibcall_value): When sufficient
space has been allocated for the outgoing arguments, set the arg
pointer for a call emitted after virtuals have been instantiated
using the stack pointer offset, otherwise abort.

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

21 years ago* config/stormy16/stormy16.h (DWARF_LINE_MIN_INSTR_LENGTH): Revert.
dj [Sun, 9 Mar 2003 18:49:17 +0000 (18:49 +0000)]
* config/stormy16/stormy16.h (DWARF_LINE_MIN_INSTR_LENGTH): Revert.

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

21 years ago2003-03-09 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Sun, 9 Mar 2003 17:08:17 +0000 (17:08 +0000)]
2003-03-09  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* configure.in (gxx_include_dir): Fix typo.
* configure: Regenerated.

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

21 years ago* arm.md (fix_truncsfsi2, fix_truncdfsi2, arm_fix_truncsfsi2)
rearnsha [Sun, 9 Mar 2003 17:07:45 +0000 (17:07 +0000)]
* arm.md (fix_truncsfsi2, fix_truncdfsi2, arm_fix_truncsfsi2)
(arm_fix_truncdfsi2): Add missing fix in floating point mode before
conversion to integer.
* cirrus.md (cirrus_truncsfsi2, cirrus_truncdfsi2): Likewise.

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

21 years ago * gcc.dg/i386-loop-1.c: New test.
ebotcazou [Sun, 9 Mar 2003 15:40:00 +0000 (15:40 +0000)]
* gcc.dg/i386-loop-1.c: New test.

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

21 years ago * builtins.def: Fix typo and improve grammar.
sayle [Sun, 9 Mar 2003 15:22:56 +0000 (15:22 +0000)]
* builtins.def: Fix typo and improve grammar.
* loop-unroll.c (decide_peel_completely): Tidy log message.

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

21 years ago PR c++/9970
lerdsuwa [Sun, 9 Mar 2003 14:30:18 +0000 (14:30 +0000)]
PR c++/9970
* decl.c (duplicate_decls): Only copy DECL_THUNKS for virtual
functions.

* g++.dg/lookup/friend1.C: New test.

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

21 years ago * config/h8300/h8300.md (*tstsi_upper_bit): New.
kazu [Sun, 9 Mar 2003 13:22:59 +0000 (13:22 +0000)]
* config/h8300/h8300.md (*tstsi_upper_bit): New.
(*iorsi3_e2f): Likewise.

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

21 years ago2003-03-08 Jerry Quinn <jlquinn@optonline.net>
jlquinn [Sun, 9 Mar 2003 04:19:52 +0000 (04:19 +0000)]
2003-03-08  Jerry Quinn  <jlquinn@optonline.net>

PR libstdc++/9561
* include/bits/basic_ios.h (_M_setstate): New.
* include/bits/ostream.tcc (operator<<): Use it.
* include/bits/istream.tcc (operator>>): Use it.
* include/std/std_ostream.h (operator<<): Make friends.
* include/std/std_istream.h (operator>>): Make friends.
* testsuite/27_io/ostream_exception.cc,
testsuite/27_io/istream_exception.cc: New tests.

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

21 years ago * config/h8300/h8300.c (h8300_and_costs): Return the number of
kazu [Sun, 9 Mar 2003 03:40:45 +0000 (03:40 +0000)]
* config/h8300/h8300.c (h8300_and_costs): Return the number of
assembly instructions needed.
(h8300_shift_costs): Likewise.

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

21 years ago * config/cris/aout.h (ENDFILE_SPEC): Undef.
hp [Sun, 9 Mar 2003 01:46:26 +0000 (01:46 +0000)]
* config/cris/aout.h (ENDFILE_SPEC): Undef.

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

21 years ago2003-03-08 Phil Edwards <pme@gcc.gnu.org>
pme [Sun, 9 Mar 2003 01:33:00 +0000 (01:33 +0000)]
2003-03-08  Phil Edwards  <pme@gcc.gnu.org>

* test_summary:  Add -h, print existing comments as help.

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

21 years ago * optabs.c (gen_move_insn): Move logic for synthesizing MODE_CC
hp [Sun, 9 Mar 2003 01:32:42 +0000 (01:32 +0000)]
* optabs.c (gen_move_insn): Move logic for synthesizing MODE_CC
moves from here ...
* expr.c (emit_move_insn_1): ... to here.

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

21 years ago * config/cris/aout.h (CRIS_CPP_SUBTARGET_SPEC): Move -D__AOUT__ to...
hp [Sun, 9 Mar 2003 01:20:03 +0000 (01:20 +0000)]
* config/cris/aout.h (CRIS_CPP_SUBTARGET_SPEC): Move -D__AOUT__ to...
(TARGET_OS_CPP_BUILTINS): New macro.
* config/cris/cris.h (CRIS_CPP_SUBTARGET_SPEC): Move -D__ELF__ to...
(TARGET_OS_CPP_BUILTINS): New macro.
(CPP_PREDEFINES): Don't define.  Move old definitions and...
(CPP_SPEC): ...move -D__CRIS_ABI_version=2 to...
(TARGET_CPU_CPP_BUILTINS): New macro.
* config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Move constant
definitions and the optional __PIC__, __pic__ and
__NO_UNDERSCORES__ definitions to...
(TARGET_OS_CPP_BUILTINS): New macro.

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

21 years ago * lang-specs.h (c++-header): Change .pch to .gch.
geoffk [Sun, 9 Mar 2003 00:35:22 +0000 (00:35 +0000)]
* lang-specs.h (c++-header): Change .pch to .gch.

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

21 years ago * flags.h (flag_leading_underscore): Declare.
hp [Sun, 9 Mar 2003 00:31:00 +0000 (00:31 +0000)]
* flags.h (flag_leading_underscore): Declare.

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

21 years agoDaily bump.
gccadmin [Sun, 9 Mar 2003 00:17:04 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago * c-opts.c (c_common_post_options): On fopen failure, return
hp [Sat, 8 Mar 2003 23:46:46 +0000 (23:46 +0000)]
* c-opts.c (c_common_post_options): On fopen failure, return
false, not NULL.

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

21 years ago * config/cris/cris_abi_symbol.c: #include tconfig.h and tm.h, not
hp [Sat, 8 Mar 2003 22:59:10 +0000 (22:59 +0000)]
* config/cris/cris_abi_symbol.c: #include tconfig.h and tm.h, not
config.h.
* config/cris/cris.h (HAVE_GAS_HIDDEN): Don't define here.
* config/cris/aout.h (HAVE_GAS_HIDDEN): Undef.

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

21 years ago * config/sh/rtemself.h (TARGET_OS_CPP_BUILTINS): Use instead of
neil [Sat, 8 Mar 2003 22:26:25 +0000 (22:26 +0000)]
* config/sh/rtemself.h (TARGET_OS_CPP_BUILTINS): Use instead of
CPP_PREDEFINES.
* config/sh/rtems.h (TARGET_OS_CPP_BUILTINS): Use instead of
CPP_PREDEFINES.

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

21 years ago * c-common.h (c_common_init, c_common_post_options): Update.
neil [Sat, 8 Mar 2003 21:12:26 +0000 (21:12 +0000)]
* c-common.h (c_common_init, c_common_post_options): Update.
* c-objc-common.c (c_objc_common_init): Update for new prototype.
* c-opts.c (saved_lineno): New.
(c_common_post_options, c_common_init): Update prototypes,
move call to cpp_read_main_file from latter to former.
* c-tree.h (c_ojbc_common_init): Update.
* langhooks-def.h (lhd_post_options): New.
(LANG_HOOKS_INIT, LANG_HOOKS_POST_OPTIONS): Update.
* langhooks.c (lhd_post_options): New.
* langhooks.h (struct lang_hooks): Update post_options and init hooks.
* toplev.c (no_backend): New.
(process_options): Call post_options hook and set main_input_filename
and input_filename here.
(lang_dependent_init, do_compile): post_options hook moved to
process_options.
* objc/objc-act.c (objc_init): Update prototype.
* objc/objc-act.h (objc_init): Update prototype.
ada:
* misc.c (gnat_init): Update for new prototype.
cp:
* cp-tree.h (cxx_init): Update prototype.
* lex.c (cxx_init): Similarly.
f:
* com.c (ffe_init): Update prototype; move code to ffe_post_options.
(ffe_post_options): New.
java:
* lang.c (java_init): Update prototype, move code to java_post_options.
(java_post_options): Similarly.
treelang:
* tree1.c (in_fname): Fix type.
(treelang_init): Update prototype and use of in_fname.
* treelang.h (in_fname): Fix type.
* treetree.c (tree_code_if_start, tree_code_if_else,
tree_code_if_end, tree_code_create_function_prototype,
tree_code_create_function_initial, tree_code_create_funciton_wrapup,
tree_code_create_variable, tree_code_output_expression_statement)
: Fix prototypes and use of filenames.
* treetree.h: Similarly.

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

21 years ago * emit-rtl.c (gen_lowpart): Don't attempt to load a part of
hp [Sat, 8 Mar 2003 19:24:02 +0000 (19:24 +0000)]
* emit-rtl.c (gen_lowpart): Don't attempt to load a part of
a complex or vector type, using a load in the original mode.

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

21 years ago PR c++/9823
mmitchel [Sat, 8 Mar 2003 18:47:42 +0000 (18:47 +0000)]
PR c++/9823
* cp-tree.h (begin_mem_initializers): Remove.
* parser.c (cp_parser_mem_initializer_list): Inline it here.
Do not call finish_mem_initializers if not in a constructor.
(cp_parser_class_head): Fix typo in error message.
* semantics.c (begin_mem_initializers): Remove.
* testsuite/g++.dg/parser/constructor1.C: New test.

PR c++/9823
* g++.dg/parser/constructor1.C: New test.

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

21 years ago * Makefile.in (cgraph.o): Depend on gt-cgraph.h and varray.h.
hubicka [Sat, 8 Mar 2003 18:24:22 +0000 (18:24 +0000)]
* Makefile.in (cgraph.o): Depend on gt-cgraph.h and varray.h.
* gt-cgraph.h: New GC file.
* cgraph.c (known_fns): New static variable.
(cgraph_node): Add the decl into varray.

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

21 years ago * config/mmix/mmix.md ("*movcc_expanded"): Add missing alternatives.
hp [Sat, 8 Mar 2003 17:29:31 +0000 (17:29 +0000)]
* config/mmix/mmix.md ("*movcc_expanded"): Add missing alternatives.

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

21 years ago* arm.c (fpa_rhs_operand, fpa_add_operand, const_double_rtx_ok_for_fpa)
rearnsha [Sat, 8 Mar 2003 16:23:20 +0000 (16:23 +0000)]
* arm.c (fpa_rhs_operand, fpa_add_operand, const_double_rtx_ok_for_fpa)
(neg_const_double_ok_for_fpa, output_mov_long_double_fpa_from_arm)
(output_mov_long_double_arm_from_fpa, output_mov_double_fpa_from_arm)
(output_mov_double_arm_from_fpa): Renamed to use fpa instead of fpu.
All callers changed.
* arm.md, arm.h, arm-protos.h: Updated.

* arm.h (enum reg_class FPA_REGS): Renamed from FPU_REGS.
(CLASS_MAX_NREGS, REGISTER_MOVE_COST, REG_CLASS_FROM_LETTER): Updated.
* arm.c (arm_regno_class, f_register_operand): Updated.

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

21 years ago * config/cris/cris.h: Remove EGCS references.
hp [Sat, 8 Mar 2003 16:10:30 +0000 (16:10 +0000)]
* config/cris/cris.h: Remove EGCS references.
  (CPP_SPEC): Remove "-$".
(INIT_CUMULATIVE_ARGS): Adjust parameter name to FNDECL.

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

21 years ago * config/stormy16/stormy16.h (TARGET_CPU_CPP_BUILTINS): Use in
neil [Sat, 8 Mar 2003 15:32:45 +0000 (15:32 +0000)]
* config/stormy16/stormy16.h (TARGET_CPU_CPP_BUILTINS): Use in
preference to CPP_PREDEFINES.

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

21 years ago * gcc.c-torture/execute/20020720-1.x: Add xfail for cris-*-*.
hp [Sat, 8 Mar 2003 14:36:38 +0000 (14:36 +0000)]
* gcc.c-torture/execute/20020720-1.x: Add xfail for cris-*-*.

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

21 years ago * gcc.dg/old-style-asm-1.c: Tweak to match mmix-knuth-mmixware.
hp [Sat, 8 Mar 2003 14:08:16 +0000 (14:08 +0000)]
* gcc.dg/old-style-asm-1.c: Tweak to match mmix-knuth-mmixware.

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

21 years ago * cppinit.c (cpp_finish_options): Set first_unused_line to -1.
neil [Sat, 8 Mar 2003 13:34:31 +0000 (13:34 +0000)]
* cppinit.c (cpp_finish_options): Set first_unused_line to -1.
testsuite:
* gcc.dg/cpp/Wunused.c: Update test.

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

21 years ago * config/h8300/h8300.md (*extzv_16_8): New.
kazu [Sat, 8 Mar 2003 13:28:05 +0000 (13:28 +0000)]
* config/h8300/h8300.md (*extzv_16_8): New.

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

21 years ago * gcc.dg/inline-3.c: New test.
hubicka [Sat, 8 Mar 2003 13:26:37 +0000 (13:26 +0000)]
* gcc.dg/inline-3.c: New test.

* c-decl.c: (finish_function): Update call of tree_inlinable_function_p.
* cgraph.h: (cgraph_local_info): Add can_inline_once
(cgraph_global_info): Add inline_once.
(cgraph_node): Add previous.
(cgraph_remove_node): New.
* cgraphunit.c (cgraph_mark_functions_to_inline_once): New static
function.
(cgraph_optimize): Call it.
(cgraph_finalize_function):  Set inlinable flags.
(cgraph_finalize_compilation_unit):  Actually remove the reclaimed nodes.
(cgraph_mark_functions_to_output):  Use new inlining heuristics flags.
(cgraph_expand_function): Likewise.
* cgraph.c
(cgraph_node): Put nodes into doubly linked chain.
(cgraph_remove_node): New function.
* flags.h (flag_inline_functions_called_once): Declare.
* tree-inline.c: Include cgraph.h
(inlinable_functions_p): Add extra argument to bypass limits.
(expand_call_inline):  Obey cgraph flag.
* tree-inline.h (tree_inlinable_function_p): Update prototype.

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

21 years ago * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
ljrittle [Sat, 8 Mar 2003 10:13:36 +0000 (10:13 +0000)]
* testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.

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

21 years agoInitialize args
mmitchel [Sat, 8 Mar 2003 09:53:41 +0000 (09:53 +0000)]
Initialize args

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

21 years ago * gcse.c (bypass_block, bypass_conditional_jumps): Do not create
rakdver [Sat, 8 Mar 2003 09:47:28 +0000 (09:47 +0000)]
* gcse.c (bypass_block, bypass_conditional_jumps): Do not create
irreducible loops.

* loop-unroll.c (unroll_loop_runtime_iterations): Update irreducible
loops info correctly.

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

21 years agoFix typo
mmitchel [Sat, 8 Mar 2003 09:23:36 +0000 (09:23 +0000)]
Fix typo

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

21 years ago PR c++/9809
mmitchel [Sat, 8 Mar 2003 09:12:54 +0000 (09:12 +0000)]
PR c++/9809
* g++.dg/parse/builtin1.C: New test.

PR c++/9982
* g++.dg/abi/cookie1.C: New test.
* g++.dg/abi/cookie2.C: Likewise.

PR c++/9524
* g++.dg/parse/field1.C: New test.

PR c++/9912
* g++.dg/parse/class1.C: New test.
* g++.dg/parse/namespace7.C: Likewise.
* g++.old-deja/g++.other/decl5.C: Remove XFAILs.

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

21 years ago2003-03-08 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sat, 8 Mar 2003 09:11:04 +0000 (09:11 +0000)]
2003-03-08  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/locale_facets.tcc: Fix typo.

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

21 years ago * config/locale/generic/c_locale.cc (locale::facet::_S_create_c_locale):
ljrittle [Sat, 8 Mar 2003 08:55:54 +0000 (08:55 +0000)]
* config/locale/generic/c_locale.cc (locale::facet::_S_create_c_locale):
Throw runtime exception when unsupported language is specified.
* testsuite/testsuite_hooks.h
(run_test_wrapped_generic_locale_exception_catcher): New function.
* testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
Suppress runtime exception thrown by generic implementation.
(run_tests_wrapped_env): Likewise.
(run_test_wrapped_generic_locale_exception_catcher): New function.
* testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
* testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
* testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
* testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
* testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
* testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
* testsuite/22_locale/collate_byname/1.cc: New test wrap.
* testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
* testsuite/22_locale/facet/2.cc: New test wrap.
* testsuite/22_locale/locale/cons/4.cc: New test wrap.
* testsuite/22_locale/locale/cons/5.cc: New test wrap.
* testsuite/22_locale/locale/cons/7.cc: New test wrap.
* testsuite/22_locale/messages/members/char/1.cc: New test wrap.
* testsuite/22_locale/messages/members/char/2.cc: New test wrap.
* testsuite/22_locale/messages/members/char/3.cc: New test wrap.
* testsuite/22_locale/messages_byname/1.cc: New test wrap.
* testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
* testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
* testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
* testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
* testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
* testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
* testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
* testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
* testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
* testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
* testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
* testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
* testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
* testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
* testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
* testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
* testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
* testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
* testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
* testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
* testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
* testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
* testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
* testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
* testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
* testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
* testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
* testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
* testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
* testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
* testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
* testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
* testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
* testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
* testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
* testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
* testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
* testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
* testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
* testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
* testsuite/27_io/filebuf_virtuals.cc: New test wrap.
* testsuite/27_io/ios_members.cc: New test wrap.
* testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
New test wrap.
* testsuite/27_io/streambuf_members.cc: New test wrap.
* testsuite/27_io/stringbuf_virtuals.cc: New test wrap.

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

21 years ago2003-03-08 Paolo Carlini <pcarlini@unitus.it>
paolo [Sat, 8 Mar 2003 08:16:06 +0000 (08:16 +0000)]
2003-03-08  Paolo Carlini <pcarlini@unitus.it>
    Petur Runolfsson  <peturr02@ru.is>

PR libstdc++/9424
* include/bits/streambuf.tcc (__copy_streambufs): Use
sgetn-sputn only when sputn cannot fail, otherwise fall back
to safe snextc-sputc.
* testsuite/27_io/streambuf_members.cc (test11, test12): Add.

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

21 years ago PR middle-end/7796
ebotcazou [Sat, 8 Mar 2003 07:32:36 +0000 (07:32 +0000)]
PR middle-end/7796
* unroll.c (calculate_giv_inc): Handle constants being
loaded with LSHIFTRT.

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

21 years ago2003-03-08 Jerry Quinn <jlquinn@optonline.net>
jlquinn [Sat, 8 Mar 2003 06:28:20 +0000 (06:28 +0000)]
2003-03-08  Jerry Quinn  <jlquinn@optonline.net>

* include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
locale cache for truename and falsename.

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

21 years ago2003-03-08 Jerry Quinn <jlquinn@optonline.net>
jlquinn [Sat, 8 Mar 2003 06:17:11 +0000 (06:17 +0000)]
2003-03-08  Jerry Quinn  <jlquinn@optonline.net>

* src/ios.cc (ios_base::ios_base): Correct order of _M_word and
_M_word_size initialization.

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

21 years ago * config/rs6000/rs6000.c (processor_target_table): Do not disable
dje [Sat, 8 Mar 2003 05:07:24 +0000 (05:07 +0000)]
    * config/rs6000/rs6000.c (processor_target_table): Do not disable
        GP optional instructions on Power3, Power4, 620, and 630.

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