OSDN Git Service

pf3gnuchains/gcc-fork.git
17 years agoForgot to add my own email address
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

17 years ago * config/vax/vax.h (CASE_DROPS_THROUGH): Don't define.
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

17 years ago PR target/18331
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

17 years ago * gcc.c-torture/execute/20020227-1.x: Remove XFAIL.
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

17 years ago * config/ia64/ia64.md: Move all define_predicate's ...
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

17 years ago * jcf-parse.c (set_source_filename): Improvement to Andrew's fix:
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

17 years ago * expr.c (build_expr_wfl): Only declare last_file and last_filenode
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

17 years ago PR bootstrap/18142
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

17 years ago * gcc.dg/builtin-choose-expr-2.c, gcc.dg/cast-1.c,
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

17 years agoDaily bump.
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

17 years agoDaily bump.
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

17 years ago2004-11-27 Bud Davis <bdavis9659@comcast.net>
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

17 years ago PR target/16800
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

17 years ago PR target/16343
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

17 years ago * config/rs6000/rs6000.h (WORLD_SAVE_P): Define.
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

17 years ago * fold-const.c: Fix a comment typo.
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

17 years ago * internal.h: Replace all uses of uchar with unsigned char.
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

17 years ago * fold-const.c: Fix a comment typo.
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

17 years ago * class.c, decl.c, expr.c: Fix comment typos.
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

17 years ago * pt.c: Fix a comment typo.
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

17 years ago2004-11-27 Paolo Carlini <pcarlini@suse.de>
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

17 years ago * gcc.pot: Regenerate.
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

17 years ago * cpplib.pot: Regenerate.
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

17 years ago2004-11-27 Bryce McKinlay <mckinlay@redhat.com>
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

17 years ago * bb-reorder.c (find_traces_1_round): Speed up by using
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

17 years ago * tree.c (operand_equal_for_phi_arg_p): New.
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

17 years ago PR pch/14940
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

17 years ago * gcc.dg/loop-6.c: New test.
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

17 years ago * config/i386/linux.h: Fix a comment typo.
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

17 years ago * tree-cfg.c (cleanup_tree_cfg): Also return true if blocks
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

17 years ago2004-11-27 Andrew Haley <aph@redhat.com>
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

17 years ago * config/i386/linux64.h (REG_NAME): Define.
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

17 years ago * fold-const.c (extract_muldiv_1) <case ABS_EXPR>: If ctype is
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

17 years ago * gcc.dg/mips-args-1.c: Don't expect _R3000 or _R4000 to be defined
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

17 years ago * gcc.dg/mips-movcc-[123].c: Pass the ?: expressions to other
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

17 years ago * config/mips/mips-protos.h (function_arg_boundary): Declare.
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

17 years ago PR rtl-optimization/17825
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

17 years ago2004-11-27 Paolo Carlini <pcarlini@suse.de>
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

17 years ago * lib/target-libpath.exp (restore_ld_library_path_env_vars):
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

17 years ago * Make-lang.in (ada/trans.o): Depend on $(EXPR_H).
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

17 years ago PR target/12769
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

17 years ago * expmed.c (extract_bit_field): When extracting from non-integer mode,
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

17 years agoDaily bump.
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

17 years agoDaily bump.
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

17 years ago * doc/contrib.texi (Tim Josling): Remove nesting quotation marks.
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

17 years ago2004-11-26 Mark Mitchell <mark@codesourcery.com>
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

17 years ago2004-11-26 Mark Mitchell <mark@codesourcery.com>
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

17 years ago Changes for k*bsd-gnu support.
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

17 years ago2004-11-26 Paolo Carlini <pcarlini@suse.de>
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

17 years ago * tree-ssa.c (verify_flow_sensitive_alias_info): Don't
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

17 years ago * target.h (struct gcc_target): New field 'dwarf_handle_frame_unspec'.
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

17 years ago* config/frv/frv-protos.h: Guard ifcvt functions declarations with
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

17 years ago* config/frv/frv.c (frv_ifcvt_modify_insn): Don't leave alone
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

17 years ago2004-11-26 Andrew Pinski <pinskia@physics.uc.edu>
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

17 years ago Friend class name lookup 4/n
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

17 years ago * tree-cfg.c (tree_split_edge): Speed up by using find_edge.
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

17 years ago * typeck.c: Fix a comment typo.
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

17 years ago * cse.c, tree-ssa-operands.c: Fix comment typos.
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

17 years ago2004-11-26 James A. Morrison <phython@gcc.gnu.org>
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

17 years ago * gcc.dg/sibcall-[34].c: Remove MIPS xfails.
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

17 years ago * g++.old-deja/g++.jason/thunk3.C: Remove mips*-*-* xfail.
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

17 years ago * bitmap.c (bitmap_find_bit): Speed up by traversing from
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

17 years ago * cfgrtl.c (try_redirect_by_replacing_jump): Speed up the
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

17 years ago * timevar.def (TV_TREE_LOOP_INIT, TV_TREE_LOOP_FINI): New timevars.
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

17 years ago * gcc.dg/cpp/isysroot-2.c: Move target selector from dg-options to
bje [Fri, 26 Nov 2004 06:15:20 +0000 (06:15 +0000)]
* gcc.dg/cpp/isysroot-2.c: Move target selector from dg-options to
dg-do directive.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91332 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * gcc.dg/pr17957.c: Pass --param, not -param.
bje [Fri, 26 Nov 2004 06:09:50 +0000 (06:09 +0000)]
* gcc.dg/pr17957.c: Pass --param, not -param.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91331 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2004-11-26 Bryce McKinlay <mckinlay@redhat.com>
bryce [Fri, 26 Nov 2004 05:31:48 +0000 (05:31 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91330 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agofix weird changelog damage in last commit
amodra [Fri, 26 Nov 2004 04:43:35 +0000 (04:43 +0000)]
fix weird changelog damage in last commit

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91326 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR rtl-optimization/16356
amodra [Fri, 26 Nov 2004 04:38:11 +0000 (04:38 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91324 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * config/xtensa/xtensa.h (STARTFILE_SPEC): Add crt0.
bwilson [Fri, 26 Nov 2004 03:57:43 +0000 (03:57 +0000)]
* config/xtensa/xtensa.h (STARTFILE_SPEC): Add crt0.
(GCC_DRIVER_HOST_INITIALIZATION): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91323 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2004-11-25 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Fri, 26 Nov 2004 03:55:10 +0000 (03:55 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91322 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define
bwilson [Fri, 26 Nov 2004 03:39:20 +0000 (03:39 +0000)]
* config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define
__XTENSA_WINDOWED_ABI__.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91321 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * gnu/gcj/util/natDebug.cc (getField): Don't qualify name.
tromey [Fri, 26 Nov 2004 02:27:54 +0000 (02:27 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91320 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * dwarf2out.c (dwarf2out_stack_adjust): Add after_p argument. Save
rth [Fri, 26 Nov 2004 02:21:38 +0000 (02:21 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91319 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR c++/6764
rth [Fri, 26 Nov 2004 02:04:11 +0000 (02:04 +0000)]
    PR c++/6764
        * reload1.c (set_initial_eh_label_offset): New.
        (set_initial_label_offsets): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91318 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * config/sh/sh.c (sh_output_mi_thunk): Initialize bitmap obstacks
kkojima [Fri, 26 Nov 2004 01:56:36 +0000 (01:56 +0000)]
* config/sh/sh.c (sh_output_mi_thunk): Initialize bitmap obstacks
before calling life_analysis and release them after.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91317 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * tree-ssa-forwprop.c (substitute_single_use_vars): Remove
kazu [Fri, 26 Nov 2004 01:25:14 +0000 (01:25 +0000)]
* tree-ssa-forwprop.c (substitute_single_use_vars): Remove
duplicate code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91316 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * configure.in (hppa*-*-linux*): Don't add libgcj to noconfigdirs.
danglin [Fri, 26 Nov 2004 01:24:42 +0000 (01:24 +0000)]
* configure.in (hppa*-*-linux*): Don't add libgcj to noconfigdirs.
(hppa*64*-*-*): Delete incorrect comment.
* configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91315 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * testsuite/lib/libjava.exp (libjava_arguments): Add new global
danglin [Fri, 26 Nov 2004 00:18:02 +0000 (00:18 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91314 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoDaily bump.
gccadmin [Fri, 26 Nov 2004 00:16:19 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91312 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoDaily bump.
gccadmin [Fri, 26 Nov 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91311 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2004-11-25 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Fri, 26 Nov 2004 00:01:35 +0000 (00:01 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91309 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2004-11-25 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Thu, 25 Nov 2004 23:10:27 +0000 (23:10 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91308 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * tree-phinodes.c (add_phi_arg): Take "tree" instead of
kazu [Thu, 25 Nov 2004 22:31:09 +0000 (22:31 +0000)]
* tree-phinodes.c (add_phi_arg): Take "tree" instead of
"tree *" as the first argument.
* tree-flow.h: Update the prototype of add_phi_arg.
* lambda-code.c, tree-cfg.c, tree-into-ssa.c,
tree-ssa-loop-ivopts.c, tree-ssa-loop-manip.c, tree-ssa-pre.c,
tree-ssa-threadupdate.c, tree-ssa.c, tree-tailcall.c,
tree-vectorizer.c: Update all call sites of add_phi_arg.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91307 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * bitmap.c (bitmap_malloc_alloc, bitmap_malloc_free): Remove.
nathan [Thu, 25 Nov 2004 21:18:55 +0000 (21:18 +0000)]
* bitmap.c (bitmap_malloc_alloc, bitmap_malloc_free): Remove.
* bitmap.h (bitmap_malloc_alloc, bitmap_malloc_free): Remove.
(BITMAP_XMALLOC): Forward to BITMAP_OBSTACK_ALLOC.
(BITMAP_XFREE): Forward to BITMAP_OBSTACK_FREE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91306 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2004-11-25 Andrew Macleod <amacleod@redhat.com>
amacleod [Thu, 25 Nov 2004 20:24:59 +0000 (20:24 +0000)]
2004-11-25  Andrew Macleod  <amacleod@redhat.com>

PR tree-optimization/18587
* tree-flow-inline.h (mark_call_clobbered, mark_non_addressable): Flag
call clobbered caches as invalid.
* tree-ssa-operands.c (ssa_call_clobbered_cache_valid): New.  Flag
indicating whether the call clobbered operand cache is valid.
(ssa_ro_call_cache_valid): New.  Flag indicating whether the pure/const
call operand cache is valid.
(clobbered_v_may_defs, clobbered_vuses, ro_call_vuses): New.
cached list of operands for cached call virtual operands.
(clobbered_aliased_loads, clobbered_aliased_stores,
ro_call_aliased_load): New.  flags caching whether alias bits are to be
set in call stmt's.  */
(fini_ssa_operands): Remove call operand caches if present.
(get_expr_operands, get_asm_expr_operands, get_indirect_ref_operands):
Pass stmt annotation to add_stmt_operand.
(get_call_expr_operands): Add call clobbered variables first.
(add_stmt_operand): Take stmt annotation rather than stmt as a param.
(add_call_clobber_ops, add_call_read_ops): Use the call operand cache
if it is valid, otherise fill the cache.
* tree-ssa-operands.h (ssa_clobbered_cache_valid): Declare extern.

* tree-flow.h (struct var_ann_d): Add in_vuse_list and in_v_may_def_list
bits.
* tree-ssa-operands.c (cleanup_v_may_defs): New.  Clear the in_list bits
for the v_may_def elements and empty the operand build array.
(finalize_ssa_vuses): Use cleanup_v_may_defs and remove redundant VUSES
by checking the in_v_may_def_list bit.
(append_v_may_def, append_vuse): Use the in_list bit rather than
scanning the array for duplicates.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91305 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2004-11-25 Bryce McKinlay <mckinlay@redhat.com>
bryce [Thu, 25 Nov 2004 19:20:17 +0000 (19:20 +0000)]
2004-11-25  Bryce McKinlay  <mckinlay@redhat.com>

* java/util/ResourceBundle.java (BundleKey): Don't implement
Cloneable.
(BundleKey.clone): Removed.
(getBundle): Copy BundleKey using constructor, not clone().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91304 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * config/s390/s390.c (s390_short_displacement): UNSPEC_GOTNTPOFF
uweigand [Thu, 25 Nov 2004 17:30:25 +0000 (17:30 +0000)]
* config/s390/s390.c (s390_short_displacement): UNSPEC_GOTNTPOFF
displacements are not short.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91303 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * config/s390/s390.c (legitimize_pic_address): Use s390_load_address
uweigand [Thu, 25 Nov 2004 17:28:10 +0000 (17:28 +0000)]
* config/s390/s390.c (legitimize_pic_address): Use s390_load_address
to load addresses.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91302 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR c++/18001
mmitchel [Thu, 25 Nov 2004 17:11:37 +0000 (17:11 +0000)]
PR c++/18001
* c-common.h (lvalue_use): Move here from c-ctypeck.c.
(lvalue_or_else): Declare.
* c-common.c (lvalue_or_else): Move here from c-typeck.c.
* c-typeck.c (lvalue_use): Remove.
(lvalue_or_else): Remove.

PR c++/18556
* toplev.c (check_global_declarations): Set DECL_IGNORED_P on
unemitted variables with static storage duration.

PR c++/18445
* class.c (instantiate_type): Treat NON_DEPENDENT_EXPRs with
unknown_type as non matching.  Tidy up.
* pt.c (build_non_dependent_expr): Do not build a
NON_DEPENDENT_EXPR for a VAR_DECL.

PR c++/18001
* cp-tree.h (lvalue_or_else): Remove declaration.
* tree.c (lvalue_or_else): Remove.
* typeck.c (build_unary_op): Adjust call to lvalue_or_else.
(build_modify_expr): Likewise.

PR c++/18625
* decl.c (duplicate_decls): Return error_mark_node on error, as
specified.

PR c++/18466
* decl.c (grokvardecl): Keep track of whether or not a there was
explicit qualification.
* name-lookup.c (set_decl_namespace): Complain about explicit
qualification of a name within its own namespace.

PR c++/18545
* typeck.c (check_return_expr): Robustify.

PR c++/18445
* g++.dg/template/crash28.C: Likewise.

PR c++/18001
* g++.dg/expr/unary2.C: Adjust lvalue messages.
* g++.dg/ext/lvaddr.C: Likewise.
* g++.dg/opt/pr7503-3.C: Likewise.

PR c++/18466
* g++.dg/parse/qualified3.C: New test.
* g++.old-deja/g++.other/friend7.C: Remove bogus qualification.

PR c++/18545
* g++.dg/expr/return1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91301 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago Friend class name lookup 3/n, PR c++/3332
lerdsuwa [Thu, 25 Nov 2004 17:05:38 +0000 (17:05 +0000)]
Friend class name lookup 3/n, PR c++/3332
* name-lookup.c (push_inner_scope, pop_inner_scope): New functions.
(lookup_type_scope): Don't deal with name from user declaration
specially.
* name-lookup.h (push_inner_scope, pop_inner_scope): Add declarations.
* parser.c (cp_parser_class_specifier): Use push_inner_scope and
pop_inner_scope.

* g++.dg/lookup/friend3.C: New test.
* g++.dg/lookup/friend4.C: Likewise.
* g++.dg/lookup/friend5.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91300 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago Friend class name lookup 2/n, PR c++/14513, c++/15410
lerdsuwa [Thu, 25 Nov 2004 16:55:34 +0000 (16:55 +0000)]
Friend class name lookup 2/n, PR c++/14513, c++/15410
* name-lookup.c (lookup_name_real): Simplify.
(lookup_type_scope): Add SCOPE parameter.  Handle friend class
lookup.
* name-lookup.h (tag_scope): New enum type.
(lookup_type_scope): Adjust declaration.
* decl.c (lookup_and_check_tag, xref_tag, xref_tag_from_type):
Change bool parameter GLOBALIZED to TAG_SCOPE parameter SCOPE.
(start_enum): Likewise.  Add assertion test that NAME is
IDENTIFIER_NODE.  Use anonymous name for dummy ENUMERAL_TYPE in
case of error.
* cp-tree.h (xref_tag, xref_tag_from_type): Adjust declarations.
* parser.c (cp_parser_elaborated_type_specifier,
cp_parser_class_head): Adjust call to xref_tag.
* pt.c (lookup_template_class, instantiate_class_template):
Likewise.
* rtti.c (init_rtti_processing, build_dynamic_cast_1,
tinfo_base_init, emit_support_tinfos): Likewise.

* g++.dg/lookup/friend2.C: New test.
* g++.dg/template/friend31.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91299 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoResync.
charlet [Thu, 25 Nov 2004 16:17:13 +0000 (16:17 +0000)]
Resync.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91298 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * g-socthi-mingw.ads, g-socthi-vms.ads: Remove C_Read and C_Write from
charlet [Thu, 25 Nov 2004 16:14:01 +0000 (16:14 +0000)]
* g-socthi-mingw.ads, g-socthi-vms.ads: Remove C_Read and C_Write from
internal implementation unit GNAT.Sockets.Thin,
as their usage for sockets is non-portable (using the read and write
functions from the system runtime library is fine on UNIX but won't
work under Windows).

* mingw32.h: Update copyright notice.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91297 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * ada-tree.h: Minor reformatting of previous change to avoid lines
charlet [Thu, 25 Nov 2004 16:08:51 +0000 (16:08 +0000)]
* ada-tree.h: Minor reformatting of previous change to avoid lines
longer than 79 characters.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91296 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2004-11-24 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 25 Nov 2004 16:07:47 +0000 (16:07 +0000)]
2004-11-24  Benjamin Kosnik  <bkoz@redhat.com>

* ChangeLog: Remove duplicate lines.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91295 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
kcook [Thu, 25 Nov 2004 13:43:43 +0000 (13:43 +0000)]
2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>

* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Revert previous change.
* boehm-gc/configure: Regenerate.
* libffi/configure: Regenerate.
* libgfortran/configure: Regenerate.
* libjava/configure: Regenerate.
* libobjc/configure: Regenerate.
* libstdc++-v3/configure: Regenerate.
* zlib/configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91293 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
kcook [Thu, 25 Nov 2004 13:35:35 +0000 (13:35 +0000)]
2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>

* Makefile.am: Revert previous.
* acinclude.m4: Restore.
* aclocal.m4, configure, Makefile.in: Regenerate.
* testsuite/Makefile.in: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91292 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * tree-cfg.c (tree_verify_flow_info): Do not terminate error()
gerald [Thu, 25 Nov 2004 13:31:47 +0000 (13:31 +0000)]
* tree-cfg.c (tree_verify_flow_info): Do not terminate error()
message with \n.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91291 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * tb-gcc.c: GCC infrastructure based implementation of
charlet [Thu, 25 Nov 2004 13:11:09 +0000 (13:11 +0000)]
* tb-gcc.c: GCC infrastructure based implementation of
__gnat_backtrace.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91290 138bc75d-0d04-0410-961f-82ee72b054a4