GCC Administrator [Mon, 29 Nov 2004 00:17:06 +0000 (00:17 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r91440.2
Andrew Pinski [Mon, 29 Nov 2004 00:03:40 +0000 (00:03 +0000)]
timevar.def (TV_TREE_REDPHI): New timevar.
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.
From-SVN: r91438
Nathanael Nerode [Sun, 28 Nov 2004 23:32:00 +0000 (23:32 +0000)]
lost ChangeLog entry
From-SVN: r91437
Nathanael Nerode [Sun, 28 Nov 2004 23:29:41 +0000 (23:29 +0000)]
re PR preprocessor/17651 (Erroneous preprocessor output with -g when generating dependencies)
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.
From-SVN: r91436
Hans-Peter Nilsson [Sun, 28 Nov 2004 23:28:05 +0000 (23:28 +0000)]
re PR target/18484 (mmix-knuth-mmixware testsuite failure: g++.dg/abi/empty6.C)
PR target/18484
* g++.dg/abi/empty6.C: Xfail warning for mmix-*-*.
From-SVN: r91434
Theodore A. Roth [Sun, 28 Nov 2004 23:15:59 +0000 (23:15 +0000)]
avr.c (avr_handle_fndecl_attribute): Generate a warning if the function name does not begin with "__vector" and the...
* 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.
From-SVN: r91433
Theodore A. Roth [Sun, 28 Nov 2004 23:10:28 +0000 (23:10 +0000)]
avr.c (avr_mcu_types): Add entries for atmega48...
* 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.
From-SVN: r91432
Hans-Peter Nilsson [Sun, 28 Nov 2004 22:57:38 +0000 (22:57 +0000)]
re PR target/18348 (mmix-knuth-mmixware testsuite failure: gcc.dg/uninit-H.c)
PR target/18348
* gcc.dg/uninit-H.c (ASM): For unknown targets, define to "= 0".
From-SVN: r91431
Mark Wielaard [Sun, 28 Nov 2004 22:41:53 +0000 (22:41 +0000)]
mauve-libgcj: Disable SpinnerListModel...
* mauve-libgcj: Disable SpinnerListModel, SwingUtilities and
XMLDecoder tests which currently don't compile.
From-SVN: r91430
Hans-Peter Nilsson [Sun, 28 Nov 2004 22:39:05 +0000 (22:39 +0000)]
re PR target/18345 (mmix-knuth-mmixware testsuite failure: gcc.dg/intmax_t-1.c)
PR target/18345
* gcc.dg/intmax_t-1.c: Add mmix-*-* to dg-error.
From-SVN: r91429
Nathanael Nerode [Sun, 28 Nov 2004 22:28:13 +0000 (22:28 +0000)]
re PR preprocessor/17610 (Empty #include statement halts gcc)
(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.
From-SVN: r91428
Hans-Peter Nilsson [Sun, 28 Nov 2004 22:14:34 +0000 (22:14 +0000)]
re PR target/18337 (mmix-knuth-mmixware testsuite failure: gcc.dg/array-quals-1.c)
PR target/18337
* gcc.dg/array-quals-1.c: Xfail for mmix-*-*.
From-SVN: r91427
Bud Davis [Sun, 28 Nov 2004 21:14:02 +0000 (21:14 +0000)]
direct_io_2.f90: New test.
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.
From-SVN: r91426
Jeff Law [Sun, 28 Nov 2004 21:02:31 +0000 (14:02 -0700)]
tree-ssa-alias.c (count_calls_and_maybe_create_global_var): New.
* 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.
From-SVN: r91425
Hans-Peter Nilsson [Sun, 28 Nov 2004 20:52:19 +0000 (20:52 +0000)]
re PR target/18334 (mmix-knuth-mmixware testsuite failure: gcc.dg/cpp/assert4.c)
PR target/18334
* gcc.dg/cpp/assert4.c: Remove mmix assertion tests.
From-SVN: r91424
Richard Kenner [Sun, 28 Nov 2004 14:02:56 +0000 (14:02 +0000)]
* tree-inline.c (inline_forbidden_p_1, case RECORD_TYPE): Add comment.
From-SVN: r91420
Ulrich Weigand [Sun, 28 Nov 2004 13:02:52 +0000 (13:02 +0000)]
re PR rtl-optimization/18420 (ICE compiling mesa at -O2)
PR rtl-optimization/18420
* simplify-rtx.c (simplify_gen_subreg): Revert 2004-10-28 change.
From-SVN: r91419
Steven Bosscher [Sun, 28 Nov 2004 12:02:37 +0000 (12:02 +0000)]
Forgot to add my own email address
From-SVN: r91418
Steven Bosscher [Sun, 28 Nov 2004 12:01:20 +0000 (12:01 +0000)]
vax.h (CASE_DROPS_THROUGH): Don't define.
* 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.
From-SVN: r91417
Hans-Peter Nilsson [Sun, 28 Nov 2004 09:48:27 +0000 (09:48 +0000)]
re PR target/18331 (mmix-knuth-mmixware testsuite failure: execute/ieee/fp-cmp-8.c gcc.dg/
20040625-1.c)
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.
From-SVN: r91416
Richard Henderson [Sun, 28 Nov 2004 09:41:33 +0000 (01:41 -0800)]
* gcc.c-torture/execute/
20020227-1.x: Remove XFAIL.
From-SVN: r91415
Richard Henderson [Sun, 28 Nov 2004 09:38:43 +0000 (01:38 -0800)]
ia64.md: Move all define_predicate's ...
* config/ia64/ia64.md: Move all define_predicate's ...
* config/ia64/predicates.md: ... here. New file.
From-SVN: r91414
Per Bothner [Sun, 28 Nov 2004 06:49:48 +0000 (22:49 -0800)]
jcf-parse.c (set_source_filename): Improvement to Andrew's fix...
* 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.
From-SVN: r91411
Per Bothner [Sun, 28 Nov 2004 06:44:20 +0000 (22:44 -0800)]
expr.c (build_expr_wfl): Only declare last_file and last_filenode local static variables if...
* expr.c (build_expr_wfl): Only declare last_file and last_filenode
local static variables if not USE_MAPPED_LOCATION.
From-SVN: r91408
Per Bothner [Sun, 28 Nov 2004 06:06:26 +0000 (22:06 -0800)]
re PR bootstrap/18142 ("Unknown pseudo-op: .machine" compiling darwin-crt2.c)
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.
From-SVN: r91406
Joseph Myers [Sun, 28 Nov 2004 02:16:57 +0000 (02:16 +0000)]
builtin-choose-expr-2.c, [...]: New tests.
* 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.
From-SVN: r91405
GCC Administrator [Sun, 28 Nov 2004 00:16:25 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r91403.2
GCC Administrator [Sun, 28 Nov 2004 00:16:17 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r91402.2
Bud Davis [Sat, 27 Nov 2004 23:35:47 +0000 (23:35 +0000)]
re PR libfortran/18364 (endfile does not truncate file)
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.
From-SVN: r91400
David Edelsohn [Sat, 27 Nov 2004 23:00:57 +0000 (23:00 +0000)]
re PR target/16800 (PowerPC - Unnecessary rldicl)
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.
From-SVN: r91399
Andreas Fischer [Sat, 27 Nov 2004 22:51:43 +0000 (22:51 +0000)]
re PR target/16343 (invalid code when using -meabi -msdata=eabi)
PR target/16343
* config/rs6000/rs6000.c (rs6000_elf_in_small_data_p): Disallow
functions, strings and thread-local vars.
Co-Authored-By: Alan Modra <amodra@bigpond.net.au>
From-SVN: r91397
Alan Modra [Sat, 27 Nov 2004 22:45:24 +0000 (22:45 +0000)]
rs6000.h (WORLD_SAVE_P): Define.
* 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.
From-SVN: r91396
Kazu Hirata [Sat, 27 Nov 2004 22:29:34 +0000 (22:29 +0000)]
* fold-const.c: Fix a comment typo.
From-SVN: r91395
Roger Sayle [Sat, 27 Nov 2004 21:59:38 +0000 (21:59 +0000)]
internal.h: Replace all uses of uchar with unsigned char.
* 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.
Co-Authored-By: Zack Weinberg <zack@codesourcery.com>
From-SVN: r91394
Kazu Hirata [Sat, 27 Nov 2004 20:54:33 +0000 (20:54 +0000)]
* fold-const.c: Fix a comment typo.
From-SVN: r91393
Kazu Hirata [Sat, 27 Nov 2004 20:48:17 +0000 (20:48 +0000)]
* class.c, decl.c, expr.c: Fix comment typos.
From-SVN: r91392
Kazu Hirata [Sat, 27 Nov 2004 20:44:30 +0000 (20:44 +0000)]
* pt.c: Fix a comment typo.
From-SVN: r91391
Paolo Carlini [Sat, 27 Nov 2004 20:25:11 +0000 (20:25 +0000)]
re PR libstdc++/18690 (tr1/utility is broken on darwin)
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.
From-SVN: r91390
Joseph Myers [Sat, 27 Nov 2004 19:43:51 +0000 (19:43 +0000)]
* gcc.pot: Regenerate.
From-SVN: r91389
Joseph Myers [Sat, 27 Nov 2004 19:39:31 +0000 (19:39 +0000)]
* cpplib.pot: Regenerate.
From-SVN: r91388
Bryce McKinlay [Sat, 27 Nov 2004 17:44:31 +0000 (17:44 +0000)]
gc_config.h.in: Add comment.
2004-11-27 Bryce McKinlay <mckinlay@redhat.com>
* include/gc_config.h.in: Add comment. Define only THREAD_LOCAL_ALLOC.
From-SVN: r91387
Kazu Hirata [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.
* bb-reorder.c (find_traces_1_round): Speed up by using
EDGE_COUNT instead of FOR_EACH_EDGE.
From-SVN: r91386
Kazu Hirata [Sat, 27 Nov 2004 17:26:17 +0000 (17:26 +0000)]
tree.c (operand_equal_for_phi_arg_p): New.
* 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.
From-SVN: r91385
John David Anglin [Sat, 27 Nov 2004 16:57:06 +0000 (16:57 +0000)]
re PR pch/14940 (PCH largefile test fails on various platforms)
PR pch/14940
* config/host-linux.c (TRY_EMPTY_VM_SPACE): Revert 2004-11-22 change.
From-SVN: r91381
Falk Hueffner [Sat, 27 Nov 2004 16:49:53 +0000 (17:49 +0100)]
* gcc.dg/loop-6.c: New test.
From-SVN: r91378
Kazu Hirata [Sat, 27 Nov 2004 16:45:15 +0000 (16:45 +0000)]
linux.h: Fix a comment typo.
* config/i386/linux.h: Fix a comment typo.
* doc/extend.texi: Fix a typo.
From-SVN: r91377
Jeff Law [Sat, 27 Nov 2004 16:36:30 +0000 (09:36 -0700)]
tree-cfg.c (cleanup_tree_cfg): Also return true if blocks are merged.
* tree-cfg.c (cleanup_tree_cfg): Also return true if blocks
are merged.
From-SVN: r91376
Andrew Haley [Sat, 27 Nov 2004 12:37:32 +0000 (12:37 +0000)]
link.cc (ensure_class_linked): Conditionally compile _Jv_IsInterpretedClass on INTERPRETER.
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.
From-SVN: r91375
Jakub Jelinek [Sat, 27 Nov 2004 11:21:31 +0000 (12:21 +0100)]
* config/i386/linux64.h (REG_NAME): Define.
From-SVN: r91374
Jakub Jelinek [Sat, 27 Nov 2004 10:13:56 +0000 (11:13 +0100)]
fold-const.c (extract_muldiv_1): If ctype is unsigned and type signed...
* 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.
From-SVN: r91373
Richard Sandiford [Sat, 27 Nov 2004 09:55:16 +0000 (09:55 +0000)]
mips-args-1.c: Don't expect _R3000 or _R4000 to be defined on IRIX.
* gcc.dg/mips-args-1.c: Don't expect _R3000 or _R4000 to be defined
on IRIX.
From-SVN: r91372
Richard Sandiford [Sat, 27 Nov 2004 09:54:10 +0000 (09:54 +0000)]
mips-movcc-[123].c: Pass the ?: expressions to other functions.
* gcc.dg/mips-movcc-[123].c: Pass the ?: expressions to other
functions.
From-SVN: r91371
Richard Sandiford [Sat, 27 Nov 2004 09:46:43 +0000 (09:46 +0000)]
mips-protos.h (function_arg_boundary): Declare.
* 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.
From-SVN: r91370
Jakub Jelinek [Sat, 27 Nov 2004 09:39:00 +0000 (10:39 +0100)]
re PR rtl-optimization/17825 (ICE in reg_bitfield_target_p)
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.
From-SVN: r91369
Paolo Carlini [Sat, 27 Nov 2004 09:34:06 +0000 (09:34 +0000)]
2.cc: Fix typo.
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.
From-SVN: r91368
John David Anglin [Sat, 27 Nov 2004 05:19:33 +0000 (05:19 +0000)]
target-libpath.exp (restore_ld_library_path_env_vars): Check existence of ld library path variables before unsetting.
* lib/target-libpath.exp (restore_ld_library_path_env_vars):
Check existence of ld library path variables before unsetting.
From-SVN: r91367
Andreas Schwab [Sat, 27 Nov 2004 01:53:46 +0000 (01:53 +0000)]
* Make-lang.in (ada/trans.o): Depend on $(EXPR_H).
From-SVN: r91365
Alan Modra [Sat, 27 Nov 2004 01:06:55 +0000 (01:06 +0000)]
re PR middle-end/12769 (-mlongcall doesn't convert all calls to long calls for builtin functions)
PR target/12769
* config/rs6000/rs6000.c (init_cumulative_args): Set call_cookie
from rs6000_default_long_calls for libcalls.
From-SVN: r91362
Richard Kenner [Sat, 27 Nov 2004 01:01:12 +0000 (01:01 +0000)]
expmed.c (extract_bit_field): When extracting from non-integer mode...
* 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.
From-SVN: r91361
GCC Administrator [Sat, 27 Nov 2004 00:16:36 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r91358.2
GCC Administrator [Sat, 27 Nov 2004 00:16:29 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r91357.2
Di-an Jan [Fri, 26 Nov 2004 23:40:50 +0000 (23:40 +0000)]
* doc/contrib.texi (Tim Josling): Remove nesting quotation marks.
From-SVN: r91355
Mark Mitchell [Fri, 26 Nov 2004 22:02:34 +0000 (22:02 +0000)]
badalloc1.C: Robustify.
2004-11-26 Mark Mitchell <mark@codesourcery.com>
* g++.old-deja/g++.eh/badalloc1.C: Robustify.
From-SVN: r91352
Mark Mitchell [Fri, 26 Nov 2004 22:00:51 +0000 (22:00 +0000)]
inclhack.def (gnu_types): Do not use on Solaris 2.1x.
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.
From-SVN: r91351
Robert Millan [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.
From-SVN: r91350
Paolo Carlini [Fri, 26 Nov 2004 20:34:27 +0000 (20:34 +0000)]
DR 243.
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.
From-SVN: r91348
Jeff Law [Fri, 26 Nov 2004 20:18:34 +0000 (13:18 -0700)]
tree-ssa.c (verify_flow_sensitive_alias_info): Don't retrieve annotations or pointer info before it's necessary.
* 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.
From-SVN: r91347
Eric Botcazou [Fri, 26 Nov 2004 19:21:16 +0000 (20:21 +0100)]
target.h (struct gcc_target): New field 'dwarf_handle_frame_unspec'.
* 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.
From-SVN: r91346
Alexandre Oliva [Fri, 26 Nov 2004 19:06:07 +0000 (19:06 +0000)]
frv-protos.h: Guard ifcvt functions declarations with BB_HEAD, not BLOCK_HEAD.
* config/frv/frv-protos.h: Guard ifcvt functions declarations with
BB_HEAD, not BLOCK_HEAD.
From-SVN: r91345
Alexandre Oliva [Fri, 26 Nov 2004 18:53:47 +0000 (18:53 +0000)]
frv.c (frv_ifcvt_modify_insn): Don't leave alone scratch insns that set a register live at the join point.
* config/frv/frv.c (frv_ifcvt_modify_insn): Don't leave alone
scratch insns that set a register live at the join point.
From-SVN: r91344
Andrew Pinski [Fri, 26 Nov 2004 18:04:45 +0000 (18:04 +0000)]
re PR java/18305 (Class initialization optimization is not done when compiled from .class)
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.
From-SVN: r91343
Kriang Lerdsuwanakij [Fri, 26 Nov 2004 17:15:39 +0000 (17:15 +0000)]
Friend class name lookup 4/n
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.
From-SVN: r91342
Kazu Hirata [Fri, 26 Nov 2004 17:02:49 +0000 (17:02 +0000)]
* tree-cfg.c (tree_split_edge): Speed up by using find_edge.
From-SVN: r91341
Kazu Hirata [Fri, 26 Nov 2004 15:45:47 +0000 (15:45 +0000)]
* typeck.c: Fix a comment typo.
From-SVN: r91340
Kazu Hirata [Fri, 26 Nov 2004 15:42:36 +0000 (15:42 +0000)]
* cse.c, tree-ssa-operands.c: Fix comment typos.
From-SVN: r91339
James A. Morrison [Fri, 26 Nov 2004 13:18:14 +0000 (13:18 +0000)]
re PR target/18510 (GCC should have instrinsics for SPARC VIS instructions)
2004-11-26 James A. Morrison <phython@gcc.gnu.org>
PR target/18510
* doc/extend.texi (SPARC VIS Built-in Functions): New section.
From-SVN: r91338
Richard Sandiford [Fri, 26 Nov 2004 10:19:28 +0000 (10:19 +0000)]
* gcc.dg/sibcall-[34].c: Remove MIPS xfails.
From-SVN: r91337
Richard Sandiford [Fri, 26 Nov 2004 10:16:13 +0000 (10:16 +0000)]
* g++.old-deja/g++.jason/thunk3.C: Remove mips*-*-* xfail.
From-SVN: r91336
Kazu Hirata [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.
* bitmap.c (bitmap_find_bit): Speed up by traversing from
head->first if that seems profitable.
From-SVN: r91335
Kazu Hirata [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.
* cfgrtl.c (try_redirect_by_replacing_jump): Speed up the
check that tests if all edges go to the same destination.
From-SVN: r91334
Jeff Law [Fri, 26 Nov 2004 06:42:25 +0000 (23:42 -0700)]
timevar.def (TV_TREE_LOOP_INIT, [...]): New timevars.
* 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.
From-SVN: r91333
Ben Elliston [Fri, 26 Nov 2004 06:15:20 +0000 (06:15 +0000)]
isysroot-2.c: Move target selector from dg-options to dg-do directive.
* gcc.dg/cpp/isysroot-2.c: Move target selector from dg-options to
dg-do directive.
From-SVN: r91332
Ben Elliston [Fri, 26 Nov 2004 06:09:50 +0000 (06:09 +0000)]
* gcc.dg/pr17957.c: Pass --param, not -param.
From-SVN: r91331
Bryce McKinlay [Fri, 26 Nov 2004 05:31:48 +0000 (05:31 +0000)]
Fix "PACKAGE_NAME redefined" errors.
2004-11-26 Bryce McKinlay <mckinlay@redhat.com>
Fix "PACKAGE_NAME redefined" errors.
* configure.ac (AC_CONFIG_HEADERS): Build both include/config.h
and include/gc_config.h.
* configure: Regenerated.
* include/gc_config.h.in: No longer auto-generated. Define only the
macros needed by libjava.
* include/config.h.in: Generated by autoheader.
* include/gc.h: Include config.h, not gc_config.h.
From-SVN: r91330
Alan Modra [Fri, 26 Nov 2004 04:43:35 +0000 (15:13 +1030)]
fix weird changelog damage in last commit
From-SVN: r91326
Alan Modra [Fri, 26 Nov 2004 04:38:11 +0000 (15:08 +1030)]
re PR rtl-optimization/16356 (Failure to use count register (branch on count register))
PR rtl-optimization/16356
* config/rs6000/rs6000.md (floatdisf2_internal2): Rewrite with
separate output register and one less jump. Enable for powerpc64.
(floatdisf2): Adjust for above.
From-SVN: r91324
Bob Wilson [Fri, 26 Nov 2004 03:57:43 +0000 (03:57 +0000)]
xtensa.h (STARTFILE_SPEC): Add crt0.
* config/xtensa/xtensa.h (STARTFILE_SPEC): Add crt0.
(GCC_DRIVER_HOST_INITIALIZATION): Define.
From-SVN: r91323
Andrew Pinski [Fri, 26 Nov 2004 03:55:10 +0000 (03:55 +0000)]
re PR middle-end/17957 (vector type node used after garbage-collected)
2004-11-25 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/17957
* testsuite/gcc.dg/pr17957.c: New test.
2004-11-25 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/17957
* tree-complex.c (vector_inner_type): New variable moved from
build_word_mode_vector_type.
(vector_last_type): Likewise.
(vector_last_nunits): Likewise.
(build_word_mode_vector_type): Use the new variables.
* Makefile.in (tree-complex.o): Add gt-tree-complex.h $(GGC_H).
(GTFILES): Add tree-complex.c.
(gt-tree-complex.h): New rule, add it to the rest of the gt-* rules.
From-SVN: r91322
Bob Wilson [Fri, 26 Nov 2004 03:39:20 +0000 (03:39 +0000)]
xtensa.h (TARGET_CPU_CPP_BUILTINS): Define __XTENSA_WINDOWED_ABI__.
* config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define
__XTENSA_WINDOWED_ABI__.
From-SVN: r91321
Tom Tromey [Fri, 26 Nov 2004 02:27:54 +0000 (02:27 +0000)]
natDebug.cc (getField): Don't qualify name.
* gnu/gcj/util/natDebug.cc (getField): Don't qualify name.
* java/lang/Class.h (_Jv_Linker): Declare.
(Class): Fix names of friends.
(_Jv_getInterfaceMethod): Declare.
From-SVN: r91320
Richard Henderson [Fri, 26 Nov 2004 02:21:38 +0000 (18:21 -0800)]
dwarf2out.c (dwarf2out_stack_adjust): Add after_p argument.
* dwarf2out.c (dwarf2out_stack_adjust): Add after_p argument. Save
args_size adjustments for calls even with cfa as stack pointer.
Search calls for stack adjustments after the insn is issued.
(dwarf2out_frame_debug): Add after_p argument; pass it on.
* dwarf2out.h (dwarf2out_frame_debug): Update to match.
* final.c (final_start_function, final_scan_insn): Likewise.
From-SVN: r91319
Richard Henderson [Fri, 26 Nov 2004 02:04:11 +0000 (18:04 -0800)]
re PR c++/6764 (Throwing exception causes crash with '-O2 -fomit-frame-pointer')
PR c++/6764
* reload1.c (set_initial_eh_label_offset): New.
(set_initial_label_offsets): Use it.
From-SVN: r91318
Kaz Kojima [Fri, 26 Nov 2004 01:56:36 +0000 (01:56 +0000)]
sh.c (sh_output_mi_thunk): Initialize bitmap obstacks before calling life_analysis and release them after.
* config/sh/sh.c (sh_output_mi_thunk): Initialize bitmap obstacks
before calling life_analysis and release them after.
From-SVN: r91317
Kazu Hirata [Fri, 26 Nov 2004 01:25:14 +0000 (01:25 +0000)]
tree-ssa-forwprop.c (substitute_single_use_vars): Remove duplicate code.
* tree-ssa-forwprop.c (substitute_single_use_vars): Remove
duplicate code.
From-SVN: r91316
John David Anglin [Fri, 26 Nov 2004 01:24:42 +0000 (01:24 +0000)]
configure.in (hppa*-*-linux*): Don't add libgcj to noconfigdirs.
* configure.in (hppa*-*-linux*): Don't add libgcj to noconfigdirs.
(hppa*64*-*-*): Delete incorrect comment.
* configure: Rebuilt.
From-SVN: r91315
John David Anglin [Fri, 26 Nov 2004 00:18:02 +0000 (00:18 +0000)]
libjava.exp (libjava_arguments): Add new global variable libjava_ld_library_path.
* testsuite/lib/libjava.exp (libjava_arguments): Add new global
variable libjava_ld_library_path.
(gcj_invoke, libjava_invoke): Use it to set ld_library_path.
From-SVN: r91314
GCC Administrator [Fri, 26 Nov 2004 00:16:19 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r91312.2
GCC Administrator [Fri, 26 Nov 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r91311.2
Andrew Pinski [Fri, 26 Nov 2004 00:01:35 +0000 (00:01 +0000)]
bitmap.h (BITMAP_XMALLOC): Use BITMAP_ALLOC and not BITMAP_OBSTACK_ALLOC.
2004-11-25 Andrew Pinski <pinskia@physics.uc.edu>
* bitmap.h (BITMAP_XMALLOC): Use BITMAP_ALLOC and not
BITMAP_OBSTACK_ALLOC.
(BITMAP_XFREE): Use BITMAP_FREE and not BITMAP_OBSTACK_FREE.
From-SVN: r91309
Andrew Pinski [Thu, 25 Nov 2004 23:10:27 +0000 (23:10 +0000)]
parts of PR rtl-opt/18463, rtl-opt/17647
2004-11-25 Andrew Pinski <pinskia@physics.uc.edu>
parts of PR rtl-opt/18463, rtl-opt/17647
* cse.c (canon_for_address): New function.
(find_best_addr): Call canon_for_address before getting the
address's cost when checking if we should take that address.
From-SVN: r91308