OSDN Git Service
lerdsuwa [Mon, 29 Nov 2004 14:17:33 +0000 (14:17 +0000)]
PR c++/18652
* name-lookup.c (pushtag): Change return type to tree.
* cp-tree.h (pushtag): Adjust declaration.
* decl.c (xref_tag, start_enum): Use return value of pushtag.
* pt.c (push_template_decl_real): Return immediately if
pushdecl_namespace_level returns error_mark_node.
* g++.dg/lookup/crash6.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91470
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 29 Nov 2004 13:29:54 +0000 (13:29 +0000)]
2004-11-29 Paolo Carlini <pcarlini@suse.de>
* testsuite/21_strings/basic_string/capacity/char/18654.cc: Use
better names.
* testsuite/21_strings/basic_string/capacity/wchar_t/18654.cc: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91469
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Mon, 29 Nov 2004 13:27:10 +0000 (13:27 +0000)]
PR middle-end/18164
* gcc.dg/pr18164.c: Add dg-options "". Correct typo in dg-error.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91468
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 29 Nov 2004 12:59:53 +0000 (12:59 +0000)]
2004-11-29 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/18654
* include/bits/basic_string.tcc (_Rep::_S_create): When shrinking,
do not round to pagesize.
* testsuite/21_strings/basic_string/capacity/char/18654.cc: New.
* testsuite/21_strings/basic_string/capacity/wchar_t/18654.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91466
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Mon, 29 Nov 2004 11:35:34 +0000 (11:35 +0000)]
* gcc.dg/Wnested-externs-1.c, gcc.dg/decl-7.c, gcc.dg/decl-8.c,
gcc.dg/if-empty-1.c, gcc.dg/init-bad-1.c, gcc.dg/init-bad-2.c,
gcc.dg/init-bad-3.c, gcc.dg/parm-mismatch-1.c: New tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91465
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Mon, 29 Nov 2004 11:29:09 +0000 (11:29 +0000)]
* varasm.c (default_elf_select_section_1): Only pass DECL_P decl
to named_section.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91464
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Mon, 29 Nov 2004 09:33:10 +0000 (09:33 +0000)]
* opts.c (decode_options): Do not set max-inline-insns-rtl.
(common_handle_option): Likewise.
* params.def (PARAM_MAX_INLINE_INSNS_RTL): Remove.
* params.h (MAX_INLINE_INSNS_RTL): Remove.
* doc/invoke.texi (max-inline-insns-rtl): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91463
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Mon, 29 Nov 2004 06:24:30 +0000 (06:24 +0000)]
PR target/9571
* varasm.c (default_elf_select_section_1): Pass decl to named_section.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91462
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Mon, 29 Nov 2004 02:21:28 +0000 (02:21 +0000)]
2004-11-18 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/18164
* gimplify.c (gimplify_asm_expr): If the length of an output operand
is zero, do not process it, just let it go through.
2004-11-28 Andrew Pinski <pinskia@physics.uc.edu>
* gcc.dg/pr18164.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91459
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 29 Nov 2004 01:15:39 +0000 (01:15 +0000)]
PR/18662, also backported from tree-cleanup-branch.
* tree-ssa-ccp.c (substitute_and_fold): If replaced anything,
always call maybe_clean_eh_stmt and modify_stmt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91451
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 29 Nov 2004 01:08:41 +0000 (01:08 +0000)]
PR/18664
* tree-ssa-operands.c (build_ssa_operands, case MODIFY_EXPR):
Ignore a VIEW_CONVERT_EXPR on LHS when deciding if must or may def.
* tree-ssa-ccp.c (visit_assignment): If LHS is a VIEW_CONVERT_EXPR,
add an inverse VIEW_CONVERT_EXPR to const_val.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91450
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 29 Nov 2004 01:03:15 +0000 (01:03 +0000)]
* tree-nested.c (check_for_nested_with_variably_modified): New.
(create_nesting_tree): Call it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91449
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 29 Nov 2004 00:59:25 +0000 (00:59 +0000)]
* tree-ssa-alias.c (compute_points_to_and_addr_escapes): Remove
special code for assigning to non-pointer.
(is_escape_site): If RHS is a conversion between pointer and integer
types, this is an escape site.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91448
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 29 Nov 2004 00:56:58 +0000 (00:56 +0000)]
* gcse.c (insert_store): Error if try to insert store on abnormal edge.
(store_motion): Don't move store if any edge we'd want to move it
to is abnormal.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91447
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 29 Nov 2004 00:52:33 +0000 (00:52 +0000)]
* expr.c (expand_expr_real_1, case ARRAY_REF): Properly fold with
non-zero lower bound.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91446
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 29 Nov 2004 00:49:14 +0000 (00:49 +0000)]
* expr.c (categorize_ctor_elements_1, case STRING_CST): New case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91445
138bc75d-0d04-0410-961f-
82ee72b054a4
kraai [Mon, 29 Nov 2004 00:37:54 +0000 (00:37 +0000)]
(gcc)
PR diagnostic/17594
* opts.c (find_opt): Require that the input match a switch exactly
or that the switch take a joined option to be interpreted as a
match for another language.
(gcc/testsuite)
* gcc.dg/funroll-loops-all.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91444
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Mon, 29 Nov 2004 00:21:22 +0000 (00:21 +0000)]
PR target/18489
* g++.dg/rtti/tinfo1.C: In pattern for label definition ending
delimeter, match space and TAB as well as ":".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91443
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 29 Nov 2004 00:17:14 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91441
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 29 Nov 2004 00:17:06 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91440
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Mon, 29 Nov 2004 00:03:40 +0000 (00:03 +0000)]
2004-11-28 Andrew Pinski <pinskia@physics.uc.edu>
* timevar.def (TV_TREE_REDPHI): New timevar.
* tree-ssa.c (pass_redundant_phi): Use TV_TREE_REDPHI for the tv id.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91438
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Sun, 28 Nov 2004 23:32:00 +0000 (23:32 +0000)]
lost ChangeLog entry
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91437
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Sun, 28 Nov 2004 23:29:41 +0000 (23:29 +0000)]
2004-11-28 Nathanael Nerode <neroden@gcc.gnu.org>
PR preprocessor/17651
* c-opts.c (sanitize_cpp_opts): Make flag_no_output imply
flag_no_line_commands.
* c-ppoutput.c (pp_file_change): Remove now-redundant check of
flag_no_output.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91436
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Sun, 28 Nov 2004 23:28:05 +0000 (23:28 +0000)]
PR target/18484
* g++.dg/abi/empty6.C: Xfail warning for mmix-*-*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91434
138bc75d-0d04-0410-961f-
82ee72b054a4
marekm [Sun, 28 Nov 2004 23:15:59 +0000 (23:15 +0000)]
* config/avr/avr.c (avr_handle_fndecl_attribute): Generate a
warning if the function name does not begin with "__vector" and the
function has either the 'signal' or 'interrupt' attribute.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91433
138bc75d-0d04-0410-961f-
82ee72b054a4
marekm [Sun, 28 Nov 2004 23:10:28 +0000 (23:10 +0000)]
* config/avr/avr.c (avr_mcu_types): Add entries for atmega48,
atmega88, atmega168, attiny13, attiny2313, at90can128, atmega165,
atmega325, atmega3250, atmega645 and atmega6450.
* config/avr/avr.h (LINK_SPEC): Ditto.
(LIB_SPEC): Ditto.
(LIBGCC_SPEC): Ditto.
(CRT_BINUTILS_SPECS): Ditto.
* config/avr/t-avr (MULTILIB_MATCHES): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91432
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Sun, 28 Nov 2004 22:57:38 +0000 (22:57 +0000)]
PR target/18348
* gcc.dg/uninit-H.c (ASM): For unknown targets, define to "= 0".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91431
138bc75d-0d04-0410-961f-
82ee72b054a4
mark [Sun, 28 Nov 2004 22:41:53 +0000 (22:41 +0000)]
* mauve-libgcj: Disable SpinnerListModel, SwingUtilities and
XMLDecoder tests which currently don't compile.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91430
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Sun, 28 Nov 2004 22:39:05 +0000 (22:39 +0000)]
PR target/18345
* gcc.dg/intmax_t-1.c: Add mmix-*-* to dg-error.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91429
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Sun, 28 Nov 2004 22:28:13 +0000 (22:28 +0000)]
(libcpp)
PR preprocessor/17610
* directives.c (do_include_common): Error out if an empty filename
is given for #include (or #include_next or #import).
(gcc)
PR preprocessor/17610
* testsuite/gcc.dg/cpp/empty-include.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91428
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Sun, 28 Nov 2004 22:14:34 +0000 (22:14 +0000)]
PR target/18337
* gcc.dg/array-quals-1.c: Xfail for mmix-*-*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91427
138bc75d-0d04-0410-961f-
82ee72b054a4
bdavis [Sun, 28 Nov 2004 21:14:02 +0000 (21:14 +0000)]
2004-11-28 Bud Davis <bdavis9659@comcast.net>
* gcc/gcc/gfortran.dg/direct_io_2.f90: New test.
* gcc/libgfortran/io/unix.c (mmap_alloc_w_a): check for a write
to a location less than the mapped area.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91426
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 28 Nov 2004 21:02:31 +0000 (21:02 +0000)]
* tree-ssa-alias.c (count_calls_and_maybe_create_global_var): New.
(pass_maybe_create_global_var): New.
* tree-pass.h (pass_maybe_create_global_var): Declare.
* tree-optimize.c (init_tree_optimization_passes): Link in
pass_maybe_create_global_var.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91425
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Sun, 28 Nov 2004 20:52:19 +0000 (20:52 +0000)]
PR target/18334
* gcc.dg/cpp/assert4.c: Remove mmix assertion tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91424
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 28 Nov 2004 14:02:56 +0000 (14:02 +0000)]
* tree-inline.c (inline_forbidden_p_1, case RECORD_TYPE): Add comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91420
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Sun, 28 Nov 2004 13:02:52 +0000 (13:02 +0000)]
PR rtl-optimization/18420
* simplify-rtx.c (simplify_gen_subreg): Revert 2004-10-28 change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91419
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Sun, 28 Nov 2004 12:02:37 +0000 (12:02 +0000)]
Forgot to add my own email address
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91418
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Sun, 28 Nov 2004 12:01:20 +0000 (12:01 +0000)]
* config/vax/vax.h (CASE_DROPS_THROUGH): Don't define.
* config/vax/vax.md (casesi): Emit a test-and-branch to make sure
that the case is in range, to make sure the casesi insn is always
in range and never falls through.
(casesi1): Add comment to explain why casesi never falls through.
Remove the unnamed special case casesi pattern.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91417
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Sun, 28 Nov 2004 09:48:27 +0000 (09:48 +0000)]
PR target/18331
* config/mmix/mmix.md ("*movdicc_real_reversible"): Rename from
"*movdicc_real". Only match reversible comparisons.
("*movdicc_real_nonreversible"): New pattern, split from
"*movdicc_real". Match only nonreversible comparisons. Exclude
reversed alternatives.
("*movdfcc_real_reversible", "*movdfcc_real_nonreversible"):
Similar.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91416
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 28 Nov 2004 09:41:33 +0000 (09:41 +0000)]
* gcc.c-torture/execute/
20020227-1.x: Remove XFAIL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91415
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 28 Nov 2004 09:38:43 +0000 (09:38 +0000)]
* config/ia64/ia64.md: Move all define_predicate's ...
* config/ia64/predicates.md: ... here. New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91414
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Sun, 28 Nov 2004 06:49:48 +0000 (06:49 +0000)]
* jcf-parse.c (set_source_filename): Improvement to Andrew's fix:
Fix fencepost error in 'i', which got executed one too many times.
Also, fold memcpy into explicit loop, as originally intended.
Also, free temporary 'buf' which otherwise leaks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91411
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Sun, 28 Nov 2004 06:44:20 +0000 (06:44 +0000)]
* expr.c (build_expr_wfl): Only declare last_file and last_filenode
local static variables if not USE_MAPPED_LOCATION.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91408
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Sun, 28 Nov 2004 06:06:26 +0000 (06:06 +0000)]
PR bootstrap/18142
Re-applied following, with two modifications: add a URL for the
fixed cctools; only exit if $build = $target.
2004-10-18 Kelley Cook <kcook@gcc.gnu.org>
* configure.ac (powerpc-*-darwin*): Require assembler to support
.machine directive.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91406
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sun, 28 Nov 2004 02:16:57 +0000 (02:16 +0000)]
* gcc.dg/builtin-choose-expr-2.c, gcc.dg/cast-1.c,
gcc.dg/cast-2.c, gcc.dg/cast-3.c, gcc.dg/format/opt-1.c,
gcc.dg/format/opt-2.c, gcc.dg/format/opt-3.c,
gcc.dg/format/opt-4.c, gcc.dg/format/opt-5.c,
gcc.dg/format/opt-6.c, gcc.dg/pointer-arith-5.c,
gcc.dg/pointer-arith-6.c, gcc.dg/pointer-arith-7.c,
gcc.dg/pointer-arith-8.c: New tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91405
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 28 Nov 2004 00:16:25 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91403
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 28 Nov 2004 00:16:17 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91402
138bc75d-0d04-0410-961f-
82ee72b054a4
bdavis [Sat, 27 Nov 2004 23:35:47 +0000 (23:35 +0000)]
2004-11-27 Bud Davis <bdavis9659@comcast.net>
PR fortran/18364
* gfortran.dg/endfile.f90: New test.
* io/endfile.c (st_endfile): flush the stream before truncating.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91400
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Sat, 27 Nov 2004 23:00:57 +0000 (23:00 +0000)]
PR target/16800
* config/rs6000/rs6000.c (rs6000_rtx_costs): Improve accuracy of
EQ, GTU, and LTU costs. Add costs for GT, LT, and UNORDERED.
Distinguish between SImode and DImode CONST_INT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91399
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Sat, 27 Nov 2004 22:51:43 +0000 (22:51 +0000)]
PR target/16343
* config/rs6000/rs6000.c (rs6000_elf_in_small_data_p): Disallow
functions, strings and thread-local vars.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91397
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Sat, 27 Nov 2004 22:45:24 +0000 (22:45 +0000)]
* config/rs6000/rs6000.h (WORLD_SAVE_P): Define.
* config/rs6000/darwin.h (WORLD_SAVE_P): Define.
* config/rs6000/rs6000.c (compute_save_world_info): Use WORLD_SAVE_P
to allow non-darwin ABIs to optimize away code.
(rs6000_emit_prologue, rs6000_emit_epilogue): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91396
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 27 Nov 2004 22:29:34 +0000 (22:29 +0000)]
* fold-const.c: Fix a comment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91395
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sat, 27 Nov 2004 21:59:38 +0000 (21:59 +0000)]
* internal.h: Replace all uses of uchar with unsigned char.
* include/cpp-id-data.h: Likewise. Guard typedef of uchar
with !IN_GCC, so uchar is only defined whilst building libcpp.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91394
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 27 Nov 2004 20:54:33 +0000 (20:54 +0000)]
* fold-const.c: Fix a comment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91393
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 27 Nov 2004 20:48:17 +0000 (20:48 +0000)]
* class.c, decl.c, expr.c: Fix comment typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91392
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 27 Nov 2004 20:44:30 +0000 (20:44 +0000)]
* pt.c: Fix a comment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91391
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sat, 27 Nov 2004 20:25:11 +0000 (20:25 +0000)]
2004-11-27 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/18690
* include/tr1/utility (get(pair), get(const pair)): Change
occurrences of _I to _Int.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91390
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sat, 27 Nov 2004 19:43:51 +0000 (19:43 +0000)]
* gcc.pot: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91389
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sat, 27 Nov 2004 19:39:31 +0000 (19:39 +0000)]
* cpplib.pot: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91388
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Sat, 27 Nov 2004 17:44:31 +0000 (17:44 +0000)]
2004-11-27 Bryce McKinlay <mckinlay@redhat.com>
* include/gc_config.h.in: Add comment. Define only THREAD_LOCAL_ALLOC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91387
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 27 Nov 2004 17:33:11 +0000 (17:33 +0000)]
* bb-reorder.c (find_traces_1_round): Speed up by using
EDGE_COUNT instead of FOR_EACH_EDGE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91386
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 27 Nov 2004 17:26:17 +0000 (17:26 +0000)]
* tree.c (operand_equal_for_phi_arg_p): New.
* tree.h: Add a prototype for operand_equal_for_phi_arg_p.
* tree-cfg.c, tree-ssa-dom.c, tree-ssa-phiopt.c, tree-ssa.c:
Replace operand_equal_p with operand_for_phi_arg_p
appropriately.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91385
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sat, 27 Nov 2004 16:57:06 +0000 (16:57 +0000)]
PR pch/14940
* config/host-linux.c (TRY_EMPTY_VM_SPACE): Revert 2004-11-22 change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91381
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sat, 27 Nov 2004 16:49:53 +0000 (16:49 +0000)]
* gcc.dg/loop-6.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91378
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 27 Nov 2004 16:45:15 +0000 (16:45 +0000)]
* config/i386/linux.h: Fix a comment typo.
* doc/extend.texi: Fix a typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91377
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 27 Nov 2004 16:36:30 +0000 (16:36 +0000)]
* tree-cfg.c (cleanup_tree_cfg): Also return true if blocks
are merged.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91376
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Sat, 27 Nov 2004 12:37:32 +0000 (12:37 +0000)]
2004-11-27 Andrew Haley <aph@redhat.com>
* link.cc (ensure_class_linked): Conditionally compile
_Jv_IsInterpretedClass on INTERPRETER.
(print_class_loaded): Likewise.
(wait_for_state): Likewise.
* include/jvm.h (ROUND): Move to here from include/java-interp.h.
* include/java-interp.h (ROUND): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91375
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Sat, 27 Nov 2004 11:21:31 +0000 (11:21 +0000)]
* config/i386/linux64.h (REG_NAME): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91374
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Sat, 27 Nov 2004 10:13:56 +0000 (10:13 +0000)]
* fold-const.c (extract_muldiv_1) <case ABS_EXPR>: If ctype is
unsigned and type signed, build ABS_EXPR with signed_type (ctype)
and only afterwards convert to ctype.
* gcc.c-torture/execute/
20041126-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91373
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Sat, 27 Nov 2004 09:55:16 +0000 (09:55 +0000)]
* gcc.dg/mips-args-1.c: Don't expect _R3000 or _R4000 to be defined
on IRIX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91372
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Sat, 27 Nov 2004 09:54:10 +0000 (09:54 +0000)]
* gcc.dg/mips-movcc-[123].c: Pass the ?: expressions to other
functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91371
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Sat, 27 Nov 2004 09:46:43 +0000 (09:46 +0000)]
* config/mips/mips-protos.h (function_arg_boundary): Declare.
* config/mips/mips.h (PARM_BOUNDARY): Simplify definition.
(STACK_BOUNDARY, MIPS_STACK_ALIGN): Likewise.
(FUNCTION_ARG_BOUNDARY): Use new function_arg_boundary function.
* config/mips/mips.c (function_arg_boundary): New function.
Impose a maximum alignment of STACK_BOUNDARY.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91370
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Sat, 27 Nov 2004 09:39:00 +0000 (09:39 +0000)]
PR rtl-optimization/17825
* combine.c (subst): Ignore STRICT_LOW_PART no matter if REG_P (new)
or not.
* gcc.c-torture/compile/
20041119-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91369
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sat, 27 Nov 2004 09:34:06 +0000 (09:34 +0000)]
2004-11-27 Paolo Carlini <pcarlini@suse.de>
* testsuite/27_io/basic_istream/getline/wchar_t/2.cc: Fix typo.
* testsuite/27_io/basic_istream/getline/wchar_t/4.cc: Likewise.
* testsuite/22_locale/time_put/put/char/17038.cc: Use VERIFY.
* testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/11603.cc: Likewise.
* testsuite/27_io/basic_ios/exceptions/char/2.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91368
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sat, 27 Nov 2004 05:19:33 +0000 (05:19 +0000)]
* lib/target-libpath.exp (restore_ld_library_path_env_vars):
Check existence of ld library path variables before unsetting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91367
138bc75d-0d04-0410-961f-
82ee72b054a4
schwab [Sat, 27 Nov 2004 01:53:46 +0000 (01:53 +0000)]
* Make-lang.in (ada/trans.o): Depend on $(EXPR_H).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91365
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Sat, 27 Nov 2004 01:06:55 +0000 (01:06 +0000)]
PR target/12769
* config/rs6000/rs6000.c (init_cumulative_args): Set call_cookie
from rs6000_default_long_calls for libcalls.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91362
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 27 Nov 2004 01:01:12 +0000 (01:01 +0000)]
* expmed.c (extract_bit_field): When extracting from non-integer mode,
force a SUBREG into a register because we may be taking a further
SUBREG of it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91361
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 27 Nov 2004 00:16:36 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91358
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 27 Nov 2004 00:16:29 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91357
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Fri, 26 Nov 2004 23:40:50 +0000 (23:40 +0000)]
* doc/contrib.texi (Tim Josling): Remove nesting quotation marks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91355
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 26 Nov 2004 22:02:34 +0000 (22:02 +0000)]
2004-11-26 Mark Mitchell <mark@codesourcery.com>
* g++.old-deja/g++.eh/badalloc1.C: Robustify.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91352
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 26 Nov 2004 22:00:51 +0000 (22:00 +0000)]
2004-11-26 Mark Mitchell <mark@codesourcery.com>
* inclhack.def (gnu_types): Do not use on Solaris 2.1x.
(stdio_va_list): Likewise.
(stdio_stdarg.h): Likewise.
(solaris_stdio_tag): Add bypass.
* fixincl.x: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91351
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Fri, 26 Nov 2004 21:37:24 +0000 (21:37 +0000)]
Changes for k*bsd-gnu support.
* config/i386/linux.h: Define REG_NAME to allow overriding of
register names in sc structure.
* config/i386/linux-unwind.h: Refer to sc->REG_NAME(reg) instead
of sc->reg.
* config.gcc: Detect x86_64-k*bsd-gnu systems.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91350
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 26 Nov 2004 20:34:27 +0000 (20:34 +0000)]
2004-11-26 Paolo Carlini <pcarlini@suse.de>
DR 243. get and getline when sentry reports failure [WP]
* include/bits/istream.tcc (istream<>::get, istream<>::getline):
Store a null character only if the array has a non-zero size.
* src/istream.cc (istream<char>::getline, istream<wchar_t>::getline):
Likewise.
* testsuite/27_io/basic_istream/get/char/3.cc: New.
* testsuite/27_io/basic_istream/getline/char/6.cc: New.
* testsuite/27_io/basic_istream/getline/wchar_t/6.cc: New.
* docs/html/ext/howto.html: Add an entry for DR 243.
* testsuite/27_io/basic_istream/getline/wchar_t/1.cc: New.
* testsuite/27_io/basic_istream/getline/wchar_t/2.cc: New.
* testsuite/27_io/basic_istream/getline/wchar_t/3.cc: New.
* testsuite/27_io/basic_istream/getline/wchar_t/4.cc: New.
* testsuite/27_io/basic_istream/getline/wchar_t/5.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91348
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 26 Nov 2004 20:18:34 +0000 (20:18 +0000)]
* tree-ssa.c (verify_flow_sensitive_alias_info): Don't
retrieve annotations or pointer info before it's necessary.
Reorder tests for early continue of the loop. Manually CSE
SSA_NAME_VAR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91347
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Fri, 26 Nov 2004 19:21:16 +0000 (19:21 +0000)]
* target.h (struct gcc_target): New field 'dwarf_handle_frame_unspec'.
* target_def.h (TARGET_DWARF_HANDLE_FRAME_UNSPEC): Define to 0.
(TARGET_INITIALIZER): Add TARGET_DWARF_HANDLE_FRAME_UNSPEC.
* dwarf2out.c (dwarf2out_frame_debug_expr): Allow REG->REG move
to a fixed reg if the source is the Return Address register.
Implement new Rule 15.
* doc/tm.texi (Frame Layout): Document TARGET_DWARF_HANDLE_FRAME_UNSPEC.
* config/sparc/sparc.c (TARGET_DWARF_HANDLE_FRAME_UNSPEC): Define to
sparc_dwarf_handle_frame_unspec.
(gen_save_register_window): New function.
(emit_stack_pointer_increment): Rename into gen_stack_pointer_inc.
(emit_stack_pointer_decrement): Rename into gen_stack_pointer_dec.
(expand_prologue): Adjust calls to emit_stack_pointer_{in,de}crement.
Set RTX_FRAME_RELATED_P on the appropriate insns and members of insns.
(sparc_asm_function_prologue): Do not emit call frame debugging info.
(emit_and_preserve): Adjust calls to emit_stack_pointer_{in,de}crement.
(sparc_expand_epilogue): Likewise.
(sparc_dwarf_handle_frame_unspec): New function.
* config/sparc/sparc.md (save_register_window): Remove.
(save_register_windowdi): Rewrite modelled on the callframe debug info.
(save_register_windowsi): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91346
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 26 Nov 2004 19:06:07 +0000 (19:06 +0000)]
* config/frv/frv-protos.h: Guard ifcvt functions declarations with
BB_HEAD, not BLOCK_HEAD.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91345
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 26 Nov 2004 18:53:47 +0000 (18:53 +0000)]
* config/frv/frv.c (frv_ifcvt_modify_insn): Don't leave alone
scratch insns that set a register live at the join point.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91344
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Fri, 26 Nov 2004 18:04:45 +0000 (18:04 +0000)]
2004-11-26 Andrew Pinski <pinskia@physics.uc.edu>
PR java/18305
* decl.c (end_java_method): Call
attach_init_test_initialization_flags on all the init_decls.
* parse.y (attach_init_test_initialization_flags): Move to ...
* expr.c (attach_init_test_initialization_flags): here and
support BIND_EXPR also.
* java-tree.h (attach_init_test_initialization_flags): Prototype.
* jcf-parse.c (parse_class_file): Don't disable class init
optimization.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91343
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Fri, 26 Nov 2004 17:15:39 +0000 (17:15 +0000)]
Friend class name lookup 4/n
* class.c (pushclass): Don't call cxx_remember_type_decls.
* cp-tree.h (clear_anon_tags): Remove declaration.
* decl.c (grokdeclarator): Don't call lookup_tag_reverse.
* name-lookup.c (binding_entry_free, binding_table_free): Comment
out functions.
(binding_table_find_anon_type, binding_table_reverse_maybe_remap,
binding_table_remove_anonymous_types, cxx_remember_type_decls,
bt_print_entry, clear_anon_tags, follow_tag_typedef, lookup_tag,
lookup_tag_reverse): Remove
(begin_scope, leave_scope, kept_level_p, print_binding_level):
Don't use type_decls field in cp_binding_level.
(maybe_process_template_type_declaration, pushtag): Set
CLASSTYPE_NESTED_UTDS directly.
* name-lookup.h (binding_table_remove_anonymous_types,
cxx_remember_type_decls, lookup_tag, lookup_tag_reverse): Remove
declaration.
(cp_binding_level): Remove type_decls field.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91342
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 26 Nov 2004 17:02:49 +0000 (17:02 +0000)]
* tree-cfg.c (tree_split_edge): Speed up by using find_edge.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91341
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 26 Nov 2004 15:45:47 +0000 (15:45 +0000)]
* typeck.c: Fix a comment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91340
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 26 Nov 2004 15:42:36 +0000 (15:42 +0000)]
* cse.c, tree-ssa-operands.c: Fix comment typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91339
138bc75d-0d04-0410-961f-
82ee72b054a4
phython [Fri, 26 Nov 2004 13:18:14 +0000 (13:18 +0000)]
2004-11-26 James A. Morrison <phython@gcc.gnu.org>
PR target/18510
* doc/extend.texi (SPARC VIS Built-in Functions): New section.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91338
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Fri, 26 Nov 2004 10:19:28 +0000 (10:19 +0000)]
* gcc.dg/sibcall-[34].c: Remove MIPS xfails.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91337
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Fri, 26 Nov 2004 10:16:13 +0000 (10:16 +0000)]
* g++.old-deja/g++.jason/thunk3.C: Remove mips*-*-* xfail.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91336
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 26 Nov 2004 07:07:00 +0000 (07:07 +0000)]
* bitmap.c (bitmap_find_bit): Speed up by traversing from
head->first if that seems profitable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91335
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 26 Nov 2004 06:54:13 +0000 (06:54 +0000)]
* cfgrtl.c (try_redirect_by_replacing_jump): Speed up the
check that tests if all edges go to the same destination.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91334
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 26 Nov 2004 06:42:25 +0000 (06:42 +0000)]
* timevar.def (TV_TREE_LOOP_INIT, TV_TREE_LOOP_FINI): New timevars.
* tree-ssa-loop.c (pass_loop_init): Use TV_TREE_LOOP_INIT.
(pass_loop_done): Use TV_TREE_LOOP_FINI.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91333
138bc75d-0d04-0410-961f-
82ee72b054a4