Commit Graph

63530 Commits

Author SHA1 Message Date
Andrew Pinski
690e11b8f5 re PR testsuite/14264 (testsuite should set LC_ALL/LANG to C)
2004-11-12  Andrew Pinski  <pinskia@physics.uc.edu>

        PR other/14264
        * lib/g++.exp: Set LC_ALL and LANG to C.
        * lib/gcc-dg.exp: Likewise.
        * lib/gfortran.exp: Likewise.
        * lib/objc.exp: Likewise.
        * lib/treelang.exp: Likewise.
2004-11-12  Andrew Pinski  <pinskia@physics.uc.edu>

        PR other/14264
        * testsuite/lib/libstdc++.exp: Set LC_ALL and LANG to C.
2004-11-12  Andrew Pinski  <pinskia@physics.uc.edu>

        PR other/14264
        * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.

From-SVN: r90539
2004-11-12 11:43:57 -08:00
Casey Marshall
2941ddc40c FileLock.java (isValid): locks are valid if the channel is open.
2004-11-11  Casey Marshall  <csm@gnu.org>

	* gnu/java/nio/FileLock.java (isValid): locks are valid if the
	channel is open.
	* gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
	'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.

From-SVN: r90538
2004-11-12 19:15:27 +00:00
Geoffrey Keating
556f03c4f0 re PR other/18423 (powerpc-eabisim build broken due to configure skipping fixincludes)
PR 18423
	* configure.in: Remove all instances of build-fixincludes from
	noconfigdirs.
	(build_configargs): Supply --target to subdirectories.
	* configure: Regenerate.

From-SVN: r90537
2004-11-12 19:15:22 +00:00
Geoffrey Keating
848556c2b1 Makefile.def: Make gcc install depend on fixincludes install.
* Makefile.def: Make gcc install depend on fixincludes install.
	* Makefile.in: Regenerate.

From-SVN: r90536
2004-11-12 19:10:29 +00:00
Geoffrey Keating
9af12c1b79 Makefile.in (macro_list): Use move-if-change to avoid spurious rebuilds.
* Makefile.in (macro_list): Use move-if-change to avoid spurious
	rebuilds.

From-SVN: r90535
2004-11-12 19:07:54 +00:00
Andreas Schwab
e260ea9df0 * gcc.dg/pr16286.c: Fix last change.
From-SVN: r90533
2004-11-12 17:09:10 +00:00
Mark Mitchell
0a2695dba7 re PR c++/18416 (ICE in import_export_decl)
PR c++/18416
	* passes.c (rest_of_decl_compilation): Do not look at DECL_RTL
	when deciding whether to pass a variable to
	cgraph_varpool_finalize_decl or assemble_variable.
	* toplev.c (check_global_declarations): Do not clear DECL_RTL.

	PR c++/18416
	* g++.dg/init/global1.C: New test.

From-SVN: r90532
2004-11-12 16:37:52 +00:00
Kazu Hirata
896b242cc5 * tree-vectorizer.c: Fix a comment typo.
From-SVN: r90531
2004-11-12 15:15:50 +00:00
Bernd Schmidt
3d35950b39 * genconfig.c (walk_insn_part): Look at match_dups inside a label_ref.
From-SVN: r90530
2004-11-12 14:09:26 +00:00
James A. Morrison
f11edb4a09 Fix ChangeLog Entry for 2004-11-10 James A. Morrison <phython@gcc.gnu.org>
From-SVN: r90529
2004-11-12 13:50:33 +00:00
Diego Novillo
85022b3f54 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
2004-11-12 08:28:16 -05:00
Robert Schuster
5fd4020042 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
2004-11-12 13:17:42 +00:00
Ralf Corsepius
0e03665c19 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
2004-11-12 11:14:36 +01:00
Eric Botcazou
805221b926 * gcc.c-torture/execute/20041112-1.c: New test.
From-SVN: r90522
2004-11-12 09:03:03 +00:00
Eric Botcazou
f58c00e3f1 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
2004-11-12 06:59:47 +00:00
Richard Henderson
765d98c70c 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
2004-11-11 18:24:51 -08:00
Janis Johnson
c9dd202380 * lib/gcc-dg.exp (dg-target-list): New.
From-SVN: r90516
2004-11-12 01:13:02 +00:00
Janis Johnson
b6dc500c52 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
2004-11-12 01:11:01 +00:00
GCC Administrator
49a94e56d8 Daily bump.
From-SVN: r90513
2004-11-12 00:16:11 +00:00
Sebastian Pop
9ba64a4a38 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
2004-11-12 00:13:06 +00:00
Steven Bosscher
f41f5287c2 When will I remember to add a PR number...
From-SVN: r90509
2004-11-12 00:10:11 +00:00
Steven Bosscher
d0ce8e4c97 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
2004-11-12 00:08:41 +00:00
Kazu Hirata
903676f62f 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
2004-11-11 23:15:52 +00:00
Kazu Hirata
4dd9b0448f 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
2004-11-11 23:14:21 +00:00
Kazu Hirata
4e2fb7de2d 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
2004-11-11 23:13:12 +00:00
Kazu Hirata
25a6c68bca 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
2004-11-11 23:11:39 +00:00
Kazu Hirata
a5d3e50dcd 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
2004-11-11 23:10:10 +00:00
Kazu Hirata
04e2b4d390 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
2004-11-11 23:08:56 +00:00
Kazu Hirata
5060342a14 Fix a ChangeLog typo in the last commit.
From-SVN: r90498
2004-11-11 22:05:06 +00:00
Kazu Hirata
526c334b94 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
2004-11-11 22:02:47 +00:00
James E Wilson
2f71a82e66 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
2004-11-11 13:20:22 -08:00
Joseph Myers
fb60d5d766 * gcc.dg/precedence-1.c: New test.
From-SVN: r90493
2004-11-11 20:36:26 +00:00
Zdenek Dvorak
f8e9d51205 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
2004-11-11 20:12:34 +00:00
Sebastian Pop
e0afb98af7 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
2004-11-11 19:25:58 +00:00
Janis Johnson
46d1d0daec * gcc.misc-tests/linkage.exp: Handle biarch GCC for powerpc64.
From-SVN: r90488
2004-11-11 18:01:56 +00:00
Janis Johnson
af98075214 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
2004-11-11 18:00:30 +00:00
Janis Johnson
5278e47600 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
2004-11-11 17:59:05 +00:00
Janis Johnson
524136ea7b * lib/gcc-dg.exp (dg-xfail-if): Ignore if skipping the test.
From-SVN: r90485
2004-11-11 17:57:53 +00:00
Nathan Sidwell
e1e2e653d7 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
2004-11-11 17:03:36 +00:00
Dorit Naishlos
00803cd56f 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
2004-11-11 16:56:54 +00:00
Kazu Hirata
286d28c32f * config/arm/arm.c: Fix a comment typo.
From-SVN: r90479
2004-11-11 14:52:54 +00:00
Nathan Sidwell
65a6f34265 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
2004-11-11 10:36:27 +00:00
Jakub Jelinek
af2a91bdce Remove CVS conflict marking.
From-SVN: r90477
2004-11-11 10:48:15 +01:00
Nathan Sidwell
2f4d950242 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
2004-11-11 08:49:17 +00:00
Nathan Sidwell
60934f9cf4 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
2004-11-11 08:40:43 +00:00
Peter S. Mazinger
dc3160863a 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
2004-11-11 03:18:02 +00:00
Andrew Pinski
8ef36086c6 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
2004-11-10 19:13:03 -08:00
Paul Brook
cfa01aaba5 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
2004-11-11 01:24:07 +00:00
GCC Administrator
ed50f1785b Daily bump.
From-SVN: r90462
2004-11-11 00:16:33 +00:00
Joseph Myers
3f8882a200 * objc.dg/desig-init-2.m: New test.
From-SVN: r90459
2004-11-10 22:44:24 +00:00