charlet [Tue, 28 Oct 2003 14:19:27 +0000 (14:19 +0000)]
* ada/acats/run_all.sh: Change output to be more compliant with
dejagnu framework.
Create acats.sum and acats.log files under testsuite/ada/acats
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73007
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Tue, 28 Oct 2003 14:19:23 +0000 (14:19 +0000)]
2003-10-28 David S. Miller <davem@redhat.com>
* sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73006
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Tue, 28 Oct 2003 14:18:34 +0000 (14:18 +0000)]
Change output to be more cpliant with dejagnu framework.
Create acats.sum and acats.log files under testsuite/ada/acats
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73005
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 28 Oct 2003 12:23:31 +0000 (12:23 +0000)]
2003-10-28 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (time_get::_M_extract_num):
Absolutely avoid dereferencing end iterators.
(time_get::_M_extract_name): Likewise.
* include/bits/locale_facets.tcc
(time_get::_M_extract_via_format, case 'e'): Don't try to
be smart wrt returning the right __beg in case of parse
error, time_get::_M_extract_num must be fixed instead.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73004
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Tue, 28 Oct 2003 09:47:45 +0000 (09:47 +0000)]
* arm.c (arm_output_epilogue): When using a frame pointer, don't emit
an extra stack adjustment insn if the stack pointer is already
pointing at the right place.
(use_return_insn): Allow a return insn to be used when we have a
frame pointer if the stack pointer is in the right place.
(output_return_instruction): Handle it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73003
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Tue, 28 Oct 2003 07:43:11 +0000 (07:43 +0000)]
* ggc-zone.c (check_cookies): Add missing variable.
Add void to prototypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73000
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Tue, 28 Oct 2003 03:47:37 +0000 (03:47 +0000)]
* config/mips/irix6-libc-compat.c (inet_makeaddr): Prototype.
* crtstuff.c (__do_global_ctors_1): Move prototype.
* unwind-dw2.c (NO_SIZE_OF_ENCODED_VALUE): Define when
appropriate.
* unwind-sjlj.c (_Unwind_GetCFA, _Unwind_FindEnclosingFunction):
Mark parameter with __attribute__((unused)).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72999
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Tue, 28 Oct 2003 01:05:12 +0000 (01:05 +0000)]
* c-decl.c (pushdecl): Clarify comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72998
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 28 Oct 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72996
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 27 Oct 2003 23:11:52 +0000 (23:11 +0000)]
2003-10-27 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/12778
* acinclude.m4 (GLIBCXX_CHECK_LFS): Use the C++ compiler.
* aclocal.m4: Regenerate.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72994
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 27 Oct 2003 21:43:33 +0000 (21:43 +0000)]
2003-10-27 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/17_intro/TODO: Add links.
* testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
Uncomment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72991
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 27 Oct 2003 16:21:14 +0000 (16:21 +0000)]
2003-10-27 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/12750
* include/bits/locale_facets.tcc
(time_get::_M_extract_via_format): Deal with code 'e'.
* testsuite/22_locale/time_get/get_date/char/12750.cc: New.
* testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Ditto.
* include/bits/locale_facets.tcc
(time_get::_M_extract_via_format): Tweak to absolutely avoid
dereferencing end iterators.
* include/bits/locale_facets.h (__verify_grouping):
Const-ify second parameter.
* include/bits/locale_facets.tcc (__verify_grouping): Ditto.
* src/locale-inst.cc (__verify_grouping): Ditto.
2003-10-27 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (num_get::_M_extract_float):
Various things: 1- Avoid absolutely end iterator dereferences;
2- Improve performance-wise the code skipping leading zeros;
3- Fix two bugs wrt early bail out in case of parsing errors
(see testcases); 4- General clean up.
(num_get::_M_extract_int): Likewise, except 3-. Additionally,
use __builtin_expect to favor base 10 inputs.
* testsuite/22_locale/num_get/get/char/7.cc: New.
* testsuite/22_locale/num_get/get/wchar_t/7.cc: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72987
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 27 Oct 2003 15:35:26 +0000 (15:35 +0000)]
* doc/install.texi: Update instructions for Ada cross builds
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72986
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 27 Oct 2003 14:56:06 +0000 (14:56 +0000)]
* README.ada: Removed, integrated in ../doc/sourcebuild.texi
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72985
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 27 Oct 2003 14:51:26 +0000 (14:51 +0000)]
PR ada/5909:
* doc/sourcebuild.texi: Document Ada test suite.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72984
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 27 Oct 2003 14:27:17 +0000 (14:27 +0000)]
* Makefile.generic: Add missing substitution on object_deps handling.
PR ada/5909:
* Make-lang.in (check-ada): Enable ACATS test suite.
* exp_ch3.adb:
(Freeze_Array_Type): We do not need an initialization routine for types
derived from String or Wide_String. They should be treated the same
as String and Wide_String themselves. This caused problems with the
use of Initialize_Scalars.
* exp_ch5.adb:
(Expand_Assign_Record): Do component-wise assignment of non-byte aligned
composites. This allows use of component clauses that are not byte
aligned.
* sem_prag.adb:
(Analyze_Pragma, case Pack): Generate warning and ignore pack if there
is an attempt to pack an array of atomic objects.
* make.adb, prj-env.adb, prj-env.ads: Minor reformatting
* g-dirope.adb:
(Basename): Check for drive letters in a pathname only on DOS based OS.
* make.adb:
(Gnatmake): When unable to change dir to the object dir, display the
content of the parent dir of the obj dir, to try to understand why this
happens.
* Make-lang.in: Makefile automatically updated
* sem_ch12.adb:
(Inline_Instance_Body): Indicate that the save/restore of use_clauses
should not be done in Save/Restore_Scope_Stack, because it is performed
locally.
* sem_ch8.adb:
(Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
whether use clauses should be removed/restored.
* sem_ch8.ads:
(Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
whether use clauses should be removed/restored.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72983
138bc75d-0d04-0410-961f-
82ee72b054a4
ciceron [Mon, 27 Oct 2003 12:26:19 +0000 (12:26 +0000)]
* config/m68hc11/m68hc11.c: Convert to ISO C90.
* config/m68hc11/m68hc11-protos.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72981
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Mon, 27 Oct 2003 12:23:02 +0000 (12:23 +0000)]
Added my e-mail address.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72980
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 27 Oct 2003 12:05:11 +0000 (12:05 +0000)]
* toplev.c (enum dump_file_index, dump_file): Fix ordering of
webizer pass dump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72979
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 27 Oct 2003 11:32:59 +0000 (11:32 +0000)]
PR ada/5909:
* README.ada, ada/acats: Import ACATS 2.5 for GCC Ada test suite.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72978
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 27 Oct 2003 11:29:00 +0000 (11:29 +0000)]
PR ada/5909:
Import ACATS 2.5 for GCC Ada test suite.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72977
138bc75d-0d04-0410-961f-
82ee72b054a4
mark [Mon, 27 Oct 2003 11:02:44 +0000 (11:02 +0000)]
Reported by Helmer Kraemer <hkraemer@freenet.de>
* java/util/jar/JarInputStream.java (readManifest): Don't call
closeEntry().
* java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
(finish): Use inbufWrite().
(write(int)): Likewise.
(write(byte[],int,int)): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72976
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 27 Oct 2003 10:52:48 +0000 (10:52 +0000)]
* reload1.c (struct elim_table): Change offset, initial_offset and
previous_offset fields to HOST_WIDE_INT.
(offsets_at): Change from int to HOST_WIDE_INT.
(reload): Adjust offsets_at initialization.
(eliminate_regs_in_insn): Change type of offset to HOST_WIDE_INT.
(verify_initial_elim_offsets): Change type of t to HOST_WIDE_INT.
* config/i386/i386.c (ix86_compute_frame_layout): Change offset type
to HOST_WIDE_INT. Don't save regs using mov for huge frame sizes
if TARGET_64BIT.
(pro_epilogue_adjust_stack): New function.
(ix86_expand_prologue, ix86_expand_epilogue): Use it.
* config/i386/i386.md (pro_epilogue_adjust_stack): Remove.
(pro_epilogue_adjust_stack_1): Remove * in front of name.
(pro_epilogue_adjust_stack_rex64): Handle -
2147483648 properly.
(pro_epilogue_adjust_stack_rex64_2): New insn.
* config/i386/i386.c (ix86_expand_epilogue): Fix comment typo.
* config/i386/i386.c (ix86_expand_call): Replace 40 with
FIRST_REX_INT_REG + 3 /* R11 */.
* gcc.c-torture/compile/
20031023-1.c: New test.
* gcc.c-torture/compile/
20031023-2.c: New test.
* gcc.c-torture/compile/
20031023-3.c: New test.
* gcc.c-torture/compile/
20031023-4.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72975
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 27 Oct 2003 06:49:41 +0000 (06:49 +0000)]
* config/alpha/alpha.md (attr cannot_copy): New.
(call_osf_2_er, call_value_osf_2_er, ldgp_er_1, ldgp_er_2,
prologue_ldgp_er_2, prologue_ldgp_1): Set it.
* config/alpha/alpha.c (alpha_cannot_copy_insn_p): Test it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72974
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 27 Oct 2003 06:40:55 +0000 (06:40 +0000)]
Remove incorrect entry
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72973
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Mon, 27 Oct 2003 00:26:52 +0000 (00:26 +0000)]
2003-10-26 Daniel Berlin <dberlin@dberlin.org>
* ggc-zone.c: New file, zone allocating collector.
* configure: Accept zone option for --with-gc
* configure.in: Ditto.
* ggc.h (ggc_pch_count_object): Pass bool indicating
stringiness. Update all callers.
(ggc_pch_alloc_object): Ditto.
(ggc_pch_write_object): Ditto.
(ggc_alloc_rtx): Use typed allocation, since all RTX's are of a single
type.
(ggc_alloc_rtvec): Ditto.
(ggc_alloc_tree): Use zone allocation, since some things using this macro
aren't a single typecode.
* ggc-none.c (ggc_alloc_typed): New function.
(ggc_alloc_zone): Ditto.
* ggc-page.c: Ditto on both functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72971
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 27 Oct 2003 00:16:37 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72969
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Sun, 26 Oct 2003 22:19:25 +0000 (22:19 +0000)]
* config/m68k/m68k.c (m68k_compute_frame_layout): Ensure FPU related
frame information is always valid.
(m68k_output_function_prologue): Remove superfluous TARGET_68881
test; fix formatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72965
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Sun, 26 Oct 2003 22:08:07 +0000 (22:08 +0000)]
* config/m68k/m68k.c (m68k_compute_frame_layout): Swap reg_mask and
reg_rev_mask computation.
(m68k_output_function_prologue): Fix usage of current_frame (one typo
and one missing); use reg_rev_mask not reg_mask.
(m68k_output_function_epilogue): Fix usage of current_frame;
use fpu_rev_mask not fpu_mask.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72964
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Sun, 26 Oct 2003 22:02:05 +0000 (22:02 +0000)]
* config/m68k/m68k.c (m68k_output_function_prologue): Eliminate
num_saved_regs, use current_frame.reg_no instead.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72963
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Sun, 26 Oct 2003 19:03:43 +0000 (19:03 +0000)]
* doc/extend.texi (interrupt_handler): Add m68k to the
list of processors implementing it.
* doc/invoke.texi (-msep-data): Document new m68k option.
(-mno-sep-data): Likewise.
(-mid-shared-library): Likewise.
(-mno-id-shared-library): Likewise.
(-mshared-library-id): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72962
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Sun, 26 Oct 2003 18:06:11 +0000 (18:06 +0000)]
* unwind-dw2.c (_Unwind_GetGR): Avoid warning about unsigned
comparison.
(_Unwind_SetGR): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72960
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Sun, 26 Oct 2003 16:24:58 +0000 (16:24 +0000)]
Add ChangeLog mark.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72957
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Sun, 26 Oct 2003 16:18:31 +0000 (16:18 +0000)]
2003-10-26 Ottavio Campana <ottavio@campana.vi.it>
* config/i386/mmintrin.h (_mm_set1_pi8): Fix comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72956
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Sun, 26 Oct 2003 16:03:21 +0000 (16:03 +0000)]
* config/m68k/m68k.c (m68k_output_function_prologue): Move front
comment from here to...
(m68k_save_reg): ...here. Fix comment formatting.
(m68k_output_function_prologue): Fix comment formatting.
(m68k_output_function_epilogue): Likewise.
(const_method): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72954
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 26 Oct 2003 15:40:14 +0000 (15:40 +0000)]
* toplev.c (default_get_pch_validity): Guard the use of
target_options with #ifdef TARGET_OPTIONS.
(default_pch_valid_p): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72953
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Sun, 26 Oct 2003 14:53:53 +0000 (14:53 +0000)]
* Makefile.in: Remove duplicated lines.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72952
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sun, 26 Oct 2003 11:19:49 +0000 (11:19 +0000)]
* nl.po: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72951
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Sun, 26 Oct 2003 11:04:36 +0000 (11:04 +0000)]
PR c++/10371
* semantics.c (finish_non_static_data_member): Handle when
both processing_template_decl and qualifying_scope are true.
* g++.dg/lookup/scoped8.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72950
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sun, 26 Oct 2003 10:33:30 +0000 (10:33 +0000)]
2003-10-26 Paolo Carlini <pcarlini@suse.de>
* testsuite/22_locale/money_put/put/char/1.cc: Clean up.
* testsuite/22_locale/money_put/put/wchar_t/1.cc: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72949
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Sun, 26 Oct 2003 10:17:38 +0000 (10:17 +0000)]
2003-10-26 Andreas Jaeger <aj@suse.de>
Zack Weinberg <zack@codesourcery.com>
Andreas Tobler <toa@pop.agri.ch>
* dwarf2out.c (output_cfi): Use HOST_WIDE_INT_PRINT.
(output_die): Likewise.
(print_die): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72948
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Sun, 26 Oct 2003 08:31:11 +0000 (08:31 +0000)]
* tree.h (dwarf2out_def_cfa, dwarf2out_args_size,
dwarf2out_reg_save, new_loc_descr): Update prototypes for recent
dwarf2out.c change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72946
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Sun, 26 Oct 2003 06:47:17 +0000 (06:47 +0000)]
* toplev.c (default_pch_valid_p): Fix warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72945
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Sun, 26 Oct 2003 02:48:31 +0000 (02:48 +0000)]
* java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72944
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Sun, 26 Oct 2003 02:28:45 +0000 (02:28 +0000)]
* java/lang/reflect/AccessibleObject.java (secureSetAccessible):
Don't check for AccessibleObject. Update javadocs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72943
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Sun, 26 Oct 2003 02:25:42 +0000 (02:25 +0000)]
2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
* java/lang/reflect/Constructor.java (toString): Avoid extra
whitespace on constructor with no modifiers.
* java/lang/reflect/natConstructor.java (newInstance): Look up
caller and perform accessibility check only if constructor is
non-public and accessible flag is not set.
2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
* jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
_Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with
is_virtual_call argument.
* include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from
natClass.cc.
* java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
_Jv_isVirtualMethod.
* java/lang/reflect/natMethod.cc (invoke): Don't use
_Jv_LookupDeclaredMethod.
(_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
look up method in target object's vtable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72942
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sun, 26 Oct 2003 01:31:02 +0000 (01:31 +0000)]
* simplify-rtx.c (simplify_replace_rtx): Avoid allocating duplicate
RTL nodes. If an operator's operands are unchanged, return the
original argument unchanged.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72941
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 26 Oct 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72939
138bc75d-0d04-0410-961f-
82ee72b054a4
grahams [Sat, 25 Oct 2003 23:14:14 +0000 (23:14 +0000)]
Fix bootstrap failure.
* expmed.c (store_bit_field): Don't compare bitsize against
modes with zero bit-size.
(extract_bit_field): Likewise
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72937
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sat, 25 Oct 2003 21:41:53 +0000 (21:41 +0000)]
* be.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po, sv.po,
tr.po: Update.
* gcc.pot: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72936
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sat, 25 Oct 2003 21:32:02 +0000 (21:32 +0000)]
* dwarf2out.c (dw_cfi_oprnd_struct): Offset is HOST_WIDE_INT.
(cfa_loc): Likewise.
(reg_save, stack_adjust_offset, queue_reg_save): Replace long by
HOST_WIDE_INT.
(args_size, old_args_size): change type to HOST_WIDE_INT.
(dwarf2out_def_cfa, dwarf2out_args_size,
dwarf2out_reg_save, new_loc_descr): offset is HOST_WIDE_INT.
(dw_val_struct): integers, unsigneds and offsets are HOST_WIDE_INT.
(add_AT_int, add_AT_unsigned, att_AT_offset, AT_int, AT_unsigned,
AT_offset): Use HOST_WIDE_INT.
(based_loc_descr): offset is HOST_WIDE_INT.
(add_data_member): Likewise.
(add_const_value_attribute): Simplify.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72935
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 25 Oct 2003 19:42:39 +0000 (19:42 +0000)]
* config/i386/i386.c (ix86_eax_live_at_start_p): New.
(ix86_expand_prologue): Save and restore eax around stack probe
if it's live.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72933
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Sat, 25 Oct 2003 18:45:39 +0000 (18:45 +0000)]
Results are re-alphabetized, too
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72932
138bc75d-0d04-0410-961f-
82ee72b054a4
graydon [Sat, 25 Oct 2003 18:41:45 +0000 (18:41 +0000)]
2003-10-14 Graydon Hoare <graydon@redhat.com>
* gnu/java/awt/ClasspathToolkit.java: New abstract class.
* gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
* gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
New concrete implementation of ClasspathFontPeer, with native part.
* gnu/java/awt/peer/gtk/GdkGlyphVector.java,
jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
New class, with native part.
* gnu/java/awt/peer/gtk/GdkGraphics2D.java,
jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72931
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Sat, 25 Oct 2003 17:43:13 +0000 (17:43 +0000)]
snprintf alphabetically precedes uint
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72928
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sat, 25 Oct 2003 15:12:01 +0000 (15:12 +0000)]
* cppcharset.c (one_utf8_to_utf32): Initialize 's' to silence warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72927
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sat, 25 Oct 2003 12:55:18 +0000 (12:55 +0000)]
PR target/12712
* reg-stack.c (convert_regs_1): Create an arbitrary input stack
if the block has no predecessors.
(convert_regs_2): Document the problem with successors whose
only predecessor is the block to be processed.
(convert_regs): Don't create the arbitrary input stack here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72923
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sat, 25 Oct 2003 09:28:39 +0000 (09:28 +0000)]
2003-10-25 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (num_get::_M_extract_int):
__pos in only incremented, never used its value, remove it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72922
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Sat, 25 Oct 2003 06:55:21 +0000 (06:55 +0000)]
* java/lang/reflect/Method.java (toString): Avoid extra whitespace
on method with no modifiers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72919
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Sat, 25 Oct 2003 06:49:20 +0000 (06:49 +0000)]
PR libgcj/11780:
* java/lang/reflect/natMethod.cc (invoke): Look up caller and
perform accessibility check only if target is non-public and
accessible flag is not set.
* java/lang/reflect/natField.cc (getAddr): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72918
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Sat, 25 Oct 2003 02:48:34 +0000 (02:48 +0000)]
2003-10-24 Robert Millan <robertmh@gnu.org>
* acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add kfreebsd*-gnu
and knetbsd*-gnu.
* aclocal.m4: Regenerated.
* configure: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72917
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sat, 25 Oct 2003 02:03:40 +0000 (02:03 +0000)]
* genmodes.c (struct mode_data): Add contained and next_cont
fields.
(complete_mode): Maintain linked list of modes that have a
given component.
(emit_mode_unit_size): Delete.
(emit_mode_nunits): New.
(emit_insn_modes_c): Update to match.
(emit_mode_adjustments): Propagate size and alignment
adjustments from component modes to their containers.
* machmode.h (mode_unit_size): Delete.
(mode_nunits): New.
(GET_MODE_NUNITS): Just return the value in the table.
(GET_MODE_UNIT_SIZE): Compute using GET_MODE_INNER and
GET_MODE_SIZE.
* expmed.c (store_bit_field, extract_bit_field): Can use a
plain move instruction if bitsize >= GET_MODE_BITSIZE of
destination/source mode, respectively.
* varasm.c (assemble_real): Write out the full size of the
constant, not just its bitsize.
(output_constant): Honor TYPE_MODE of TREE_REAL_CSTs.
* config/ia64/ia64-modes.def: Define XFmode as well as TFmode.
Use ADJUST_BYTESIZE and ADJUST_ALIGNMENT to set size and
alignment of XF and TF modes in compliance with ia64 ABIs.
Can now hardwire the format of both modes.
* config/ia64/ia64.c: Change TFmode to XFmode wherever appropriate.
(general_tfmode_operand, destination_tfmode_operand)
(tfreg_or_fp01_operand, spill_tfmode_operand): Rename to
general_xfmode_operand, destination_xfmode_operand,
xfreg_or_fp01_operand, spill_xfmode_operand respectively.
(ia64_init_builtins): Make TYPE_PRECISION of fpreg_type
and float80_type be 96 so they get XFmode. Use !TARGET_HPUX,
not INTEL_EXTENDED_IEEE_FORMAT, to decide how to define
__float128.
* config/ia64/ia64.h: Default TARGET_HPUX to 0.
Change TFmode to XFmode wherever appropriate. Remove all
references to INTEL_EXTENDED_IEEE_FORMAT.
(LONG_DOUBLE_TYPE_SIZE): Varies with TARGET_HPUX.
(LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define (always 96).
(PREDICATE_CODES): Update to match function renames.
* config/ia64/ia64.md: Change TF to XF throughout; rename all
patterns to match. Remove all references to
INTEL_EXTENDED_IEEE_FORMAT. Update predicate calls to match
function renames.
* config/ia64/ia64-protos.c: Update all prototypes to match
renamed functions.
* config/ia64/hpux.h: Redefine TARGET_HPUX to 1.
Remove all references to INTEL_EXTENDED_IEEE_FORMAT.
* config/ia64/lib1funcs.asm: Add __divxf3 as new name for
__divtf3; keep old name for backward compatibility.
(L__compat): New section providing forwarding stubs for
__fixtfti, __fixunstfti, __floattitf.
* config/ia64/t-ia64: Add __compat to LIB1ASMFUNCS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72916
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 25 Oct 2003 00:16:05 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72914
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 24 Oct 2003 22:51:15 +0000 (22:51 +0000)]
2003-10-24 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (money_get::do_get(...,
long double&): Properly size the temporary buffer.
* testsuite/22_locale/money_get/get/char/11.cc: New.
* testsuite/22_locale/money_get/get/wchar_t/11.cc: Ditto.
* include/bits/locale_facets.tcc (num_put::_M_group_int,
num_put::_M_group_float, money_put::do_put(..., const
string_type&), collate::do_compare, collate::do_transform):
Prefer basic_string::data() to c_str() when the '\0'
terminator is not really needed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72911
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Fri, 24 Oct 2003 21:28:13 +0000 (21:28 +0000)]
PR 10757
* c-pch.c: Include target.h. Improve comments.
(struct c_pch_validity): Add target_data_length.
(pch_init): Add target's validity data.
(c_common_valid_pch): Check target's validity data.
* target-def.h (TARGET_GET_PCH_VALIDITY): New.
(TARGET_PCH_VALID_P): New.
(TARGET_INITIALIZER): Add new fields.
* target.h: Include tm.h.
(struct gcc_target): Add get_pch_validity, pch_valid_p.
* toplev.h (default_get_pch_validity): New prototype.
(default_pch_valid_p): New prototype.
* toplev.c (default_get_pch_validity): New routine.
(default_pch_valid_p): New routine.
* Makefile.in (TARGET_H): Add TM_H. Replace all users of
target.h with $(TARGET_H).
(c-pch.o): Add TARGET_H.
* doc/tm.texi (PCH Target): New node.
(TARGET_GET_PCH_VALIDITY): Document.
(TARGET_PCH_VALID_P): Document.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72909
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 24 Oct 2003 20:21:48 +0000 (20:21 +0000)]
2003-10-24 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (__verify_grouping):
Prefer '=' to an unnecessary '&='.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72908
138bc75d-0d04-0410-961f-
82ee72b054a4
fitzsim [Fri, 24 Oct 2003 19:40:30 +0000 (19:40 +0000)]
2003-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
Remove method.
* gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
New method.
* java/awt/Window.java (Window(Window,GraphicsConfiguration),
show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
(dispose): Post WINDOW_CLOSED event.
(addWindowFocusListener, addWindowStateListener): Assign result
of multicaster add back to window listener.
(removeWindowFocusListener, removeWindowStateListener): Assign
result of multicaster remove back to window listener.
(dispatchEventImpl): Add null checks for focus and state
listeners.
(processWindowEvent): Handle case where windowListener is null
but state or focus listeners exist.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
glue for postWindowEvent.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(window_delete_cb, window_destroy_cb, window_show_cb,
window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
window_get_new_state): New functions.
* jni/gtk-peer/gtkpeer.h: Define window event and frame state
macros. Declare postWindowEventID.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72906
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Fri, 24 Oct 2003 19:34:50 +0000 (19:34 +0000)]
2003-10-24 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in: Define a vpath for %.texi. Remove explicit $(docdir)
and $(docdir)/include from any *.texi dependencies.
($(docobjdir)/%.dvi): Depend on stmp-docobjdir.
($(docobjdir)/%.1): Depend on .pod instead of .texi.
($(docobjdir)/%.7): Likewise.
(%.pod): New implicit rule.
(cpp.pod): New dependency only rule.
(gcc.pod): New intermediate rule with dependencies and commands.
(gfdl.pod): Likewise.
(fsf-funding.pod): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72905
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Fri, 24 Oct 2003 19:32:02 +0000 (19:32 +0000)]
2003-10-23 Kelley Cook <kcook@gcc.gnu.org>
* gcc_release (build_sources): Use --enable-generated-files-in-srcdir.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72904
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Fri, 24 Oct 2003 18:27:29 +0000 (18:27 +0000)]
Obvious fix for systems with no interpreter.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72903
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Fri, 24 Oct 2003 17:47:51 +0000 (17:47 +0000)]
* fixinc/mkfixinc.sh: Remove special cases for svr4 and ptx, and
related code.
* fixinc/fixinc.ptx: Remove.
* fixinc/fixinc.svr4: Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72902
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Fri, 24 Oct 2003 17:30:34 +0000 (17:30 +0000)]
* config/s390/s390.c (load_multiple_operation): Allow both SImode
and DImode if word_mode is DImode.
(store_multiple_operation): Likewise.
* config/s390/s390.md ("load_multiple", "store_multiple"): Likewise.
("*load_multiple_di"): Allow only if word_mode == DImode.
("movqi"): Use LLGC whenever TARGET_ZARCH.
("fix_truncdfsi2"): Fix incorrect temporary size.
("fix_truncsfsi2"): Likewise.
("*bras_r", "*brasl_r", "*basr_r"): Remove predicate and constraint
string for function return value operand.
("*bras_tls", "*brasl_tls", "*basr_tls"): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72901
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 24 Oct 2003 15:30:37 +0000 (15:30 +0000)]
* c-parse.in (array_declarator): Use expr_no_commas.
Fixes PR c/11943.
testsuite:
* gcc.dg/c99-arraydecl-2.c: New test. PR c/11943.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72900
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Fri, 24 Oct 2003 15:06:07 +0000 (15:06 +0000)]
* config/mips/linux.h: Wrap MD_FALLBACK_FRAME_STATE_FOR and
associated includes in #ifndef inhibit_libc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72898
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Fri, 24 Oct 2003 14:45:52 +0000 (14:45 +0000)]
PR c++/11076
* class.c (handle_using_decl): Swap arguments of error_not_base_type.
* parser.c (cp_parser_direct_declarator): Only resolve typename for
namespace scope declarations.
* g++.dg/template/crash13.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72897
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Fri, 24 Oct 2003 14:39:55 +0000 (14:39 +0000)]
* gnatvsn.ads (Gnat_Static_Version_String): New constant, used to
minimize the differences with ACT tree.
* gnatkr.adb, gnatlink.adb, gnatls.adb, gnatmake.adb,
gnatprep.adb, gnatpsta.adb, gnatvsn.ads: Take advantage of
Gnatvsn.Gnat_Static_Version_String to reduce differences between
ACT and FSF trees.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72896
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 24 Oct 2003 14:24:00 +0000 (14:24 +0000)]
2003-10-24 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_ios.tcc (copyfmt(const basic_ios&)):
Tweak my fix for libstdc++/12657.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72895
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Fri, 24 Oct 2003 14:15:45 +0000 (14:15 +0000)]
* doc/libgcc.texi: Document some more of the libgcc API.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72894
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Fri, 24 Oct 2003 13:02:42 +0000 (13:02 +0000)]
* adadecode.c (ostrcpy): New function.
(__gnat_decode): Use ostrcpy of strcpy.
(has_prefix): Set first parameter a const.
(has_suffix): Set first parameter a const.
Update copyright notice. Fix source name in header.
Removes a trailing space.
PR ada/12014.
* exp_disp.adb:
Remove the test against being in No_Run_Time_Mode before generating a
call to Register_Tag. It is redundant with the test against the
availability of the function Register_Tag.
* g-catiio.adb: (Month_Name): Correct spelling of February
* make.adb: (Mains): New package
(Initialize): Call Mains.Delete
(Gnatmake): Check that each main on the command line is a source of a
project file and, if there are several mains, each of them is a source
of the same project file.
(Gnatmake): When a foreign language is specified in attribute Languages,
no main is specified on the command line and attribute Mains is not
empty, only build the Ada main. If there is no Ada main, just compile
the Ada sources and their closure.
(Gnatmake): If a main is specified on the command line with directory
information, check that the source exists and, if it does, that the path
is the actual path of a source of a project.
* prj-env.adb:
(File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path. When
Full_Path is True, return the full path instead of the simple file name.
(Project_Of): New function
* prj-env.ads:
(File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path,
defaulted to False.
(Project_Of): New function
* Makefile.generic:
Ensure objects of main project are always checked and rebuilt if needed.
Set CC to gcc by default.
Prepare new handling of link by creating a global archive (not activated
yet).
* adadecode.h, atree.h, elists.h, nlists.h, raise.h,
stringt.h: Update copyright notice. Remove trailing blanks.
Fix source name in header.
* sem_ch12.adb: Minor reformatting
* sem_ch3.adb:
Minor reformatting (including new function return style throughout)
* sem_ch3.ads:
Minor reformatting (including new function return style throughout)
* Make-lang.in: Makefile automatically updated
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72893
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 24 Oct 2003 12:21:18 +0000 (12:21 +0000)]
2003-10-24 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (money_get::do_get(...,
string_type&): Minor tweak to the previous commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72892
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Fri, 24 Oct 2003 12:13:18 +0000 (12:13 +0000)]
Correct misapplied patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72891
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Fri, 24 Oct 2003 12:06:32 +0000 (12:06 +0000)]
2003-10-24 David S. Miller <davem@redhat.com>
* jcf-parse.c (jcf_parse): Fix args to fatal_error().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72890
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 24 Oct 2003 12:00:25 +0000 (12:00 +0000)]
* gcc.dg/c99-restrict-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72889
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 24 Oct 2003 11:20:55 +0000 (11:20 +0000)]
2003-10-24 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (money_get::do_get(...,
string_type&): Disregard the previous commit: doesn't hurt but
doesn't accomplish anything useful either. This is the right
one, speeding up greatly the function in case of early fail.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72888
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 24 Oct 2003 10:12:05 +0000 (10:12 +0000)]
2003-10-24 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (money_get::do_get(...,
string_type&): Move an if block, thus minimizing the amount
of code processed anyway when __tmp_units.size() == 0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72887
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Fri, 24 Oct 2003 09:29:43 +0000 (09:29 +0000)]
2003-10-22 Andrew Haley <aph@redhat.com>
* lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): New.
(java_get_callee_fndecl): New.
* jcf-parse.c (java_parse_file): Call emit_catch_table().
* java-tree.h (ctable_decl): New.
(catch_classes): New.
(java_tree_index): Add JTI_CTABLE_DECL, JTI_CATCH_CLASSES.
* decl.c (java_init_decl_processing): Add catch_class_type.
Add ctable_decl.
Add catch_classes field.
* class.c (build_indirect_class_ref): Break out from
build_class_ref.
(make_field_value): Check flag_indirect_dispatch.
(make_class_data): Ditto.
Tidy uses of PUSH_FIELD_VALUE.
Add field catch_classes.
(make_catch_class_record): New.
* java-tree.h (PUSH_FIELD_VALUE): Tidy.
2003-10-22 Andrew Haley <aph@redhat.com>
* java/lang/natClass.cc (initializeClass): Call
_Jv_linkExceptionClassTable.
(_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError. Call
_Jv_Defer_Resolution on a method whose ncode is NULL.
(_Jv_linkExceptionClassTable): New function.
(_Jv_LayoutVTableMethods): If superclass looks like a constant pool
entry, look it up.
* java/lang/Class.h (struct _Jv_CatchClass): New.
(_Jv_linkExceptionClassTable): New friend.
(_Jv_Defer_Resolution): New friend.
(class Class.catch_classes): New field.
* include/java-interp.h (Jv_Defer_Resolution): New method.
(_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
(_Jv_MethodBase.deferred): New field.
(_Jv_Defer_Resolution): New function.
* resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
* exception.cc (get_ttype_entry): Change return type to void**.
(PERSONALITY_FUNCTION): Remove all code related to using a
Utf8Const* for a match type. Change match type to be a pointer to
a pointer, rather than a pointer to a Class.
* defineclass.cc (handleCodeAttribute): Initialize
method->deferred.
(handleMethodsEnd): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72886
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Fri, 24 Oct 2003 09:25:30 +0000 (09:25 +0000)]
* arm.c (arm_rtx_costs_1, case TARGET_THUMB): Adjust costs for
comparing a constant with small negative numbers and add costing
for constants in conjunction with AND.
(note_invalid_constants): Tidy previous change.
(thumb_cmp_operand): Tidy.
(thumb_cmpneg_operand): New function.
* arm.h (CONDITIONAL_REGISTER_USAGE): Don't use HI regs if optimizing
for size.
(FIRST_LO_REGNUM, FIRST_HI_REGNUM, LAST_HI_REGNUM): Define.
(PREDICATE_CODES): Add thumb_cmpneg_operand.
* arm.md (cbranchsi4): Convert to define_expand. Handle comparison
with a negative constant.
(cbranchsi4_insn): Matcher for cbranchsi4.
(cbranchsi4_scratch): Similar, but a scratch is available for
handling negative constants.
(movsi_cbranchsi4): New pattern.
(tstsi3_cbranch): Renamed from andsi3_cbranch_scratch, remove scratch
and use the TST instruction.
(andsi3_cbranch, orrsi3_cbranch, xorsi3_cbranch, cbranchne_decr1)
(addsi3_cbranch, subsi3_cbranch): Ensure that register preferencing
cannot see high regs or memory alternatives.
(bicsi3_cbranch_scratch, bicsi3_cbranch): New patterns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72885
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 24 Oct 2003 09:19:07 +0000 (09:19 +0000)]
2003-10-24 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc
(time_get<>::_M_extract_via_format): Deal with case 'C' too,
equivalent to 'y'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72884
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Fri, 24 Oct 2003 08:47:18 +0000 (08:47 +0000)]
* arm.c (note_invalid_constants): Try to extract the constant
pool value using avoid_constant_pool_reference; only use
get_pool_constant if that returns the original reference.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72883
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Fri, 24 Oct 2003 07:59:41 +0000 (07:59 +0000)]
cp:
PR c++/12698, c++/12699, c++/12700, c++/12566
* cp-tree.h (THUNK_ALIAS_P, THUNK_ALIAS): New.
(debug_class, debug_thunks): New.
* class.c (dump_class_hierarchy_1): New break out from ...
(dump_class_hierarchy): ... here.
(dump_thunk, debug_thunks, debug_class): New.
(update_vtable_entry_for_fn): Add ssizetype casts. Correct
continued search for primary binfo via virtual.
(build_vtbl_initializer): Follow covariant thunk alias.
* method.c (make_thunk): Clear DECL_THUNKS of the thunk.
(finish_thunk): Look for an alias of the covariant thunk and point
to it.
(use_thunk): We should never use an alias.
* semantics.c (emit_associated_thunks): Do not emit aliases.
PR c++/12566
* cp-tree.h (cp_fname_init): Add TYPE pointer param.
* decl.c (cp_fname_init): Add TYPE pointer param. Set it. Don't
create an ad-hoc ERROR_MARK.
(cp_make_fname_decl): Adjust.
* pt.c (tsubst_expr): Adjust.
testsuite:
PR c++/12698, c++/12699, c++/12700, c++/12566
* g++.dg/inherit/covariant9.C: New test.
* g++.dg/inherit/covariant10.C: New test.
* g++.dg/inherit/covariant11.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72882
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Fri, 24 Oct 2003 07:39:26 +0000 (07:39 +0000)]
PR c++/12624
* varasm.c (notice_global_symbol): Disqualify global registers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72880
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Fri, 24 Oct 2003 02:28:37 +0000 (02:28 +0000)]
* adadecode.h, atree.h, elists.h, namet.h, nlists.h, raise.h,
stringt.h: Convert to ISO C90 declarations and definitions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72877
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Fri, 24 Oct 2003 00:53:05 +0000 (00:53 +0000)]
PR middle-end/11414
* loop.c (load_mems): Use redirect_jump to forward jumps from
the original loop end label to the new "loop sink" block's label.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72876
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 24 Oct 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72874
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Thu, 23 Oct 2003 21:48:36 +0000 (21:48 +0000)]
* java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
_Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72872
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Thu, 23 Oct 2003 21:37:52 +0000 (21:37 +0000)]
PR middle-end/12705
* optabs.c (expand_binop): When expanding complex operations
inline, always calculate result into a new temporary register.
Minor code clean-ups.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72871
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Thu, 23 Oct 2003 21:20:54 +0000 (21:20 +0000)]
libobjc:
* Makefile.in (runtime-info.h): Remove -Wp.
gcc:
* objc/lang-specs.h: Handle -print-objc-runtime-info.
* doc/invoke.texi (Objective-C Dialect Options): Document it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72870
138bc75d-0d04-0410-961f-
82ee72b054a4
dannysmith [Thu, 23 Oct 2003 20:53:02 +0000 (20:53 +0000)]
* config/i386/cygwin.asm. Add copyright notice. Add comment
on why this code is needed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72869
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Thu, 23 Oct 2003 20:48:53 +0000 (20:48 +0000)]
* gcc.dg/old-style-asm-1.c: Also check for (set (pc) on lines
following the jump_insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72868
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 23 Oct 2003 20:35:13 +0000 (20:35 +0000)]
2003-10-23 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/documentation.html: Add a pointer to the doxygen style
guide.
* docs/html/17_intro/TODO: Update.
* docs/html/test.html: Add instructions for running a subset of
tests, update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72867
138bc75d-0d04-0410-961f-
82ee72b054a4