David Daney [Wed, 17 Nov 2004 23:51:18 +0000 (23:51 +0000)]
BufferedInputStream.java (skip): Return zero on EOF.
2004-11-17 David Daney <ddaney@avtrex.com>
* java/io/BufferedInputStream.java (skip): Return zero on EOF.
From-SVN: r90832
Janis Johnson [Wed, 17 Nov 2004 23:47:21 +0000 (23:47 +0000)]
target-supports.exp (check_effective_target_vect_int): New
* lib/target-supports.exp (check_effective_target_vect_int): New
(check_effective_target_vect_float): New
(check_effective_target_vect_double): New.
(is-effective-target): Support new effective targets keywords.
* gcc.dg/vect/vect.exp: Set target-dependent vector flags and
default action for dg-do.
* gcc.dg/vect/pr16105.c: Use new support.
* gcc.dg/vect/pr18400.c: Ditto.
* gcc.dg/vect/pr18425.c: Ditto.
* gcc.dg/vect/vect-1.c: Ditto.
* gcc.dg/vect/vect-10.c: Ditto.
* gcc.dg/vect/vect-11.c: Ditto.
* gcc.dg/vect/vect-12.c: Ditto.
* gcc.dg/vect/vect-13.c: Ditto.
* gcc.dg/vect/vect-14.c: Ditto.
* gcc.dg/vect/vect-15.c: Ditto.
* gcc.dg/vect/vect-16.c: Ditto.
* gcc.dg/vect/vect-17.c: Ditto.
* gcc.dg/vect/vect-18.c: Ditto.
* gcc.dg/vect/vect-19.c: Ditto.
* gcc.dg/vect/vect-2.c: Ditto.
* gcc.dg/vect/vect-20.c: Ditto.
* gcc.dg/vect/vect-21.c: Ditto.
* gcc.dg/vect/vect-22.c: Ditto.
* gcc.dg/vect/vect-23.c: Ditto.
* gcc.dg/vect/vect-24.c: Ditto.
* gcc.dg/vect/vect-25.c: Ditto.
* gcc.dg/vect/vect-26.c: Ditto.
* gcc.dg/vect/vect-27.c: Ditto.
* gcc.dg/vect/vect-27a.c: Ditto.
* gcc.dg/vect/vect-28.c: Ditto.
* gcc.dg/vect/vect-29.c: Ditto.
* gcc.dg/vect/vect-29a.c: Ditto.
* gcc.dg/vect/vect-3.c: Ditto.
* gcc.dg/vect/vect-30.c: Ditto.
* gcc.dg/vect/vect-31.c: Ditto.
* gcc.dg/vect/vect-32.c: Ditto.
* gcc.dg/vect/vect-33.c: Ditto.
* gcc.dg/vect/vect-34.c: Ditto.
* gcc.dg/vect/vect-35.c: Ditto.
* gcc.dg/vect/vect-36.c: Ditto.
* gcc.dg/vect/vect-37.c: Ditto.
* gcc.dg/vect/vect-38.c: Ditto.
* gcc.dg/vect/vect-4.c: Ditto.
* gcc.dg/vect/vect-40.c: Ditto.
* gcc.dg/vect/vect-41.c: Ditto.
* gcc.dg/vect/vect-42.c: Ditto.
* gcc.dg/vect/vect-43.c: Ditto.
* gcc.dg/vect/vect-44.c: Ditto.
* gcc.dg/vect/vect-45.c: Ditto.
* gcc.dg/vect/vect-46.c: Ditto.
* gcc.dg/vect/vect-47.c: Ditto.
* gcc.dg/vect/vect-48.c: Ditto.
* gcc.dg/vect/vect-48a.c: Ditto.
* gcc.dg/vect/vect-49.c: Ditto.
* gcc.dg/vect/vect-5.c: Ditto.
* gcc.dg/vect/vect-50.c: Ditto.
* gcc.dg/vect/vect-51.c: Ditto.
* gcc.dg/vect/vect-52.c: Ditto.
* gcc.dg/vect/vect-53.c: Ditto.
* gcc.dg/vect/vect-54.c: Ditto.
* gcc.dg/vect/vect-55.c: Ditto.
* gcc.dg/vect/vect-56.c: Ditto.
* gcc.dg/vect/vect-56a.c: Ditto.
* gcc.dg/vect/vect-57.c: Ditto.
* gcc.dg/vect/vect-58.c: Ditto.
* gcc.dg/vect/vect-59.c: Ditto.
* gcc.dg/vect/vect-6.c: Ditto.
* gcc.dg/vect/vect-60.c: Ditto.
* gcc.dg/vect/vect-61.c: Ditto.
* gcc.dg/vect/vect-62.c: Ditto.
* gcc.dg/vect/vect-63.c: Ditto.
* gcc.dg/vect/vect-64.c: Ditto.
* gcc.dg/vect/vect-65.c: Ditto.
* gcc.dg/vect/vect-66.c: Ditto.
* gcc.dg/vect/vect-67.c: Ditto.
* gcc.dg/vect/vect-68.c: Ditto.
* gcc.dg/vect/vect-69.c: Ditto.
* gcc.dg/vect/vect-7.c: Ditto.
* gcc.dg/vect/vect-72.c: Ditto.
* gcc.dg/vect/vect-72a.c: Ditto.
* gcc.dg/vect/vect-73.c: Ditto.
* gcc.dg/vect/vect-74.c: Ditto.
* gcc.dg/vect/vect-75.c: Ditto.
* gcc.dg/vect/vect-76.c: Ditto.
* gcc.dg/vect/vect-77.c: Ditto.
* gcc.dg/vect/vect-77a.c: Ditto.
* gcc.dg/vect/vect-78.c: Ditto.
* gcc.dg/vect/vect-79.c: Ditto.
* gcc.dg/vect/vect-8.c: Ditto.
* gcc.dg/vect/vect-80.c: Ditto.
* gcc.dg/vect/vect-82.c: Ditto.
* gcc.dg/vect/vect-82_64.c: Ditto.
* gcc.dg/vect/vect-83.c: Ditto.
* gcc.dg/vect/vect-83_64.c: Ditto.
* gcc.dg/vect/vect-9.c: Ditto.
* gcc.dg/vect/vect-all.c: Ditto.
* gcc.dg/vect/vect-none.c: Ditto.
Co-Authored-By: Aldy Hernandez <aldyh@redhat.com>
From-SVN: r90831
Ben Elliston [Wed, 17 Nov 2004 23:15:06 +0000 (10:15 +1100)]
* doc/rtl.texi (Flags): Grammar fix.
From-SVN: r90830
Kazu Hirata [Wed, 17 Nov 2004 22:29:29 +0000 (22:29 +0000)]
expmed.c (alg_code): Add alg_unknown.
* expmed.c (alg_code): Add alg_unknown.
(alg_hash_entry): New.
(NUM_ALG_HASH_ENTRIES): Likewise.
(alg_hash): Likewise.
(synth_mult): Cache the result into alg_hash.
From-SVN: r90825
Zack Weinberg [Wed, 17 Nov 2004 22:23:10 +0000 (22:23 +0000)]
t-darwin: Augment SHLIB_MAPFILES with config/rs6000/libgcc-ppc64.ver.
* config/rs6000/t-darwin: Augment SHLIB_MAPFILES with
config/rs6000/libgcc-ppc64.ver.
From-SVN: r90824
Kazu Hirata [Wed, 17 Nov 2004 22:06:00 +0000 (22:06 +0000)]
basic-block.h, [...]: Remove unused prototypes.
* basic-block.h, c-common.h, df.h, expr.h, output.h, rtl.h,
tree-chrec.h, tree-flow.h, tree-scalar-evolution.h,
tree-ssa-live.h, tree.h: Remove unused prototypes.
From-SVN: r90821
Kazu Hirata [Wed, 17 Nov 2004 21:57:30 +0000 (21:57 +0000)]
* jump.c (condjump_p): Remove unreachable code.
From-SVN: r90820
Kazu Hirata [Wed, 17 Nov 2004 21:55:07 +0000 (21:55 +0000)]
cfgrtl.c (rtl_verify_flow_info): Don't use INSN_P when checking if an unconditional return is followed by a barrier.
* cfgrtl.c (rtl_verify_flow_info): Don't use INSN_P when
checking if an unconditional return is followed by a barrier.
From-SVN: r90819
Jeff Law [Wed, 17 Nov 2004 21:10:00 +0000 (14:10 -0700)]
tree-cfg.c (edge_to_cases): Renamed from edge_to_case_leader.
* tree-cfg.c (edge_to_cases): Renamed from edge_to_case_leader.
(edge_to_cases_elt): Renamed from edge_to_case_leader.
(edge_to_cases_hash): Renamed from edge_to_case_leader_hash.
(edge_to_cases_eq): Renamed from edge_to_case_leader_eq.
(edge_to_cases_cleanup, recording_case_labels_p): New functions.
(get_cases_for_edge): New function.
(start_recording_case_labels, end_recording_case_labels): Similarly.
(record_switch_edge): Don't muck with the CASE_LABEL. Instead
chain equivalent CASE_LABEL_EXPRs together.
(get_case_leader_for_edge, get_case_leader_for_edge_hash): Kill.
(make_switch_expr_edges): Do not record edge/cases here.
(cleanup_tree_cfg): Record cases around the call to thread_jumps.
(split_critical_edges): Record cases around the edge splitting code.
(cleanup_dead_labels): Use CASE_LABEL again.
(tree_redirect_edge_and_branch): If we have a mapping from edge
to cases, use it to handle redirections. Else do it the slow way.
* tree.h (CASE_LEADER_OR_LABEL): Kill.
(CASE_LABEL): Revert to just looking at the tree's second operand.
* tree.c (get_case_label): Kill.
From-SVN: r90817
Diego Novillo [Wed, 17 Nov 2004 21:07:03 +0000 (21:07 +0000)]
re PR tree-optimization/18307 (merge_pointed_to_info called incorrectly)
PR tree-optimization/18307
* tree-ssa-alias.c (merge_pointed_to_info): ICE if 'dest' and
'orig' are the same node.
(collect_points_to_info_r): Do not call merge_pointed_to_info
when the PHI argument is identical to the LHS.
From-SVN: r90816
Janis Johnson [Wed, 17 Nov 2004 17:21:46 +0000 (17:21 +0000)]
gcc-dg.exp (dg-skip-if): New function.
* lib/gcc-dg.exp (dg-skip-if): New function.
(dg-forbid-option): Remove.
* g++.dg/abi/bitfield3.C: Use dg-skip-if i?86 -m64.
* g++.dg/abi/bitfield8.C: Likewise.
* g++.dg/abi/dtor1.C: Likewise.
* g++.dg/abi/empty10.C: Likewise.
* g++.dg/abi/empty7.C: Likewise.
* g++.dg/abi/empty9.C: Likewise.
* g++.dg/abi/layout3.C: Likewise.
* g++.dg/abi/layout4.C: Likewise.
* g++.dg/abi/thunk1.C: Likewise.
* g++.dg/abi/thunk2.C: Likewise.
* g++.dg/abi/vbase11.C: Likewise.
* g++.dg/abi/vthunk2.C: Likewise.
* g++.dg/abi/vthunk3.C: Likewise.
* g++.dg/ext/attrib8.C: Likewise.
* g++.dg/opt/longbranch2.C: Likewise.
* g++.dg/opt/reg-stack4.C: Likewise.
* g++.old-deja/g++.ext/attrib1.C: Likewise.
* g++.old-deja/g++.ext/attrib2.C: Likewise.
* g++.old-deja/g++.ext/attrib3.C: Likewise.
* g++.old-deja/g++.other/store-expr1.C: Likewise.
* g++.old-deja/g++.other/store-expr2.C: Likewise.
* gcc.dg/
20000609-1.c: Likewise.
* gcc.dg/
20000720-1.c: Likewise.
* gcc.dg/
20011107-1.c: Likewise.
* gcc.dg/
20011119-1.c: Likewise.
* gcc.dg/
20020108-1.c: Likewise.
* gcc.dg/
20020122-2.c: Likewise.
* gcc.dg/
20020122-3.c: Likewise.
* gcc.dg/
20020201-3.c: Likewise.
* gcc.dg/
20020206-1.c: Likewise.
* gcc.dg/
20020218-1.c: Likewise.
* gcc.dg/
20020310-1.c: Likewise.
* gcc.dg/
20020411-1.c: Likewise.
* gcc.dg/
20020418-2.c: Likewise.
* gcc.dg/
20020426-1.c: Likewise.
* gcc.dg/
20020426-2.c: Likewise.
* gcc.dg/
20020517-1.c: Likewise.
* gcc.dg/
20020523-1.c: Likewise.
* gcc.dg/
20020523-2.c: Likewise.
* gcc.dg/
20020729-1.c: Likewise.
* gcc.dg/
20030204-1.c: Likewise.
* gcc.dg/
20030826-2.c: Likewise.
* gcc.dg/
20030926-1.c: Likewise.
* gcc.dg/
20031202-1.c: Likewise.
* gcc.dg/980312-1.c: Likewise.
* gcc.dg/980313-1.c: Likewise.
* gcc.dg/990117-1.c: Likewise.
* gcc.dg/990424-1.c: Likewise.
* gcc.dg/990524-1.c: Likewise.
* gcc.dg/991230-1.c: Likewise.
* gcc.dg/i386-387-1.c: Likewise.
* gcc.dg/i386-387-2.c: Likewise.
* gcc.dg/i386-387-3.c: Likewise.
* gcc.dg/i386-387-4.c: Likewise.
* gcc.dg/i386-387-5.c: Likewise.
* gcc.dg/i386-387-6.c: Likewise.
* gcc.dg/i386-asm-1.c: Likewise.
* gcc.dg/i386-bitfield1.c: Likewise.
* gcc.dg/i386-bitfield2.c: Likewise.
* gcc.dg/i386-loop-1.c: Likewise.
* gcc.dg/i386-loop-2.c: Likewise.
* gcc.dg/i386-loop-3.c: Likewise.
* gcc.dg/i386-pentium4-not-mull.c: Likewise.
* gcc.dg/i386-pic-1.c: Likewise.
* gcc.dg/i386-regparm.c: Likewise.
* gcc.dg/i386-signbit-1.c: Likewise.
* gcc.dg/i386-signbit-2.c: Likewise.
* gcc.dg/i386-signbit-3.c: Likewise.
* gcc.dg/i386-sse-5.c: Likewise.
* gcc.dg/i386-sse-8.c: Likewise.
* gcc.dg/i386-unroll-1.c: Likewise.
* gcc.dg/tls/opt-1.c: Likewise.
* gcc.dg/tls/opt-2.c: Likewise.
* gcc.dg/unroll-1.c: Likewise.
* gcc.misc-tests/i386-pf-3dnow-1.c: Likewise.
* gcc.misc-tests/i386-pf-athlon-1.c: Likewise.
* gcc.misc-tests/i386-pf-none-1.c: Likewise.
* gcc.misc-tests/i386-pf-sse-1.c: Likewise.
From-SVN: r90810
Michael Koch [Wed, 17 Nov 2004 12:08:31 +0000 (12:08 +0000)]
Socket.java (getPort): Return 0 in error case.
2004-11-17 Michael Koch <konqueror@gmx.de>
* java/net/Socket.java (getPort): Return 0 in error case.
From-SVN: r90805
Michael Koch [Wed, 17 Nov 2004 11:57:55 +0000 (11:57 +0000)]
2004-11-17 Michael Koch <konqueror@gmx.de>
* java/nio/DirectByteBufferImpl.java
(owner): Updated comment.
(allocate): New method.
From-SVN: r90804
Steven Bosscher [Wed, 17 Nov 2004 10:47:07 +0000 (10:47 +0000)]
* tree-ssa-propagate.c (cfg_blocks_add) Assert we're not trying
to insert the exit or entry block.
(ssa_prop_init): Use add_control_edge to seed the algorithm.
From-SVN: r90802
Paolo Carlini [Wed, 17 Nov 2004 09:04:14 +0000 (09:04 +0000)]
istream.tcc (getline(basic_istream<>&, basic_string<>&, _CharT)): Remove temporary kludge for libstdc++/15002.
2004-11-17 Paolo Carlini <pcarlini@suse.de>
* include/bits/istream.tcc (getline(basic_istream<>&, basic_string<>&,
_CharT)): Remove temporary kludge for libstdc++/15002.
* include/std/std_streambuf.h (class basic_streambuf): Declare
getline(basic_istream<>&, basic_string<>&, _CharT) as friend.
* include/bits/basic_string.h (getline(basic_istream<>&,
basic_string<>&, _CharT)): Declare optimized specializations for
char and wchar_t, using protected members of basic_streambuf.
* src/istream.cc: Define the latter.
From-SVN: r90801
Michael Koch [Wed, 17 Nov 2004 08:40:53 +0000 (08:40 +0000)]
URL.java (URL): Handle case when argument is null.
2004-11-17 Michael Koch <konqueror@gmx.de>
* java/net/URL.java (URL): Handle case when argument is null.
From-SVN: r90800
Michael Koch [Wed, 17 Nov 2004 08:17:20 +0000 (08:17 +0000)]
Beans.java, [...]: Fixed javadocs.
2004-11-17 Michael Koch <konqueror@gmx.de>
* java/beans/Beans.java,
java/beans/PropertyChangeEvent.java,
java/beans/PropertyEditorSupport.java:
Fixed javadocs.
From-SVN: r90799
Michael Koch [Wed, 17 Nov 2004 08:11:22 +0000 (08:11 +0000)]
Timer.java (DEFAULT_SIZE): Made static.
2004-11-17 Michael Koch <konqueror@gmx.de>
* java/util/Timer.java (DEFAULT_SIZE): Made static.
From-SVN: r90798
Michael Koch [Wed, 17 Nov 2004 07:09:57 +0000 (07:09 +0000)]
InetAddress.java (getCanonicalHostName): Support IPv6 addresses.
2004-11-17 Michael Koch <konqueror@gmx.de>
* java/net/InetAddress.java (getCanonicalHostName):
Support IPv6 addresses.
From-SVN: r90793
Zack Weinberg [Wed, 17 Nov 2004 05:39:02 +0000 (05:39 +0000)]
mkmap-flat.awk, [...]: If the last version assigned to a symbol was '%exclude', do not emit it anywhere.
* mkmap-flat.awk, mkmap-symver.awk: If the last version
assigned to a symbol was '%exclude', do not emit it anywhere.
If leading_underscore is true, prefix all symbols from the
version scripts with a leading underscore before comparing
them with nm output or emitting them. Remove support for dot
symbols.
* config/t-slibgcc-darwin (SHLIB_LINK): Use mkmap-flat.awk.
(SHLIB_MAPFILES): Use libgcc-std.ver.
(SHLIB_MKMAP_OPTS): Enable leading-underscore mode.
(SHLIB_LINK): Add -Wl,-exported_symbols_list,$(SHLIB_MAP).
* config/sh/t-linux: Use the normal libgcc-std.ver, plus
libgcc-excl.ver and libgcc-glibc.ver.
* config/sh/libgcc-excl.ver: New file.
* config/sh/libgcc-std.ver, libgcc-darwin.ver: Delete.
From-SVN: r90792
David Edelsohn [Wed, 17 Nov 2004 05:21:46 +0000 (00:21 -0500)]
Add missing entry in last aix52.h ChangeLog.
From-SVN: r90791
Bruce Korb [Wed, 17 Nov 2004 05:06:41 +0000 (05:06 +0000)]
remove confusing and unnecessary backslashes
From-SVN: r90790
Bruce Korb [Wed, 17 Nov 2004 04:20:36 +0000 (04:20 +0000)]
correct misuse of variables
From-SVN: r90789
Daniel Berlin [Wed, 17 Nov 2004 02:51:55 +0000 (02:51 +0000)]
lambda-code.c (lambda_loopnest_to_gcc_loopnest): Swap the test when the edge has the opposite meaning...
2004-11-16 Daniel Berlin <dberlin@dberlin.org>
* lambda-code.c (lambda_loopnest_to_gcc_loopnest): Swap
the test when the edge has the opposite meaning, not when
the first argument is invariant.
From-SVN: r90788
Aldy Hernandez [Wed, 17 Nov 2004 02:19:17 +0000 (02:19 +0000)]
rs6000.c (rs6000_override_options): Split e500v2 doubles.
* config/rs6000/rs6000.c (rs6000_override_options): Split e500v2
doubles.
(rs6000_complex_function_value): Handle e500 v2 variant.
From-SVN: r90784
Daniel Berlin [Wed, 17 Nov 2004 02:01:35 +0000 (02:01 +0000)]
re PR tree-optimization/18519 (ICE: Segmentation fault with optimization)
2004-11-16 Daniel Berlin <dberlin@dberlin.org>
Fix PR tree-optimization/18519
* tree-optimize (execute_todo): Add case for TODO_cleanup_cfg.
* tree-pass.h: Add TODO_cleanup_cfg.
* tree-ssa-ccp.c (pass_ccp): Use TODO_cleanup_cfg.
(ccp_finalize): Remove call to cleanup_cfg.
* tree-ssa-dce.c (pass_dce): Use TODO_cleanup_cfg and TODO_dump_func.
(pass_cd_dce): Ditto.
(perform_tree_ssa_dce): Remove call to cleanup_cfg,
dump_function_to_file.
* tree-ssa-loop-ch.c (copy_loop_headers): Remove call
to cleanup_cfg.
(pass_ch): Add TODO_cleanup_cfg.
* tree-ssa-loop.c (tree_ssa_loop_done): Remove call to
cleanup_cfg.
(pass_loop_done): Add TODO_cleanup_cfg.
* tree-ssa-phiopt.c (pass_phiopt): Ditto.
(tree_ssa_phiopt): Remove call to cleanup_cfg.
From-SVN: r90783
Devang Patel [Wed, 17 Nov 2004 00:56:57 +0000 (16:56 -0800)]
* optabs.c (vector_compare_rtx): Fix COMPARISON_CLASS_P use.
From-SVN: r90781
Giovanni Bajo [Wed, 17 Nov 2004 00:17:00 +0000 (00:17 +0000)]
decl.c (start_preparsed_function): Call check_function_type even in templates.
* decl.c (start_preparsed_function): Call check_function_type even
in templates.
(require_complete_types_for_parms): Skip dependent types.
(check_function_type): Likewise.
* g++.dg/template/incomplete1.C: New test.
From-SVN: r90779
GCC Administrator [Wed, 17 Nov 2004 00:16:34 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r90777.2
GCC Administrator [Wed, 17 Nov 2004 00:16:27 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r90775.2
Kazu Hirata [Tue, 16 Nov 2004 23:33:58 +0000 (23:33 +0000)]
* doc/tm.texi: Fix typos.
From-SVN: r90772
Kazu Hirata [Tue, 16 Nov 2004 23:26:21 +0000 (23:26 +0000)]
* expmed.c, ra-colorize.c: Fix comment typos.
From-SVN: r90771
Daniel Jacobowitz [Tue, 16 Nov 2004 22:42:21 +0000 (22:42 +0000)]
re PR target/6123 (__pic__/__PIC__ not defined when -fpic/-fPIC is specified)
2004-11-16 Daniel Jacobowitz <dan@codesourcery.com>
Mark Mitchell <mark@codesourcery.com>
PR target/6123
* config/sol2.h (TARGET_OS_CPP_BUILTINS): Define __PIC__ and
__pic__ if PIC.
Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
From-SVN: r90770
Michael Koch [Tue, 16 Nov 2004 21:37:29 +0000 (21:37 +0000)]
Object.java: Added javadocs all over (merged from GNU classpath).
2004-11-16 Michael Koch <konqueror@gmx.de>
* java/lang/Object.java: Added javadocs all over (merged from GNU
classpath).
From-SVN: r90766
Andreas Tobler [Tue, 16 Nov 2004 21:31:55 +0000 (22:31 +0100)]
Security.java (Security): Silence the warning about no providers found in the no debug case.
2004-11-16 Andreas Tobler <a.tobler@schweiz.ch>
* java/security/Security.java (Security): Silence the warning about no
providers found in the no debug case.
From-SVN: r90765
Ulrich Weigand [Tue, 16 Nov 2004 21:11:33 +0000 (21:11 +0000)]
regmove.c (regmove_optimize): Use lowpart_subreg instead of gen_rtx_SUBREG with incorrect offset to compute...
* regmove.c (regmove_optimize): Use lowpart_subreg instead of
gen_rtx_SUBREG with incorrect offset to compute SRC_SUBREG.
From-SVN: r90762
Devang Patel [Tue, 16 Nov 2004 20:04:08 +0000 (12:04 -0800)]
Somehow, I missed to checkin this test when I fixed pr17635 (with
appropriate ChangeLog entry).
From-SVN: r90757
Devang Patel [Tue, 16 Nov 2004 20:02:48 +0000 (12:02 -0800)]
* tree-if-conv.c (clean_predicate_lists): Update gcc_assert check.
From-SVN: r90756
Eric Christopher [Tue, 16 Nov 2004 19:24:17 +0000 (19:24 +0000)]
mips.c: Use rtl _P predicates.
2004-11-16 Eric Christopher <echristo@redhat.com>
* config/mips/mips.c: Use rtl _P predicates.
* config/mips/mips.h: Ditto.
* config/mips/mips.md: Ditto.
From-SVN: r90752
Fariborz Jahanian [Tue, 16 Nov 2004 18:52:36 +0000 (18:52 +0000)]
altivec.md (altivec_vandc): Canonicalize the pattern.
* config/rs6000/altivec.md (altivec_vandc): Canonicalize the pattern.
OKed by Aldy Hernandez.
From-SVN: r90747
Andreas Krebbel [Tue, 16 Nov 2004 17:37:31 +0000 (17:37 +0000)]
s390.c (s390_cc_modes_compatible): New function.
2004-11-16 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.c (s390_cc_modes_compatible): New function.
(TARGET_CC_MODES_COMPATIBLE): Target macro defined.
From-SVN: r90745
Michael Koch [Tue, 16 Nov 2004 15:33:49 +0000 (15:33 +0000)]
2004-11-16 Michael Koch <konqueror@gmx.de>
* java/net/InetAddress.java
(toString): Merged from GNU classpath.
From-SVN: r90743
Michael Koch [Tue, 16 Nov 2004 15:28:57 +0000 (15:28 +0000)]
Area-1.png, [...]: New files.
2004-11-16 Michael Koch <konqueror@gmx.de>
* java/awt/geom/doc-files/Area-1.png,
java/awt/geom/doc-files/Ellipse-1.png,
java/awt/geom/doc-files/GeneralPath-1.png:
New files.
From-SVN: r90742
Michael Koch [Tue, 16 Nov 2004 15:24:55 +0000 (15:24 +0000)]
Currency.java (cache): Fix modifier order.
2004-11-16 Michael Koch <konqueror@gmx.de>
* java/util/Currency.java (cache): Fix modifier order.
From-SVN: r90741
Nick Clifton [Tue, 16 Nov 2004 13:26:38 +0000 (13:26 +0000)]
Revert bogus changes to these files
From-SVN: r90736
Kaz Kojima [Tue, 16 Nov 2004 12:16:52 +0000 (12:16 +0000)]
re PR target/18447 (Variable with the initial-exec tls-model attribute causes spill failure)
PR target/18447
* config/sh/sh.c (prepare_move_operands): Emit blockage insns
before and after the insns for getting GOT address in non-PIC
TLS_MODEL_INITIAL_EXEC tls sequence when the first scheduling
is enabled.
From-SVN: r90732
Jonathan Wakely [Tue, 16 Nov 2004 11:48:55 +0000 (11:48 +0000)]
howto.html: Document change from _GLIBCPP_CONCEPT_CHECKS to _GLIBCXX_CONCEPT_CHECKS in 3.4.
2004-11-16 Jonathan Wakely <redi@gcc.gnu.org>
* docs/html/19_diagnostics/howto.html: Document change from
_GLIBCPP_CONCEPT_CHECKS to _GLIBCXX_CONCEPT_CHECKS in 3.4.
From-SVN: r90729
Andreas Krebbel [Tue, 16 Nov 2004 11:38:11 +0000 (11:38 +0000)]
cse.c (struct change_cc_mode_args): New structure.
2004-11-16 Andreas Krebbel <krebbel1@de.ibm.com>
* gcc/cse.c (struct change_cc_mode_args): New structure.
(cse_change_cc_mode_insn): New function.
(cse_change_cc_mode): Use validate_change to perfom changes.
(cse_change_cc_mode_insns, cse_condition_code_reg):
Call cse_change_cc_mode_insn.
From-SVN: r90728
Michael Koch [Tue, 16 Nov 2004 11:30:14 +0000 (11:30 +0000)]
BufferedReader.java, [...]: Fixed javadocs all over.
2004-11-16 Michael Koch <konqueror@gmx.de>
* java/io/BufferedReader.java,
java/io/FileInputStream.java,
java/io/FileOutputStream.java,
java/io/FileWriter.java,
java/io/OutputStreamWriter.java,
java/io/PipedInputStream.java,
java/io/PipedOutputStream.java,
java/io/PipedReader.java,
java/io/PipedWriter.java,
java/io/PrintStream.java,
java/io/PushbackInputStream.java,
java/io/RandomAccessFile.java,
java/io/Reader.java,
java/io/StreamTokenizer.java,
java/io/StringReader.java,
java/net/NetworkInterface.java,
java/net/URLClassLoader.java,
java/nio/ByteOrder.java,
java/nio/channels/Channel.java:
Fixed javadocs all over.
From-SVN: r90727
Steven Bosscher [Tue, 16 Nov 2004 10:00:11 +0000 (10:00 +0000)]
stack.h: Remove.
* stack.h: Remove.
cp/
* Make-lang.in (cp/decl.o, cp/search.o): Don't depend on stack.h.
* search.c: Don't include it.
From-SVN: r90724
Steven Bosscher [Tue, 16 Nov 2004 09:09:26 +0000 (09:09 +0000)]
* config/i386/i386.c (x86_schedule): Fix typo, m_K6 intead of m_K8.
From-SVN: r90722
Matthias Klose [Tue, 16 Nov 2004 09:09:01 +0000 (09:09 +0000)]
user.cfg.in: Set HAVE_DOT to NO.
2004-11-16 Matthias Klose <doko@debian.org>
* docs/doxygen/user.cfg.in: Set HAVE_DOT to NO.
From-SVN: r90720
Matthias Klose [Tue, 16 Nov 2004 08:03:19 +0000 (08:03 +0000)]
Makefile.am (doxygen, [...]): Use host_alias instead of build_alias.
2004-11-16 Matthias Klose <doko@debian.org>
* Makefile.am (doxygen, doxygen-maint, doxygen-man): Use host_alias
instead of build_alias.
* docs/doxygen/run_doxygen: Likewise.
* docs/doxygen/user.cfg.in: Likewise.
* Makefile.in: Regenerate.
From-SVN: r90719
Andreas Tobler [Tue, 16 Nov 2004 07:42:43 +0000 (08:42 +0100)]
[multiple changes]
2004-11-16 Andreas Tobler <a.tobler@schweiz.ch>
* Makefile.am: Add imported files.
* Makefile.in: Regenerate.
2004-10-24 Casey Marshall <csm@gnu.org>
* javax/security/auth/login/LoginContext.java: Implemented.
* javax/security/auth/login/Configuration.java (getConfig): New method.
* javax/security/auth/spi/LoginModule.java,
* gnu/java/security/action/GetSecurityPropertyAction.java: New files.
From-SVN: r90718
Paul Brook [Tue, 16 Nov 2004 02:02:37 +0000 (02:02 +0000)]
re PR fortran/13010 (seg fault on valid code)
PR fortran/13010
* trans-array.c (gfc_trans_allocate_temp_array): Use gfc_get_dtype.
(gfc_array_init_size, gfc_conv_expr_descriptor): Ditto.
* trans-types.c (gfc_get_dtype): Accept array type rather than element
type.
(gfc_get_nodesc_array_type): Don't set GFC_TYPE_ARRAY_DTYPE.
(gfc_get_array_type_bounds): Ditto.
(gfc_get_derived_type): Recurse into derived type pointers.
* trans-types.h (gfc_get_dtype): Add prototype.
* trans.h (GFC_TYPE_ARRAY_DTYPE): Add comment.
testsuite/
* gfortran.dg/der_pointer_1.f90: New test.
From-SVN: r90714
Dale Johannesen [Tue, 16 Nov 2004 01:49:08 +0000 (01:49 +0000)]
tree-flow.h (add_referenced_temp_var): Remove name from prototype.
2004-11-15 Dale Johannesen <dalej@apple.com>
* tree-flow.h (add_referenced_temp_var): Remove name from prototype.
From-SVN: r90712
Dale Johannesen [Tue, 16 Nov 2004 01:26:00 +0000 (01:26 +0000)]
profile.c (compute_branch_probabilities): Prevent crash with EH in RTL-based profiling.
2004-11-15 Dale Johannesen <dalej@apple.com>
* profile.c (compute_branch_probabilities): Prevent
crash with EH in RTL-based profiling.
From-SVN: r90711
Kelley Cook [Tue, 16 Nov 2004 01:04:30 +0000 (01:04 +0000)]
install-sh, compile: Import from automake.
2004-11-15 Kelley Cook <kcook@gcc.gnu.org>
* install-sh, compile: Import from automake.
From-SVN: r90710
Kelley Cook [Tue, 16 Nov 2004 00:57:01 +0000 (00:57 +0000)]
config.guess, config.sub: Import from savannnah.
2004-11-15 Kelley Cook <kcook@gcc.gnu.org>
* config.guess, config.sub: Import from savannnah.
From-SVN: r90709
GCC Administrator [Tue, 16 Nov 2004 00:16:23 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r90707.2
GCC Administrator [Tue, 16 Nov 2004 00:16:19 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r90706.2
Kazu Hirata [Tue, 16 Nov 2004 00:08:04 +0000 (00:08 +0000)]
tree-cfg.c (bsi_commit_edge_inserts): Remove an argument.
* tree-cfg.c (bsi_commit_edge_inserts): Remove an argument.
(tree_flow_call_edges_add): Update the call to
bsi_commit_edge_inserts.
* lambda-code.c (lambda_loopnest_to_gcc_loopnest): Likewise.
* profile.c (branch_prob): Likewise.
* tree-mudflap.c (mf_decl_cache_locals): Likewise.
* tree-sra.c (scalarize_function): Likewise.
* tree-ssa-loop-im.c (loop_commit_inserts): Likewise.
* tree-ssa-pre.c (fini_pre): Likewise.
* tree-flow.h: Update the prototype for
bsi_commit_edge_inserts.
From-SVN: r90704
Kazu Hirata [Tue, 16 Nov 2004 00:05:30 +0000 (00:05 +0000)]
tree-cfg.c (verify_expr): Replace TREE_OPERAND with COND_EXPR_COND.
* tree-cfg.c (verify_expr): Replace TREE_OPERAND with
COND_EXPR_COND.
* tree-if-conv.c (tree_if_convert_cond_expr): Likewise.
* tree-ssa-dom.c (thread_across_edge): Likewise.
* tree-vectorizer.c (vect_transform_loop_bound): Replace
TREE_OPERAND with COND_EXPR_COND, COND_EXPR_THEN, or
COND_EXPR_ELSE.
From-SVN: r90703
Kelley Cook [Mon, 15 Nov 2004 23:50:05 +0000 (23:50 +0000)]
Makefile.am: Remove -no-dependencies.
2004-11-15 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.am: Remove -no-dependencies.
* Makefile.in: Regenerate.
From-SVN: r90702
Paolo Carlini [Mon, 15 Nov 2004 23:33:05 +0000 (23:33 +0000)]
streambuf.tcc (__copy_streambufs): Provide a generic version of the function...
2004-11-15 Paolo Carlini <pcarlini@suse.de>
* include/bits/streambuf.tcc (__copy_streambufs): Provide
a generic version of the function, not using the protected
members of basic_streambuf.
* include/std/std_streambuf.h (__copy_streambufs): Declare
optimized specializations for char and wchar_t.
* src/streambuf.cc: New file, define the latter.
* src/Makefile.am: Add.
* src/Makefile.in: Regenerate.
From-SVN: r90701
Andrew Pinski [Mon, 15 Nov 2004 22:46:25 +0000 (22:46 +0000)]
cp-gimplify.c: Include pointer-set.h
2004-11-15 Andrew Pinski <pinskia@physics.uc.edu>
* cp-gimplify.c: Include pointer-set.h
(cp_genericize_r): Use pointer_sets instead of a hashtable.
Also instert the new statement for CLEANUP_STMT.
(cp_genericize): Use pointer_sets instead of a hashtable.
* Make-lang.in (cp-gimplify.o): Depend on pointer-set.h.
From-SVN: r90699
Eric Christopher [Mon, 15 Nov 2004 22:23:29 +0000 (22:23 +0000)]
sched-deps.c (set_sched_group_p): Delete.
2004-11-15 Eric Christopher <echristo@redhat.com>
* sched-deps.c (set_sched_group_p): Delete.
(delete_all_dependencies): New function.
(fixup_sched_groups): Use. New function.
(sched_analyze_insn): Use.
From-SVN: r90698
Joseph Myers [Mon, 15 Nov 2004 22:13:21 +0000 (22:13 +0000)]
c-common.c (binary_op_error): Don't allow LROTATE_EXPR, RROTATE_EXPR or unknown code.
* c-common.c (binary_op_error): Don't allow LROTATE_EXPR,
RROTATE_EXPR or unknown code.
* c-typeck.c (build_binary_op): Don't allow RROTATE_EXPR,
LROTATE_EXPR, MAX_EXPR, MIN_EXPR, UNORDERED_EXPR, ORDERED_EXPR,
UNLT_EXPR, UNLE_EXPR, UNGT_EXPR, UNGE_EXPR, UNEQ_EXPR, LTGT_EXPR
or unknown code.
From-SVN: r90697
Joseph Myers [Mon, 15 Nov 2004 22:10:16 +0000 (22:10 +0000)]
re PR c/18498 (gcc allows non-integral bitfield types)
PR c/18498
* c-decl.c (grokdeclarator): Call check_bitfield_type_and_width
after processing the declarator.
testsuite:
* gcc.dg/bitfld-13.c: New test.
From-SVN: r90696
Janis Johnson [Mon, 15 Nov 2004 22:04:38 +0000 (22:04 +0000)]
tree-vect.h: (check_vect): Test symbols defined for powerpc*-*-linux*.
* gcc.dg/vect/tree-vect.h: (check_vect): Test symbols defined for
powerpc*-*-linux*.
From-SVN: r90695
Matthias Klose [Mon, 15 Nov 2004 21:59:18 +0000 (21:59 +0000)]
run_doxygen: Add --build_alias option, substitute it in docs/doxygen/user.cfg.in.
2004-11-13 Matthias Klose <doko@debian.org>
* docs/doxygen/run_doxygen: Add --build_alias option,
substitute it in docs/doxygen/user.cfg.in.
* docs/doxygen/user.cfg.in: Use build_alias.
* Makefile.am: Pass --build_alias to run_doxygen
* Makefile.in: Regenerate.
From-SVN: r90694
Tom Tromey [Mon, 15 Nov 2004 21:31:47 +0000 (21:31 +0000)]
decl.c (instn_ptr_type_node): Removed.
* decl.c (instn_ptr_type_node): Removed.
(lineNumbers_ptr_type_node): Removed.
(jint_type): Removed.
(jint_ptr_type): Removed.
From-SVN: r90693
Aldy Hernandez [Mon, 15 Nov 2004 20:20:09 +0000 (20:20 +0000)]
altivec.md ("altivec_vsplth"): Rewrite with vec_duplicate.
* config/rs6000/altivec.md ("altivec_vsplth"): Rewrite with
vec_duplicate.
(altivec_vspltb): Same.
(altivec_vspltw): Same.
(altivec_vspltisb): Same.
(altivec_vspltish): Same.
(altivec_vspltisw): Same.
(altivec_vspltisw_v4sf): Same.
(define_constants): Remove UNSPEC_VSPLTISB, UNSPEC_VSPLTISW,
UNSPEC_VSPLTISH.
Move "End of vector xor's" comment to the right place.
From-SVN: r90683
Andreas Tobler [Mon, 15 Nov 2004 20:02:08 +0000 (21:02 +0100)]
004-11-15 Andreas Tobler <a.tobler@schweiz.ch>
Import/Merge the X.509 certificate code from Classpath.
* Makefile.am: Add imported files.
* Makefile.in: Regenerate.
2004-11-07 Casey Marshall <csm@gnu.org>
* gnu/java/security/provider/Gnu.java(<init>): Add entries in a
priviliged action. Add new algorithms.
* gnu/java/security/provider/X509CertificateFactory.java
(engineGenerateCertificate): Chain exceptions.
(engineGenerateCertificates): Likewise.
(engineGenerateCRL): Likewise.
(engineGenerateCRLs): Likewise.
(engineGenerateCertPath): New methods.
(generateCert): Throw exception if 'inStream' is null.
(generateCRL): Likewise.
* gnu/java/security/x509/X500DistinguishedName.java: Replaced with
version from GNU Crypto CVS.
* gnu/java/security/x509/X509CRL.java: Likewise.
* gnu/java/security/x509/X509CRLEntry.java: Likewise.
* gnu/java/security/x509/X509Certificate.java: Likewise.
* java/security/cert/TrustAnchor.java: Call 'toString' and not
toRFC2253.
* gnu/java/security/provider/CollectionCertStoreImpl.java,
* gnu/java/security/provider/EncodedKeyFactory.java,
* gnu/java/security/provider/GnuDHPublicKey.java,
* gnu/java/security/provider/GnuRSAPrivateKey.java,
* gnu/java/security/provider/GnuRSAPublicKey.java,
* gnu/java/security/provider/MD2withRSA.java,
* gnu/java/security/provider/MD4withRSA.java,
* gnu/java/security/provider/MD5withRSA.java,
* gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
* gnu/java/security/provider/RSA.java,
* gnu/java/security/provider/RSAKeyFactory.java,
* gnu/java/security/provider/SHA1withRSA.java,
* gnu/java/security/x509/GnuPKIExtension.java,
* gnu/java/security/x509/PolicyNodeImpl.java,
* gnu/java/security/x509/Util.java,
* gnu/java/security/x509/X509CRLSelectorImpl.java,
* gnu/java/security/x509/X509CertPath.java,
* gnu/java/security/x509/X509CertSelectorImpl.java,
* gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
* gnu/java/security/x509/ext/BasicConstraints.java,
* gnu/java/security/x509/ext/CRLNumber.java,
* gnu/java/security/x509/ext/CertificatePolicies.java,
* gnu/java/security/x509/ext/ExtendedKeyUsage.java,
* gnu/java/security/x509/ext/Extension.java,
* gnu/java/security/x509/ext/GeneralNames.java,
* gnu/java/security/x509/ext/IssuerAlternativeNames.java,
* gnu/java/security/x509/ext/KeyUsage.java,
* gnu/java/security/x509/ext/PolicyConstraint.java,
* gnu/java/security/x509/ext/PolicyMappings.java,
* gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
* gnu/java/security/x509/ext/ReasonCode.java,
* gnu/java/security/x509/ext/SubjectAlternativeNames.java,
* gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
2004-11-07 Casey Marshall <csm@gnu.org>
* gnu/java/security/x509/X509CRL.java:
Missed import statements in previous checkin.
2004-11-07 Casey Marshall <csm@gnu.org>
* gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
to 'X509CertificateImpl' from previous checkin.
From-SVN: r90682
Benjamin Kosnik [Mon, 15 Nov 2004 19:11:59 +0000 (19:11 +0000)]
testsuite_abi.cc (check_version): Add GLIBCXX_3.4.4.
2004-11-15 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.4.
From-SVN: r90681
Janis Johnson [Mon, 15 Nov 2004 19:04:45 +0000 (19:04 +0000)]
ppc64-abi-1.c: Skip if not lp64.
* gcc.dg/ppc64-abi-1.c: Skip if not lp64.
* gcc.dg/ppc64-abi-2.c: Ditto.
* gcc.dg/ppc64-abi-3.c: Ditto.
From-SVN: r90680
Janis Johnson [Mon, 15 Nov 2004 19:03:02 +0000 (19:03 +0000)]
* lib/gcc-dg.exp (dg-target-list): Remove.
From-SVN: r90679
Steve Ellcey [Mon, 15 Nov 2004 16:33:04 +0000 (16:33 +0000)]
* gcc.dg/ia64-postinc.c: New test.
From-SVN: r90677
Paul Brook [Mon, 15 Nov 2004 16:32:20 +0000 (16:32 +0000)]
* trans-types.c (gfc_get_dtype): Remove obsolete TODO.
From-SVN: r90676
Steve Ellcey [Mon, 15 Nov 2004 16:29:54 +0000 (16:29 +0000)]
ia64.md (*movtf_internal): Use destination_operand instead of nonimmediate_operand.
* config/ia64/ia64.md (*movtf_internal): Use destination_operand
instead of nonimmediate_operand.
From-SVN: r90675
Mark Mitchell [Mon, 15 Nov 2004 16:11:19 +0000 (16:11 +0000)]
sol2.h (ASM_OUTPUT_CALL): Use print_operand.
2004-11-15 Mark Mitchell <mark@codesourcery.com>
* config/i386/sol2.h (ASM_OUTPUT_CALL): Use print_operand.
* config/sparc/sol2.h (ASM_OUTPUT_CALL): Likewise.
* config/sol2.c (solaris_output_init_fini): Update calls to
ASM_OUTPUT_CALL. Include "rtl.h".
From-SVN: r90674
Mark Mitchell [Mon, 15 Nov 2004 16:08:15 +0000 (16:08 +0000)]
sol2-c.c (cmn_err_char_table): Add "p".
2004-11-15 Mark Mitchell <mark@codesourcery.com>
* config/sol2-c.c (cmn_err_char_table): Add "p".
testsuite:
2004-11-15 Mark Mitchell <mark@codesourcery.com>
* gcc.dg/format/cmn-err-1.c: Add tests for "%p".
From-SVN: r90673
Mark Mitchell [Mon, 15 Nov 2004 15:58:13 +0000 (15:58 +0000)]
sol2.h (SUPPORTS_INIT_PRIORITY): Remove.
2004-11-15 Mark Mitchell <mark@codesourcery.com>
* config/sparc/sol2.h (SUPPORTS_INIT_PRIORITY): Remove.
* config/sol2.h (SUPPORTS_INIT_PRIORITY): Define here.
From-SVN: r90670
Mark Mitchell [Mon, 15 Nov 2004 15:55:45 +0000 (15:55 +0000)]
t-slibgcc-sld (SHLIB_LINK): Make symlinks entirely within the multilib directory.
2004-11-15 Mark Mitchell <mark@codesourcery.com>
* config/t-slibgcc-sld (SHLIB_LINK): Make symlinks entirely
within the multilib directory.
From-SVN: r90669
Nick Clifton [Mon, 15 Nov 2004 13:33:38 +0000 (13:33 +0000)]
g++.dg/opt/strength-reduce.C...
g++.dg/opt/strength-reduce.C: Replace 0x7fffffff with __INT_MAX__ so that
the test can be compiled by toolchains targeted at 16-bit processors.
* gcc.dg/
20040625-1.c: Use long constants rather than integers when
performing arithmetic that will overflow 16-bits.
* gcc.dg/i386-sse-8.c: Expect this test to fail for the xstormy16.
It does not support 128-bit vector operations.
* gcc.dg/ultrasp4.c: Replace all occurrences of the type 'long' with the
macro PTR_TYPE. Define this macro to an integer type suitable for
holding a pointer.
* gcc.dg/compat/struct-align-1_x.c: Use shorter integers if the target
is a 16-bit processor.
* gcc.dg/cpp/if-2.c: Expect a different warning message from 16-bit
targets where the character constant will be too long.
* g++.dg/opt/asm1.C: Expect this test to fail on the xstormy16 where
the double will not be directly addressable.
From-SVN: r90667
Nick Clifton [Mon, 15 Nov 2004 13:19:50 +0000 (13:19 +0000)]
(TARGET_CPU_CPP_BUILTINS): Add builtin assert of cpu=xstormy16.
From-SVN: r90666
Nathan Sidwell [Mon, 15 Nov 2004 12:15:47 +0000 (12:15 +0000)]
tree-ssa-pre.c (bitmap_print_value_set): Fix uninitialized variable.
* tree-ssa-pre.c (bitmap_print_value_set): Fix uninitialized
variable.
From-SVN: r90658
Kriang Lerdsuwanakij [Mon, 15 Nov 2004 10:34:06 +0000 (10:34 +0000)]
Friend class name lookup 1/n, PR c++/18471
Friend class name lookup 1/n, PR c++/18471
* decl.c (lookup_and_check_tag): New function.
(xref_tag, start_enum): Use it.
(check_elaborated_type_specifier): Move TEMPLATE_TYPE_PARM check
before !DECL_IMPLICIT_TYPEDEF_P. Also display previously declared
location.
* name-lookup.c (lookup_name_current_level): Rename to ...
(lookup_name_innermost_nonclass_level): ... this.
(lookup_type_scope): New function.
* name-lookup.h (lookup_name_current_level): Rename to ...
(lookup_name_innermost_nonclass_level): ... this.
(lookup_type_scope): Add declaration.
* g++.dg/lookup/struct1.C: Adjust expected error.
* g++.dg/parse/elab1.C: Likewise.
* g++.dg/parse/elab2.C: Likewise.
* g++.dg/parse/int-as-enum1.C: Likewise.
* g++.dg/parse/struct-as-enum1.C: Likewise.
* g++.dg/parse/typedef1.C: Likewise.
* g++.dg/parse/typedef3.C: Likewise.
* g++.dg/parse/typedef4.C: Likewise.
* g++.dg/parse/typedef5.C: Likewise.
* g++.dg/template/nontype4.C: Likewise.
* g++.old-deja/g++.benjamin/typedef01.C: Likewise.
* g++.old-deja/g++.other/elab1.C: Likewise.
* g++.old-deja/g++.other/syntax4.C: Likewise.
From-SVN: r90657
Paolo Carlini [Mon, 15 Nov 2004 09:05:27 +0000 (09:05 +0000)]
lwg-active.html, [...]: Import Revision 33.
2004-11-15 Paolo Carlini <pcarlini@suse.de>
* docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 33.
From-SVN: r90655
Eric Botcazou [Mon, 15 Nov 2004 07:39:35 +0000 (08:39 +0100)]
* gcc.dg/intmax_t-1.c: XFAIL on Solaris 2.5.1.
From-SVN: r90654
Eric Botcazou [Mon, 15 Nov 2004 07:16:26 +0000 (07:16 +0000)]
Fix latest entry.
From-SVN: r90653
Richard Henderson [Mon, 15 Nov 2004 04:04:03 +0000 (20:04 -0800)]
re PR middle-end/18480 (ICE in emit_group_move with recent change)
PR 18480
* calls.c (struct arg_data): Add parallel_value.
(precompute_register_parameters): Set it.
(load_register_parameters): Use it.
(store_one_arg): Also set it here.
From-SVN: r90649
Zdenek Dvorak [Mon, 15 Nov 2004 00:18:37 +0000 (01:18 +0100)]
re PR tree-optimization/18431 (Code for arrays and pointers are not the same)
PR tree-optimization/18431
* fold-const.c (associate_trees): Do not produce x + 0.
(fold_widened_comparison, fold_sign_changed_comparison): New functions.
(fold): Use them.
* tree-ssa-loop-niter.c (upper_bound_in_type, lower_bound_in_type):
Moved ...
* tree.c (upper_bound_in_type, lower_bound_in_type): Here.
* tree.h (upper_bound_in_type, lower_bound_in_type): Declare.
* testsuite/gcc.c-torture/execute/
20041114-1.c: New test.
From-SVN: r90646
GCC Administrator [Mon, 15 Nov 2004 00:16:47 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r90644.2
GCC Administrator [Mon, 15 Nov 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r90643.2
Eric Botcazou [Sun, 14 Nov 2004 23:38:04 +0000 (00:38 +0100)]
* doc/rtl.texi (SUBREG): Adjust BYTENUM value in example.
From-SVN: r90639
Kazu Hirata [Sun, 14 Nov 2004 23:35:03 +0000 (23:35 +0000)]
global.c, [...]: Fix comment typos.
* global.c, tree-ssa-copy.c, tree-ssa-loop-ivopts.c,
value-prof.c: Fix comment typos.
From-SVN: r90638
Joseph Myers [Sun, 14 Nov 2004 23:24:14 +0000 (23:24 +0000)]
c99-flex-array-5.c, [...]: New tests.
* gcc.dg/c99-flex-array-5.c, gcc.dg/c99-fordecl-3.c,
gcc.dg/comp-goto-1.c, gcc.dg/comp-goto-2.c, gcc.dg/comp-goto-3.c,
gcc.dg/format/strfmon-2.c, gcc.dg/pointer-arith-1.c,
gcc.dg/pointer-arith-2.c, gcc.dg/pointer-arith-3.c,
gcc.dg/pointer-arith-4.c, gcc.dg/switch-5.c, gcc.dg/switch-6.c,
gcc.dg/switch-7.c: New tests.
From-SVN: r90637
Paolo Carlini [Sun, 14 Nov 2004 22:54:24 +0000 (22:54 +0000)]
streambuf_iterator.h (istreambuf_iterator::_M_get): Slightly tweak for clarity (also leads to measurably better code).
2004-11-14 Paolo Carlini <pcarlini@suse.de>
* include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get):
Slightly tweak for clarity (also leads to measurably better code).
From-SVN: r90636
Dorit Naishlos [Sun, 14 Nov 2004 22:42:16 +0000 (22:42 +0000)]
* gcc.dg/vect/vect-78.c: Now vectorized on powerpc*.
From-SVN: r90635