gcc.git
19 years agoconfig.gcc (*-*-darwin*): Separate darwin7 and darwin8 configs.
Geoffrey Keating [Sun, 6 Feb 2005 08:34:34 +0000 (08:34 +0000)]
config.gcc (*-*-darwin*): Separate darwin7 and darwin8 configs.

* config.gcc (*-*-darwin*): Separate darwin7 and darwin8 configs.
* config/darwin8.h: New.
* config/darwin7.h: Update comment.

From-SVN: r94669

19 years agoInetAddress.java (InetAddress): Make a private copy of the address.
David Daney [Thu, 3 Feb 2005 17:44:20 +0000 (17:44 +0000)]
InetAddress.java (InetAddress): Make a private copy of the address.

2005-02-02  David Daney  <ddaney@avtrex.com>

* java/net/InetAddress.java (InetAddress): Make a private copy of
the address.
* java/net/Inet4Address.java (getAddress): Return a copy of the
address.
* java/net/Inet6Address.java (Inet6Address): Use private copy of
the address
(getAddress): Return a copy of the address.
(equals): Rewrote.

From-SVN: r94664

19 years agotree-vectorizer.h (LOC): New type.
Leehod Baruch [Thu, 3 Feb 2005 16:22:31 +0000 (16:22 +0000)]
tree-vectorizer.h (LOC): New type.

* tree-vectorizer.h (LOC): New type.
(UNKNOWN_LOC, EXPR_LOC, LOC_FILE, LOC_LINE): New macros.
(loop_line_number): New field in struct _loop_vec_info.
(LOOP_VINFO_LOC, LOOP_LOC): New macros.

* tree-vectorizer.c (input.h): Included.
(find_loop_location): New function.
(vect_debug_stats): Argument changed from loop to LOC. Computation of
loop line number removed.
(vect_debug_details): Likewise.
(new_loop_vec_info): Initialize new field LOOP_VINFO_LOC.

(slpeel_make_loop_iterate_ntimes): Call find_loop_location. Argument in
call to vect_debug_details/stats changed from loop to loop_loc.
(slpeel_tree_duplicate_loop_to_edge_cfg): Likewise.
(slpeel_tree_peel_loop_to_edge): Likewise.

(vect_analyze_offset_expr): Argument in call to vect_debug_details/stats
changed from NULL to UNKNOWN_LOC.
(vect_get_base_and_offset):
(vect_create_addr_base_for_vector_ref):
(get_vectype_for_scalar_type):
(vect_create_data_ref_ptr):
(vect_init_vector):
(vect_get_vec_def_for_operand):
(vect_finish_stmt_generation):
(vectorizable_assignment):
(vectorizable_operation):
(vectorizable_store):
(vectorizable_load):
(vect_transform_stmt):
(vect_update_ivs_after_vectorizer):
(vect_do_peeling_for_loop_bound):
(vect_do_peeling_for_alignment):
(vect_transform_loop):
(vect_is_simple_use):
(vect_analyze_operations):
(vect_is_simple_iv_evolution):
(vect_analyze_scalar_cycles):
(vect_analyze_data_ref_dependences):
(vect_compute_data_ref_alignment):
(vect_enhance_data_refs_alignment):
(vect_analyze_data_ref_access):
(vect_analyze_data_ref_accesses):
(vect_analyze_pointer_ref_access):
(vect_get_memtag_and_dr):
(vect_analyze_data_refs):
(vect_mark_relevant):
(vect_stmt_relevant_p):
(vect_mark_stmts_to_be_vectorized):
(vect_can_advance_ivs_p):
(vect_get_loop_niters):
(vect_analyze_loop):
(vectorize_loops): Likewise.

(vectorizable_load): Argument in call to vect_debug_details/stats
changed from loop to LOOP_LOC (loop_vinfo).
(vect_transform_loop):
(vect_analyze_operations):
(vect_analyze_scalar_cycles):
(vect_analyze_data_ref_dependence):
(vect_enhance_data_refs_alignment):
(vect_analyze_data_ref_accesses):
(vect_analyze_pointer_ref_access):
(vect_analyze_data_refs):
(vect_analyze_loop): Likewise.

(vect_analyze_loop_form): Argument in call to vect_debug_details/stats
changed from loop to loop_loc.

(vect_enhance_data_refs_alignment): Removed unused variable loop.

From-SVN: r94663

19 years agotree-vectorizer.h (LOC): New type.
Leehod Baruch [Thu, 3 Feb 2005 16:22:22 +0000 (16:22 +0000)]
tree-vectorizer.h (LOC): New type.

        * tree-vectorizer.h (LOC): New type.
        (UNKNOWN_LOC, EXPR_LOC, LOC_FILE, LOC_LINE): New macros.
        (loop_line_number): New field in struct _loop_vec_info.
        (LOOP_VINFO_LOC, LOOP_LOC): New macros.

        * tree-vectorizer.c (input.h): Included.
        (find_loop_location): New function.
        (vect_debug_stats): Argument changed from loop to LOC. Computation of
        loop line number removed.
        (vect_debug_details): Likewise.
        (new_loop_vec_info): Initialize new field LOOP_VINFO_LOC.

        (slpeel_make_loop_iterate_ntimes): Call find_loop_location. Argument in
        call to vect_debug_details/stats changed from loop to loop_loc.
        (slpeel_tree_duplicate_loop_to_edge_cfg): Likewise.
        (slpeel_tree_peel_loop_to_edge): Likewise.

        (vect_analyze_offset_expr): Argument in call to vect_debug_details/stats
        changed from NULL to UNKNOWN_LOC.
        (vect_get_base_and_offset):
        (vect_create_addr_base_for_vector_ref):
        (get_vectype_for_scalar_type):
        (vect_create_data_ref_ptr):
        (vect_init_vector):
        (vect_get_vec_def_for_operand):
        (vect_finish_stmt_generation):
        (vectorizable_assignment):
        (vectorizable_operation):
        (vectorizable_store):
        (vectorizable_load):
        (vect_transform_stmt):
        (vect_update_ivs_after_vectorizer):
        (vect_do_peeling_for_loop_bound):
        (vect_do_peeling_for_alignment):
        (vect_transform_loop):
        (vect_is_simple_use):
        (vect_analyze_operations):
        (vect_is_simple_iv_evolution):
        (vect_analyze_scalar_cycles):
        (vect_analyze_data_ref_dependences):
        (vect_compute_data_ref_alignment):
        (vect_enhance_data_refs_alignment):
        (vect_analyze_data_ref_access):
        (vect_analyze_data_ref_accesses):
        (vect_analyze_pointer_ref_access):
        (vect_get_memtag_and_dr):
        (vect_analyze_data_refs):
        (vect_mark_relevant):
        (vect_stmt_relevant_p):
        (vect_mark_stmts_to_be_vectorized):
        (vect_can_advance_ivs_p):
        (vect_get_loop_niters):
        (vect_analyze_loop):
        (vectorize_loops): Likewise.

        (vectorizable_load): Argument in call to vect_debug_details/stats
        changed from loop to LOOP_LOC (loop_vinfo).
        (vect_transform_loop):
        (vect_analyze_operations):
        (vect_analyze_scalar_cycles):
        (vect_analyze_data_ref_dependence):
        (vect_enhance_data_refs_alignment):
        (vect_analyze_data_ref_accesses):
        (vect_analyze_pointer_ref_access):
        (vect_analyze_data_refs):
        (vect_analyze_loop): Likewise.

        (vect_analyze_loop_form): Argument in call to vect_debug_details/stats
        changed from loop to loop_loc.

        (vect_enhance_data_refs_alignment): Removed unused variable loop.

From-SVN: r94662

19 years agotree-vectorizer.c (vect_analyze_data_ref_dependence): Function declaration added.
Leehod Baruch [Thu, 3 Feb 2005 16:13:17 +0000 (16:13 +0000)]
tree-vectorizer.c (vect_analyze_data_ref_dependence): Function declaration added.

        * tree-vectorizer.c (vect_analyze_data_ref_dependence): Function
        declaration added.
        (vect_analyze_data_ref_dependences): Likewise.

        (vect_is_simple_use): Argument changed from loop structure to
        loop_vect_info structure.
        (vect_can_advance_ivs_p): Likewise.
        (vect_create_index_for_vector_ref): Likewise.
        (vect_update_ivs_after_vectorizer): Likewise.
        (new_stmt_vec_info): Likewise.

        (new_loop_vec_info): Second argument in call to new_stmt_vec_info was
        changed from loop to loop_vinfo.
        (vect_create_data_ref_ptr): First argument in call to
        vect_create_index_for_vector_ref was changed from loop to loop_vinfo.
        (vectorizable_assignment): Second argument in call to vect_is_simple_use
        was changed from loop to loop_vinfo.
        (vectorizable_operation): Likewise.
        (vectorizable_store): Likewise.
        (vect_mark_stmts_to_be_vectorized): Likewise.
        (vect_do_peeling_for_loop_bound): First argument in call to
        vect_update_ivs_after_vectorizer was changed from loop to loop_vinfo.
        (vect_analyze_operations): Argument in call to vect_can_advance_ivs_p
        was changed from loop to loop_vinfo.
        (vect_analyze_data_ref_dependences): Third argument in call to
        vect_analyze_data_ref_dependence was changed from loop to loop_vinfo.

        (vect_create_index_for_vector_ref): Get the loop from loop_vinfo.
        (vect_create_data_ref_ptr): Likewise.
        (vect_init_vector): Likewise.
        (vect_get_vec_def_for_operand): Likewise.
        (vectorizable_assignment): Likewise.
        (vectorizable_operation): Likewise.
        (vectorizable_store): Likewise.
        (vectorizable_load): Likewise.
        (vect_update_ivs_after_vectorizer): Likewise.
        (vect_is_simple_use): Likewise.
        (vect_analyze_data_ref_dependence): Likewise.
        (vect_analyze_pointer_ref_access): Likewise.
        (vect_can_advance_ivs_p): Likewise.

        * tree-vectorizer.h: (_loop_vec_info): Definition and macros moved
        before _stmt_vec_info.
        (_stmt_vec_info): Loop field replaced by loop_vec_info.
        (STMT_VINFO_LOOP): Replaced with STMT_VINFO_LOOP_VINFO.
        (new_stmt_vec_info): Argument changed from loop structure to
        loop_vect_info structure

        (vect_analyze_data_ref_dependences): Unnecessary line was removed.
        (vect_analyze_offset_expr): Avoid 80 columns overflow.
        (vect_create_addr_base_for_vector_ref): Likewise.
        (vect_analyze_pointer_ref_access): Likewise.

Co-Authored-By: Dorit Naishlos <dorit@il.ibm.com>
From-SVN: r94661

19 years agore PR tree-optimization/19768 (ICE: SSA_NAME_OCCURS_IN_ABNORMAL_PHI should be set)
Andrew Pinski [Thu, 3 Feb 2005 15:26:29 +0000 (15:26 +0000)]
re PR tree-optimization/19768 (ICE: SSA_NAME_OCCURS_IN_ABNORMAL_PHI should be set)

2005-02-03  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/19768
        * g++.dg/opt/pr19768.C: New test.

2005-02-03  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/19768
        * tree-ssa-dse.c (fix_phi_uses): Update the occurs in abnormal
        phi flag if the phi is abnormal.

From-SVN: r94660

19 years agofix PR number in the testsuite/Changelog:
Andrew Pinski [Thu, 3 Feb 2005 15:16:20 +0000 (07:16 -0800)]
fix PR number in the testsuite/Changelog:

2005-02-03  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/19736
        * gcc.c-torture/compile/pr19736.c: New test.

From-SVN: r94659

19 years agore PR tree-optimization/19736 (ICE with type mismatch between SSA_NAME and its symbol)
Andrew Pinski [Thu, 3 Feb 2005 15:13:45 +0000 (15:13 +0000)]
re PR tree-optimization/19736 (ICE with type mismatch between SSA_NAME and its symbol)

2005-02-03  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/19763
        * gcc.c-torture/compile/pr19736.c: New test.

2005-02-03  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/19736
        * tree-ssa.c (replace_immediate_uses): Update the immediate_uses
        information for the new statement.

From-SVN: r94658

19 years agore PR driver/19117 (gcc -v should include target information)
Joseph Myers [Thu, 3 Feb 2005 13:03:20 +0000 (13:03 +0000)]
re PR driver/19117 (gcc -v should include target information)

PR driver/19117
* gcc.c (main): Include the target in -v output.

From-SVN: r94657

19 years agore PR c++/17401 (ICE with invalid pure specifier)
Giovanni Bajo [Thu, 3 Feb 2005 10:26:22 +0000 (10:26 +0000)]
re PR c++/17401 (ICE with invalid pure specifier)

PR c++/17401
* parser.c (cp_parser_pure_specifier): Emit a specific error
message with an invalid pure specifier.
* decl2.c (grok_function_init): Remove.
(grokfield): An initializer for a method is a always a pure
specifier.

PR c++/17401
* g++.dg/parse/error25.C: New test.

From-SVN: r94656

19 years agocombine.c (simplify_comparison, [...]): Do not drop the extend if we'd have to add...
Alexandre Oliva [Thu, 3 Feb 2005 09:09:42 +0000 (09:09 +0000)]
combine.c (simplify_comparison, [...]): Do not drop the extend if we'd have to add a paradoxical subreg later.

gcc/ChangeLog:
* combine.c (simplify_comparison, case SIGN_EXTEND, ZERO_EXTEND):
Do not drop the extend if we'd have to add a paradoxical subreg
later.  Include optabs.h and insn-codes.h.
* Makefile.in (combine.o): Depend on $(OPTABS_H).
gcc/testsuite/ChangeLog:
* gcc.c-torture/execute/20050203-1.c: New.

From-SVN: r94655

19 years agovect-85.c: Remove xfail.
Dorit Naishlos [Thu, 3 Feb 2005 08:19:46 +0000 (08:19 +0000)]
vect-85.c: Remove xfail.

        * gcc.dg/vect/vect-85.c: Remove xfail.
        * gcc.dg/vect/vect-86.c: Remove xfail.
        * gcc.dg/vect/vect-87.c: Remove xfail.
        * gcc.dg/vect/vect-88.c: Remove xfail.

From-SVN: r94654

19 years agore PR middle-end/19405 (18_support/numeric_limits.cc fails on ppc-darwin (long doubles))
Roger Sayle [Thu, 3 Feb 2005 06:44:35 +0000 (06:44 +0000)]
re PR middle-end/19405 (18_support/numeric_limits.cc fails on ppc-darwin (long doubles))

PR middle-end/19405
* real.h (REAL_MODE_FORMAT_COMPOSITE_P): New macro.
* fold-const.c (const_binop): Avoid constant folding floating
point operations in modes that use composite representations.
* simplify-rtx.c (simplify_binary_operation): Likewise.

From-SVN: r94653

19 years agoaltivec.md (altivec_dst): Make the first operand a REG, not a MEM.
Geoffrey Keating [Thu, 3 Feb 2005 06:36:02 +0000 (06:36 +0000)]
altivec.md (altivec_dst): Make the first operand a REG, not a MEM.

2005-02-02  Geoffrey Keating  <geoffk@apple.com>

* config/rs6000/altivec.md (altivec_dst): Make the first operand
a REG, not a MEM.
(altivec_dstt): Likewise.
(altivec_dstst): Likewise.
(altivec_dststt): Likewise.
* config/rs6000/rs6000.c (altivec_expand_dst_builtin): Adjust creation
of first operand.

Index: testsuite/ChangeLog
2005-02-02  Geoffrey Keating  <geoffk@apple.com>

* gcc.dg/altivec-19.c: New.

From-SVN: r94652

19 years agotree-vectorizer.c (slpeel_make_loop_iterate_ntimes): Copy EXPR_LOCUS from orig_cond...
Dorit Naishlos [Thu, 3 Feb 2005 06:19:16 +0000 (06:19 +0000)]
tree-vectorizer.c (slpeel_make_loop_iterate_ntimes): Copy EXPR_LOCUS from orig_cond to the new cond_stmt.

        * tree-vectorizer.c (slpeel_make_loop_iterate_ntimes): Copy
        EXPR_LOCUS from orig_cond to the new cond_stmt.
        (vect_finish_stmt_generation): Copy EXPR_LOCUS from stmt to
        the new vec_stmt.

        * tree-vectorizer.c (slpeel_make_loop_iterate_ntimes): Call
        standard_iv_increment_position. Remove call to bsi_next
        (no need to bump the iterator anymore).
        (vect_create_index_for_vector_ref): Call
        standard_iv_increment_position. Remove second function argument.
        (vect_finish_stmt_generation): Remove call to bsi_next
        (no need to bump the iterator anymore).
        (vect_create_data_ref_ptr): Remove second argument (bsi) in call
        to vect_create_index_for_vector_ref.

        * tree-vectorizer.c (vect_mark_stmts_to_be_vectorized): Check if
        phis are used out of the loop.

From-SVN: r94651

19 years agore PR c/17807 (No warning/error for undefined local function.)
Joseph Myers [Thu, 3 Feb 2005 02:21:10 +0000 (02:21 +0000)]
re PR c/17807 (No warning/error for undefined local function.)

PR c/17807
* c-decl.c (undef_nested_function): New variable.
(pop_scope): Diagnose undefined nested functions.
(finish_function): Don't attempt cgraph processing or genericizing
if current top-level function contained an undefined nested
function.  Reset undef_nested_function at the end of a top-level
function.

testsuite:
* gcc.dg/nested-func-3.c: New test.
* gcc.dg/pr18596-3.c: Expect error for undefined nested function.

From-SVN: r94645

19 years agogen_directive_tests: Generate tests for selector expressions.
Janis Johnson [Thu, 3 Feb 2005 00:41:35 +0000 (00:41 +0000)]
gen_directive_tests: Generate tests for selector expressions.

* gcc.test-framework/gen_directive_tests: Generate tests for
selector expressions.

From-SVN: r94642

19 years agoDaily bump.
GCC Administrator [Thu, 3 Feb 2005 00:16:28 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r94639

19 years agoMakefile.in: Rebuilt.
Tom Tromey [Thu, 3 Feb 2005 00:15:46 +0000 (00:15 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (classes.stamp): New target, broken out from
libgcj.jar target.
($(all_java_class_files)): Depend on it.
(libgcj-@gcc_version@.jar): Likewise.
(all-recursive): Likewise.
(CLEANFILES): Include classes.stamp.

From-SVN: r94636

19 years agore PR c++/19628 (g++ no longer accepts __builtin_constant_p in constant-expressions)
Matt Austern [Thu, 3 Feb 2005 00:02:10 +0000 (00:02 +0000)]
re PR c++/19628 (g++ no longer accepts __builtin_constant_p in constant-expressions)

PR c++/19628

* cp-tree.h (builtin_valid_in_constant_expr_p): Declare.
* parser.c (cp_parser_postfix_expression): Accept function call in constant expression if builtin_valid_in_constant_expr_p is true for that function.
* pt.c (value_dependent_expression_p): Handle CALL_EXPRs properly.
* semantics.c (finish_id_expression): Accept function call in constant expression if builtin_valid_in_constant_expr_p is true for that function.
* tree.c (builtin_valid_in_constant_expr_p): New.

* g++/ext/builtin7.C: New.
* g++/ext/builtin8.C: New.

From-SVN: r94635

19 years agotree.c (build_int_cst_type): Take sign of the value into account when deciding whethe...
Zdenek Dvorak [Wed, 2 Feb 2005 23:13:53 +0000 (00:13 +0100)]
tree.c (build_int_cst_type): Take sign of the value into account when deciding whether sign extend the value.

* tree.c (build_int_cst_type): Take sign of the value into account
when deciding whether sign extend the value.

From-SVN: r94633

19 years agore PR c/18502 (trigraphs don't work with -std=gnu99)
Joseph Myers [Wed, 2 Feb 2005 23:01:11 +0000 (23:01 +0000)]
re PR c/18502 (trigraphs don't work with -std=gnu99)

PR c/18502
* gcc.c (cpp_unique_options): Remove %{trigraphs}.
(cpp_options, cc1_options): Change %{std*&ansi} to
%{std*&ansi&trigraphs}.

testsuite:
* gcc.dg/pr18502-1.c: New test.

From-SVN: r94632

19 years ago* cse.c: Update comments.
Kazu Hirata [Wed, 2 Feb 2005 22:31:41 +0000 (22:31 +0000)]
* cse.c: Update comments.

From-SVN: r94624

19 years ago* link.cc: Include <stdio.h>
Hans Boehm [Wed, 2 Feb 2005 22:29:31 +0000 (22:29 +0000)]
* link.cc: Include <stdio.h>

From-SVN: r94623

19 years agoRevert bad import
Zack Weinberg [Wed, 2 Feb 2005 22:09:16 +0000 (22:09 +0000)]
Revert bad import

From-SVN: r94621

19 years agore PR c++/17413 (local classes as template argument)
Volker Reichelt [Wed, 2 Feb 2005 21:58:46 +0000 (21:58 +0000)]
re PR c++/17413 (local classes as template argument)

PR c++/17413
* pt.c (check_instantiated_args): Improve error message.
Fix logic when to print its second part.

PR c++/17413
* g++.dg/template/local4.C: Tweak.

From-SVN: r94618

19 years agors6000.c (rs6000_spe_function_arg): Multi-reg arguments go on the stack.
Aldy Hernandez [Wed, 2 Feb 2005 21:55:32 +0000 (21:55 +0000)]
rs6000.c (rs6000_spe_function_arg): Multi-reg arguments go on the stack.

* config/rs6000/rs6000.c (rs6000_spe_function_arg): Multi-reg
arguments go on the stack.  Do not put complex doubles in odd/even
pairs.

From-SVN: r94617

19 years agors6000.c (rs6000_spe_function_arg): Multi-reg arguments go on the stack.
Aldy Hernandez [Wed, 2 Feb 2005 21:53:06 +0000 (21:53 +0000)]
rs6000.c (rs6000_spe_function_arg): Multi-reg arguments go on the stack.

* config/rs6000/rs6000.c (rs6000_spe_function_arg): Multi-reg
arguments go on the stack.  Do not put complex doubles in odd/even
pairs.

[[Split portion of a mixed commit.]]

From-SVN: r94616.2

19 years agoinvoke.texi: Update the options enabled at -O1, -O2, and -O3.
Steven Bosscher [Wed, 2 Feb 2005 21:50:16 +0000 (21:50 +0000)]
invoke.texi: Update the options enabled at -O1, -O2, and -O3.

* doc/invoke.texi: Update the options enabled at -O1, -O2,
and -O3.  Update the documentation for -fgcse-sm, -fgcse-las,
-ftree-pre, and -fthread-jumps.

From-SVN: r94615

19 years agocp-tree.h (complete_type_or_else): Remove macro.
Volker Reichelt [Wed, 2 Feb 2005 21:19:07 +0000 (21:19 +0000)]
cp-tree.h (complete_type_or_else): Remove macro.

* cp-tree.h (complete_type_or_else): Remove macro.
(complete_type_or_diagnostic): Rename to complete_type_or_else
and remove last argument.
* typeck.c (complete_type_or_diagnostic): Rename to
complete_type_or_else and remove last argument.

From-SVN: r94614

19 years agocp-tree.h (commonparms): Remove prototype.
Volker Reichelt [Wed, 2 Feb 2005 21:13:41 +0000 (21:13 +0000)]
cp-tree.h (commonparms): Remove prototype.

* cp-tree.h (commonparms): Remove prototype.
(convert_arguments): Likewise.
(PFN_FROM_PTRMEMFUNC): Remove.
* typeck.c (commonparms): Make static.
(convert_arguments): Add prototype. Make static.
(PFN_FROM_PTRMEMFUNC): Replace by pfn_from_ptrmemfunc.

From-SVN: r94613

19 years agogcj.texi (libgcj Runtime Properties): Default library_control to 'cache'.
Tom Tromey [Wed, 2 Feb 2005 21:09:25 +0000 (21:09 +0000)]
gcj.texi (libgcj Runtime Properties): Default library_control to 'cache'.

* gcj.texi (libgcj Runtime Properties): Default library_control
to 'cache'.

From-SVN: r94612

19 years agore PR libgcj/19681 (extension loading currently incorrect)
Tom Tromey [Wed, 2 Feb 2005 20:59:41 +0000 (20:59 +0000)]
re PR libgcj/19681 (extension loading currently incorrect)

PR libgcj/19681:
* Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Added new class.
* java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
Use system_instance, not instance.
* gnu/gcj/runtime/SystemClassLoader.java: New file.
* gnu/gcj/runtime/VMClassLoader.java (init): Don't search
java.class.path.
(system_instance): New field.
(initialize): Initialize the system loader as well.
(VMClassLoader): Default to LIB_CACHE.

From-SVN: r94611

19 years agore PR tree-optimization/19578 (function pointer propagation fails for noreturn functi...
Richard Sandiford [Wed, 2 Feb 2005 20:58:39 +0000 (20:58 +0000)]
re PR tree-optimization/19578 (function pointer propagation fails for noreturn functions (part 2))

PR tree-optimization/19578
* tree-flow.h (modified_noreturn_calls): Declare.
(noreturn_call_p): Declare.
* tree-flow-inline.h (noreturn_call_p): New function.
(modify_stmt): Add modified noreturn calls to modified_noreturn_calls.
* tree-cfg.c (modified_noreturn_calls): New variable.
(cleanup_control_flow): Use noreturn_call_p.  Split basic blocks
that contain a mid-block noreturn call.
* tree-ssa.c (delete_tree_ssa): Clear modified_noreturn_calls.

From-SVN: r94610

19 years agodf.c (df_def_record_1, [...]): Don't use DF_FOR_REGALLOC.
Kazu Hirata [Wed, 2 Feb 2005 20:20:09 +0000 (20:20 +0000)]
df.c (df_def_record_1, [...]): Don't use DF_FOR_REGALLOC.

* df.c (df_def_record_1, df_uses_record): Don't use
DF_FOR_REGALLOC.
* df.h (DF_FOR_REGALLOC): Remove.

From-SVN: r94608

19 years agodebug.html: Fix broken tags.
Brad Spencer [Wed, 2 Feb 2005 19:38:38 +0000 (19:38 +0000)]
debug.html: Fix broken tags.

2005-02-02  Brad Spencer  <spencer@infointeractive.com>

* debug.html: Fix broken tags.
* documentation.html: Same.

From-SVN: r94602

19 years agolibstdc++.exp: Revert Geoffrey Keating's patch from 2005-01-28.
Andreas Jaeger [Wed, 2 Feb 2005 19:15:07 +0000 (20:15 +0100)]
libstdc++.exp: Revert Geoffrey Keating's patch from 2005-01-28.

* testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch
from 2005-01-28.
* testsuite/Makefile.am: Likewise.
* testsuite/Makefile.in: Likewise.

From-SVN: r94601

19 years agoImported from mainline FSF repositories
Nick Clifton [Wed, 2 Feb 2005 19:06:59 +0000 (19:06 +0000)]
Imported from mainline FSF repositories

From-SVN: r94600

19 years agore PR java/15543 ("jv-scan --complexity" segfaults)
Ranjit Mathew [Wed, 2 Feb 2005 18:41:25 +0000 (18:41 +0000)]
re PR java/15543 ("jv-scan --complexity" segfaults)

        PR java/15543
        * parse-scan.y (formal_parameter): Use $2 (type) instead of $$
        (modifiers) when square brackets are present in a declaration for
        a final paramter.
        * jv-scan.c (main): Set input_filename and input_line.

From-SVN: r94598

19 years agoMAINTAINERS (Write After Approval): Add myself.
Richard Guenther [Wed, 2 Feb 2005 18:18:25 +0000 (18:18 +0000)]
MAINTAINERS (Write After Approval): Add myself.

2005-02-02  Richard Guenther  <rguenth@gcc.gnu.org>

* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r94597

19 years agore PR c/19435 (spurious warnings with nested array constructors)
Joseph Myers [Wed, 2 Feb 2005 18:03:20 +0000 (18:03 +0000)]
re PR c/19435 (spurious warnings with nested array constructors)

PR c/19435
* c-typeck.c (really_start_incremental_init): Reset
constructor_max_index for arrays of incomplete type.

testsuite:
* gcc.dg/c99-init-4.c: New test.

From-SVN: r94595

19 years agoPersistentByteMap.java: Fixed typo.
Tom Tromey [Wed, 2 Feb 2005 16:19:45 +0000 (16:19 +0000)]
PersistentByteMap.java: Fixed typo.

* gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
* prims.cc: Fixed comment.

From-SVN: r94592

19 years agogcse.c (struct reg_set): Store the block index where the register was set rather...
Jeff Law [Wed, 2 Feb 2005 15:59:59 +0000 (08:59 -0700)]
gcse.c (struct reg_set): Store the block index where the register was set rather than the setting insn.

        * gcse.c (struct reg_set): Store the block index where the register
        was set rather than the setting insn.
        (record_one_set, compute_transp): Corresponding changes.
        (pre_insert_copy_insn): Do not call replace_one_set.
        (replace_one_set): Remove.

From-SVN: r94591

19 years agore PR other/15514 (a typo in docs)
Joseph Myers [Wed, 2 Feb 2005 01:39:32 +0000 (01:39 +0000)]
re PR other/15514 (a typo in docs)

PR other/15514
* doc/gcov.texi: Fix typo.

From-SVN: r94580

19 years agoMakefile.in: Rebuilt.
Tom Tromey [Wed, 2 Feb 2005 01:28:25 +0000 (01:28 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
(.java.class): Use BOOTCLASSPATH.

From-SVN: r94579

19 years agore PR java/19742 (gcjh shouldn't mangle names in JNI output.)
Tom Tromey [Wed, 2 Feb 2005 00:44:08 +0000 (00:44 +0000)]
re PR java/19742 (gcjh shouldn't mangle names in JNI output.)

PR java/19742:
* gjavah.c (get_field_name): Don't override name for JNI header.

From-SVN: r94578

19 years agoMakefile.am: New file.
Tom Tromey [Wed, 2 Feb 2005 00:42:32 +0000 (00:42 +0000)]
Makefile.am: New file.

* external/w3c_dom/Makefile.am: New file.
* external/w3c_dom/Makefile.in: New file.
* external/sax/Makefile.am: New file.
* external/sax/Makefile.in: New file.
* external/Makefile.in: New file.
* external/Makefile.am: New file.
* external/README: New file from Classpath.
* configure, aclocal.m4, Makefile.in: Rebuilt.
* configure.ac (AC_CONFIG_FILES): Create new Makefiles.
* Makefile.am (SUBDIRS): Added external.
(toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
lib-org-w3c-dom.la, lib-org-ietf-gss.la.
(BOOTCLASSPATH): New variable.
(AM_GCJFLAGS): Use it.
(gnu_xml_source_files): New variable.
(libgcj_la_SOURCES): Use it.
(libgcj_la_LDADD): Include new convenience libraries.
(lib_org_ietf_jgss_la_SOURCES): Removed.
(lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
(lib_org_ietf_jgss_la_LIBADD): Likewise.
(lib_org_w3c_dom_la_SOURCES): Removed.
(lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
(lib_org_w3c_dom_la_LIBADD): Likewise.
(lib_org_xml_sax_la_SOURCES): Removed.
(lib_org_xml_sax_la_DEPENDENCIES): Likewise.
(lib_org_xml_sax_la_LIBADD): Likewise.
(all_java_source_files): Updated.
(property_files): Likewise.
(libgcj-@gcc_version@.jar): Include classes from external/.
(javax_source_files): Updated.
(ordinary_java_source_files): Updated.
* javax/xml/XMLConstants.java,
javax/xml/datatype/DatatypeConfigurationException.java,
javax/xml/datatype/DatatypeConstants.java,
javax/xml/datatype/DatatypeFactory.java,
javax/xml/datatype/Duration.java,
javax/xml/datatype/XMLGregorianCalendar.java,
javax/xml/datatype/package.html,
javax/xml/namespace/NamespaceContext.java,
javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
javax/xml/parsers/DocumentBuilder.java,
javax/xml/parsers/DocumentBuilderFactory.java,
javax/xml/parsers/FactoryConfigurationError.java,
javax/xml/parsers/ParserConfigurationException.java,
javax/xml/parsers/SAXParser.java,
javax/xml/parsers/SAXParserFactory.java,
javax/xml/parsers/package.html,
javax/xml/transform/ErrorListener.java,
javax/xml/transform/OutputKeys.java,
javax/xml/transform/Result.java, javax/xml/transform/Source.java,
javax/xml/transform/SourceLocator.java,
javax/xml/transform/Templates.java,
javax/xml/transform/Transformer.java,
javax/xml/transform/TransformerConfigurationException.java,
javax/xml/transform/TransformerException.java,
javax/xml/transform/TransformerFactory.java,
javax/xml/transform/TransformerFactoryConfigurationError.java,
javax/xml/transform/URIResolver.java,
javax/xml/transform/package.html,
javax/xml/transform/dom/DOMLocator.java,
javax/xml/transform/dom/DOMResult.java,
javax/xml/transform/dom/DOMSource.java,
javax/xml/transform/dom/package.html,
javax/xml/transform/sax/SAXResult.java,
javax/xml/transform/sax/SAXSource.java,
javax/xml/transform/sax/SAXTransformerFactory.java,
javax/xml/transform/sax/TemplatesHandler.java,
javax/xml/transform/sax/TransformerHandler.java,
javax/xml/transform/sax/package.html,
javax/xml/transform/stream/StreamResult.java,
javax/xml/transform/stream/StreamSource.java,
javax/xml/transform/stream/package.html,
javax/xml/validation/Schema.java,
javax/xml/validation/SchemaFactory.java,
javax/xml/validation/TypeInfoProvider.java,
javax/xml/validation/Validator.java,
javax/xml/validation/ValidatorHandler.java,
javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
javax/xml/xpath/XPathConstants.java,
javax/xml/xpath/XPathException.java,
javax/xml/xpath/XPathExpression.java,
javax/xml/xpath/XPathExpressionException.java,
javax/xml/xpath/XPathFactory.java,
javax/xml/xpath/XPathFactoryConfigurationException.java,
javax/xml/xpath/XPathFunction.java,
javax/xml/xpath/XPathFunctionException.java,
javax/xml/xpath/XPathFunctionResolver.java,
javax/xml/xpath/XPathVariableResolver.java,
javax/xml/xpath/package.html: New files, from GNU JAXP.
* org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
org/w3c/dom/ranges/DocumentRange.java,
org/w3c/dom/ranges/Range.java,
org/w3c/dom/ranges/RangeException.java,
org/w3c/dom/traversal/DocumentTraversal.java,
org/w3c/dom/traversal/NodeFilter.java,
org/w3c/dom/traversal/NodeIterator.java,
org/w3c/dom/traversal/TreeWalker.java,
org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
org/xml/sax/SAXNotRecognizedException.java,
org/xml/sax/SAXNotSupportedException.java,
org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
org/xml/sax/XMLReader.java, org/xml/sax/package.html,
org/xml/sax/ext/DeclHandler.java,
org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
org/xml/sax/helpers/AttributeListImpl.java,
org/xml/sax/helpers/AttributesImpl.java,
org/xml/sax/helpers/DefaultHandler.java,
org/xml/sax/helpers/LocatorImpl.java,
org/xml/sax/helpers/NamespaceSupport.java,
org/xml/sax/helpers/NewInstance.java,
org/xml/sax/helpers/ParserAdapter.java,
org/xml/sax/helpers/ParserFactory.java,
org/xml/sax/helpers/XMLFilterImpl.java,
org/xml/sax/helpers/XMLReaderAdapter.java,
org/xml/sax/helpers/XMLReaderFactory.java,
org/xml/sax/helpers/package.html: Moved to external/.
* external/sax/README,
external/sax/org/xml/sax/AttributeList.java,
external/sax/org/xml/sax/Attributes.java,
external/sax/org/xml/sax/ContentHandler.java,
external/sax/org/xml/sax/DTDHandler.java,
external/sax/org/xml/sax/DocumentHandler.java,
external/sax/org/xml/sax/EntityResolver.java,
external/sax/org/xml/sax/ErrorHandler.java,
external/sax/org/xml/sax/HandlerBase.java,
external/sax/org/xml/sax/InputSource.java,
external/sax/org/xml/sax/Locator.java,
external/sax/org/xml/sax/Parser.java,
external/sax/org/xml/sax/SAXException.java,
external/sax/org/xml/sax/SAXNotRecognizedException.java,
external/sax/org/xml/sax/SAXNotSupportedException.java,
external/sax/org/xml/sax/SAXParseException.java,
external/sax/org/xml/sax/XMLFilter.java,
external/sax/org/xml/sax/XMLReader.java,
external/sax/org/xml/sax/package.html,
external/sax/org/xml/sax/ext/Attributes2.java,
external/sax/org/xml/sax/ext/Attributes2Impl.java,
external/sax/org/xml/sax/ext/DeclHandler.java,
external/sax/org/xml/sax/ext/DefaultHandler2.java,
external/sax/org/xml/sax/ext/EntityResolver2.java,
external/sax/org/xml/sax/ext/LexicalHandler.java,
external/sax/org/xml/sax/ext/Locator2.java,
external/sax/org/xml/sax/ext/Locator2Impl.java,
external/sax/org/xml/sax/ext/package.html,
external/sax/org/xml/sax/helpers/AttributeListImpl.java,
external/sax/org/xml/sax/helpers/AttributesImpl.java,
external/sax/org/xml/sax/helpers/DefaultHandler.java,
external/sax/org/xml/sax/helpers/LocatorImpl.java,
external/sax/org/xml/sax/helpers/NamespaceSupport.java,
external/sax/org/xml/sax/helpers/NewInstance.java,
external/sax/org/xml/sax/helpers/ParserAdapter.java,
external/sax/org/xml/sax/helpers/ParserFactory.java,
external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
external/sax/org/xml/sax/helpers/package.html,
external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
external/w3c_dom/org/w3c/dom/Attr.java,
external/w3c_dom/org/w3c/dom/CDATASection.java,
external/w3c_dom/org/w3c/dom/CharacterData.java,
external/w3c_dom/org/w3c/dom/Comment.java,
external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
external/w3c_dom/org/w3c/dom/DOMError.java,
external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
external/w3c_dom/org/w3c/dom/DOMException.java,
external/w3c_dom/org/w3c/dom/DOMImplementation.java,
external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
external/w3c_dom/org/w3c/dom/DOMLocator.java,
external/w3c_dom/org/w3c/dom/DOMStringList.java,
external/w3c_dom/org/w3c/dom/Document.java,
external/w3c_dom/org/w3c/dom/DocumentFragment.java,
external/w3c_dom/org/w3c/dom/DocumentType.java,
external/w3c_dom/org/w3c/dom/Element.java,
external/w3c_dom/org/w3c/dom/Entity.java,
external/w3c_dom/org/w3c/dom/EntityReference.java,
external/w3c_dom/org/w3c/dom/NameList.java,
external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
external/w3c_dom/org/w3c/dom/Node.java,
external/w3c_dom/org/w3c/dom/NodeList.java,
external/w3c_dom/org/w3c/dom/Notation.java,
external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
external/w3c_dom/org/w3c/dom/Text.java,
external/w3c_dom/org/w3c/dom/TypeInfo.java,
external/w3c_dom/org/w3c/dom/UserDataHandler.java,
external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
external/w3c_dom/org/w3c/dom/css/CSSRule.java,
external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
external/w3c_dom/org/w3c/dom/css/CSSValue.java,
external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
external/w3c_dom/org/w3c/dom/css/Counter.java,
external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
external/w3c_dom/org/w3c/dom/css/RGBColor.java,
external/w3c_dom/org/w3c/dom/css/Rect.java,
external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
external/w3c_dom/org/w3c/dom/events/Event.java,
external/w3c_dom/org/w3c/dom/events/EventException.java,
external/w3c_dom/org/w3c/dom/events/EventListener.java,
external/w3c_dom/org/w3c/dom/events/EventTarget.java,
external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
external/w3c_dom/org/w3c/dom/events/UIEvent.java,
external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
external/w3c_dom/org/w3c/dom/ls/LSException.java,
external/w3c_dom/org/w3c/dom/ls/LSInput.java,
external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
external/w3c_dom/org/w3c/dom/ls/LSParser.java,
external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
external/w3c_dom/org/w3c/dom/ranges/Range.java,
external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
external/w3c_dom/org/w3c/dom/views/AbstractView.java,
external/w3c_dom/org/w3c/dom/views/DocumentView.java,
external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
from Classpath.

From-SVN: r94577

19 years agore PR rtl-optimization/19680 (sub-optimial register allocation with sse)
Richard Henderson [Wed, 2 Feb 2005 00:30:36 +0000 (16:30 -0800)]
re PR rtl-optimization/19680 (sub-optimial register allocation with sse)

        PR target/19680
        * config/i386/i386.h (MODES_TIEABLE_P): Use ix86_modes_tieable_p.
        * config/i386/i386.c (ix86_hard_regno_mode_ok): Change return
        type to bool.
        (ix86_tieable_integer_mode_p, ix86_modes_tieable_p): New.
        * config/i386/i386-protos.h: Update.

From-SVN: r94575

19 years agoDaily bump.
GCC Administrator [Wed, 2 Feb 2005 00:16:55 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r94573

19 years agore PR tree-optimization/19217 (ICE: verify_stmts failed: address taken, but ADDRESSAB...
Steven Bosscher [Tue, 1 Feb 2005 22:50:12 +0000 (22:50 +0000)]
re PR tree-optimization/19217 (ICE: verify_stmts failed: address taken, but ADDRESSABLE bit not set)

PR tree-optimization/19217
* tree-cfg.c (verify_expr): Use the data field to see if TP was
seen inside a PHI node.  Do not do the ADDR_EXPR check if it was.
(verify_stmts): Pass (void*)1 as data to verify_expr to signal
that it is walking a PHI node.

From-SVN: r94570

19 years ago* doc/extend.texi (Nested Functions): Update.
Joseph Myers [Tue, 1 Feb 2005 22:45:22 +0000 (22:45 +0000)]
* doc/extend.texi (Nested Functions): Update.

From-SVN: r94569

19 years ago* g++.old-deja/g++.other/init5.C: Remove xfail for powerpc-linux.
Janis Johnson [Tue, 1 Feb 2005 21:36:12 +0000 (21:36 +0000)]
* g++.old-deja/g++.other/init5.C: Remove xfail for powerpc-linux.

From-SVN: r94567

19 years ago* gcc.dg/tree-ssa/20040204-1.c: Remove powerpc from xfail list.
Janis Johnson [Tue, 1 Feb 2005 21:35:18 +0000 (21:35 +0000)]
* gcc.dg/tree-ssa/20040204-1.c: Remove powerpc from xfail list.

From-SVN: r94566

19 years agosimd-2.C: Check for AltiVec HW support at runtime.
Janis Johnson [Tue, 1 Feb 2005 21:33:28 +0000 (21:33 +0000)]
simd-2.C: Check for AltiVec HW support at runtime.

* g++.dg/eh/simd-2.C: Check for AltiVec HW support at runtime.
* g++.dg/eh/check-vect.h: New.

From-SVN: r94565

19 years agovect-77.c: Replace xfail selector with expression.
Janis Johnson [Tue, 1 Feb 2005 21:31:20 +0000 (21:31 +0000)]
vect-77.c: Replace xfail selector with expression.

* gcc.dg/vect/vect-77.c: Replace xfail selector with expression.
* gcc.dg/vect/vect-78.c: Ditto.
* gcc.dg/vect/vect.exp (check_effective_target_lp64_or_vect_no_align):
Remove.

From-SVN: r94564

19 years agosimd1.C: Expect warning.
Janis Johnson [Tue, 1 Feb 2005 21:28:30 +0000 (21:28 +0000)]
simd1.C: Expect warning.

* g++.dg/conversion/simd1.C: Expect warning.
* g++.dg/ext/attribute-test-1.C: Ditto.
* g++.dg/ext/attribute-test-2.C: Ditto.
* g++.dg/ext/attribute-test-3.C: Ditto.
* g++.dg/ext/attribute-test-4.C: Ditto.

From-SVN: r94563

19 years agoppc64-toc.c: Don't explicitly use -m64.
Janis Johnson [Tue, 1 Feb 2005 21:27:16 +0000 (21:27 +0000)]
ppc64-toc.c: Don't explicitly use -m64.

* gcc.dg/ppc64-toc.c: Don't explicitly use -m64.
* gcc.dg/ppc-eabi.c: Don't explicity use -m32.

From-SVN: r94562

19 years ago* gcc.dg/ppc64-abi-3.c: Add xfail for error checks.
Janis Johnson [Tue, 1 Feb 2005 21:25:31 +0000 (21:25 +0000)]
* gcc.dg/ppc64-abi-3.c: Add xfail for error checks.

From-SVN: r94561

19 years agojcf-write.c (generate_bytecode_insns): Implement RSHIFT_EXPR of unsigned types using...
Roger Sayle [Tue, 1 Feb 2005 21:20:34 +0000 (21:20 +0000)]
jcf-write.c (generate_bytecode_insns): Implement RSHIFT_EXPR of unsigned types using iushr and lushr JVM bytecodes.

* jcf-write.c (generate_bytecode_insns): Implement RSHIFT_EXPR
of unsigned types using iushr and lushr JVM bytecodes.

From-SVN: r94560

19 years agore PR other/19696 (gcc.c-torture/execute/ieee/copysign1.c: Unsatisfied symbols: copys...
Richard Henderson [Tue, 1 Feb 2005 20:57:22 +0000 (12:57 -0800)]
re PR other/19696 (gcc.c-torture/execute/ieee/copysign1.c: Unsatisfied symbols: copysignl)

        PR 19696
        * optabs.c (expand_copysign_absneg): Export.
        * optabs.h (expand_copysign_absneg): Declare.
        * config/rs6000/rs6000.md (copysigntf3): New.

        * gcc.c-torture/execute/ieee/copysign1.c: Special case sizeof
        long double for ibm double-double format.
        * gcc.c-torture/execute/ieee/copysign2.c: Likewise.

From-SVN: r94559

19 years agore PR tree-optimization/19633 (local address incorrectly thought to escape)
Diego Novillo [Tue, 1 Feb 2005 20:30:07 +0000 (20:30 +0000)]
re PR tree-optimization/19633 (local address incorrectly thought to escape)

PR tree-optimization/19633
* tree-flow.h (struct ptr_info_def): Add field 'pt_null'.
* tree-ssa-alias.c (init_alias_info): Initialize.
(merge_pointed_to_info): Set.
(add_pointed_to_expr): Set pt_null if EXPR is a NULL pointer.
(dump_points_to_info_for): Show value of pt_null.
(struct count_ptr_d): Declare.
(find_ptr_dereference): Remove.
(ptr_is_dereferenced_by): Remove.
(count_ptr_derefs): New local function.
(count_uses_and_derefs): New local function.
(compute_points_to_and_addr_escape): Call it.  If the number
of dereferences is greater than zero, mark the pointer as
dereferenced.  If there are fewer dereferences than uses of
the pointer, the pointer's value escapes.

testsuite/ChangeLog

PR tree-optimization/19633
* testsuite/gcc.dg/pr19633-1.c: New test.
* testsuite/gcc.dg/pr19633.c: Tweak to make pointer point
to NULL or a symbol.

From-SVN: r94558

19 years agore PR tree-optimization/19670 (testsuite failure: gcc.c-torture/execute/builtins...
Diego Novillo [Tue, 1 Feb 2005 20:26:25 +0000 (20:26 +0000)]
re PR tree-optimization/19670 (testsuite failure: gcc.c-torture/execute/builtins/strlen-3.c compilation,  -O1)

PR tree-optimization/19670
* tree-ssa.c (verify_ssa_name): Don't set TREE_VISITED
here...
(verify_use): ... set it here, instead.

From-SVN: r94557

19 years agonatPlainDatagramSocketImplPosix.cc (getOption): Support IP_MULTICAST_LOOP.
Anthony Green [Tue, 1 Feb 2005 19:22:47 +0000 (19:22 +0000)]
natPlainDatagramSocketImplPosix.cc (getOption): Support IP_MULTICAST_LOOP.

2005-01-31  Anthony Green  <green@redhat.com>

        * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
        Support IP_MULTICAST_LOOP.
        (setOption): Support IP_MULTICAST_LOOP.

        * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
        SO_REUSEADDR support.
        (getOption): Support SO_REUSEADDR.

From-SVN: r94555

19 years agore PR java/19738 (gcjh generates invalid class member floating-point initialisers)
Ranjit Mathew [Tue, 1 Feb 2005 18:38:12 +0000 (18:38 +0000)]
re PR java/19738 (gcjh generates invalid class member floating-point initialisers)

PR java/19738
* gjavah.c (jni_print_float): Do not emit floating-point
initialiser for a static final field.
(jni_print_double): Likewise.

From-SVN: r94553

19 years ago* doc/sourcebuild.texi (Test directives): Fix formatting.
Janis Johnson [Tue, 1 Feb 2005 18:16:43 +0000 (18:16 +0000)]
* doc/sourcebuild.texi (Test directives): Fix formatting.

From-SVN: r94552

19 years agosourcebuild.texi (Test directives): Describe selector expressions.
Janis Johnson [Tue, 1 Feb 2005 17:54:45 +0000 (17:54 +0000)]
sourcebuild.texi (Test directives): Describe selector expressions.

* doc/sourcebuild.texi (Test directives): Describe selector
expressions.

* lib/gcc-dg.exp (selector_opd, selector_list, selector_expression):
New procs.
(dg-process-target (local override)): Handle selector expressions.

From-SVN: r94551

19 years agoREADME: Describe tests in source directory.
Janis Johnson [Tue, 1 Feb 2005 17:37:25 +0000 (17:37 +0000)]
README: Describe tests in source directory.

* gcc.test-framework/README: Describe tests in source directory.
* gcc.test-framework/test-framework.awk: Handle dg- tests.
* gcc.test-framework/test-framework.exp: Handle dg- tests.
* gcc.test-framework/dg-bogus-exp-P.c: New test.
* gcc.test-framework/dg-bogus-exp-XF.c: New test.
* gcc.test-framework/dg-do-assemble-exp-P.c: New test.
* gcc.test-framework/dg-do-compile-exp-P.c: New test.
* gcc.test-framework/dg-do-link-exp-P.c: New test.
* gcc.test-framework/dg-do-run-exp-P.c: New test.
* gcc.test-framework/dg-dot-run-exp-P.c: New test.
* gcc.test-framework/dg-dot-run-exp-U.c: New test.
* gcc.test-framework/dg-dox-run-exp-XF.c: New test.
* gcc.test-framework/dg-error-exp-P.c: New test.
* gcc.test-framework/dg-error-exp-XP.c: New test.
* gcc.test-framework/dg-excess-errors-exp-XF.c: New test.
* gcc.test-framework/dg-excess-errors-exp-XP.c: New test.
* gcc.test-framework/dg-output-exp-P.c: New test.
* gcc.test-framework/dg-output-exp-XF.c: New test.
* gcc.test-framework/dg-warning-exp-P.c: New test.
* gcc.misc-tests/dg-1.c: Remove.
* gcc.misc-tests/dg-2.c: Remove.
* gcc.misc-tests/dg-3.c: Remove.
* gcc.misc-tests/dg-4.c: Remove.
* gcc.misc-tests/dg-5.c: Remove.
* gcc.misc-tests/dg-6.c: Remove.
* gcc.misc-tests/dg-7.c: Remove.
* gcc.misc-tests/dg-8.c: Remove.
* gcc.misc-tests/dg-9.c: Remove.
* gcc.misc-tests/dg-10.c: Remove.
* gcc.misc-tests/dg-11.c: Remove.
* gcc.misc-tests/dg-12.c: Remove.
* gcc.misc-tests/dg-test.exp: Remove.

From-SVN: r94550

19 years agotest-framework.awk: Change recording and printing of passes and failures.
Janis Johnson [Tue, 1 Feb 2005 17:31:33 +0000 (17:31 +0000)]
test-framework.awk: Change recording and printing of passes and failures.

* gcc.test-framework/test-framework.awk: Change recording and
printing of passes and failures.

From-SVN: r94549

19 years agogcc.test-framework: New directory.
Janis Johnson [Tue, 1 Feb 2005 17:28:46 +0000 (17:28 +0000)]
gcc.test-framework: New directory.

2005-02-01  Janis Johnson  <janis187@us.ibm.com>

* gcc.test-framework: New directory.
* gcc.test-framework/README: New.
* gcc.test-framework/test-framework.exp: New.
* gcc.test-framework/test-framework.awk: New.
* gcc.test-framework/gen_directive_tests: New.

From-SVN: r94548

19 years agorevert: gjavah.c (print_field_info): Mark static data members of floating-point type...
Mark Mitchell [Tue, 1 Feb 2005 17:13:08 +0000 (17:13 +0000)]
revert: gjavah.c (print_field_info): Mark static data members of floating-point type with "__extension__".

Revert:
2005-01-31  Mark Mitchell  <mark@codesourcery.com>
* gjavah.c (print_field_info): Mark static data members of
floating-point type with "__extension__".

From-SVN: r94547

19 years agoconfig.gcc (powerpc64-*-linux*): Default to -m64 also for specific 64-bit CPUs.
Segher Boessenkool [Tue, 1 Feb 2005 15:36:42 +0000 (16:36 +0100)]
config.gcc (powerpc64-*-linux*): Default to -m64 also for specific 64-bit CPUs.

2005-02-01  Segher Boessenkool  <segher@kernel.crashing.org>

* config.gcc (powerpc64-*-linux*): Default to -m64 also for
specific 64-bit CPUs.

From-SVN: r94545

19 years ago(lex.l): Undef LINEMAP_POSITION_FOR_COLUMN before defining it.
James A. Morrison [Tue, 1 Feb 2005 15:18:30 +0000 (15:18 +0000)]
(lex.l): Undef LINEMAP_POSITION_FOR_COLUMN before defining it.

2005-02-01  James A. Morrison  <phython@gcc.gnu.org>

        * (lex.l): Undef LINEMAP_POSITION_FOR_COLUMN before defining it.

From-SVN: r94544

19 years agoparse.y: Reformat comments.
James A. Morrison [Tue, 1 Feb 2005 15:16:58 +0000 (15:16 +0000)]
parse.y: Reformat comments.

2005-02-01  James A. Morrison  <phython@gcc.gnu.org>

        * parse.y: Reformat comments.
        * treetree.c: Likewise.
        * treetree.h: Likewise.

From-SVN: r94543

19 years agotreelang.exp: Fix comment typos.
James A. Morrison [Tue, 1 Feb 2005 15:07:42 +0000 (15:07 +0000)]
treelang.exp: Fix comment typos.

2005-02-01  James A. Morrison  <phython@gcc.gnu.org>

        * lib/treelang.exp: Fix comment typos.
        (treelang_target_compile): Don't append libs=-ltreelang to options.

From-SVN: r94542

19 years agore PR target/16201 (Assembler messages:Error: bad immediate value for offset (4116))
Richard Earnshaw [Tue, 1 Feb 2005 14:07:02 +0000 (14:07 +0000)]
re PR target/16201 (Assembler messages:Error: bad immediate value for offset (4116))

PR target/16201
* arm.c (arm_eliminable_register): New function.
(adjacent_mem_locations): Don't allow eliminable registers.  Use
HOST_WIDE_INT for address offsets.
* arm-protos.h (arm_eliminable_register): Add prototype.

From-SVN: r94540

19 years agocpp_type_traits.h: Rename _M_type fields to __value...
Paolo Carlini [Tue, 1 Feb 2005 13:30:34 +0000 (13:30 +0000)]
cpp_type_traits.h: Rename _M_type fields to __value...

2005-02-01  Paolo Carlini  <pcarlini@suse.de>

* include/bits/cpp_type_traits.h: Rename _M_type fields to
__value, except for __enable_if, _M_type -> __type, consistently
with the other traits.
* include/bits/stl_algobase.h: Tweak consistently.
* include/bits/stl_tree.h: Likewise.
* include/bits/valarray_array.h: Likewise.
* include/c_std/std_cmath.h: Likewise.
* include/debug/safe_iterator.h: Likewise.
* include/std/std_complex.h: Likewise.

From-SVN: r94538

19 years agore PR rtl-optimization/15242 (pessimization of "goto *")
Steven Bosscher [Tue, 1 Feb 2005 10:03:15 +0000 (10:03 +0000)]
re PR rtl-optimization/15242 (pessimization of "goto *")

PR optimization/15242
* params.def (PARAM_MAX_GOTO_DUPLICATION_INSNS): New param.
* basic-block.h (duplicate_computed_gotos): Add prototype.
* bb-reorder.c (duplicate_computed_gotos): New function to
duplicate sufficiently small blocks ending in a computed jump.
* passes.c (rest_of_compilation): Call duplicate_computed_gotos
if not optimizing for size.
* cfgcleanup.c (try_crossjump_bb): If not optimizing for size,
never do tail merging for blocks ending in a computed jump.
* doc/invoke.texi: Document the max-goto-duplication-insns param.

From-SVN: r94531

19 years agore PR libfortran/19363 (List directed write of Infinity and NaN has regressed)
Paul Thomas [Tue, 1 Feb 2005 09:06:22 +0000 (10:06 +0100)]
re PR libfortran/19363 (List directed write of Infinity and NaN has regressed)

2005-02-01  Paul Thomas <paulthomas2@wanadoo.fr>

PR libgfortran/19363
PR libgfortran/19691
* libgfortran.h (isfinite): Work around broken isfinite(x) in Cygwin.

From-SVN: r94530

19 years agoPatch from Richard Sandiford <rsandifo@redhat.com>
Eric Botcazou [Tue, 1 Feb 2005 07:22:19 +0000 (08:22 +0100)]
Patch from Richard Sandiford <rsandifo@redhat.com>
* reload1.c (choose_reload_regs): Prevent the find_equiv_reg() code
from inheriting a subreg equivalence with a non-spill register.

* tree.h (DECL_FUNCTION_CODE): Document that it is overloaded.

From-SVN: r94529

19 years agoparser.c (cp_parser_primary_expression): Don't complain about floating-point literals...
Mark Mitchell [Tue, 1 Feb 2005 06:58:27 +0000 (06:58 +0000)]
parser.c (cp_parser_primary_expression): Don't complain about floating-point literals in integral constant expressions...

* parser.c (cp_parser_primary_expression): Don't complain about
floating-point literals in integral constant expressions when
!pedantic.

* gjavah.c (print_field_info): Mark static data members of
floating-point type with "__extension__".

From-SVN: r94527

19 years agocrossconfig.m4: Repair Solaris cross bits for strtold and strtof.
Brad Spencer [Tue, 1 Feb 2005 06:56:30 +0000 (06:56 +0000)]
crossconfig.m4: Repair Solaris cross bits for strtold and strtof.

2005-01-31  Brad Spencer  <spencer@infointeractive.com>

* crossconfig.m4: Repair Solaris cross bits for strtold and strtof.
* configure: Regenerated.

From-SVN: r94526

19 years agofrv.c (movcc_fp_destination_operand): New.
Alexandre Oliva [Tue, 1 Feb 2005 06:33:35 +0000 (06:33 +0000)]
frv.c (movcc_fp_destination_operand): New.

* config/frv/frv.c (movcc_fp_destination_operand): New.
(gpr_or_memory_operand): Fix typo in comment.
(gpr_or_memory_operand_with_scratch): New.
* config/frv/frv.h (PREDICATE_CODES): Add the two new predicates.
* config/frv/frv.md (movcc_fp, movcc_fp_internal): Use
movcc_fp_destination_operand.
(reload_incc_fp): Use gpr_or_memory_operand_with_scratch.
Legitimize memory addresses using a scratch register.

From-SVN: r94523

19 years ago* parser.c (cp_parser_template_id): Revert comment patch too.
Alexandre Oliva [Tue, 1 Feb 2005 06:07:14 +0000 (06:07 +0000)]
* parser.c (cp_parser_template_id): Revert comment patch too.

From-SVN: r94521

19 years agore PR c++/18757 (ICE (on invalid) in get_innermost_template_args)
Alexandre Oliva [Tue, 1 Feb 2005 05:56:08 +0000 (05:56 +0000)]
re PR c++/18757 (ICE (on invalid) in get_innermost_template_args)

gcc/cp/ChangeLog:
PR c++/18757
PR c++/19366
PR c++/19499
* parser.c (cp_parser_template_id): Revert 2004-12-09's patch.
Issue an error when creating the template id.
* pt.c (fn_type_unification): Return early if the explicit
template arg list is an error_mark_node.
gcc/testsuite/ChangeLog:
* g++.dg/parse/typename7.C: Adjust error messages.

From-SVN: r94520

19 years agotree-into-ssa.c (mark_def_sites_global_data): Make KILLS bitmap a sparse bitmap inste...
Jeff Law [Tue, 1 Feb 2005 05:28:23 +0000 (22:28 -0700)]
tree-into-ssa.c (mark_def_sites_global_data): Make KILLS bitmap a sparse bitmap instead of a simple bitmap.

        * tree-into-ssa.c (mark_def_sites_global_data): Make KILLS
        bitmap a sparse bitmap instead of a simple bitmap.
        (mark_def_sites_initialize_block):  Corresponding changes.
        (ssa_mark_def_sites_initialize_block): Likewise.
        (ssa_mark_phi_uses): Likewise.
        (mark_def_site, ssa_mark_def_sites): Likewise.
        (mark_def_site_blocks): Likewise.
        (rewrite_ssa_into_ssa): Likewise.

From-SVN: r94519

19 years agotree-ssa-dom.c (record_cond): Pass correct variable type for last argument to htab_fi...
Jeff Law [Tue, 1 Feb 2005 03:52:37 +0000 (20:52 -0700)]
tree-ssa-dom.c (record_cond): Pass correct variable type for last argument to htab_find_slot_with_hash.

        * tree-ssa-dom.c (record_cond): Pass correct variable type
        for last argument to htab_find_slot_with_hash.

From-SVN: r94517

19 years agofold-const.c (fold, [...]): Do not lose side effects when optimizing 0 % X.
Jeff Law [Tue, 1 Feb 2005 03:48:52 +0000 (20:48 -0700)]
fold-const.c (fold, [...]): Do not lose side effects when optimizing 0 % X.

* fold-const.c (fold, case CEIL_MOD_EXPR): Do not lose side
effects when optimizing 0 % X.  Do not try to optimize X % 0.

* gcc.c-torture/execute/20050131-1.c: New test.
* gcc.dg/wcaselabel.c: New test.

From-SVN: r94516

19 years agoFix typo in Richard Henderson's IA-64 vector patch.
James E Wilson [Tue, 1 Feb 2005 03:06:26 +0000 (19:06 -0800)]
Fix typo in Richard Henderson's IA-64 vector patch.

* config/ia64/itanium1.md (1_scall bypass): Change 2_mmalua to
1_mmalua.

From-SVN: r94515

19 years agomips.c (override_options): Warn if -mint64 is used.
Eric Christopher [Tue, 1 Feb 2005 03:02:51 +0000 (03:02 +0000)]
mips.c (override_options): Warn if -mint64 is used.

2005-02-01  Eric Christopher  <echristo@redhat.com>

* config/mips/mips.c (override_options): Warn if -mint64
is used.
* doc/invoke.texi (MIPS Options): Document that -mint64 is
deprecated.

From-SVN: r94514

19 years agore PR java/9157 (SEGV on bad java source)
Ranjit Mathew [Tue, 1 Feb 2005 02:36:29 +0000 (02:36 +0000)]
re PR java/9157 (SEGV on bad java source)

        PR java/9157
        * parse.y (build_string_concatenation): Remove redundant if.
        (patch_conditional_expr): Attempt to patch_string() the condition
        of a ?: as well, in addition to its other operands.

From-SVN: r94513

19 years agodecl.c (build_enumerator): Do not issue duplicate error messages about invalid enumer...
Mark Mitchell [Tue, 1 Feb 2005 01:01:34 +0000 (01:01 +0000)]
decl.c (build_enumerator): Do not issue duplicate error messages about invalid enumeration constants.

* decl.c (build_enumerator): Do not issue duplicate error messages
about invalid enumeration constants.
* parser.c (cp_parser_non_integral_constant_expression): Always
set parser->non_integral_constant_expression_p.
(cp_parser_primary_expression): Add cast_p parameter.  Issue
errors about invalid uses of floating-point literals in
cast-expressions.
(cp_parser_postfix_expression): Add cast_p parameter.
(cp_parser_open_square_expression): Pass it.
(cp_parser_parenthesized_expression_list): Add cast_p parameter.
(cp_parser_unary_expression): Likewise.
(cp_parser_new_placement): Pass it.
(cp_parser_direct_new_declarator): Likewise.
(cp_parser_new_initializer): Likewise.
(cp_parser_cast_expression): Add cast_p parameter.
(cp_parser_binary_expression): Likewise.
(cp_parser_question_colon_clause): Likewise.
(cp_parser_assignment_expression): Likewise.
(cp_parser_expression): Likewise.
(cp_parser_constant_expression): If an integral constant
expression is invalid, return error_mark_node.
(cp_parser_expression_statement): Pass cast_p.
(cp_parser_condition): Likewise.
(cp_parser_iteration_statement): Likewise.
(cp_parser_jump_statement): Likewise.
(cp_parser_mem_initializer): Likewise.
(cp_parser_template_argument): Likewise.
(cp_parser_parameter_declaration): Likewise.
(cp_parser_initializer): Likewise.
(cp_parser_throw_expression): Likewise.
(cp_parser_attribute_list): Likewise.
(cp_parser_simple_cast_expression): Likewise.
(cp_parser_functional_cast): Likewise.
(cp_parser_late_parsing_default_args): Likewise.
(cp_parser_sizeof_operand): Save/restore
non_integral_constant_expression_p.

* include/std/std_limits.h (numeric_limits<float>::has_denorm):
Add required cast.
(numeric_limits<double>::has_denorm): Likewise.
(numeric_limits<long double>::has_denorm): Likewise.

* g++.dg/other/warning1.C: Adjust error messags.
* g++.dg/parse/constant5.C: New test.

From-SVN: r94512

19 years ago* cse.c (get_cse_reg_info): Update a comment.
Kazu Hirata [Tue, 1 Feb 2005 00:41:56 +0000 (00:41 +0000)]
* cse.c (get_cse_reg_info): Update a comment.

From-SVN: r94511

19 years agoDaily bump.
GCC Administrator [Tue, 1 Feb 2005 00:16:23 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r94509

19 years agocse.c (cse_reg_info): Remove hash_next, next, regno.
Kazu Hirata [Tue, 1 Feb 2005 00:14:47 +0000 (00:14 +0000)]
cse.c (cse_reg_info): Remove hash_next, next, regno.

* cse.c (cse_reg_info): Remove hash_next, next, regno.  Add
timestamp.
(cse_reg_info_list, cse_reg_info_list_free, REGHASH_SHIFT,
REGHASH_SIZE, REGHASH_MASK, reg_hash, REGHASH_FN,
cached_cse_reg_info, GET_CSE_REG_INFO): Remove.
(cached_regno): Initialize to INVALID_REGNUM.
(cse_reg_info_table_size,
cse_reg_info_table_first_uninitialized,
cse_reg_info_timestamp): New.
(REG_TICK, REG_IN_TABLE, SUBREG_TICKED, REG_QTY): Use
get_cse_reg_info.
(init_cse_reg_info, get_cse_reg_info_1): New.
(get_cse_reg_info): Cache the last look-up.
(new_basic_block): Update the code to clear mappings from
registers to cse_reg_info entries.
(cse_main): Call init_cse_reg_info.

From-SVN: r94506

19 years agore PR c/19333 (C front end accepts arrays of incomplete types)
Steven Bosscher [Tue, 1 Feb 2005 00:09:40 +0000 (00:09 +0000)]
re PR c/19333 (C front end accepts arrays of incomplete types)

gcc/
        PR c/19333
        * c-decl.c (start_decl): Do not warn about arrays of elements with
        an incomplete type here.
        (grokdeclarator): Do it here by making a pedwarn an error.
        * c-typeck.c (push_init_level): If there were previous errors with
        the constructor type, do not warn about braces for initializers.
        (process_init_element): Likewise for excess initializer elements.

testsuite/
        PR c/19333
        * testsuite/gcc.c-torture/compile/20011130-1.c: Reorder to make
        the test case valid.
        * testsuite/gcc.dg/20030815-1.c: Remove invalid tests.
        * testsuite/gcc.dg/array-7.c: Adjust expected result.
        * testsuite/gcc.dg/pr18596-3.c: Likewise.
        * testsuite/gcc.dg/noncompile/20000901-1.c: Likewise.
        * testsuite/gcc.dg/noncompile/init-2.c: Likewise.
        * testsuite/gcc.dg/noncompile/init-4.c: Likewise.

From-SVN: r94505

19 years agoextend.texi (nested functions): Fix linkage description.
Dale Johannesen [Mon, 31 Jan 2005 23:18:49 +0000 (23:18 +0000)]
extend.texi (nested functions): Fix linkage description.

2005-01-31  Dale Johannesen  <dalej@apple.com>

* doc/extend.texi (nested functions): Fix linkage description.
Clarify that static is not allowed.

From-SVN: r94499

19 years ago* cse.c (delete_trivially_dead_insn): Don't iterate.
Kazu Hirata [Mon, 31 Jan 2005 22:43:36 +0000 (22:43 +0000)]
* cse.c (delete_trivially_dead_insn): Don't iterate.

From-SVN: r94498

19 years agors6000.md (copysignsf3): New expand.
Andrew Pinski [Mon, 31 Jan 2005 22:29:27 +0000 (22:29 +0000)]
rs6000.md (copysignsf3): New expand.

2005-01-31  Andrew Pinski  <pinskia@physics.uc.edu>

        * config/rs6000/rs6000.md (copysignsf3): New expand.
        (copysigndf3): Likewise.

From-SVN: r94497

19 years agoparser.c (cp_lexer_new_main): Get the first token, first, before doing anything.
Mike Stump [Mon, 31 Jan 2005 22:05:07 +0000 (22:05 +0000)]
parser.c (cp_lexer_new_main): Get the first token, first, before doing anything.

        * parser.c (cp_lexer_new_main): Get the first token, first, before
        doing anything.
Radar 3929334

From-SVN: r94494

19 years agorecog.c (constrain_operands): Only look for earlyclobber operand conflicts if an...
Steven Bosscher [Mon, 31 Jan 2005 21:14:44 +0000 (21:14 +0000)]
recog.c (constrain_operands): Only look for earlyclobber operand conflicts if an '&' constraint was seen.

* recog.c (constrain_operands): Only look for earlyclobber operand
conflicts if an '&' constraint was seen.

From-SVN: r94493