Benjamin Kosnik
a520f0b0ae
[multiple changes]
...
2004-10-25 Benjamin Kosnik <bkoz@redhat.com>
* include/Makefile.am (tr1_headers): Add tuple.
* include/Makefile.in: Regenerate.
2004-10-25 Chris Jefferson <chris@bubblescope.net>
* include/tr1/tuple: Implementation of tuple from library TR.
* testsuite/tr1/6_containers/tuple/tuple_element.cc: New.
* testsuite/tr1/6_containers/tuple/tuple_size.cc: New.
* testsuite/tr1/6_containers/tuple/comparison_operators/comparisons.cc:
New.
* testsuite/tr1/6_containers/tuple/cons/assignment.cc: New.
* testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: New.
* testsuite/tr1/6_containers/tuple/cons/constructor.cc: New.
* testsuite/tr1/6_containers/tuple/creation_functions/make_tuple.cc:
New.
* testsuite/tr1/6_containers/tuple/creation_functions/tie.cc: New.
* testsuite/tr1/6_containers/tuple/element_access/get.cc: New.
From-SVN: r89548
2004-10-25 19:05:58 +00:00
Roger Sayle
08a692679f
cse.c: Change encoding of quantity numbers to avoid undefined pointer arithmetic on...
...
* cse.c: Change encoding of quantity numbers to avoid undefined
pointer arithmetic on qty_table.
(REGNO_QTY_VALID_P): A quantity is now valid if it isn't negative.
(get_cse_reg_info): Initialize reg_qty to a unique negative value.
(new_basic_block): Assign "real" quantity numbers from zero.
(delete_reg_equiv): Do nothing if quantity is invalid. Reset the
REG_QTY to its unique negative value.
(merge_equiv_classes): Calculate need_rehash if quantity is valid.
(cse_main): Don't include max_reg when determining max_qty.
(cse_basic_block): Avoid subtracting a large offset from qty_table,
which causes undefined C99 behaviour. Only allocate needed memory.
Co-Authored-By: John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
From-SVN: r89543
2004-10-25 17:23:15 +00:00
Tom Tromey
4cd26879f7
ResourceBundle.java (tryBundle): Use Class.isAssignableFrom rather than catching ClassCastException.
...
* java/util/ResourceBundle.java (tryBundle): Use
Class.isAssignableFrom rather than catching ClassCastException.
From-SVN: r89542
2004-10-25 17:09:46 +00:00
Tom Tromey
6fc058da98
WordBreakIterator.java (WordBreakIterator): Don't initialize `iter'.
...
* gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
initialize `iter'.
* gnu/java/text/SentenceBreakIterator.java
(SentenceBreakIterator): Don't initialize `iter'.
* gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
initialize `iter'.
* gnu/java/text/CharacterBreakIterator.java
(CharacterBreakIterator): Don't initialize `iter'.
* gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
constructor.
* java/text/BreakIterator.java: Updated documentation.
From-SVN: r89539
2004-10-25 16:56:00 +00:00
Kazu Hirata
5cfffc4e16
* stmt.c (expand_case): Remove an obsolete comment.
...
From-SVN: r89537
2004-10-25 15:58:47 +00:00
Paolo Carlini
8eae76be5f
basic_string.h (_Rep::_M_is_safe): Move to basic_string as _M_disjunct, adjust to take only __s.
...
2004-10-25 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.h (_Rep::_M_is_safe): Move to
basic_string as _M_disjunct, adjust to take only __s.
* include/bits/basic_string.tcc: Adjust consistently callers.
From-SVN: r89534
2004-10-25 15:16:49 +00:00
Andrew Pinski
4c7c0c70e3
re PR middle-end/17407 (ICE in int_mode_for_mode)
...
2004-10-25 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/17407
* c-decl.c (grokdeclarator) <case cdk_array>: Remove the call
layout_type as it is already done by build_array_type.
* tree.c (build_array_type): Layout the type even
2004-10-25 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/18121
* decl.c (grokdeclarator) <case cdk_array>: Remove the call
layout_type as it is already done by create_array_type_for_decl.
2004-10-25 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/17407
* gcc.c-torture/compile/pr17407.c: New test.
PR c++/18121
* g++.dg/template/array8.C: New test.
From-SVN: r89533
2004-10-25 06:27:32 -07:00
Paolo Carlini
d87bdb1330
basic_string.tcc (assign(const _CharT*, size_type)): Adjust bit missing from the previous commit.
...
2004-10-25 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.tcc (assign(const _CharT*, size_type)):
Adjust bit missing from the previous commit.
From-SVN: r89532
2004-10-25 10:43:59 +00:00
Eric Botcazou
1e02510f05
re PR other/18138 (libgcc_s.so.1 not found by 64-bit testsuite)
...
gcc/testsuite:
PR other/18138
* lib/g++.exp: Accept more than one multilib libgcc.
* lib/gcc-dg.exp: Likewise.
* lib/objc.exp: Likewise.
* lib/treelang.exp: Likewise.
* lib/gfortran.exp: Likewise.
libffi:
PR other/18138
* testsuite/lib/libffi-dg.exp: Accept more than one multilib
libgcc.
libjava:
PR other/18138
* testsuite/lib/libjava.exp: Accept more than one multilib
libgcc.
libmudflap!:
PR other/18138
* testsuite/lib/libmudflap.exp: Accept more than one multilib
libgcc.
libstdc++-v3:
PR other/18138
* testsuite/lib/libstdc++.exp: Accept more than one multilib
libgcc.
From-SVN: r89528
2004-10-25 09:01:15 +00:00
Kazuhiro Inaoka
d9a193b251
(FFII_CLOSURES): Set to 0.
...
From-SVN: r89527
2004-10-25 08:55:44 +00:00
Paolo Carlini
ec61e852bc
basic_string.h (_Rep::_M_is_safe, [...]): New, use througout.
...
2004-10-25 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.h (_Rep::_M_is_safe, _M_check_length,
_M_move, _M_copy, _M_assign): New, use througout.
(operator+=(_CharT)): Define in terms of push_back.
(append(const basic_string&)): Define here, inline, and simplify,
don't use the full _M_replace_safe.
(append(size_type, _CharT)): Likewise, don't use _M_replace_aux.
(push_back): Likewise.
(assign(const basic_string&)): Define here, inline.
* include/bits/basic_string.tcc (append(const _CharT* s, size_type):
Fix: when s points inside the _Rep, upon reallocation (reserve) we
were copying from deallocated memory.
(append(const basic_string&, size_type, size_type)): Simplify,
don't use _M_replace_safe.
(replace(size_type, size_type, const _CharT*, size_type)): Slightly
tweak.
(reserve): Likewise.
* testsuite/21_strings/basic_string/append/char/2.cc: New.
* testsuite/21_strings/basic_string/append/char/3.cc: Likewise.
* testsuite/21_strings/basic_string/append/wchar_t/2.cc: Likewise.
* testsuite/21_strings/basic_string/append/wchar_t/3.cc: Likewise.
* testsuite/21_strings/basic_string/assign/char/3.cc: Remove junk.
* testsuite/21_strings/basic_string/assign/wchar_t/3.cc: Likewise.
From-SVN: r89526
2004-10-25 08:45:04 +00:00
Alexandre Oliva
4318d4a1b6
* config/frv/linux.h (TARGET_C99_FUNCTIONS): Define to 0.
...
From-SVN: r89525
2004-10-25 08:35:34 +00:00
Alexandre Oliva
a6cb87fba6
frv.md (movdi, movdf): Handle wide-constant splits with wider-than-32-bit HOST_WIDE_INTs.
...
* config/frv/frv.md (movdi, movdf): Handle wide-constant splits
with wider-than-32-bit HOST_WIDE_INTs.
From-SVN: r89524
2004-10-25 08:33:04 +00:00
David Billinghurst
4de3d01180
2004-10-25 David Billinghurst <David.Billinghurst@riotinto.com
...
* config/mips/mips.c(mips_output_filename): Remove unused
array ltext_label_name
From-SVN: r89522
2004-10-25 06:14:33 +00:00
Ben Elliston
f47b662edb
* cfgcleanup.c (outgoing_edges_match): Fix typo in dump output.
...
From-SVN: r89521
2004-10-25 14:23:49 +10:00
James A. Morrison
04972521bb
treetree.c (tree_code_generate_return): Wrap param declaration in ENABLE_CHECKING.
...
2004-10-24 James A. Morrison <phython@gcc.gnu.org>
* treetree.c (tree_code_generate_return): Wrap param declaration in
ENABLE_CHECKING.
From-SVN: r89520
2004-10-25 03:03:24 +00:00
Geoffrey Keating
c8529ffa5b
* config/rs6000/darwin.h (BLOCK_REG_PADDING): Define.
...
From-SVN: r89519
2004-10-25 02:03:50 +00:00
Ben Elliston
a304f64e16
* cfgcleanup.c (outgoing_edges_match): Fix typo in dump output.
...
From-SVN: r89518
2004-10-25 10:29:02 +10:00
Ben Elliston
f3515059ee
* gcc.dg/c90-const-expr-3.c: Reference the ISO C standard.
...
From-SVN: r89517
2004-10-25 10:17:07 +10:00
GCC Administrator
dc717146f2
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r89515.2
2004-10-25 00:16:17 +00:00
GCC Administrator
e15ffffa4b
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r89514.2
2004-10-25 00:16:12 +00:00
Geoffrey Keating
c94ac97d33
Correct e-mail address on last change.
...
From-SVN: r89512
2004-10-24 22:06:36 +00:00
Geoffrey Keating
8b45dc77de
c90-const-expr-3.c: xfail all the ASSERT_NOT_NPC tests.
...
* gcc.dg/c90-const-expr-3.c: xfail all the ASSERT_NOT_NPC tests.
* gcc.dg/c99-const-expr-3.c: Likewise.
From-SVN: r89511
2004-10-24 20:59:29 +00:00
Andrew Pinski
711a89d6e0
predict.c (predict_loops): Call scev_finalize instead of scev_reset.
...
2004-10-23 Andrew Pinski <pinskia@physics.uc.edu>
* predict.c (predict_loops): Call scev_finalize instead of
scev_reset.
From-SVN: r89504
2004-10-23 18:46:38 -07:00
Kazu Hirata
92453b2172
dbxcoff.h, [...]: Update copyright.
...
* config/dbxcoff.h, config/dbxelf.h, config/libgloss.h,
config/openbsd.h, config/mips/r3900.h, config/pdp11/pdp11.md,
config/sh/ushmedia.h, config/sparc/elf.h,
config/sparc/sp64-elf.h: Update copyright.
From-SVN: r89503
2004-10-24 01:42:49 +00:00
Kazu Hirata
4e0148df67
stmt.c (expand_case): Handle the default label outside of the for loop.
...
* stmt.c (expand_case): Handle the default label outside of
the for loop. Remove code to handle a missing default label.
From-SVN: r89502
2004-10-24 00:46:10 +00:00
GCC Administrator
545b6261a4
Daily bump.
...
From-SVN: r89500
2004-10-24 00:16:10 +00:00
Kazu Hirata
d0ed471f09
dbxout.c (dbxout_function_decl): Don't use DBX_OUTPUT_FUNCTION_END.
...
* dbxout.c (dbxout_function_decl): Don't use
DBX_OUTPUT_FUNCTION_END.
* system.h: Poison DBX_OUTPUT_FUNCTION_END.
* doc/tm.texi (DBX_OUTPUT_FUNCTION_END): Remove.
From-SVN: r89496
2004-10-23 20:31:24 +00:00
Daniel Jacobowitz
fc45f3fed5
configure.in: Use an absolute path to install-sh.
...
* configure.in: Use an absolute path to install-sh.
* configure: Regenerated.
From-SVN: r89495
2004-10-23 20:28:46 +00:00
Michael Koch
b1a70a1a82
DocFlavor.java, [...]: Added missing constants.
...
2004-10-23 Michael Koch <konqueror@gmx.de>
* javax/print/DocFlavor.java,
javax/print/attribute/standard/JobStateReason.java,
javax/print/attribute/standard/MultipleDocumentHandling.java:
Added missing constants.
From-SVN: r89494
2004-10-23 20:06:12 +00:00
Andrew Pinski
ed3eaab807
deallocate_global-2.c: s/value_t/value_type/.
...
2004-10-23 Andrew Pinski <pinskia@physics.uc.edu>
* testsuite/ext/mt_allocator/deallocate_global-2.c:
s/value_t/value_type/. s/traits_t/traits_type/.
s/policy_t/policy_type/. s/allocator_t/allocator_type/.
s/string_t/string_type/. s/list_t/list_type/.
* testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise.
* testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise.
* testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise.
* testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise.
* testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise.
* testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise.
* testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise.
From-SVN: r89493
2004-10-23 12:41:06 -07:00
Andrew Pinski
66174cd035
re PR middle-end/17967 (Expand is considered slower? (remove_useless_stmts is considered part of expand))
...
2004-10-23 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/17967
* tree-cfg.c (remove_usless_stmts_cond): Don't Fold statement.
From-SVN: r89492
2004-10-23 12:17:08 -07:00
Daniel Berlin
84dd478f2b
tree-ssa-dom.c (record_equality): Use loop depth to determine which way to record the equality as well.
...
2004-10-23 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-dom.c (record_equality): Use loop depth to determine
which way to record the equality as well.
(loop_depth_of_name): New function.
From-SVN: r89491
2004-10-23 18:00:01 +00:00
Andrew Pinski
ee742c05a2
loop-1.c: Add -static for *-*-darwin*.
...
2004-10-23 Andrew Pinski <pinskia@physics.uc.edu>.
* gcc.dg/tree-ssa/loop-1.c: Add -static for *-*-darwin*.
From-SVN: r89489
2004-10-23 08:53:06 -07:00
Eric Botcazou
918047526d
re PR middle-end/17793 (Ada bootstrap failure)
...
PR middle-end/17793
* gimplify.c (gimplify_addr_expr) <VIEW_CONVERT_EXPR>: Look
through the operand if it is a useless type conversion.
From-SVN: r89488
2004-10-23 09:16:46 +00:00
R. Kelley Cook
757f86d6a4
Ignore autom4te.cache
...
From-SVN: r89486
2004-10-23 02:34:54 +00:00
GCC Administrator
f38b1cee95
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r89484.2
2004-10-23 00:16:25 +00:00
GCC Administrator
0f051780fa
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r89483.2
2004-10-23 00:16:21 +00:00
Ben Elliston
865851d0dc
cfg.c (remove_edge): Use VEC_unordered_remove.
...
* cfg.c (remove_edge): Use VEC_unordered_remove.
(redirect_edge_succ): Likewise.
(redirect_edge_pred): Likewise.
* cfgrtl.c (force_nonfallthru_and_redirect): Likewise.
From-SVN: r89480
2004-10-23 08:55:47 +10:00
Ben Elliston
fef62f0370
* gcc.c-torture/execute/loop-2e.x: Remove.
...
From-SVN: r89479
2004-10-23 08:34:18 +10:00
Tom Tromey
aced40e999
Connection.java (sendRequest): Fix typo.
...
* gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
typo.
From-SVN: r89477
2004-10-22 21:15:38 +00:00
Michael Koch
7758f90a45
re PR libgcj/14009 (libgcj HttpURLConnection does not handle situation where retrieving url without trailing slash after domain.)
...
2004-10-22 Michael Koch <konqueror@gmx.de>
PR libjava/14009
* gnu/java/net/protocol/http/Connection.java
(sendRequest): Handle case when url.getFile() returns an empty string.
From-SVN: r89476
2004-10-22 20:23:21 +00:00
Kazu Hirata
eb84665417
sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Don't access PTR beyond its end.
...
* sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Don't access PTR
beyond its end.
From-SVN: r89475
2004-10-22 19:48:43 +00:00
Eric Christopher
94ff898d42
rs6000.c (setup_incoming_varargs): Align DFmode saves.
...
2004-10-22 Eric Christopher <echristo@redhat.com>
* config/rs6000/rs6000.c (setup_incoming_varargs): Align DFmode
saves.
From-SVN: r89474
2004-10-22 19:44:48 +00:00
Aldy Hernandez
7a2f787061
spe.md (spe_extendsfdf2): New.
...
* config/rs6000/spe.md (spe_extendsfdf2): New.
(movdf_e500_double): New.
(spe_truncdfsf2): New.
(spe_absdf2): New.
(spe_nabsdf2): New.
(spe_negdf2): New.
(sub_adddf3): New.
(spe_subdf3): New.
(spe_muldf3): New.
(spe_floatsidf2): New.
(spe_floatunssidf2): New.
(fix_truncdfsi2): New.
(spe_fixuns_truncdfsi2): New.
* config/rs6000/rs6000.md (truncdfsf2): Change to expander.
(fpr_truncdfsf2): New.
(negdf2): Change to expander.
(fpr_negdf2): New.
(fpr_nabsdf2): Name pattern.
(adddf3): Change to expander.
(fpr_adddf3): Nem.
(subdf3): Change to expander.
(fpr_subdf3): New.
(muldf3): Change to expander.
(fpr_muldf3): New.
(divdf3): Change to expander.
(fpr_divdf3): New.
(movdf_softfloat32): Change !TARGET_FPRS to TARGET_E500_SINGLE.
(cmpdf): Allow for TARGET_E500_DOUBLE.
From-SVN: r89472
2004-10-22 19:41:58 +00:00
Kazu Hirata
3a6210c52f
c-semantics.c (re_push_stmt_list): Remove.
...
* c-semantics.c (re_push_stmt_list): Remove.
* c-common.h: Remove the corresponding prototype.
From-SVN: r89468
2004-10-22 18:54:25 +00:00
Kazu Hirata
11901f5dcc
stmt.c (asm_op_is_mem_input): Remove.
...
* stmt.c (asm_op_is_mem_input): Remove.
* tree.h: Remove the corresponding prototype.
From-SVN: r89467
2004-10-22 18:52:19 +00:00
Kazu Hirata
82338042c0
tree-gimple.c (is_gimple_constructor_elt): Remove.
...
* tree-gimple.c (is_gimple_constructor_elt): Remove.
* tree-gimple.h: Remove the corresponding prototype.
From-SVN: r89466
2004-10-22 18:50:34 +00:00
Kazu Hirata
4fe8591b52
varasm.c (get_pool_mode_for_function, [...]): Remove.
...
* varasm.c (get_pool_mode_for_function, get_pool_offset):
Remove.
* rtl.h: Remove the corresponding prototypes.
From-SVN: r89465
2004-10-22 18:48:15 +00:00
Kazu Hirata
385efa80b7
tree-cfg.c (thread_jumps_from_bb): Speed up by extracting edge information when...
...
* tree-cfg.c (thread_jumps_from_bb): Speed up by extracting
edge information when we commit ourselves to threading a
particular jump.
From-SVN: r89462
2004-10-22 17:59:50 +00:00