Bernd Schmidt [Fri, 12 Nov 2004 14:09:26 +0000 (14:09 +0000)]
 
* genconfig.c (walk_insn_part): Look at match_dups inside a label_ref.
From-SVN: r90530
James A. Morrison [Fri, 12 Nov 2004 13:50:33 +0000 (13:50 +0000)]
 
Fix ChangeLog Entry for 2004-11-10  James A. Morrison  <phython@gcc.gnu.org>
From-SVN: r90529
Diego Novillo [Fri, 12 Nov 2004 13:28:16 +0000 (13:28 +0000)]
 
tree-scalar-evolution.c (analyzable_condition): Remove superfluous TREE_THIS_VOLATILE checks on SSA_NAMEs.
	* tree-scalar-evolution.c (analyzable_condition): Remove
	superfluous TREE_THIS_VOLATILE checks on SSA_NAMEs.
From-SVN: r90528
Robert Schuster [Fri, 12 Nov 2004 13:17:42 +0000 (13:17 +0000)]
 
Fixed regression:
2004-11-11  Robert Schuster <thebohemian@gmx.net>
       Fixed regression:
       * gnu/java/beans/IntrospectionIncubator.java:
       (addMethod): corrected classification of normal and property methods
       (capitalize): added documentation
       (DoubleKey): [class] added documentation
From-SVN: r90527
Ralf Corsepius [Fri, 12 Nov 2004 10:14:36 +0000 (11:14 +0100)]
 
t-rtems (MULTILIB_NEW_EXCEPTIONS_ONLY): Remove m505/roe multilib variant.
2004-11-12  Ralf Corsepius  <ralf.corsepius@rtems.org>
	* config/rs6000/t-rtems (MULTILIB_NEW_EXCEPTIONS_ONLY):
	Remove m505/roe multilib variant.
From-SVN: r90525
Eric Botcazou [Fri, 12 Nov 2004 09:03:03 +0000 (10:03 +0100)]
 
* gcc.c-torture/execute/
20041112-1.c: New test.
From-SVN: r90522
Eric Botcazou [Fri, 12 Nov 2004 06:59:47 +0000 (07:59 +0100)]
 
expr.c (emit_group_load): Use extract_bit_field to load from the stack.
	* expr.c (emit_group_load) <CONCAT>: Use extract_bit_field
	to load from the stack.
From-SVN: r90521
Richard Henderson [Fri, 12 Nov 2004 02:24:51 +0000 (18:24 -0800)]
 
toplev.c (floor_log2): Rename from floor_log2_wide, use CLZ_HWI.
        * toplev.c (floor_log2): Rename from floor_log2_wide, use CLZ_HWI.
        (exact_log2): Rename from exact_log2_wide, use CTZ_HWI.
        * toplev.h (FL2T__): Remove.
        (CLZ_HWI): Rename from FL2T_CLZ__.
        (CTZ_HWI): New.
        (floor_log2): Simplify.
        (exact_log2): New.
From-SVN: r90519
Janis Johnson [Fri, 12 Nov 2004 01:13:02 +0000 (01:13 +0000)]
 
* lib/gcc-dg.exp (dg-target-list): New.
From-SVN: r90516
Janis Johnson [Fri, 12 Nov 2004 01:11:01 +0000 (01:11 +0000)]
 
target-supports.exp (get-compiler_messages): New.
	* lib/target-supports.exp (get-compiler_messages): New.
	(check_named_sections_available): Use it.
	(check_effective_target_ilp32): New.
	(check_effective_target_lp64): New.
	(is-effective-target): New.
	* lib/gcc-dg.exp (dg-require-effective-target): New.
Co-Authored-By: Richard Sandiford <rsandifo@redhat.com>
From-SVN: r90515
GCC Administrator [Fri, 12 Nov 2004 00:16:11 +0000 (00:16 +0000)]
 
Daily bump.
From-SVN: r90513
Sebastian Pop [Fri, 12 Nov 2004 00:13:06 +0000 (01:13 +0100)]
 
re PR middle-end/18005 (ICE with simple loop with VLA)
	* tree-data-ref.c (analyze_subscript_affine_affine): Correctly
	compute the first overlapping iterations.
	PR middle-end/18005
	* tree-data-ref.c (estimate_niter_from_size_of_data): Ensure
	that arguments of EXACT_DIV_EXPR are INTEGER_CST.
From-SVN: r90510
Steven Bosscher [Fri, 12 Nov 2004 00:10:11 +0000 (00:10 +0000)]
 
When will I remember to add a PR number...
From-SVN: r90509
Steven Bosscher [Fri, 12 Nov 2004 00:08:41 +0000 (00:08 +0000)]
 
tree-ssa.c (walk_use_def_chains_1): Make the visited map a pointer set instead of a bitmap.
	* tree-ssa.c (walk_use_def_chains_1): Make the visited map a
	pointer set instead of a bitmap.
	(walk_use_def_chains): Create, pass and clean up that pointer_set.
	* tree-ssa-alias.c (struct alias_info): Make the ssa_names_visited
	field an sbitmap.
	(init_alias_info): Allocate and zero it here.
	(delete_alias_info): Delete it here.
	(collect_points_to_info_for): Use it.
From-SVN: r90508
Kazu Hirata [Thu, 11 Nov 2004 23:15:52 +0000 (23:15 +0000)]
 
varasm.c (get_named_section_flags, [...]): Make them static.
	* varasm.c (get_named_section_flags, decl_tls_model): Make
	them static.
	* output.h: Remove the prototype for get_named_section_flags.
	* tree.h: Remove the prototype for decl_tls_model.
From-SVN: r90506
Kazu Hirata [Thu, 11 Nov 2004 23:14:21 +0000 (23:14 +0000)]
 
c-typeck.c (c_size_in_bytes, [...]): Make them static.
	* c-typeck.c (c_size_in_bytes, record_maybe_used_decl):
	Make them static.
	* c-tree.h: Remove the corresponding prototypes.
From-SVN: r90505
Kazu Hirata [Thu, 11 Nov 2004 23:13:12 +0000 (23:13 +0000)]
 
c-typeck.c (c_size_in_bytes, [...]): Make them static.
	* c-typeck.c (c_size_in_bytes, record_maybe_used_decl):
	Make them static.
	* c-tree.h: Remove the corresponding prototypes.
From-SVN: r90504
Kazu Hirata [Thu, 11 Nov 2004 23:11:39 +0000 (23:11 +0000)]
 
cfgloopmanip.c (update_single_exits_after_duplication, unloop): Make them static.
	* cfgloopmanip.c (update_single_exits_after_duplication,
	unloop): Make them static.
	* cfgloop.h: Remove the corresponding prototypes.
From-SVN: r90503
Kazu Hirata [Thu, 11 Nov 2004 23:10:10 +0000 (23:10 +0000)]
 
cfglayout.c (choose_inner_scope): Make it static.
	* cfglayout.c (choose_inner_scope): Make it static.
	* rtl.h: Remove the corresponding prototype.
From-SVN: r90502
Kazu Hirata [Thu, 11 Nov 2004 23:08:56 +0000 (23:08 +0000)]
 
alias.c (record_alias_subset, [...]): Make them static.
	* alias.c (record_alias_subset, addr_side_effect_eval):
	Make them static.
	* alias.h: Remove the prototype for record_alias_subset.
	* expr.h: Remove the commented-out prototype for
	record_alias_subset.
	* rtl.h: Remove the prototype for addr_side_effect_eval.
From-SVN: r90501
Kazu Hirata [Thu, 11 Nov 2004 22:05:06 +0000 (22:05 +0000)]
 
Fix a ChangeLog typo in the last commit.
From-SVN: r90498
Kazu Hirata [Thu, 11 Nov 2004 22:02:47 +0000 (22:02 +0000)]
 
function.c (expand_function_end): Remove an "if" statement that always trigger.
	* function.c (expand_function_end): Remove an "if" statement
	that always trigger.
	* stmt.c (expand_null_return_1): Likewise.
From-SVN: r90497
James E Wilson [Thu, 11 Nov 2004 21:20:22 +0000 (13:20 -0800)]
 
Fix complex long double testsuite failures.
* config/ia64/ia64.h (HARD_REGNO_NREGS): Handle XCmode.
(HARD_REGNO_MODE_OK, MODES_TIEABLE_P, SECONDARY_MEMORY_NEEDED,
CLASS_MAX_NREGS): Likewise.
From-SVN: r90495
Joseph Myers [Thu, 11 Nov 2004 20:36:26 +0000 (20:36 +0000)]
 
* gcc.dg/precedence-1.c: New test.
From-SVN: r90493
Zdenek Dvorak [Thu, 11 Nov 2004 20:12:34 +0000 (21:12 +0100)]
 
re PR tree-optimization/17742 (C Optimization error with -O1 on i686)
	PR tree-optimization/17742
	* tree-scalar-evolution.c (follow_ssa_edge_in_rhs): Handle
	MINUS_EXPR correctly.
From-SVN: r90492
Sebastian Pop [Thu, 11 Nov 2004 19:25:58 +0000 (20:25 +0100)]
 
tree-scalar-evolution.c (follow_ssa_edge_in_condition_phi): Give up as soon as the evolution is known not computable.
	* tree-scalar-evolution.c (follow_ssa_edge_in_condition_phi):
	Give up as soon as the evolution is known not computable.
From-SVN: r90491
Janis Johnson [Thu, 11 Nov 2004 18:01:56 +0000 (18:01 +0000)]
 
* gcc.misc-tests/linkage.exp: Handle biarch GCC for powerpc64.
From-SVN: r90488
Janis Johnson [Thu, 11 Nov 2004 18:00:30 +0000 (18:00 +0000)]
 
linkage.exp: Prepend directory name to pass/fail message...
	* gcc.misc-tests/linkage.exp: Prepend directory name to pass/fail
	message, delete generated files, use more descriptive name for
	executable, and make the test unsupported when it cannot be run.
From-SVN: r90487
Janis Johnson [Thu, 11 Nov 2004 17:59:05 +0000 (17:59 +0000)]
 
gcc-dg.exp (skip_test_and_clear_xfail): New procedure.
	* lib/gcc-dg.exp (skip_test_and_clear_xfail): New procedure.
	(dg-require-weak, dg-require-visibility, dg-require-alias,
	dg-require-gc-sections, dg-require-profiling, dg-require-dll,
	dg-require-iconv, dg-require-named-sections): Use it.
From-SVN: r90486
Janis Johnson [Thu, 11 Nov 2004 17:57:53 +0000 (17:57 +0000)]
 
* lib/gcc-dg.exp (dg-xfail-if): Ignore if skipping the test.
From-SVN: r90485
Nathan Sidwell [Thu, 11 Nov 2004 17:03:36 +0000 (17:03 +0000)]
 
re PR target/16457 (PowerPC - Combine two rldicr instructions into a single rlwinm.)
.:	PR target/16457
	* config/rs6000/rs6000.c (mask64_2_operand): Stub to call
	mask64_1or2_operand.
	(mask64_1or_2_operand): Broken out of mask64_2_operand, add flag
	to spot rlwinm opportunities.
	(and64_2_operand): Use mask_1or2_operand.
	* config/rs6000/rs6000.md (anddi3): Use rlwinm when possible.
testsuite:
	PR target/16457
	* gcc.dg/ppc-and-1: New
From-SVN: r90481
Dorit Naishlos [Thu, 11 Nov 2004 16:56:54 +0000 (16:56 +0000)]
 
tree-vectorizer.c (update_phi_nodes_for_guard): Call reverse_phis.
2004-11-11  Dorit Naishlos  <dorit@il.ibm.com>
        * tree-vectorizer.c (update_phi_nodes_for_guard): Call reverse_phis.
        (vect_update_ivs_after_vectorizer): Update function documentation.
        Avoid quadratic behavior and direct write to PHI_ARG_DEF.
From-SVN: r90480
Kazu Hirata [Thu, 11 Nov 2004 14:52:54 +0000 (14:52 +0000)]
 
* config/arm/arm.c: Fix a comment typo.
From-SVN: r90479
Nathan Sidwell [Thu, 11 Nov 2004 10:36:27 +0000 (10:36 +0000)]
 
bitmap.h (nBITMAP_WORD_BITS): Remove.
	* bitmap.h (nBITMAP_WORD_BITS): Remove.
	(BITMAP_WORD_BITS): Force unsigned by use of 1u.
	(BITMAP_ELEMENT_WORDS, BITMAP_ELEMENT_ALL_BITS): Remove
	unnecessary casts.
	(bitmap_first_set_bit): Return unsigned, use ctzl.
	(bitmap_last_set_bit): Remove.
	* bitmap.c (bitmap_element_zerop, bitmap_copy): Make iterator
	unsigned.
	(bitmap_first_set_bit): Return unsigned, require non-empty bitmap,
	remove special case code for two word elements.
	(bitmap_last_set_bit): Remove.
	* ra-build.c (livethrough_conflicts_bb): Replace unnecessary use of
	bitmap_first_set_bit with bitmap_empty_p.
	* tree-outof-ssa.c (analyze_edges_for_bb): Likewise.
	* tree-ssa-pre.c (bitmap_print_value): Use simple flag rather than
	bitmap_last_bit_set.
From-SVN: r90478
Jakub Jelinek [Thu, 11 Nov 2004 09:48:15 +0000 (10:48 +0100)]
 
Remove CVS conflict marking.
From-SVN: r90477
Nathan Sidwell [Thu, 11 Nov 2004 08:49:17 +0000 (08:49 +0000)]
 
re PR rtl-optimization/16796 (PowerPC - Unnecessary Floating Point Register Copy)
.:	PR target/16796
	* config/rs6000/rs6000.md: Add DF & SF reg move peepholes.
testsuite:
	PR target/16796
	* gcc.dg/ppc-mov-1.c: New.
From-SVN: r90476
Nathan Sidwell [Thu, 11 Nov 2004 08:40:43 +0000 (08:40 +0000)]
 
re PR target/16458 (PowerPC - redundant compare)
.:	PR target/16458
	* config/rs6000/rs6000.c (rs6000_generate_compare): Generate an
	unsigned equality compare when we know the operands are unsigned.
testsuite:
	PR target/16458
	* gcc.dg/ppc-compare-1.c: New.
From-SVN: r90475
Peter S. Mazinger [Thu, 11 Nov 2004 03:18:02 +0000 (03:18 +0000)]
 
linux.h (LINUX_TARGET_OS_CPP_BUILTINS): Define __PIC__ and __pic__ only if TARGET_ABICALLS.
2004-11-10  Peter S. Mazinger  <ps.m@gmx.net>
	* config/mips/linux.h (LINUX_TARGET_OS_CPP_BUILTINS): Define
	__PIC__ and __pic__ only if TARGET_ABICALLS.
	(SUBTARGET_CPP_SPECS): Don't define or undefine __PIC__ and __pic__.
	(SUBTARGET_ASM_SPECS): Don't pass -non_shared to assembler; pass
	-KPIC only if not -mno-abicalls.
	* config/alpha/linux.h, config/arm/linux-elf.h, config/pa/pa-linux.h
	* config/sparc/linux.h, config/sparc/linux64.h
	(TARGET_OS_CPP_BUILTINS): Define __PIC__ and __pic__ if flag_pic.
	* config/arm/linux-gas.h (CPP_SPEC): Don't define __PIC__ or __pic__.
	* config/pa/pa/linux.h (CPP_SPEC): Likewise.
	* config/sparc/linux.h (CPP_SUBTARGET_SPEC): Likewise.
	* config/sparc/linux64.h (CPP_SUBTARGET_SPEC): Likewise.
From-SVN: r90470
Andrew Pinski [Thu, 11 Nov 2004 03:13:03 +0000 (03:13 +0000)]
 
typeck.c (cxx_mark_addressable): Add braces around the first if.
2004-11-10  Andrew Pinski  <pinskia@physics.uc.edu>
        * typeck.c (cxx_mark_addressable): Add braces around the first if.
From-SVN: r90469
Paul Brook [Thu, 11 Nov 2004 01:24:07 +0000 (01:24 +0000)]
 
arm.c (arm_compute_save_reg0_reg12_mask): Save PIC register if current_function_uses_pic_offset_table is set.
	* config/arm/arm.c (arm_compute_save_reg0_reg12_mask): Save PIC
	register if current_function_uses_pic_offset_table is set.
From-SVN: r90465
GCC Administrator [Thu, 11 Nov 2004 00:16:33 +0000 (00:16 +0000)]
 
Daily bump.
From-SVN: r90462
Joseph Myers [Wed, 10 Nov 2004 22:44:24 +0000 (22:44 +0000)]
 
* objc.dg/desig-init-2.m: New test.
From-SVN: r90459
David Edelsohn [Wed, 10 Nov 2004 22:00:27 +0000 (17:00 -0500)]
 
Add 2004 to copyright notices.
From-SVN: r90457
David Edelsohn [Wed, 10 Nov 2004 21:57:14 +0000 (21:57 +0000)]
 
rs6000.md (define_attr "type"): Add two and three.
        * config/rs6000/rs6000.md (define_attr "type"): Add two and three.
        Change multi-instruction sequences to new attribute.
        * config/rs6000/{40x.md,440.md,603.md,6xx.md,
        7450.md,7xx.md,8540.md,mpc.md,power4.md,power5.md,
        rios1.md,rios2.md,rs64.md}: Add descriptions for two and three.
From-SVN: r90456
Daniel Berlin [Wed, 10 Nov 2004 21:32:10 +0000 (21:32 +0000)]
 
tree-data-ref.c (build_classic_dist_vector): If either loop is outside of the nest we asked about, the dependence can't matter.
2004-11-10  Daniel Berlin  <dberlin@dberlin.org>
	* tree-data-ref.c (build_classic_dist_vector): If either loop
	is outside of the nest we asked about, the dependence can't
	matter.
	(build_classic_dir_vector): Ditto.
From-SVN: r90454
Adam Nemet [Wed, 10 Nov 2004 21:09:58 +0000 (21:09 +0000)]
 
re PR middle-end/18160 (ICE on taking register variable address)
	PR middle-end/18160
	* g++.dg/warn/register-var-1.C: New test.
	* g++.dg/warn/register-var-2.C: New test.
From-SVN: r90453
Adam Nemet [Wed, 10 Nov 2004 21:09:25 +0000 (21:09 +0000)]
 
re PR middle-end/18160 (ICE on taking register variable address)
	PR middle-end/18160
	* typeck.c (cxx_mark_addressable): Issue an error if address of an
	explicit register variable is requested.
From-SVN: r90452
Zdenek Dvorak [Wed, 10 Nov 2004 20:49:55 +0000 (21:49 +0100)]
 
tree-ssa-loop-ivopts.c (get_address_cost): Add address elements in right order.
	* tree-ssa-loop-ivopts.c (get_address_cost): Add address elements in
	right order.
	(force_var_cost): Determine cost of addition and multiplication more
	precisely.
	(get_computation_cost_at): Add cost for computing address elements to
	the final cost.
	* fold-const.c (fold): Attempt to use ptr_difference_const whenever
	one of the arguments of MINUS_EXPR is an address.
	(split_address_to_core_and_offset): New function.
	(ptr_difference_const): Handle case when one of the operands is a
	pointer.
	* tree-ssa-loop-ivopts.c (determine_base_object): Fold &*addr.
	(ptr_difference_cost): Pass addresses instead of objects to
	ptr_difference_const.
From-SVN: r90451
Paul Brook [Wed, 10 Nov 2004 20:03:21 +0000 (20:03 +0000)]
 
re PR fortran/18375 (ICE when compiling spec benchmark fma3d)
	PR fortran/18375
	* trans-expr.c (gfc_trans_subarray_assign): Free shape before ss.
	* trans-io.c (transfer_array_component): Ditto.
From-SVN: r90449
Fariborz Jahanian [Wed, 10 Nov 2004 19:06:53 +0000 (19:06 +0000)]
 
Test for PR tree-optimization/17892.
From-SVN: r90447
Janis Johnson [Wed, 10 Nov 2004 18:21:08 +0000 (18:21 +0000)]
 
* MAINTAINERS: Add myself as gcc testsuite maintainer.
From-SVN: r90401
Nathan Sidwell [Wed, 10 Nov 2004 17:34:47 +0000 (17:34 +0000)]
 
re PR c++/18143 (Duplicated thunk with a huge member in the hierarchy)
.:	* tree.c (tree_check_failed): Emit general error if the list of
	node types is empty.
cp:
	PR c++/18143
	* cp-tree.h (NON_THUNK_FUNCTION_CHECK, THUNK_FUNCTION_CHECK): New.
	(struct lang_decl_flags): Add thunk_p flag.
	(struct lang_decl): Remove separate fixed_offset. Place
	cloned_function and fixed_offset into union.
	(DECL_CLONED_FUNCTION_P, DECL_CLONED_FUNCTION): Adjust.
	(DECL_THUNK_P, SET_DECL_THUNK_P): Adjust.
	(THUNK_FIXED_OFFSET): Adjust.
	* method.c (make_thunk): Adjust.
From-SVN: r90399
Eric Botcazou [Wed, 10 Nov 2004 17:24:19 +0000 (18:24 +0100)]
 
sparc.c (function_arg_union_value): New 'slotno' argument.
	* config/sparc/sparc.c (function_arg_union_value): New 'slotno'
	argument.  When the union is passed in the 6th slot, build a
	PARALLEL with only one element.
	(function_arg): Adjust call to function_arg_union_value.
	(function_value): Likewise.
From-SVN: r90396
Fariborz Jahanian [Wed, 10 Nov 2004 17:17:48 +0000 (17:17 +0000)]
 
re PR tree-optimization/17892 (gcc-4.0 should not reassociate floating point add or multiplication)
Fix for PR tree-optimization/17892.
OKed by Roger Sayle.
From-SVN: r90395
Mark Mitchell [Wed, 10 Nov 2004 17:01:00 +0000 (17:01 +0000)]
 
re PR c++/18369 (Segfault on braced new)
	PR c++/18369
	* init.c (build_new_1): Handle parenthesized type-ids that name an
	array type.  Tidy.
	PR c++/18369
	* g++.dg/init/new12.C: New test.
From-SVN: r90394
James A. Morrison [Wed, 10 Nov 2004 10:14:36 +0000 (10:14 +0000)]
 
re PR target/18230 (SPARC VIS instructions are not generated by GCC)
	PR target/18230
	(addsi3, subsi3): Set "fptype" attribute.
	(addv2si, addv4hi, addv2hi, subv2si, subv4hi, subv2hi): New
	patterns.
From-SVN: r90391
Steven Bosscher [Wed, 10 Nov 2004 09:28:29 +0000 (09:28 +0000)]
 
basic-block.h (XMALLOC_REG_SET, [...]): New.
	* basic-block.h (XMALLOC_REG_SET, XFREE_REG_SET): New.
	(struct basic_block_def): Remove local_set and cond_local_set
	fields.  Update comment for global_live_at_start.
	* flow.c (calculate_global_regs_live): Allocate local_sets and
	cond_local_sets here as arrays of bitmaps previously stored in
	bb->local_set and bb->cond_local_set.  Use xmalloc instead of
	obstack allocated bitmaps.
From-SVN: r90390
H.J. Lu [Wed, 10 Nov 2004 06:33:28 +0000 (06:33 +0000)]
 
re PR target/18380 (_Unwind_FindTableEntry shouldn't be exported from libunwind.so.7)
2004-11-09  H.J. Lu  <hongjiu.lu@intel.com>
	PR target/18380
	* config/ia64/unwind-ia64.h (_Unwind_FindTableEntry): Mark it
	hidden.
	* unwind-dw2.c (_Unwind_FindTableEntry): Removed.
From-SVN: r90387
Jeff Law [Wed, 10 Nov 2004 05:03:10 +0000 (22:03 -0700)]
 
cfganal.c (flow_dfs_compute_reverse_execute): Accept new argument holding last unvisited block.
        * cfganal.c (flow_dfs_compute_reverse_execute): Accept new
        argument holding last unvisited block.  Start search for
        unvisited blocks at LAST_UNVISITED rather than EXIT_BLOCK.
        (connect_infinite_loops_to_exit): Supply last unvisited block
        to flow_dfs_compute_reverse_execute.
From-SVN: r90386
Paul Brook [Wed, 10 Nov 2004 02:44:39 +0000 (02:44 +0000)]
 
Committed wrong version of previous patch.
From-SVN: r90384
Paul Brook [Wed, 10 Nov 2004 02:35:05 +0000 (02:35 +0000)]
 
* invoke.texi: Fix typo.
From-SVN: r90383
Paul Brook [Wed, 10 Nov 2004 02:19:27 +0000 (02:19 +0000)]
 
re PR fortran/18218 (Miscompare in sixtrack benchmark caused by loss of precision)
	PR fortran/18218
	* configure.ac: Check for strtof.
	* configure: Regenerate.
	* config.h.in: Regenerate.
	* io/read.c (convert_real): Use strtof if available.
	(convert_precision_real): Remove.
	(read_f): Avoid poor exponentiation algorithm.
gcc/testsuite/
	* gfortran.dg/list_read.c: New test.
From-SVN: r90382
Paul Brook [Wed, 10 Nov 2004 02:10:24 +0000 (02:10 +0000)]
 
MAINTAINERS: Add self as arm maintainer.
2004-11-11  Paul Brook  <paul@codesourcery.com>
	* MAINTAINERS: Add self as arm maintainer.  Update email address.
From-SVN: r90381
Aldy Hernandez [Wed, 10 Nov 2004 01:08:22 +0000 (01:08 +0000)]
 
rs6000.md (fix_truncdfsi2): Handle e500 doubles.
	* config/rs6000/rs6000.md (fix_truncdfsi2): Handle e500
	doubles.
	(floatunssidf2): Same.
	(floatsidf2): Same.
	("extendsfdf2"): New expander.
	(*extendsfdf2_fpr): Rename.
	(*truncdfsf2_fpr): Same.
	(*negdf2_fpr): Same.
	(*absdf2_fpr): Same.
	(*nabsdf2_fpr): Same.
	(*adddf3_fpr): Same.
	(*subdf3_fpr): Same.
	(*muldf3_fpr): Same.
	(*divdf3_fpr): Same.
	* config/rs6000/spe.md ("spe_extendsfdf2"): Remove FIXME comment.
	("spe_fix_truncdfsi2"): Same.
	(spe_floatunssidf2): Same.
	(spe_floatsidf2): Same.
From-SVN: r90379
GCC Administrator [Wed, 10 Nov 2004 00:16:21 +0000 (00:16 +0000)]
 
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r90377.2
GCC Administrator [Wed, 10 Nov 2004 00:16:16 +0000 (00:16 +0000)]
 
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r90375.2
Joseph Myers [Tue, 9 Nov 2004 23:14:06 +0000 (23:14 +0000)]
 
inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
	* inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
	(int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
	_CLASSIC_ANSI_TYPES.
	(sun_auth_proto): Bypass on __cplusplus.
	* fixincl.x: Regenerate.
From-SVN: r90371
Tom Tromey [Tue, 9 Nov 2004 22:42:01 +0000 (22:42 +0000)]
 
* include/jni.h: Added FIXME.
From-SVN: r90370
Joseph Myers [Tue, 9 Nov 2004 22:02:09 +0000 (22:02 +0000)]
 
* cpplib.pot: Regenerate.
From-SVN: r90369
Joseph Myers [Tue, 9 Nov 2004 21:58:43 +0000 (21:58 +0000)]
 
Makefile.in ($(PACKAGE).pot): New rule.
	* Makefile.in ($(PACKAGE).pot): New rule.  Depend on
	po/$(PACKAGE).pot.
	(po/$(PACKAGE).pot): Use ":" instead of "," in --keyword
	arguments.  Add keywords _, N_, SYNTAX_ERROR and SYNTAX_ERROR2.
	Remove local srcdir path from generated file.
From-SVN: r90368
Joseph Myers [Tue, 9 Nov 2004 21:57:17 +0000 (21:57 +0000)]
 
* exgettext: Remove local srcdir and objdir paths from gcc.pot.
From-SVN: r90367
Joseph Myers [Tue, 9 Nov 2004 21:22:27 +0000 (21:22 +0000)]
 
re PR c/18322 (__func__ diagnostic in bad location)
	PR c/18322
	* c-common.c (fname_decl): Don't use line number of decl in
	diagnostic.
testsuite:
	* gcc.dg/func-outside-1.c, gcc.dg/func-outside-2.c: Correct
	expected diagnostic location.
From-SVN: r90365
Ulrich Weigand [Tue, 9 Nov 2004 20:46:19 +0000 (20:46 +0000)]
 
s390-protos.h (s390_pool_operand): Remove.
ChangeLog:
	* config/s390/s390-protos.h (s390_pool_operand): Remove.
	* config/s390/s390.c (s390_pool_operand): Likewise.
	(s390_extra_constraint_str): Handle 'B' constraints.
	* config/s390/s390.h (CONSTRAINT_LEN): Handle 'B' constraints.
	* config/s390/s390.md: Document 'B' constraints.
	("*cmpdi_cct", "*cmpsi_cct"): Use 'B' constraint instead of
	s390_pool_operand to prevent insns with two literal pool
	references.  Make pattern commutative.
	("*cmpdi_ccu", "*cmpsi_ccu", "*cmphi_ccu", "*cmpqi_ccu"): Use
	'B' constraint instead of s390_pool_operand.
testsuite/ChangeLog:
	* gcc.dg/
20041109-1.c: New test.
From-SVN: r90364
Andrew Pinski [Tue, 9 Nov 2004 19:44:38 +0000 (19:44 +0000)]
 
re PR objc/18406 (ICE compiling Objective C code with long double arguments)
2004-11-09  Andrew Pinski  <pinskia@physics.uc.edu>
        PR objc/18406
        * obj-act.c (encode_type): 96bits doubles are encoded the
        same way as 64bit and 128bit doubles are.
2004-11-09  Andrew Pinski  <pinskia@physics.uc.edu>
        PR objc/18406
        * objc/compile/pr18406.m: New test.
From-SVN: r90361
Kazu Hirata [Tue, 9 Nov 2004 19:33:58 +0000 (19:33 +0000)]
 
* tree-cfg.c (create_bb): Remove unnecessary memset.
From-SVN: r90360
Kazu Hirata [Tue, 9 Nov 2004 19:25:04 +0000 (19:25 +0000)]
 
tree-ssa-threadupdate.c (copy_phis_to_block): Remove.
	* tree-ssa-threadupdate.c (copy_phis_to_block): Remove.
	(thread_block): Call flush_pending_stmt instead of
	copy_phis_to_block.
From-SVN: r90359
Kazu Hirata [Tue, 9 Nov 2004 19:21:29 +0000 (19:21 +0000)]
 
loop-iv.c (iv_number_of_iterations): Make it static.
	* loop-iv.c (iv_number_of_iterations): Make it static.
	* cfgloop.h: Remove the corresponding prototype.
From-SVN: r90358
Kazu Hirata [Tue, 9 Nov 2004 19:19:41 +0000 (19:19 +0000)]
 
function.c (combine_temp_slots, [...]): Make them static.
	* function.c (combine_temp_slots, assign_parms,
	expand_pending_sizes): Make them static.
	* tree.h: Remove the corresponding prototypes.
From-SVN: r90357
Kazu Hirata [Tue, 9 Nov 2004 17:46:06 +0000 (17:46 +0000)]
 
emit-rtl.c (copy_most_rtx): Remove.
	* emit-rtl.c (copy_most_rtx): Remove.
	* rtl.h: Remove the corresponding prototype.
From-SVN: r90356
Kazu Hirata [Tue, 9 Nov 2004 17:43:41 +0000 (17:43 +0000)]
 
cfgloop.c (flow_loops_update): Remove.
	* cfgloop.c (flow_loops_update): Remove.
	* cfgloop.h: Remove the corresponding prototype.
From-SVN: r90355
Kazu Hirata [Tue, 9 Nov 2004 17:41:23 +0000 (17:41 +0000)]
 
conflict.c (mark_reg, [...]): Remove.
	* conflict.c (mark_reg, conflict_graph_compute): Remove.
	* basic-block.h: Remove the prototype for
	conflict_graph_compute.
From-SVN: r90354
Kazu Hirata [Tue, 9 Nov 2004 17:39:18 +0000 (17:39 +0000)]
 
tree-if-conv.c (add_to_dst_predicate_list): Change the second argument to basic_block.
	* tree-if-conv.c (add_to_dst_predicate_list): Change the
	second argument to basic_block.
	(tree_if_convert_cond_expr): Update call sites.
From-SVN: r90353
Kazu Hirata [Tue, 9 Nov 2004 17:36:26 +0000 (17:36 +0000)]
 
fold-const.c (pedantic_non_lvalue): Make it static.
	* fold-const.c (pedantic_non_lvalue): Make it static.
	* tree.h: Remove the corresponding prototype.
From-SVN: r90352
Kazu Hirata [Tue, 9 Nov 2004 17:34:03 +0000 (17:34 +0000)]
 
optabs.c (prepare_operand): Make it static.
	* optabs.c (prepare_operand): Make it static.
	* optabs.h: Remove the corresponding prototype.
From-SVN: r90351
Kazu Hirata [Tue, 9 Nov 2004 17:31:06 +0000 (17:31 +0000)]
 
reload1.c (reloads_conflict, gen_reload): Make them static.
	* reload1.c (reloads_conflict, gen_reload): Make them static.
	* reload.h: Remove the corresponding prototypes.
From-SVN: r90350
Kazu Hirata [Tue, 9 Nov 2004 17:29:03 +0000 (17:29 +0000)]
 
reload.c (refers_to_mem_for_reload_p, [...]): Make them static.
	* reload.c (refers_to_mem_for_reload_p,
	refers_to_regno_for_reload_p): Make them static.
	* reload.h: Remove the corresponding prototypes.
From-SVN: r90349
James A. Morrison [Tue, 9 Nov 2004 17:06:03 +0000 (17:06 +0000)]
 
re PR target/18230 (SPARC VIS instructions are not generated by GCC)
	PR target/18230
	* doc/md.texi (SPARC constraints): Document 'Y' constraint.
	* config/sparc/sparc-modes.def: Add vector modes of 4 and 8 bytes.
	* config/sparc/sparc.c (sparc_vector_mode_supported_p): New function.
	(TARGET_VECTOR_MODE_SUPPORTED_P): Set to sparc_vector_mode_supported_p.
	(fp_zero_operand): Accept MODE_VECTOR_INT modes.
	(input_operand): Accept CONST_VECTOR with MODE_VECTOR_INT modes.
	(sparc_cannot_force_const_mem): Return false for CONST_VECTOR.
	(sparc_init_modes): Set sparc_mode_class to SF_MODE or DF_MODE for
	MODE_VECTOR_INT modes.
	(sparc_extra_constraint_check): Add new constraint 'Y'.
	* config/sparc/sparc.h: Define UNITS_PER_SIMD_WORD to 8 for TARGET_VIS.
	* config/sparc/sparc.md (V32): New mode macro for 32-bit modes.
	(V64): New mode macro for 64-bit modes.
	(movsf): Use V32 for mode instead of SF.
	(movsf_insn_vis): Use V32 for mode instead of SF.  Add 'Y' constraint
	alongside 'G' constraint.
	(movdf): Use V64 for mode instead of DF.
	(movdf_insn_v9only_vis, modf_insn_sp64_vis): Use V64 for mode instead
	of DF.  Add 'Y' constraint alongside 'G' constraint.
	(multi-isn and misaligned mems DFmode splitters): Use V64 for mode
	instead of DF.
Co-Authored-By: Eric Botcazou <ebotcazou@libertysurf.fr>
From-SVN: r90348
Ulrich Weigand [Tue, 9 Nov 2004 16:46:45 +0000 (16:46 +0000)]
 
s390.c (s390_select_ccmode): Return CCAPmode for integer NEG and ABS.
	* config/s390/s390.c (s390_select_ccmode): Return CCAPmode for
	integer NEG and ABS.
	* config/s390/s390.md ("*negdi2_64"): Fix op_type attribute.
	("*negdi2_31"): Reimplement using a splitter.
	("*negdi2_cc", "*negdi2_cconly"): New insns.
	("*negdi2_sign", "*negdi2_sign_cc"): Likewise.
	("*negsi2_cc", "*negsi2_cconly"): Likewise.
	("*negdf2_cc", "*negdf2_cconly"): Likewise.
	("*negsf2_cc", "*negsf2_cconly"): Likewise.
	("*absdi2_cc", "*absdi2_cconly"): New insns.
	("*absdi2_sign", "*absdi2_sign_cc"): Likewise.
	("*abssi2_cc", "*abssi2_cconly"): Likewise.
	("*absdf2_cc", "*absdf2_cconly"): Likewise.
	("*abssf2_cc", "*abssf2_cconly"): Likewise.
	("*negabsdi2_cc", "*negabsdi2_cconly"): New insns.
	("*negabsdi2_sign", "*negabsdi2_sign_cc"): Likewise.
	("*negabssi2_cc", "*negabssi2_cconly"): Likewise.
	("*negabsdf2_cc", "*negabsdf2_cconly"): Likewise.
	("*negabssf2_cc", "*negabssf2_cconly"): Likewise.
From-SVN: r90347
Ulrich Weigand [Tue, 9 Nov 2004 15:47:48 +0000 (15:47 +0000)]
 
s390.c (s390_canonicalize_comparison): Reverse condition when eliminating an UNSPEC_CMPINT.
	* config/s390/s390.c (s390_canonicalize_comparison): Reverse condition
	when eliminating an UNSPEC_CMPINT.
	(s390_secondary_input_reload_class): Fix test for CC register reload.
	(s390_secondary_output_reload_class): Likewise.
	(s390_expand_cmpmem): Swap operands.  Use gen_cmpint.
	* config/s390/s390.md ("*cmpint_si", "*cmpint_di"): Remove.
	("cmpint", "*cmpint_cc", "*cmpint_sign", "*cmpint_sign_cc"): New
	insn patterns with splitters.
From-SVN: r90346
David Edelsohn [Tue, 9 Nov 2004 15:27:23 +0000 (15:27 +0000)]
 
rs6000.c (rs6000_rtx_costs): Add EQ, GTU, and LTU.
	* config/rs6000/rs6000.c (rs6000_rtx_costs): Add EQ, GTU, and LTU.
	* config/rs6000/rs6000.md (sCC): Split GTU and LTU patterns.
From-SVN: r90345
Kazu Hirata [Tue, 9 Nov 2004 14:59:49 +0000 (14:59 +0000)]
 
tree-phinodes.c (phi_reverse): New.
	* tree-phinodes.c (phi_reverse): New.
	* tree-cfg.c (tree_make_forwarder_block, tree_duplicate_bb):
	Use it.
	* tree-flow.h: Add a prototype for phi_reverse.
From-SVN: r90344
Andrew Pinski [Tue, 9 Nov 2004 14:33:32 +0000 (14:33 +0000)]
 
re PR java/15576 (Class initialization optimization is disabled)
2004-11-09  Andrew Pinski  <pinskia@physics.uc.edu>
        PR java/15576
        * check-init.c (check_init): Ignore DECL_EXPR.
        * expr.c (always_initialize_class_p): Reenable.
        (build_class_init): Use a variable to store the decl.  Also use
        boolean_false_node instead of integer_zero_node.
        * parse.y (attach_init_test_initialization_flags): Add a decl_expr
        to the block.
From-SVN: r90343
Kazu Hirata [Tue, 9 Nov 2004 14:11:03 +0000 (14:11 +0000)]
 
* tree-ssa-loop-ivopts.c: Fix a comment typo.
From-SVN: r90342
Paolo Carlini [Tue, 9 Nov 2004 12:49:20 +0000 (12:49 +0000)]
 
locale_facets.tcc (time_get<>::do_get_weekday, [...]): Absolutely avoid dereferencing end iterators.
2004-11-09  Paolo Carlini  <pcarlini@suse.de>
	* include/bits/locale_facets.tcc (time_get<>::do_get_weekday,
	time_get<>::do_get_monthname): Absolutely avoid dereferencing
	end iterators.
	* include/bits/locale_facets.tcc (time_get<>::_M_extract_name):
	Minor tweak.
From-SVN: r90341
James A. Morrison [Tue, 9 Nov 2004 12:35:15 +0000 (12:35 +0000)]
 
re PR pch/14940 (PCH largefile test fails on various platforms)
2004-11-07  James A. Morrison  <phython@gcc.gnu.org>
       PR pch/14940
       * config/host-linux.c (TRY_EMPTY_VM_SPACE): Add __sparc__
       definitions.
From-SVN: r90340
Joseph Myers [Tue, 9 Nov 2004 10:27:09 +0000 (10:27 +0000)]
 
* gcc.pot: Regenerate.
From-SVN: r90339
Joseph Myers [Tue, 9 Nov 2004 10:20:12 +0000 (10:20 +0000)]
 
builtins.c, [...]: Say "argument" instead of "arg" in diagnostics.
	* builtins.c, c-common.c, c-decl.c, c-format.c: Say "argument"
	instead of "arg" in diagnostics.
testsuite:
	* gcc.dg/builtin-prefetch-1.c: Update expected diagnostic.
From-SVN: r90338
Joseph Myers [Tue, 9 Nov 2004 10:13:30 +0000 (10:13 +0000)]
 
builtins.c, [...]: Avoid "`" as left quote, using "'" or %q, %< and %> as appropriate.
	* builtins.c, c-common.c, c-decl.c, c-format.c, c-format.h,
	c-parse.in, c-pch.c, c-pragma.c, collect2.c, final.c, gcc.c,
	gcov.c, opts.c, pretty-print.h, protoize.c, reg-stack.c, rtl.c,
	tlink.c, config/alpha/alpha.c, config/arc/arc.c, config/arm/arm.c,
	config/avr/avr.c, config/c4x/c4x.c, config/darwin.c,
	config/frv/frv.c, config/h8300/h8300.c, config/i386/i386.c,
	config/i386/winnt.c, config/ia64/ia64.c, config/ip2k/ip2k.c,
	config/iq2000/iq2000.c, config/m32r/m32r.c,
	config/m68hc11/m68hc11.c, config/m68k/m68k.c, config/m68k/m68k.h,
	config/mcore/mcore.c, config/mips/mips.c, config/mmix/mmix.c,
	config/ns32k/ns32k.c, config/rs6000/host-darwin.c,
	config/rs6000/rs6000.c, config/s390/s390.c, config/sh/sh.c,
	config/sh/symbian.c, config/stormy16/stormy16.c,
	config/v850/v850.c: Avoid "`" as left quote, using "'" or %q, %<
	and %> as appropriate.  Use %' as apostrophe in diagnostics where
	applicable.  Use %< and %> in place of '' quotes where applicable.
	Use %qs in place of %<%s%>.  Consistently quote __builtin function
	names.
ada:
	* misc.c (gnat_handle_option): Use %< and %> for quoting in
	warning message.
cp:
	* call.c, class.c, decl.c, decl2.c, error.c, mangle.c, parser.c,
	pt.c, search.c, semantics.c, typeck.c: Use %q, %< and %> for
	quoting in diagnostics.
	* parser.c (cp_parser_sizeof_operand): Use '' instead of `' for
	quoting in printf format.
	* decl.c (duplicate_decls, start_decl): Use %qD instead of
	unquoted %D.
objc:
	* objc-act.c: Use %q, %< and %> for quoting in diagnostics.
testsuite:
	* gcc.dg/builtin-prefetch-1.c: Adjust expected messages.
From-SVN: r90337
Hans-Peter Nilsson [Tue, 9 Nov 2004 09:36:05 +0000 (09:36 +0000)]
 
* gdbinit.in (pbb, pbm): New macros.
From-SVN: r90336
Jeff Law [Tue, 9 Nov 2004 04:21:49 +0000 (21:21 -0700)]
 
cfg.c (redirect_edge_succ_nodup): Use find_edge rather than implementing it inline.
        * cfg.c (redirect_edge_succ_nodup): Use find_edge rather than
        implementing it inline.
        * cfganal.c (find_edge): Search pred->succs or succ->preds,
        whichever is shorter.
From-SVN: r90333