OSDN Git Service
kcook [Thu, 2 Oct 2003 00:07:50 +0000 (00:07 +0000)]
/tmp/cvs001644
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72005
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Wed, 1 Oct 2003 23:51:10 +0000 (23:51 +0000)]
* config/mips/xm-iris5.h: Remove, unnecessary.
* config.build (mips-sgi-irix5*): Remove.
(mips-sgi-irix6*o32): Likewise.
* config.gcc (mips-sgi-irix6*o32): Remove xm_file.
(mips-sgi-irix5cross64): Likewise.
(mips-sgi-irix5*): Likewise.
* config.host (mips-sgi-irix5*): Remove.
(mips-sgi-irix6*o32): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72003
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Wed, 1 Oct 2003 23:37:30 +0000 (23:37 +0000)]
* dbxout.c (dbxout_fptype_value): Delete.
(dbxout_type): Emit R3 for all COMPLEX_TYPEs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72002
138bc75d-0d04-0410-961f-
82ee72b054a4
drow [Wed, 1 Oct 2003 23:12:37 +0000 (23:12 +0000)]
* strerror.c: Don't provide or reference sys_errlist if
strerror is available.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72001
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Wed, 1 Oct 2003 22:57:57 +0000 (22:57 +0000)]
* output.h (compute_reloc_for_constant): Declare.
* varasm.c (compute_reloc_for_constant): Extract from...
(output_addressed_constants): ... here. Adjust all callers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72000
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Wed, 1 Oct 2003 22:52:09 +0000 (22:52 +0000)]
* aclocal.m4: Add hpux10* and hpux11.00 to /dev/zero blacklist.
* configure: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71999
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 1 Oct 2003 22:41:10 +0000 (22:41 +0000)]
* gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71998
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 1 Oct 2003 20:48:57 +0000 (20:48 +0000)]
* fold-const.c (make_range): When handling unsigned, don't reverse
range if high bound is zero.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71991
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Wed, 1 Oct 2003 20:45:59 +0000 (20:45 +0000)]
* linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_0): Define.
(GLIBCXX_CHECK_STDLIB_SUPPORT): Use it to test for lrand48
instead of drand48.
* acconfig.h (HAVE_DRAND48): Renamed to HAVE_LRAND48.
* crossconfig.m4 (*-freebsd*): Define HAVE_LRAND48 instead of
HAVE_DRAND48.
* config.h.in, configure: Regenerate.
* include/bits/stl_algo.h: Use _GLIBCXX_HAVE_LRAND48 to guard
lrand48 use.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71990
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Wed, 1 Oct 2003 20:15:43 +0000 (20:15 +0000)]
config/frv/frv.h (PREDICATE_CODES): Added
condexec_si_media_operator, condexec_sf_add_operator and
condexec_sf_conv_operator. Removed condexec_sf_binary_operator
and condexec_sf_unary_operator.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71989
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Wed, 1 Oct 2003 19:25:36 +0000 (19:25 +0000)]
* aclocal.m4: Add ultrix* to /dev/zero blacklist.
* configure: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71987
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Wed, 1 Oct 2003 18:54:46 +0000 (18:54 +0000)]
* except.h (MUST_USE_SJLJ_EXCEPTIONS): Revert 2003-09-23 change.
Allow override.
* doc/tm.texi (MUST_USE_SJLJ_EXCEPTIONS): Document.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71985
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Wed, 1 Oct 2003 17:11:29 +0000 (17:11 +0000)]
2003-10-01 H.J. Lu <hongjiu.lu@intel.com>
* configure.in: Check if $MAKEINFO is missing.
* configure: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71983
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Wed, 1 Oct 2003 17:11:02 +0000 (17:11 +0000)]
2003-10-01 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/lib/libffi-dg.exp: Set LD_LIBRARY_PATH_64 for
SPARC64. Cleanup whitespaces.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71982
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Wed, 1 Oct 2003 16:58:38 +0000 (16:58 +0000)]
2003-10-01 Nathan Myers <ncm@cantrip.org>
* include/bits/locale_facets.tcc (time_put::put): Avoid
expensive *__s++, in favor of *__s, ++__s.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71980
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Wed, 1 Oct 2003 16:22:13 +0000 (16:22 +0000)]
2003-10-01 Andrew Haley <aph@redhat.com>
* jcf-parse.c (java_parse_file): Write otable and atable.
* java-tree.h (atable_methods): New.
(atable_decl): New.
(atable_syms_decl): New.
(enum java_tree_index): Add JTI_ATABLE_METHODS, JTI_ATABLE_DECL,
JTI_ATABLE_SYMS_DECL. Rename JTI_METHOD_SYMBOL* to JTI_SYMBOL*.
(symbol_*type): Rename method_symbol* to symbol*type.
(emit_offset_symbol_table): Delete.
(emit_symbol_table): New.
(get_symbol_table_index): New.
(atable_type): New.
* expr.c (build_field_ref): Handle flag_indirect_dispatch.
(build_known_method_ref): Likewise.
(get_symbol_table_index): Rename from get_offset_table_index.
Parameterize to allow re-use by differing types of symbol table.
(build_invokevirtual): Pass table to get_offset_table_index.
* decl.c (java_init_decl_processing): Push types and decls for
atable and atable_syyms.
* class.c (build_static_field_ref): Handle flag_indirect_dispatch.
(make_class_data): Add new fields atable and atable_syms.
(emit_symbol_table): Rename from emit_offset_symbol_table.
Parameterize to allow re-use by different types of symbol table.
(build_symbol_entry): Renamed from build_method_symbols_entry.
2003-10-01 Andrew Haley <aph@redhat.com>
* java/lang/natClass.cc (initializeClass): Check for otable and
atable.
(_Jv_LinkOffsetTable): Check for existence of atable. Rewrite
loops using for(). Search superinterfaces. Check for fields as
well as methods. Initialize atable as well as otable: check for
static methods as well as virtual methods.
* java/lang/Class.h (struct _Jv_AddressTable): New.
(atable): New.
(atable_syms): New.
* include/jvm.h (_Jv_equalUtf8Consts): constify.
* prims.cc (_Jv_equalUtf8Consts): constify.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71979
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Wed, 1 Oct 2003 15:43:07 +0000 (15:43 +0000)]
2003-10-01 Paolo Carlini <pcarlini@unitus.it>
* include/bits/locale_facets.tcc (time_put::put): Minor
tweak to the previous commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71977
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Wed, 1 Oct 2003 14:32:05 +0000 (14:32 +0000)]
2003-10-01 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/12439
* include/bits/locale_facets.tcc (time_put::put): Deal
with the three issues pointed out by the PR.
* testsuite/22_locale/time_put/put/char/12439_1.cc: New.
* testsuite/22_locale/time_put/put/char/12439_3.cc: New.
* testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: New.
* testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: New.
* testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71976
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 1 Oct 2003 12:55:41 +0000 (12:55 +0000)]
* config/sparc/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Undefine
before redefining.
* config/sparc/linux64.h (LINK_GCC_C_SEQUENCE_SPEC): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71973
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Wed, 1 Oct 2003 12:43:23 +0000 (12:43 +0000)]
* config/cris/cris-protos.h, config/cris/cris.c: Convert to ISO
C90 function declarations and definitions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71972
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Wed, 1 Oct 2003 11:14:01 +0000 (11:14 +0000)]
* config.gcc (cris-*-linux*): Revert mistaken commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71970
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Wed, 1 Oct 2003 06:08:35 +0000 (06:08 +0000)]
PR optimization/11753
* config/sparc/sparc.md (length attribute) [fcc branch]: Add 1 to
the length in the non-V9 case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71968
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 1 Oct 2003 06:01:47 +0000 (06:01 +0000)]
* dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Honor
DWARF_ALT_FRAME_RETURN_COLUMN.
* unwind-dw2.c (dwarf_reg_size_table): Expand by one.
(_Unwind_GetGR, _Unwind_SetGR): Validate lookup column.
(uw_frame_state_for): Return end-of-stack for null return address.
* doc/tm.texi (DWARF_ALT_FRAME_RETURN_COLUMN): Add.
* config/alpha/alpha.c (alpha_sa_mask): Add r31 for eh_return.
(alpha_expand_prologue): Store a zero for it.
(alpha_expand_epilogue): Don't reload it.
* config/alpha/alpha.h (DWARF_ALT_FRAME_RETURN_COLUMN): New.
* config/alpha/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Use column 64
for the sigframe return address.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71967
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 1 Oct 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71963
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Tue, 30 Sep 2003 23:06:14 +0000 (23:06 +0000)]
Add note about PR 6222 fixed by prior patch
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71961
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Tue, 30 Sep 2003 23:01:17 +0000 (23:01 +0000)]
Add PR 9200 to prior patch
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71960
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 30 Sep 2003 22:58:39 +0000 (22:58 +0000)]
* decl.c (duplicate_decls): Copy DECL_SAVED_INSNS too.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71959
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Tue, 30 Sep 2003 21:49:01 +0000 (21:49 +0000)]
Convert to ISO C90 prototypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71957
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Tue, 30 Sep 2003 21:28:09 +0000 (21:28 +0000)]
2003-09-30 Kelley Cook <kelleycoook@wideopenwest.com>
* config/i386/cygwin1.c: Convert to ISO C90 prototypes.
* config/i386/winnt.c: Likewise.
* config/i386/cygming.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71956
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Tue, 30 Sep 2003 21:07:41 +0000 (21:07 +0000)]
* fold-const.c (fold): Fold (A & ~B) - (A & B) into
(A ^ B) - B for any B.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71953
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 30 Sep 2003 20:16:28 +0000 (20:16 +0000)]
2003-09-30 Paolo Carlini <pcarlini@unitus.it>
* include/bits/stl_algo.h: Minor cosmetic reformattings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71950
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Tue, 30 Sep 2003 18:24:33 +0000 (18:24 +0000)]
* jcf-write.c (generate_bytecode_insns): Implement evaluate-once
semantics for SAVE_EXPR, by caching the result in a temporary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71949
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Tue, 30 Sep 2003 17:23:47 +0000 (17:23 +0000)]
* config.gcc (arm*-*-kaos*, i[34567]86-*-kaos*, powerpc-*-kaos*,
powerpcle-*-kaos*, strongarm-*-kaos*): Disable fixproto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71948
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 30 Sep 2003 17:03:52 +0000 (17:03 +0000)]
2003-09-30 Paolo Carlini <pcarlini@unitus.it>
* include/bits/stl_algo.h (search_n): Tweak, to spare the
first --__n.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71946
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 30 Sep 2003 15:19:33 +0000 (15:19 +0000)]
2003-09-30 Paolo Carlini <pcarlini@unitus.it>
* testsuite/22_locale/locale/cons/12352.cc: Explicitly
qualify exception name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71945
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 30 Sep 2003 13:44:59 +0000 (13:44 +0000)]
2003-09-30 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/12438
* include/bits/locale_facets.tcc (locale::combine): Don't
leak memory if _M_replace_facet throws.
* testsuite/22_locale/locale/cons/12438.cc: New, from the PR.
* include/bits/locale_classes.h (locale::locale(const locale&,
_Facet*)): Tweak, use consistently _M_remove_reference.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71943
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Tue, 30 Sep 2003 11:56:25 +0000 (11:56 +0000)]
* decl.c (pop_binding): Don't mess with nullifying binding->scope
here.
* name-lookup.c: Re-format.
(cxx_binding_free): Nullify binding->scope.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71942
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Tue, 30 Sep 2003 10:38:10 +0000 (10:38 +0000)]
* arm/ieee754-sf.S: Tidy formatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71941
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Tue, 30 Sep 2003 10:30:32 +0000 (10:30 +0000)]
Nicolas Pitre <nico@cam.org>
* arm/lib1funcs.asm (ARM_DIV_MOD_BODY) split into ARM_DIV_BODY
and ARM_MOD_BODY.
(ARM_MOD_BODY): rewritten. added clz insns for __ARM_ARCH__ >= 5.
(ARM_DIV_BODY): added clz insns for __ARM_ARCH__ >= 5,
added better divisor alignment in the other case.
(ARM_DIV2_ORDER): added, finds the order of a single bit divisor.
(__divsi3, __udivsi3, __modsi3, __umodsi3): rewritten using the
macros above, add fast exits for divisor >= dividend, etc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71940
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Tue, 30 Sep 2003 10:21:41 +0000 (10:21 +0000)]
Nicolas Pitre <nico@cam.org>
* arm/ieee754-df.S: split compilation of fixunsdfsi from
L_fixdfsi target.
* arm/t-arm-elf: add _fixunsdfsi target due to the above.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71939
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Tue, 30 Sep 2003 10:16:39 +0000 (10:16 +0000)]
* config.gcc: Default use_fixproto to 'no'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71938
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 30 Sep 2003 07:28:51 +0000 (07:28 +0000)]
2003-09-30 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/12352 (cont)
* src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
Don't leak __cloc; don't leak if any of the _M_init_facet(...)
calls fail.
(locale::_Impl::_Impl(const _Impl&, size_t)): Tweak.
(locale::_Impl::~_Impl): Don't do anything if !_M_facets,
!_M_caches, !_M_names.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71936
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Tue, 30 Sep 2003 07:14:39 +0000 (07:14 +0000)]
PR optimization/12345
* config/mips/mips-protos.h (mips_restore_gp): Remove.
(mips_gp_save_slot): Declare.
* config/mips/mips.c (mips_restore_gp): Remove in favor of...
(mips_gp_save_slot): ...this new function.
* config/mips/mips.md (exception_receiver): Use mips_gp_save_slot
and mips_output_move to generate the output template.
(call_internal): Force splitting if TARGET_SPLIT_CALLS. Don't emit
a gp load after a noreturn call. Load the gp using a move rather
than an exception_receiver pattern.
(call_value_internal, call_value_multiple_internal): Likewise.
(call_split, call_value_split, call_value_multiple_split): Clobber $28.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71935
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 30 Sep 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71929
138bc75d-0d04-0410-961f-
82ee72b054a4
carlo [Mon, 29 Sep 2003 23:09:12 +0000 (23:09 +0000)]
PR debug/12319
* cfglayout.c (insn_scope): Use prologue_locator and
epilogue_locator; return the outer function scope for
pro- and epilogue insns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71926
138bc75d-0d04-0410-961f-
82ee72b054a4
carlo [Mon, 29 Sep 2003 22:51:00 +0000 (22:51 +0000)]
2003-09-30 Carlo Wood <carlo@alinoe.com>
* MAINTAINERS (Write After Approval): Add myself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71925
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Mon, 29 Sep 2003 22:28:58 +0000 (22:28 +0000)]
* objc/objc-act.c (encode_type): Encode INTEGER_TYPEs and
REAL_TYPEs based on the bitsize of the type's mode, not the
mode directly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71923
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Mon, 29 Sep 2003 22:21:15 +0000 (22:21 +0000)]
f:
* target.c (FFETARGET_ATOF_): Delete.
(ffetarget_real1, ffetarget_real2): Use real_from_string directly.
* target.h (FFETARGET_REAL_VALUE_FROM_INT_,
FFETARGET_REAL_VALUE_FROM_LONGLONG_): Use mode_for_size,
don't refer to SFmode or DFmode directly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71922
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Mon, 29 Sep 2003 22:14:01 +0000 (22:14 +0000)]
ada:
* trans.c (gigi): Use REAL_ARITHMETIC, not REAL_VALUE_ATOF, to
initialize dconstp5 and dconstmp5.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71921
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Mon, 29 Sep 2003 22:07:39 +0000 (22:07 +0000)]
* dwarf2out.c (default_eh_frame_section): Split into ...
(named_section_eh_frame_section, collect2_eh_frame_section): ... new
functions.
* output.h (named_section_eh_frame_section): Declare.
(collect2_eh_frame_section): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71920
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Mon, 29 Sep 2003 21:59:58 +0000 (21:59 +0000)]
* real.c (real_sqrt): Use get_canonical_qnan directly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71919
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Mon, 29 Sep 2003 21:52:25 +0000 (21:52 +0000)]
* dwarf2out.c (add_const_value_attribute): Use real_to_target.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71918
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Mon, 29 Sep 2003 21:29:11 +0000 (21:29 +0000)]
* varasm.c (assemble_real): Use real_to_target directly,
calculate the number of significant elements of the result
array and write them out in a loop, instead of using a giant
switch statement to pick the correct REAL_VALUE_TO_TARGET_*
macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71917
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 29 Sep 2003 21:19:10 +0000 (21:19 +0000)]
PR c++/12175
* varasm.c (notice_global_symbol): Discard external symbols.
PR optimization/12286
* gcov-io.c (gcov_read_words): Fix memmove call.
* profile.c (compute_branch_probabilities): Add extra sanity checks.
PR C++/12047
* except.c (build_eh_type_type): Call mark_used on the type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71916
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 29 Sep 2003 21:13:55 +0000 (21:13 +0000)]
PR libgcj/10596:
* include/jvm.h (_Jv_FinalizeString,
_Jv_RegisterStringFinalizer): Declare.
* java/lang/natString.cc (_Jv_FinalizeString): Renamed from
unintern.
(intern): Updated.
(_Jv_NewStringUtf8Const): Likewise.
* java/lang/ref/natReference.cc (finalize_referred_to_object):
Add special case when finalizing a String.
(in_hash): New function.
(_Jv_RegisterStringFinalizer): Likewise.
(maybe_add_finalize): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71915
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Mon, 29 Sep 2003 20:02:08 +0000 (20:02 +0000)]
boehm-gc:
* configure.in: Remove wildcard from Solaris 8-9/Intel and Solaris
2.3/SPARC, there are no micro versions.
Treat Solaris 10 and up alike.
* configure: Regenerate.
gcc:
* config.gcc (sparc-*-solaris2*): Handle Solaris 10 and up like
Solaris 7-9.
* fixinc/inclhack.def (solaris_widec): Replace solaris2.[0-5]* by
wildcards which explicitly match micro versions.
* fixinc/fixincl.x: Regenerate.
libstdc++-v3:
* configure.host: Handle Solaris 2.5 micro releases explicitly.
Remove wildcards from Solaris 2.6, 7-9: there were no
micro releases.
Treat Solaris 10 and up like 7-9.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71914
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 29 Sep 2003 19:43:04 +0000 (19:43 +0000)]
2003-09-29 Paolo Carlini <pcarlini@unitus.it>
* include/bits/stl_algo.h (search_n): Improve the previous
fix as suggested by Martin.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71913
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 29 Sep 2003 17:41:47 +0000 (17:41 +0000)]
Remove extra comma in comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71912
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 29 Sep 2003 17:36:18 +0000 (17:36 +0000)]
2003-09-29 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/12296
* include/bits/istream.tcc (peek): Set eofbit if sgetc
returns eof.
* testsuite/27_io/basic_istream/peek/char/12296.cc:
New, from the PR.
2003-09-29 Nathan Myers <ncm@cantrip.org>
Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/11400
* include/bits/stl_algo.h (search_n):
Use iterator_traits<>::difference_type for __n.
* testsuite/25_algorithms/search_n/11400.cc: New, from the PR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71911
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 29 Sep 2003 17:35:11 +0000 (17:35 +0000)]
* fold-const.c (fold): Fold (A & ~B) - (A & B) into
(A ^ B) - B, where B is any power of 2 minus 1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71910
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 29 Sep 2003 17:16:09 +0000 (17:16 +0000)]
* g++.dg/init/array10.C: Add dg-options.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71907
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 29 Sep 2003 17:09:36 +0000 (17:09 +0000)]
* libgcov.c (gcov_exit): Fix two pastos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71906
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 29 Sep 2003 16:34:09 +0000 (16:34 +0000)]
* config/h8300/h8300.md (*tst_extzv_1_n): Combine with the
define_split immediately below to form define_insn_and_split.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71903
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 29 Sep 2003 16:32:28 +0000 (16:32 +0000)]
* config/h8300/h8300.md (*tstsi_variable_bit): New.
(*tstsi_variable_bit_qi): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71902
138bc75d-0d04-0410-961f-
82ee72b054a4
pkoning [Mon, 29 Sep 2003 16:27:40 +0000 (16:27 +0000)]
* MAINTAINERS: Move myself from "Write After Approval"
to CPU platform maintainers for pdp11 platform.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71901
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Mon, 29 Sep 2003 12:05:41 +0000 (12:05 +0000)]
Fixed little typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71900
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Mon, 29 Sep 2003 11:53:23 +0000 (11:53 +0000)]
2003-09-29 Michael Koch <konqueror@gmx.de>
* java/net/InetAddress.java:
(isMulticastAddress): Dont use local variable to store address length.
Let the compiler optimize this.
(getHostName): Merged dcoumentation from classpath.
(getAddress): Likewise.
(getHostAddress): Likewise.
(hashCode): Likewise.
(equals): Likewise.
(toString): Likewise.
(getByName): Likewise.
(getAllByName): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71899
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Mon, 29 Sep 2003 11:28:58 +0000 (11:28 +0000)]
2003-09-29 Michael Koch <konqueror@gmx.de>
* java/awt/image/IndexColorModel.java: Reformated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71898
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Mon, 29 Sep 2003 11:24:28 +0000 (11:24 +0000)]
2003-09-29 Michael Koch <konqueror@gmx.de>
* java/net/InetAddress.java,
java/net/URL.java: Reformated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71897
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 29 Sep 2003 08:25:17 +0000 (08:25 +0000)]
2003-09-29 Paolo Carlini <pcarlini@unitus.it>
* testsuite/22_locale/locale/cons/12352.cc:
Use __attribute__((unused)) for test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71896
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Mon, 29 Sep 2003 07:13:40 +0000 (07:13 +0000)]
* boehm.cc (_Jv_BuildGCDescr): Put first word of object in most
significant bit of descriptor. Include the vtable and sync_info
fields.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71895
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Mon, 29 Sep 2003 06:19:39 +0000 (06:19 +0000)]
2003-09-28 Phil Edwards <phil@codesourcery.com>
* doc/cppopts.texi: Use 'dashMP' instead of '-MP' as a cross-
reference name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71894
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Mon, 29 Sep 2003 06:14:59 +0000 (06:14 +0000)]
* g++.dg/opt/unroll1.C: Change unsigned to __SIZE_TYPE__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71891
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 29 Sep 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71888
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 28 Sep 2003 22:18:33 +0000 (22:18 +0000)]
* c-decl.c (duplicate_decls): Copy DECL_SOURCE_LOCATION, not
file and line separately.
f/
* com.c (duplicate_decls): Copy DECL_SOURCE_LOCATION, not
file and line separately.
java/
* check-init.c (check_init): Save and restore input_location
instead of file and line separately.
* decl.c (java_expand_body): Likewise.
* jcf-write.c (generate_bytecode_insns): Likewise.
* parse.y (safe_layout_class): Likewise.
* jcf-parse.c (read_class, parse_class_file): Likewise.
(java_parse_file): Use %H for warning locator.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71886
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Sun, 28 Sep 2003 19:17:49 +0000 (19:17 +0000)]
* config/s390/s390.md ("*adddi3_carry1_cc", "*adddi3_carry1_cconly",
"*adddi3_carry2_cc", "*adddi3_carry2_cconly", "*subdi3_borrow_cc",
"*subdi3_borrow_cconly"): New insns.
("*addsi3_sub", "*subsi3_sub"): Remove.
("*subdi3_cc", *subdi3_cconly"): Use only if TARGET_64BIT.
("*subsi3_cc"): Fix op_type attribute.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71885
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 28 Sep 2003 19:09:53 +0000 (19:09 +0000)]
* stmt.c (expand_asm_operands): Take a location_t, instead of
individual file and line.
* c-typeck.c (c_expand_asm_operands): Likewise.
* tree.h (expand_asm_operands): Update decl.
* c-common.h (c_expand_asm_operands): Likewise.
* c-semantics (genrtl_asm_stmt): Update call.
cp/
* typeck.c (c_expand_asm_operands): Take location_t, instead of
individual file and line.
ada/
* trans.c (tree_transform): Update call to expand_asm_operands.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71884
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sun, 28 Sep 2003 15:07:05 +0000 (15:07 +0000)]
* expr.c (java_check_reference): Use the semantics of COND_EXPRs
with void-type branches instead of using a COMPOUND_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71883
138bc75d-0d04-0410-961f-
82ee72b054a4
jsturm [Sun, 28 Sep 2003 13:23:12 +0000 (13:23 +0000)]
* decl.c (java_optimize_inline, dump_function): Remove.
* java-tree.h (java_optimize_inline): Remove declaration.
* jcf-parse.c (java_parse_file): Assume flag_unit_at_a_time is set.
* parse.y (source_end_java_method, java_expand_classes):
Likewise. Remove dead code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71882
138bc75d-0d04-0410-961f-
82ee72b054a4
pb [Sun, 28 Sep 2003 12:33:10 +0000 (12:33 +0000)]
2003-09-28 Philip Blundell <philb@gnu.org>
* config/arm/arm.c (legitimize_pic_address): Check
SYMBOL_REF_LOCAL_P, not ENCODED_SHORT_CALL_ATTR_P.
(arm_assemble_integer): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71881
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Sun, 28 Sep 2003 12:09:07 +0000 (12:09 +0000)]
* config/pdp11/pdp11-protos.h, config/pdp11/pdp11.c,
config/c4x/c4x-c.c, config/c4x/c4x-protos.h, config/c4x/c4x.c,
config/c4x/c4x.h:
Convert to ISO C90 function declarations and definitions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71880
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Sun, 28 Sep 2003 11:42:16 +0000 (11:42 +0000)]
* g++.dg/template/friend19.C: Fix typo.
* g++.old-deja/g++.other/crash31.C: Adjust expected error.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71879
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Sun, 28 Sep 2003 09:51:52 +0000 (09:51 +0000)]
* config/stormy16/stormy16.c, config/stormy16/stormy16-protos.h:
Convert to ISO C90 function declarations and definitions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71878
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Sun, 28 Sep 2003 07:39:30 +0000 (07:39 +0000)]
* config/mips/mips.c (mips_constant_info): Add reloc field.
(mips_classify_constant): Initialize it. Always set SYMBOL to the
underlying symbol, not to an unspec.
(mips_delegitimize_address, print_operand): Clean up accordingly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71877
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Sun, 28 Sep 2003 07:38:14 +0000 (07:38 +0000)]
* config/mips/mips-protos.h (mips16_gp_pseudo_reg): Remove.
* config/mips/mips.h (LEGITIMATE_CONSTANT_P): Remove orphaned comment.
* config/mips/mips.c (mips_reloc_offset_ok_p): New function.
(mips_classify_constant): Use it.
(mips_splittable_symbol_p): Add an offset argument.
(mips_classify_address): Adjust call accordingly.
(mips_legitimize_symbol): Handle sdata references with LO_SUM rather
than a relocation unspec. Update call to mips_splittable_symbol_p.
Generalize the code that copes with symbols + invalid offsets.
(print_operand): Allow '%R' to be applied to small data addresses.
(mips_reloc_string): Remove RELOC_GPREL16.
(mips_sdata_pointer): Renamed from mips16_gp_pseudo_reg. Return $gp
for TARGET_EXPLICIT_RELOCS. Return null if we can't use gp-relative
relocation operators.
* config/mips/mips.md (RELOC_GPREL16): Remove. Shuffle other reloc
constants accordingly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71876
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sun, 28 Sep 2003 04:56:35 +0000 (04:56 +0000)]
* toplev.c (flag_evaluation_order): New global variable.
* flags.h (flag_evaluation_order): Prototype here.
* expr.c (expand_operands): If we need to preserve observable
evaluation order, protect exp1 from clobbering exp0's result.
* java/lang.c (java_init_options): Set flag_evaluation_order.
* java/expr.c (force_evaluation_order): Don't attempt to force
evaluation order of binary operations using save_expr.
* java/parse.y (java_complete_lhs): No longer need to call
force_evaluation_order when constructing binary operators.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71873
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Sun, 28 Sep 2003 04:37:41 +0000 (04:37 +0000)]
* c-decl.c (finish_function): Convert definition to ISO C90.
* ifcvt.c (mark_loop_exit_edges): Likewise.
* ra-rewrite.c (emit_colors): Likewise.
For cp:
* decl.c (cxx_builtin_type_decls): Convert to ISO C90 function
definition.
* init.c (push_base_cleanups): Likewise.
* decl2.c (finish_file): Likewise.
* mangle.c (init_mangle): Likewise.
(dump_substitution_candidates): Likewise.
* search.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71872
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Sun, 28 Sep 2003 04:23:29 +0000 (04:23 +0000)]
* java/text/DateFormat.java (format): Throw IllegalArgumentException
if j' is not a Number or Date instance.
* java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
instead of Vector.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71871
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Sun, 28 Sep 2003 03:57:05 +0000 (03:57 +0000)]
* java/text/SimpleDateFormat (parse): Revert patch of 2003-09-25.
Don't call setTimeZone on calendar.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71870
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 28 Sep 2003 00:16:09 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71868
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Sat, 27 Sep 2003 22:27:10 +0000 (22:27 +0000)]
* config.gcc (alpha*-dec-osf[45]*): Disable fixproto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71866
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Sat, 27 Sep 2003 21:43:18 +0000 (21:43 +0000)]
* config.gcc (arm*-*-uclinux*): Disable fixproto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71865
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Sat, 27 Sep 2003 21:40:40 +0000 (21:40 +0000)]
* config.gcc (powerpc-*-eabispe*, powerpc-*-eabisimaltivec*,
powerpc-*-eabialtivec*): Disable fixproto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71864
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sat, 27 Sep 2003 20:22:03 +0000 (20:22 +0000)]
* libjava.jacks/jacks.xfail: Updated for new passes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71863
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sat, 27 Sep 2003 20:17:21 +0000 (20:17 +0000)]
2003-09-27 Alexandre Petit-Bianco <apbianco@redhat.com>
Bryce McKinlay <bryce@mckinlay.net.nz>
PR java/1333:
* parse.y (not_accessible_field_error): New function.
(resolve_expression_name): Check field access permissions.
(resolve_qualified_expression_name): Use
not_accessible_field_error.
(resolve_qualified_expression_name): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71862
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sat, 27 Sep 2003 17:18:25 +0000 (17:18 +0000)]
PR optimization/12340
* loop.h (struct induction): Document the new semantics
of the 'same' field for bivs.
* unroll.c (biv_total_increment): Don't count the same
biv increment several times.
(loop_iterations) [GENERAL_INDUCT]: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71859
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sat, 27 Sep 2003 16:44:05 +0000 (16:44 +0000)]
* name-lookup.h (get_global_value_if_present): New function.
(is_typename_at_global_scope): Likewise.
* except.c (do_begin_catch): Use get_global_value_if_present.
(do_end_catch): Likewise.
(do_allocate_exception): Likewise.
(do_free_exception): Likewise.
(build_throw): Likewise.
* parser.c (cp_parser_member_declaration): Likewise.
* rtti.c (throw_bad_cast): Likewise.
(throw_bad_typeid): Likewise.
* decl.c (check_tag_decl): Use is_typename_at_global_scope.
(grokdeclarator): Likewise.
* cp-tree.h (global_namespace): Move to name-lookup.h
* call.c (call_builtin_trap): Tidy.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71858
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Sat, 27 Sep 2003 16:40:29 +0000 (16:40 +0000)]
Correct PR number.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71857
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Sat, 27 Sep 2003 16:34:28 +0000 (16:34 +0000)]
PR c++/11413
* parser.c (cp_parser_nested_name_specifier_opt): Issue correct
error message when parser->scope is global_namespace.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71856
138bc75d-0d04-0410-961f-
82ee72b054a4
grahams [Sat, 27 Sep 2003 15:33:27 +0000 (15:33 +0000)]
* unroll.c(loop_interations)[GT]: Add missing break.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71854
138bc75d-0d04-0410-961f-
82ee72b054a4