Kazu Hirata
07b50aadc1
defaults.h (ASM_OUTPUT_ADDR_VEC_ELT): Fix the computation of the size of a pointer in bytes.
...
* defaults.h (ASM_OUTPUT_ADDR_VEC_ELT): Fix the computation of
the size of a pointer in bytes.
From-SVN: r76112
2004-01-18 21:25:06 +00:00
Roger Sayle
6e46ab25d4
builtins.c (expand_builtin_expect_jump): Fix thinko of reusing live "next" variable, which can lead to an infinite loop.
...
* builtins.c (expand_builtin_expect_jump): Fix thinko of reusing
live "next" variable, which can lead to an infinite loop.
From-SVN: r76111
2004-01-18 20:04:59 +00:00
Andrew Pinski
b4be9e8e86
altivec.h: Wrap C++ functions in extern "C++" block.
...
2004-01-18 Andrew Pinski <pinskia@physics.uc.edu>
* config/rs6000/altivec.h: Wrap C++ functions in extern "C++"
block.
From-SVN: r76109
2004-01-18 11:50:18 -08:00
James A. Morrison
f25bebe1c0
MAINTAINERS: Add myself to write-after-approval.
...
2004-01-18 James A. Morrison <ja2morri@uwaterloo.ca>
* MAINTAINERS: Add myself to write-after-approval.
From-SVN: r76108
2004-01-18 19:49:34 +00:00
Andrew Pinski
3ce5437aca
rs6000.c (rs6000_special_round_type_align): Check for NULL in the chain and remove repeated code.
...
2004-01-18 Andrew Pinski <pinskia@physics.uc.edu>
* config/rs6000/rs6000.c (rs6000_special_round_type_align):
Check for NULL in the chain and remove repeated code.
From-SVN: r76105
2004-01-18 07:45:51 -08:00
Jason Merrill
aff5c451d2
re PR c++/11725 (Wrong return statement warning with -Wreturn-type in template class method)
...
PR c++/11725
* except.c (build_throw): In a template, set
current_function_returns_abnormally.
From-SVN: r76104
2004-01-18 10:38:08 -05:00
Jan Hubicka
20c361f30e
coverage.c (checksum_string): Rename to ...
...
* coverage.c (checksum_string): Rename to ...
(coverage_checksum_string): ... this one, Use crc32_string; recognize
names containing random number and zero the number out in order to get
match.
From-SVN: r76102
2004-01-18 15:10:23 +00:00
Richard Sandiford
cacb5bba75
* config/mips/mips.c (mips_got_alias_set): Mark for PCH.
...
From-SVN: r76100
2004-01-18 14:01:52 +00:00
Joseph Myers
daf2f1299b
c-tree.texi, [...]: Remove trailing whitespace.
...
* doc/c-tree.texi, doc/cpp.texi, doc/extend.texi,
doc/frontends.texi, doc/gcov.texi, doc/gty.texi, doc/install.texi,
doc/invoke.texi, doc/libgcc.texi, doc/md.texi, doc/rtl.texi,
doc/sourcebuild.texi, doc/standards.texi, doc/tm.texi,
doc/trouble.texi: Remove trailing whitespace.
From-SVN: r76098
2004-01-18 11:57:17 +00:00
Paolo Carlini
bbad4221ec
2004-01-18 Paolo Carlini <pcarlini@suse.de>
...
* ChangeLog rotation.
From-SVN: r76093
2004-01-18 11:18:29 +00:00
Paolo Carlini
acbab5bf1c
basic_string.h (c_str()): Simplify, due to 21.3.4 the internal representation is always kept null-terminated.
...
2004-01-18 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.h (c_str()): Simplify, due to
21.3.4 the internal representation is always kept null-terminated.
* include/bits/basic_string.tcc (_M_clone): Null-terminate.
* testsuite/21_strings/basic_string/element_access/char/4.cc: New.
* testsuite/21_strings/basic_string/element_access/wchar_t/4.cc: Ditto.
From-SVN: r76092
2004-01-18 10:51:13 +00:00
Paolo Carlini
9c96a6896b
basic_string.h (append(size_type, _CharT)): Moved inline...
...
2004-01-18 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.h (append(size_type, _CharT)):
Moved inline, just call _M_replace_aux, no source iterators at
risk of being clobbered.
(assign(size_type, _CharT)): Call directly _M_replace_aux.
(_M_replace(iterator, iterator, _InputIterator, _InputIterator,
input_iterator_tag)): Remove fifth unused argument.
(_M_replace_dispatch(iterator, iterator, _InputIterator,
_InputIterator, __false_type)): Update call.
* include/bits/basic_string.tcc (replace(size_type, size_type,
const _CharT*, size_type)): Update call.
(_M_replace_aux(iterator, iterator, size_type, _CharT)): Tweak
throw string literal.
(_M_replace_safe(iterator, iterator, _ForwardIterator,
_ForwardIterator)): Likewise.
(_M_replace(iterator, iterator, _InputIterator, _InputIterator,
input_iterator_tag)): Remove fifth unused argument.
(append(size_type __n, _CharT __c)): Move inline.
* src/string-inst.cc (S::_M_replace(S::iterator, S::iterator,
const C*, const C*, input_iterator_tag)): Remove fifth unused
argument.
From-SVN: r76091
2004-01-18 09:54:46 +00:00
Richard Sandiford
1c0f3facc4
Add PR number to last commit.
...
From-SVN: r76090
2004-01-18 09:45:32 +00:00
Richard Sandiford
b85aed9ef7
mips.c: Include cfglayout.h.
...
* config/mips/mips.c: Include cfglayout.h.
(TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): Define.
(mips_unspec_offset_high): Add temporary register argument.
(mips_load_call_address): New function, split out from...
(mips_expand_call): ...here.
(mips_output_cplocal): New function.
(mips_output_function_prologue, mips_output_function_epilogue): Use it.
(mips_emit_loadgp): New function, split out from...
(mips_expand_prologue): ...here.
(mips_output_mi_thunk): New function.
From-SVN: r76088
2004-01-18 09:42:11 +00:00
Bernardo Innocenti
e5d95b6993
longlong.h (mc68020, [...]): Remove redundant checks for implied target predefines.
...
* longlong.h (mc68020, __mc68030__, mc68030, __mc68040__, mc68040,
mcpu32): Remove redundant checks for implied target predefines.
From-SVN: r76084
2004-01-18 06:07:35 +01:00
David Edelsohn
a3d8a647d6
array-quals-1.c: xfail on powerpc*-*-aix*.
...
* gcc.dg/array-quals-1.c: xfail on powerpc*-*-aix*.
* gcc.dg/const-elim-1.c: Same.
From-SVN: r76083
2004-01-17 23:39:34 -05:00
Andrew Pinski
19d66194e8
2004-1-17 Andrew Pinski <pinskia@physics.uc.edu>
...
* config/rs6000/rs6000.c (rs6000_special_round_type_align):
Return type is unsigned int not int.
* config/rs6000/rs6000-protos.h (rs6000_special_round_type_align):
Likewise.
From-SVN: r76081
2004-01-17 19:46:56 -08:00
Joseph Myers
95fef11f10
contrib.texi, [...]: Consistently use "GNU/Linux" and "Microsoft Windows" terminology.
...
* doc/contrib.texi, doc/cppenv.texi, doc/extend.texi,
doc/install.texi, doc/invoke.texi, doc/tm.texi: Consistently use
"GNU/Linux" and "Microsoft Windows" terminology.
From-SVN: r76078
2004-01-18 02:10:34 +00:00
Joseph Myers
3ab51846c1
c-tree.texi, [...]: Use @smallexample instead of @example.
...
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 01:20:48 +00:00
Ziemowit Laski
cfbed37cf8
objc-act.c (build_objc_method_call): Use target hooks instead of macros to determine if...
...
[gcc/ChangeLog]
2004-01-17 Ziemowit Laski <zlaski@apple.com>
* objc/objc-act.c (build_objc_method_call): Use target
hooks instead of macros to determine if ..._stret
dispatchers should be used (NeXT runtime only).
[gcc/testsuite/ChangeLog]
2004-01-17 Ziemowit Laski <zlaski@apple.com>
* objc.dg/stret-1.m: New.
* objc.dg/stret-2.m: New.
From-SVN: r76072
2004-01-18 01:15:30 +00:00
GCC Administrator
cec403bcea
Daily bump.
...
From-SVN: r76068
2004-01-18 00:16:43 +00:00
Roger Sayle
bef5105b4e
builtins.c (expand_builtin_expect_jump): Fix mistake in my last patch.
...
* builtins.c (expand_builtin_expect_jump): Fix mistake in my
last patch. Use XEXP (x, 0) to get a LABEL_REF's CODE_LABEL.
From-SVN: r76064
2004-01-17 23:49:44 +00:00
Daniel Jacobowitz
dd3adcf8a1
* rtl.h (emit_insn_before_sameloc, emit_jump_insn_before_sameloc)
...
(emit_call_insn_before_sameloc, emit_insn_after_sameloc)
(emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): New
macros.
* reload1.c (emit_reload_insns): Use them.
* emit-rtl.c (emit_insn_before_sameloc, emit_insn_after_sameloc)
(emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): Check
for NULL PATTERN.
From-SVN: r76062
2004-01-17 22:14:17 +00:00
Daniel Jacobowitz
589fe865e0
final.c (SEEN_BB, [...]): Define.
...
* final.c (SEEN_BB, SEEN_NOTE, SEEN_EMITTED): Define.
(final_scan_insn): Update to take an additional SEEN argument. Emit
a line note after the prologue. Make static.
(line_note_exists): Remove.
(final): Don't initialize line_note_exists. Update call to
final_scan_insn.
* output.h (final_scan_insn): Remove prologue.
* function.c (set_insn_locators): Update comment.
(thread_prologue_and_epilogue_insns): Add a comment.
From-SVN: r76060
2004-01-17 22:11:58 +00:00
Steven Bosscher
59415997a3
Makefile.in: Remove rule for ggc-simple.o.
...
* Makefile.in: Remove rule for ggc-simple.o.
* configure.ac: Don't allow ggc-simple to be selected.
* configure: Regenerate.
* ggc-simple.c: Remove.
From-SVN: r76058
2004-01-17 21:03:57 +00:00
Andrew Pinski
95727fb877
re PR target/10781 (wrong class size and alignment with static class member)
...
2004-01-17 Andrew Pinski <pinskia@physics.uc.edu>
PR target/10781
* config/rs6000/rs6000-protos.h (rs6000_special_round_type_align):
Prototype.
* config/rs6000/rs6000.c (rs6000_special_round_type_align):
New function.
* config/rs6000/linux64.h (ROUND_TYPE_ALIGN): Use it.
* config/rs6000/aix.h (ROUND_TYPE_ALIGN): Likewise.
* config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Likewise.
2004-01-17 Andrew Pinski <pinskia@physics.uc.edu>
PR target/10781
* encoding.c (rs6000_special_round_type_align): Define.
From-SVN: r76043
2004-01-17 11:48:50 -08:00
Andrew Pinski
4bfaff4d24
fix dates on the Changelog.
...
From-SVN: r76041
2004-01-17 11:04:05 -08:00
Andrew Pinski
6f27961ac0
[multiple changes]
...
2004-01-16 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/11895
* g++.dg/ext/vector1.C: New test.
2003-08-26 Fred Fish <fnf@intrinsity.com>
PR c++/11895
* decl.c (reshape_init): Handle VECTOR_TYPE like ARRAY_TYPE,
except don't call array_type_nelts() with a VECTOR_TYPE.
From-SVN: r76038
2004-01-17 10:59:46 -08:00
Gerald Pfeifer
aeeb0e1b8c
snapshot-README: Mention how the snapshot was generated.
...
* snapshot-README: Mention how the snapshot was generated.
* snapshot-index.html: Ditto. Further sync with snapshot-README.
From-SVN: r76037
2004-01-17 17:41:36 +00:00
Jan Hubicka
26c0473bc9
toplev.c (rest_of_handle_reorder_blocks): Fix pasto in previous commit.
...
* toplev.c (rest_of_handle_reorder_blocks): Fix pasto in previous
commit.
From-SVN: r76035
2004-01-17 12:28:57 +00:00
Jan Hubicka
f2e16e973b
toplev.c (HAVE_conditional_execution): Provide default.
...
* toplev.c (HAVE_conditional_execution): Provide default.
(rest_of_handle_reorder_blocks): For conditional_execution target
update liveness once after all transformations
(rest_of_compilation): Do crossjumping before ce3.
From-SVN: r76032
2004-01-17 11:41:43 +00:00
Geoffrey Keating
f103e34d1d
re PR pch/13689 (GGC PCH breaks aliasing)
...
PR pch/13689
* alias.c (new_alias_set): Mark last_alias_set for PCH.
(get_varargs_alias_set): Rename 'set' to 'varargs_set' and mark it
for PCH.
(get_frame_alias_set): Likewise, except rename it to 'frame_set'.
* config/rs6000/rs6000.c (rs6000_sr_alias_set): Mark for PCH.
(get_TOC_alias_set): Mark 'set' for PCH.
From-SVN: r76031
2004-01-17 09:31:30 +00:00
Tom Tromey
19833df131
ChangeLog rotation
...
From-SVN: r76030
2004-01-17 08:40:41 +00:00
Geoffrey Keating
ab530ea8b8
cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps even after reload, just don't remove the actual jump tables.
...
* cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps
even after reload, just don't remove the actual jump tables.
From-SVN: r76028
2004-01-17 07:46:49 +00:00
Joel Brobecker
53dd3be37f
Fix my email address in the previous checkin.
...
From-SVN: r76026
2004-01-17 06:20:03 +00:00
J. Brobecker
e7d23ce3b5
dwarf2out.c (is_subrange_type): Renamed from is_ada_subrange_type().
...
* dwarf2out.c (is_subrange_type): Renamed from is_ada_subrange_type().
Remove checks for is_ada() and TREE_UNSIGNED.
(subrange_type_die): Emit a byte_size attribute if the subrange
type size is different from the base type size.
(modified_type_die): Replace call to is_ada_subrange_type() by
call to is_subrange_type().
From-SVN: r76025
2004-01-17 05:30:48 +00:00
Andrew Pinski
cf5da2b9d8
typeck.c (find_method_in_interfaces): Move variable definition up.
...
2004-01-16 Andrew Pinski <pinskia@physics.uc.edu>
* typeck.c (find_method_in_interfaces): Move variable
definition up.
From-SVN: r76021
2004-01-16 17:57:09 -08:00
Andrew Pinski
8582b18a5f
sh.c: Include ggc.h.
...
2004-01-16 Andrew Pinski <pinskia@physics.uc.edu>
* config/sh/sh.c: Include ggc.h.
From-SVN: r76018
2004-01-16 17:19:20 -08:00
Benjamin Kosnik
d517f626e1
13189.cc: Fix guards.
...
2004-01-16 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/ext/enc_filebuf/char/13189.cc: Fix guards.
* testsuite/ext/enc_filebuf/wchar_t/13189.cc: Same.
From-SVN: r76017
2004-01-17 00:51:35 +00:00
Geoffrey Keating
73e61092e1
[multiple changes]
...
2004-01-15 Geoffrey Keating <geoffk@apple.com>
* Makefile.in (MD5_H): New.
(fold-const.o): Depend on md5.h.
(dwarf2out.o): Likewise.
(cppfiles.o): Likewise.
* cppfiles.c: Include md5.h.
(should_stack_file): Check against list read from PCH file.
(struct pchf_data): New.
(pchf): New variable.
(struct pchf_adder_info): New.
(pchf_adder): New.
(pchf_save_compare): New.
(_cpp_save_file_entries): New.
(_cpp_read_file_entries): New.
(struct pchf_compare_data): New.
(pchf_compare): New.
(check_file_against_entries): New.
* cpphash.h (_cpp_save_file_entries): Prototype.
(_cpp_read_file_entries): Prototype.
* cpppch.c (cpp_write_pch_state): Write the list of headers.
(cpp_read_state): Read the list of headers.
Index: testsuite/ChangeLog
2004-01-16 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/pch/import-1.c: New.
* gcc.dg/pch/import-1.hs: New.
* gcc.dg/pch/import-1a.h: New.
* gcc.dg/pch/import-1b.h: New.
* gcc.dg/pch/import-1c.h: New.
From-SVN: r76016
2004-01-17 00:37:47 +00:00
GCC Administrator
790b6144d1
Daily bump.
...
From-SVN: r76013
2004-01-17 00:16:11 +00:00
Joseph Myers
f3b786f999
* de.po: Update.
...
From-SVN: r76008
2004-01-17 00:04:13 +00:00
Jan Hubicka
3b75d796ac
c-common.c (c_estimate_num_insns_1): Handle builtin_constant_p and builtin_expect specially.
...
* c-common.c (c_estimate_num_insns_1): Handle builtin_constant_p and
builtin_expect specially.
* params.def (PARAM_MAX_INLINE_INSNS_AUTO): Set to 100.
(PARAM_LARGE_FUNCTION_INSNS): Set to 3000.
* invoke.texi (max-inline-insns-single): Set to 100.
(large-function-insns): Set to 3000.
From-SVN: r76007
2004-01-17 00:03:14 +00:00
Tom Tromey
d440f6424f
* java/awt/Container.java: Typo and indentation fixes.
...
From-SVN: r76004
2004-01-17 00:01:59 +00:00
Tom Tromey
b54a271561
natClassLoader.cc: Moved VMClassLoader methods...
...
* java/lang/natClassLoader.cc: Moved VMClassLoader methods...
* java/lang/natVMClassLoader.cc: ...here. New file.
* Makefile.in: Rebuilt.
* Makefile.am (nat_source_files): Added natVMClassLoader.cc.
From-SVN: r76003
2004-01-16 23:54:22 +00:00
Volker Reichelt
280835807d
* MAINTAINERS: Remove entries without email address.
...
From-SVN: r76001
2004-01-16 23:27:12 +00:00
Eric Christopher
cf551fbaca
cppcharset.c (one_iso88591_to_utf8): New function.
...
2004-01-16 Eric Christopher <echristo@redhat.com>
Chandrakala Chavva <cchavva@redhat.com>
* cppcharset.c (one_iso88591_to_utf8): New function.
(convert_iso88591_utf8): Ditto. Use.
(conversion_tab): Use.
(_cpp_input_to_utf8): New function.
(_cpp_init_iconv_buffer): Ditto.
(_cpp_close_iconv_buffer): Ditto.
* cpphash.h: Prototype new functions.
(cpp_buffer): Add input_cset_desc.
* cppinit.c: Add input_charset default.
* cpplib.c (cpp_push_buffer): Support init and
close of iconv.
* cpplib.h (cpp_options): Add input_charset.
From-SVN: r76000
2004-01-16 22:37:49 +00:00
Fernando Nasser
2f9c39f8fc
gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler): Discard GDK_ENTER_NOTIFY related to ungrabs.
...
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
Discard GDK_ENTER_NOTIFY related to ungrabs.
From-SVN: r75999
2004-01-16 22:30:11 +00:00
Fernando Nasser
da1c22e144
EventQueue.java (pop): Prevent breaking the chain if pop is called for an intermediate queue.
...
* java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
is called for an intermediate queue.
From-SVN: r75998
2004-01-16 22:26:49 +00:00
Thomas Fitzsimmons
eae433e995
2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
...
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(window_property_changed_cb): Set id_set.
Also: re-indent kho's latest ChangeLog entry.
From-SVN: r75997
2004-01-16 21:55:21 +00:00