rsandifo [Thu, 7 Apr 2005 21:44:58 +0000 (21:44 +0000)]
* config/vax/vax.h (target_flags, MASK_UNIX_ASM, MASK_VAXC_ALIGNMENT)
(MASK_G_FLOAT, TARGET_UNIX_ASM, TARGET_VAXC_ALIGNMENT, TARGET_G_FLOAT)
(TARGET_SWITCHES): Delete.
* config/vax/vax.c (TARGET_DEFAULT_TARGET_FLAGS): Override default.
* config/vax/vax.opt: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97805
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Thu, 7 Apr 2005 21:06:27 +0000 (21:06 +0000)]
2005-04-07 Andrew Pinski <pinskia@physics.uc.edu>
PR libfortran/20766
* configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to
"-Wl,-single_module".
* configure: Regenerate.
* Makefile.am (libgfortran_la_LDFLAGS): Add extra_ldflags_libgfortran.
* Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97804
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Thu, 7 Apr 2005 19:12:53 +0000 (19:12 +0000)]
* class.c (push_class): By default, suppress debug output.
(finish_class): Enable debug output for classes we're emitting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97797
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Thu, 7 Apr 2005 19:07:41 +0000 (19:07 +0000)]
* Makefile.in: Add make ifeq define for hppa linux tasking support.
* system-hpux.ads: Define Signed_Zeros to be True.
* system-linux-hppa.ads, s-osinte-linux-hppa.ads: New files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97796
138bc75d-0d04-0410-961f-
82ee72b054a4
kargl [Thu, 7 Apr 2005 18:59:56 +0000 (18:59 +0000)]
* gfortran.dg/tiny_1.f90: New test.
* gfortran.dg/tiny_2.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97795
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Thu, 7 Apr 2005 18:38:03 +0000 (18:38 +0000)]
2005-04-07 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-dse.c (dse_optimize_stmt): Fix incorrect comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97793
138bc75d-0d04-0410-961f-
82ee72b054a4
kargl [Thu, 7 Apr 2005 18:26:37 +0000 (18:26 +0000)]
simplify.c (gfc_simplify_exponent): Fix exponent(tiny(x))
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97792
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Thu, 7 Apr 2005 18:04:43 +0000 (18:04 +0000)]
* config/iq2000/iq2000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Don't
define.
* config/mips/mips.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Likewise.
* config/sparc/sparc.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE):
Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97790
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 7 Apr 2005 16:31:07 +0000 (16:31 +0000)]
* tree-ssa-sink.c (nearest_common_dominator_of_uses): Consider
all immediate uses in PHI nodes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97788
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Thu, 7 Apr 2005 15:48:02 +0000 (15:48 +0000)]
2005-04-07 Andrew Haley <aph@redhat.com>
* gcj.texi: Correct gcj-dbtool instructions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97787
138bc75d-0d04-0410-961f-
82ee72b054a4
tkoenig [Thu, 7 Apr 2005 15:11:59 +0000 (15:11 +0000)]
2005-04-07 Thomas Koenig <Thomas.Koenig@online.de>
* gfortran.dg/eor_1.f90: Fix dg-do run line
* gfortran.dg/open_new.f90: Fix dg-do run line
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97784
138bc75d-0d04-0410-961f-
82ee72b054a4
tkoenig [Thu, 7 Apr 2005 14:55:40 +0000 (14:55 +0000)]
2005-04-04 Thomas Koenig <Thomas.Koenig@online.de>
* MAINTAINERS (Write After Approval): Add myself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97782
138bc75d-0d04-0410-961f-
82ee72b054a4
tkoenig [Thu, 7 Apr 2005 14:34:16 +0000 (14:34 +0000)]
2005-05-07 Thomas Koenig <Thomas.Koenig@online.de>
* MAINTAINERS (Write After Approval): Add myself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97781
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Thu, 7 Apr 2005 11:43:25 +0000 (11:43 +0000)]
* MAINTAINERS (Port Maintainers): Add self for Blackfin.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97779
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Thu, 7 Apr 2005 11:24:11 +0000 (11:24 +0000)]
* arm.c (arm_const_double_inline_cost): Handle any constant by
using gen_lowpart and gen_highpart_mode.
(note_invalid_constants): All constants in an RTX with a constraint
that permits memory are now pushed to the constant pool.
(output_move_double): Delete code to handle reg to reg and
constant to reg moves.
(const_double_needs_minipool, output_mov_immediate): Delete.
* arm.h (EXTRA_CONSTRAINT_STR_ARM): All 'D' variants now handle
CONST_INT and CONST_VECTOR.
* arm.md (ANY64): New mode macro.
(arm_movdi): Split reg-reg and const-reg moves. Simplify constraints.
(movdf_soft_insn): Split reg-reg and const-reg moves.
(split patterns for 64-bit constant and register moves): New.
* cirrus.md (cirrus_arm_movdi): Split reg-reg and const-reg moves.
(cirrus_movdf_hard_insn): Likewise.
* fpa.md (movdf_fpa): Likewise.
* iwmmxt.md (iwmmxt_arm_movdi): Likewise.
(movv8qi_internal, movv4hi_internal, movv2si_internal): Fix
constraints.
(movv2si_internal_2): Likewise.
* vfp.md (arm_movdi_vfp): Split reg-reg and const-reg moves.
(movdf_vfp): Likewise.
* arm-protos.h (output_mov_immediate): Delete prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97778
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 7 Apr 2005 08:21:31 +0000 (08:21 +0000)]
PR target/20093
* simplify-rtx.c (simplify_unary_operation_1): Check
SUBREG_PROMOTED_UNSIGNED_P (op) > 0 for zero-extension.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97775
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 7 Apr 2005 04:24:53 +0000 (04:24 +0000)]
Fix numerous IA-64 C++ failures, IA-64 bootstrap trouble.
PR target/20717
* cgraphunit.c (record_call_1, case FDESC_EXPR): Handle same as
ADDR_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97773
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 7 Apr 2005 04:16:26 +0000 (04:16 +0000)]
2005-04-06 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/test.html: Update.
* testsuite/printnow.c: Remove.
* scripts/check_survey.in: Remove.
* testsuite/abi_check.cc: To...
* testuite/testsuite_abi_check.cc: ...here.
* testsuite/libstdc++-abi/abi.exp: Change abi_check.cc to
testsuite_abi_check.cc.
* testsuite/testsuite_hooks.h: Move character related bits to...
* testsuite/testsuite_character.h: ...here.
* testsuite/testsuite_character.cc: ... and here.
* testsuite/21_strings/basic_string/inserters_extractors/pod/
10081-in.cc: Use testsuite_character.h.
* testsuite/21_strings/basic_string/inserters_extractors/pod/
10081-out.cc: Same.
* testsuite/22_locale/numpunct/members/pod/1.cc: Same.
* testsuite/22_locale/numpunct/members/pod/2.cc: Same.
* testsuite/27_io/basic_filebuf/2.cc: Same.
* testsuite/27_io/basic_fstream/2.cc: Same.
* testsuite/27_io/basic_istream/2.cc: Same.
* testsuite/27_io/basic_istream/extractors_arithmetic/pod/
3983-1.cc: Same.
* testsuite/27_io/basic_istream/extractors_character/char/
9826.cc: Same.
* testsuite/27_io/basic_istream/extractors_character/pod/
3983-2.cc: Same.
* testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
* testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
* testsuite/27_io/basic_ostream/2.cc: Same.
* testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
* testsuite/27_io/basic_streambuf/2.cc: Same.
* testsuite/27_io/basic_stringbuf/2.cc: Same.
* testsuite/27_io/basic_stringbuf/4.cc: Same.
* testsuite/27_io/basic_stringstream/2.cc: Same.
* testsuite/27_io/fpos/1.cc: Same.
* testsuite/ext/mt_allocator/tune-1.cc: Same.
* testsuite/ext/mt_allocator/tune-2.cc: Same.
* testsuite/ext/stdio_filebuf/char/1.cc: Same.
* testsuite/lib/libstdc++.exp (v3-build_support): Add
testsuite_character.cc.
* testsuite/Makefile.am (libv3test_a_SOURCES): Add
testsuite_character.cc.
* testsuite/Makefile.in: Regenerate.
* configure.ac: Remove use of check_survey.
* configure: Regenerate.
* testsuite/Makefile.am: Remove check-script and
check-script-install rules.
* testsuite/Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97772
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 7 Apr 2005 00:16:32 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97770
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Wed, 6 Apr 2005 23:29:07 +0000 (23:29 +0000)]
* gcc.dg/
20050321-2.c: Restrict to target fpic.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97765
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Wed, 6 Apr 2005 23:27:11 +0000 (23:27 +0000)]
* lib/target-supports.exp (get_compiler_messages): Support
optional arguments, the fourth being compiler options.
(check_effective_target_fpic): New proc.
* gcc.dg/
20050321-2.c: Restrict to target fpic.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97763
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 6 Apr 2005 22:50:29 +0000 (22:50 +0000)]
* coverage.h (GCOV_TYPE_NODE): Delete.
* coverage.c (coverage_counter_alloc, tree_coverage_counter_ref)
(build_ctr_info_type): Use get_gcov_type () instead of GCOV_TYPE_NODE.
* tree-profile.c (tree_gen_edge_profiler, tree_gen_interval_profiler)
(tree_gen_pow2_profiler, tree_gen_one_value_profiler): Likewise.
* value-prof.c (tree_divmod_fixed_value_transform): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97760
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 6 Apr 2005 22:42:28 +0000 (22:42 +0000)]
gcc/
PR other/20792
* Makefile.in (gcc.pot): Remove options.c dependency.
* optc-gen.awk: Don't quote help strings with N_().
gcc/po/
PR other/20792
* exgettext: Don't scan options.c. Scan .opt files for help strings.
* gcc.pot: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97759
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 6 Apr 2005 22:30:01 +0000 (22:30 +0000)]
2005-04-06 Andrew Haley <aph@redhat.com>
* testsuite/libjava.lang/bytearray.java: New file.
* testsuite/libjava.lang/bytearray.out: New file.
* java/lang/ClassLoader.java (loadClassFromSig): Declare
(loadClass): Use it.
* java/lang/natClassLoader.cc (loadClassFromSig): New method.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97756
138bc75d-0d04-0410-961f-
82ee72b054a4
phython [Wed, 6 Apr 2005 21:22:02 +0000 (21:22 +0000)]
2005-04-06 James A. Morrison <phython@gcc.gnu.org>
* c-common.c (handle_malloc_atttribute): Only set DECL_IS_MALLOC if
the function returns a pointer type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97751
138bc75d-0d04-0410-961f-
82ee72b054a4
kargl [Wed, 6 Apr 2005 21:11:48 +0000 (21:11 +0000)]
Remove documentation of the nonexistent -std=f90 option.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97749
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 6 Apr 2005 20:27:38 +0000 (20:27 +0000)]
2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
* Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
gcj-dbtool dependency
* Makefile.in: Regenerated
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97747
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Wed, 6 Apr 2005 20:03:15 +0000 (20:03 +0000)]
2005-04-06 Daniel Berlin <dberlin@dberlin.org>
* params.def (PARAM_SALIAS_MAX_IMPLICIT_FIELDS): New
* params.h (SALIAS_MAX_IMPLICIT_FIELDS): New
* doc/invoke.texi: Documnet salias-max-implicit-fields.
* tree-ssa-alias.c (struct used_part): Add implicit_uses and
explicit_uses members.
(get_or_create_used_part_for): Initialize new fields.
(fieldoff_compare): New function.
(create_overlap_variables_for): Count number of fields, use
heuristic to determine whether to create subvars for vars with
only implicit uses.
Sort the field list by offset and avoid creating duplicate SFT's.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97746
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 6 Apr 2005 18:37:24 +0000 (18:37 +0000)]
* c.opt (-F): Remove trailing whitespace from help string.
(-finput-charset): Use a tab to separate the switch name and help
string.
* common.opt (-fsched-stalled-insns, -fsched-stalled-insns-dep)
(-ftree-vectorizer-verbose): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97742
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Wed, 6 Apr 2005 18:03:09 +0000 (18:03 +0000)]
fortran/
* expr.c (gfc_check_assign): Don't allow NULL as rhs in a
non-pointer assignment.
testsuite/
* gfortran.dg/pr15754.f90: Change annotations to dg-error.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97740
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Wed, 6 Apr 2005 17:42:23 +0000 (17:42 +0000)]
2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
* java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash
on NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97739
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 6 Apr 2005 17:41:11 +0000 (17:41 +0000)]
* tree-ssa-sink.c (nearest_common_dominator_of_uses): Look at
a PHI argument where a use occurs instead of all PHI arguments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97738
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Wed, 6 Apr 2005 17:41:05 +0000 (17:41 +0000)]
2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
* java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97737
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Wed, 6 Apr 2005 17:17:38 +0000 (17:17 +0000)]
* c-decl.c (finish_decl): Apply pending #pragma weak regardless of
scope.
cp:
* decl.c (start_decl): Apply pending #pragma weak regardless of
scope.
testsuite:
* gcc.dg/weak/weak-12.c, g++.dg/ext/weak2.C: New tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97733
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Wed, 6 Apr 2005 17:07:08 +0000 (17:07 +0000)]
* gcc.dg/i386-387-7.c, gcc.dg/i386-3dnowA-1.c,
gcc.dg/i386-3dnowA-2.c, gcc.dg/pr12092-1.c: Skip x86 tests for
-m64.
* gcc.dg/loop-3.c, gcc.dg/short-compare-1.c,
gcc.dg/short-compare-2.c, gcc.dg/smod-1.c,
gcc.dg/torture/badshift.c: Don't give 32-bit options for x86 -m64.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97731
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 6 Apr 2005 17:05:08 +0000 (17:05 +0000)]
* cse.c, tree-flow-inline.h, tree-flow.h, tree-ssa-operands.c,
tree-ssa-sink.c, tree.h, config/bfin/bfin.c,
config/bfin/bfin.h: Fix comment typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97730
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Wed, 6 Apr 2005 16:54:26 +0000 (16:54 +0000)]
* config/cpu/s390/atomicity.h (__exchange_and_add): Add "memory"
clobber to inline assembly statement.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97728
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 6 Apr 2005 15:55:00 +0000 (15:55 +0000)]
PR c++/20212
* pt.c (regenerate_decl_from_template): Copy attributes for
parameters from the pattern to the instantiation.
PR c++/20212
* g++.dg/warn/Wunused-11.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97726
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 6 Apr 2005 15:40:05 +0000 (15:40 +0000)]
Add missing ChangeLog entry
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97723
138bc75d-0d04-0410-961f-
82ee72b054a4
rmathew [Wed, 6 Apr 2005 15:36:07 +0000 (15:36 +0000)]
* doc/install.texi: Update the URL for Jacks.
* doc/sourcebuild.texi: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97722
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Wed, 6 Apr 2005 15:06:04 +0000 (15:06 +0000)]
2005-04-05 Andrew Haley <aph@redhat.com>
* gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
(Tokenizer): New class.
(getFiles): New method.
(main): Add "-" argument.
Add "-0" argument.
Read list of files from stdin when merging map databases.
(usage): Add "-" argument.
Add "-0" argument.
Minor corrections.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97719
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Wed, 6 Apr 2005 11:53:53 +0000 (11:53 +0000)]
PR target/17245
* config/sparc/sparc.c (legitimate_address_p): Remove 'imm2'.
Revert 2004-10-08 patch. Reject TFmode LO_SUM in 32-bit mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97713
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Wed, 6 Apr 2005 11:42:59 +0000 (11:42 +0000)]
Revert -pipe change from last night.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97712
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Wed, 6 Apr 2005 10:07:18 +0000 (10:07 +0000)]
* gcc.c-torture/execute/
20020720-1.x: Disable on bfin*-*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97711
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 6 Apr 2005 09:40:41 +0000 (09:40 +0000)]
* config/v850/v850-protos.h (override_options): Delete.
* config/v850/v850.h (target_flags, MASK_GHS, MASK_LONG_CALLS, MASK_EP)
(MASK_PROLOG_FUNCTION, MASK_DEBUG, MASK_V850, MASK_V850E)
(MASK_SMALL_SLD, MASK_BIG_SWITCH, MASK_NO_APP_REGS, MASK_DISABLE_CALLT)
(MASK_STRICT_ALIGN, MASK_US_BIT_SET, MASK_US_MASK_SET, TARGET_GHS)
(TARGET_LONG_CALLS, TARGET_EP, TARGET_PROLOG_FUNCTION, TARGET_V850)
(TARGET_BIG_SWITCH, TARGET_DEBUG, TARGET_V850E, TARGET_US_BIT_SET)
(TARGET_SMALL_SLD, TARGET_DISABLE_CALLT, TARGET_NO_APP_REGS)
(TARGET_STRICT_ALIGN, TARGET_SWITCHES, TARGET_OPTIONS)
(OVERRIDE_OPTIONS): Delete.
(MASK_CPU): Redefine as MASK_V850 | MASK_V850E.
(small_memory_info): Remove the value field.
(CONDITIONAL_REGISTER_USAGE): Check !TARGET_APP_REGS rather than
TARGET_NO_APP_REGS.
* config/v850/v850.c (small_memory): Remove the value field.
(TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION): Override defaults.
(override_options): Delete.
(v850_handle_memory_option, v850_handle_option): New functions.
* config/v850/v850.opt: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97710
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Wed, 6 Apr 2005 08:41:37 +0000 (08:41 +0000)]
* config.host: Add a section for generic hosts, and a subsection
for Darwin. Add a case for x86-darwin. Update ppc-darwin case.
* config/host-darwin.c: New, split out of config/rs6000/host-darwin.c.
* config/host-darwin.h: New.
* config/x-darwin: New.
* config/i386/host-i386-darwin.c: New.
* config/i386/x-darwin: New.
* config/rs6000/host-darwin.c: Include host-darwin.h.
(darwin_rs6000_gt_pch_get_address): Move to config/host-darwin.c.
(darwin_rs6000_gt_pch_use_address): Likewise.
* config/rs6000/x-darwin: Change name of .o built, update
dependencies for changes to rs6000/host-darwin.c.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97709
138bc75d-0d04-0410-961f-
82ee72b054a4
corsepiu [Wed, 6 Apr 2005 08:10:53 +0000 (08:10 +0000)]
2005-04-06 Ralf Corsepius <ralf.corsepius@rtems.org>
PR target/17824
* config/c4x/c4x.h (ASM_PROG, LD_PROG): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97708
138bc75d-0d04-0410-961f-
82ee72b054a4
dorit [Wed, 6 Apr 2005 08:05:45 +0000 (08:05 +0000)]
* gfortran.dg/vect/vect-5.f90: xfail for lp64.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97705
138bc75d-0d04-0410-961f-
82ee72b054a4
dorit [Wed, 6 Apr 2005 07:59:01 +0000 (07:59 +0000)]
* tree-vect-analyze.c (vect_analyze_loop_form): Call
split_loop_exit_edge instead of loop_split_edge_with.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97702
138bc75d-0d04-0410-961f-
82ee72b054a4
fengwang [Wed, 6 Apr 2005 07:56:14 +0000 (07:56 +0000)]
Add ChangeLog.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97701
138bc75d-0d04-0410-961f-
82ee72b054a4
bonzini [Wed, 6 Apr 2005 06:22:51 +0000 (06:22 +0000)]
2005-04-06 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (BUILD_CONFIGARGS): Include --with-build-subdir.
(TARGET_CONFIGARGS): Include --with-target-subdir.
(configure, all): New macros. Use them throughout.
* Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97700
138bc75d-0d04-0410-961f-
82ee72b054a4
bonzini [Wed, 6 Apr 2005 06:18:54 +0000 (06:18 +0000)]
2005-04-06 Paolo Bonzini <bonzini@gnu.org>
* config/rs6000/altivec.md (UNSPEC_VSLW, UNSPEC_SUBS,
UNSPEC_SET_VSCR): New constants, used throughout.
(*andc3_v4sf): New.
(altivec_vspltisb, altivec_vsplitish, altivec_vsplitisw):
Replace with...
(altivec_vspltis<VI_char>): ... this pattern, using
a QImode const_int_operand for the immediate.
(abs<mode>2, absv4sf2, altivec_abss_<mode>): Rewrite as
define_expands.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97699
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 6 Apr 2005 05:38:34 +0000 (05:38 +0000)]
PR c++/20734
* cp-tree.def (OFFSET_REF): Correct comments.
* init.c (build_offset_ref): Remove misleading comment.
* typeck.c (build_unary_op): Handle pointer-to-member creation
here, rather than ...
(unary_complex_lvalue): ... here.
PR c++/20734
* g++.dg/template/ptrmem13.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97696
138bc75d-0d04-0410-961f-
82ee72b054a4
corsepiu [Wed, 6 Apr 2005 05:34:30 +0000 (05:34 +0000)]
2005-04-06 Ralf Corsepius <ralf.corsepius@rtems.org>
PR target/17822
* config/avr/t-avr (AR_FOR_TARGET,RANLIB_FOR_TARGET): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97694
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 6 Apr 2005 04:57:39 +0000 (04:57 +0000)]
PR c++/19312
* tree.c (stabilize_init): Don't bother trying to stabilize
something with no side-effects.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97691
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Wed, 6 Apr 2005 01:40:06 +0000 (01:40 +0000)]
2005-04-06 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in (LIBGCC2_CFLAGS): Compile with -pipe.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97686
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Wed, 6 Apr 2005 01:32:03 +0000 (01:32 +0000)]
2005-04-06 Kelley Cook <kcook@gcc.gnu.org>
* acinclude.m4 (_GLIBCXX_USE_LONG_LONG,
_GLIBCXX_USE_WCHAR_T, _GLIBCXX_USE_C99, _GLIBCXX_USE_C99_MATH,
_GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_RES_LIMITS, _GLIBCXX_CONCEPT_CHECKS,
_GLIBCXX_SYMVER, _GLIBCXX_USE_LFS, _GLIBCXX_FULLY_DYNAMIC_STRING,
_GLIBCXX_USE_NLS, HAVE_GTHR_DEFAULT, HAVE_MBSTATE_T, HAVE_POLL,
HAVE_S_ISREG, HAVE_S_IFREG, HAVE_WRITEV, HAVE_INT64_T,
HAVE_LC_MESSAGES): Use long form of AC_DEFINE ...
* acconfig.h: ... to eliminate them from here.
(_GLIBCXX_ASM_SYMVER): Move definition below @BOTTOM@.
* config.h.in, configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97685
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 6 Apr 2005 00:17:10 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97681
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Wed, 6 Apr 2005 00:11:59 +0000 (00:11 +0000)]
* gcc.c: Correct comment about DEFAULT_SWITCH_TAKES_ARG and
DEFAULT_WORD_SWITCH_TAKES_ARG which incorrectly reported these
macros as living in "this file" and not gcc.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97678
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Wed, 6 Apr 2005 00:05:51 +0000 (00:05 +0000)]
2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.am (ACLOCAL_AMFLAGS): Define.
* crossconfig.m4: Wrap file into new GLIBCXX_CROSSCONFIG macro.
* configure.ac: Use it.
* acinclude.m4: Delete explicit m4_includes and sincludes.
* aclocal.m4, configure, Makefile.in, po/Makefile.in,
src/Makefile.in, include/Makefile.in, libmath/Makefile.in,
testsuite/Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97677
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Wed, 6 Apr 2005 00:02:27 +0000 (00:02 +0000)]
* doc/invoke.texi (Optimize Options): Mention -ftree-lrs, not
-ftree-live_range_split. Perhaps renamed at some point?
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97676
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Tue, 5 Apr 2005 23:57:01 +0000 (23:57 +0000)]
PR target/20625
* tree-ssa-loop-ivopts.c (generic_type_for): New function.
(add_candidate_1): Use generic_type_for instead of unsigned_type_for.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97674
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Tue, 5 Apr 2005 23:52:41 +0000 (23:52 +0000)]
* tree-flow.h (number_of_iterations_cond): Declaration removed.
* tree-ssa-loop-niter.c (number_of_iterations_cond): Made static.
(number_of_iterations_special): New function.
(number_of_iterations_exit): Use number_of_iterations_special.
Use simplify_using_outer_evolutions only at -O3.
(number_of_iterations_cond, tree_simplify_using_condition,
simplify_using_initial_conditions, loop_niter_by_eval,
compare_trees, can_count_iv_in_wider_type_bound,
simplify_using_outer_evolutions): Use fold_build.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97673
138bc75d-0d04-0410-961f-
82ee72b054a4
fitzsim [Tue, 5 Apr 2005 23:46:09 +0000 (23:46 +0000)]
2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
* doc/install.texi (Configuration): Document --with-java-home.
2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
PR libgcj/20750
* Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
* Makefile.in: Regenerate.
* configure.ac: Add --with-java-home option.
* configure: Regenerate.
* external/Makefile.in: Regenerate.
* external/sax/Makefile.in: Regenerate.
* external/w3c_dom/Makefile.in: Regenerate.
* gcj/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.
* java/lang/natRuntime.cc (insertSystemProperties): Set java.home
to JAVA_HOME macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97671
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Tue, 5 Apr 2005 23:35:41 +0000 (23:35 +0000)]
* rw.po: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97668
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Tue, 5 Apr 2005 23:31:22 +0000 (23:31 +0000)]
* rw.po: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97666
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 5 Apr 2005 22:53:08 +0000 (22:53 +0000)]
PR target/20342
PR target/20447
* config/i386/i386.c (print_operand): Handle vector zeros.
(ix86_split_to_parts): Handle CONST_VECTOR.
(ix86_hard_regno_mode_ok): Allow MMX modes in general regs.
(ix86_modes_tieable_p): Use ix86_hard_regno_mode_ok to decide
what modes to tie for MMX and SSE registers.
* config/i386/i386.h (MMX_REG_MODE_P): Remove.
* config/i386/i386.md: Extend move 0 -> xor peephole to apply
to vector modes as well.
* config/i386/predicates.md (const0_operand): Handle VOIDmode
properly as an input mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97663
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Tue, 5 Apr 2005 22:50:44 +0000 (22:50 +0000)]
* lib/gcc.exp: Always add -fno-show-column, for now.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97662
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Tue, 5 Apr 2005 22:28:02 +0000 (22:28 +0000)]
2005-04-05 Andrew Pinski <pinskia@physics.uc.edu>
PR testsuite/20767
* gcc.dg/tree-ssa/ssa-pre-8.c (foo): Use __SIZE_TYPE__ instead
of plain old "unsigned int" for the type of "i". Makes this test
64bit clean.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97661
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 5 Apr 2005 22:26:26 +0000 (22:26 +0000)]
* jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
* java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
Rewrote to use _Jv_FindClassFromSignature.
* verify.cc (resolve): throw NoClassDefFoundError.
* link.cc (resolve_field): Throw NoClassDefFoundError.
(find_field): Likewise.
* prims.cc (_Jv_FindClassFromSignature): Removed recursion.
Handle error cases. Added 'endp' argument.
* include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97660
138bc75d-0d04-0410-961f-
82ee72b054a4
amacleod [Tue, 5 Apr 2005 22:23:11 +0000 (22:23 +0000)]
2005-04-05 Andrew MacLeod <amacleod@redhat.com>
* tree-ssa-operands.c (verify_abort): Use %p for pointers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97659
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 5 Apr 2005 21:11:49 +0000 (21:11 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
gtk_awt_peer_sources.
(lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
(lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
($(gtk_awt_peer_sources:.java=.lo)): Removed.
(gtk-awt-peer.lo): New target.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97656
138bc75d-0d04-0410-961f-
82ee72b054a4
amacleod [Tue, 5 Apr 2005 20:44:29 +0000 (20:44 +0000)]
2005-04-05 Andrew MacLeod <amacleod@redhat.com>
* tree-pretty-print.c (dump_generic_node): Use %p for pointer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97655
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 5 Apr 2005 20:20:42 +0000 (20:20 +0000)]
2005-04-05 Jakub Jelinek <jakub@redhat.com>
* config/i386/i386.c (init_cumulative_args): For -m32 -mfpmath=sse
and local functions, set sse_nregs to 8 and float_in_sse.
(function_arg_advance, function_arg): If float_in_sse, pass
SFmode and DFmode arguments in SSE registers.
* config/i386/i386.h (CUMULATIVE_ARGS): Add float_in_sse field.
* config/i386/i386.c (ix86_value_regno): Only optimize local functions
of -funit-at-a-time.
2005-04-05 Paolo Bonzini <bonzini@gnu.org>
* config/i386/i386-protos.h (ix86_function_value): Accept two
arguments, like the target macro.
* config/i386/i386.h (FUNCTION_VALUE): Pass both arguments.
* config/i386/i386.c (ix86_function_value): Accept the second
argument of the target macro.
(ix86_function_ok_for_sibcall): Pass a function pointer to
ix86_function_value.
(ix86_function_value, ix86_libcall_value) [!TARGET_64BIT]: Adjust
call to ix86_value_regno).
(ix86_value_regno): Add support for returning floating point values
in SSE registers.
2005-04-05 Paolo Bonzini <bonzini@gnu.org>
* gcc.dg/i386-ssefn-1.c: New test.
* gcc.dg/i386-ssefn-2.c: New test.
* gcc.dg/i386-ssefn-3.c: New test.
* gcc.dg/i386-ssefn-4.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97654
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 5 Apr 2005 20:10:13 +0000 (20:10 +0000)]
PR tree-optimization/20076
* tree-inline.c (inline_forbidden_p_1): Prevent inlining functions
that call __builtin_return or __builtin_apply_args.
* gcc.dg/builtin-apply4.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97653
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 5 Apr 2005 20:07:06 +0000 (20:07 +0000)]
PR preprocessor/19475
* macro.c (create_iso_definition): For < ISO C99, don't
pedwarn if there is no whitespace between macro name and its
replacement, but the replacement starts with a basic character
set character.
* gcc.dg/cpp/macspace1.c: New test.
* gcc.dg/cpp/macspace2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97652
138bc75d-0d04-0410-961f-
82ee72b054a4
fxcoudert [Tue, 5 Apr 2005 19:45:41 +0000 (19:45 +0000)]
* gfortran.dg/pr20755.f: Fixed bad format.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97650
138bc75d-0d04-0410-961f-
82ee72b054a4
amacleod [Tue, 5 Apr 2005 19:05:20 +0000 (19:05 +0000)]
2005-04-05 Andrew MacLeod <amacleod@redhat.com>
* lambda-code.c (lambda_loopnest_to_gcc_loopnest): Use update_stmt.
Use immediate use iterator.
(stmt_is_bumper_for_loop): Use immediate use iterator.
* predict.c (strip_builtin_expect): Use update_stmt.
* tree-cfg.c (update_modified_stmts): New. Call update_stmt_if_modified
on all elements of a STATEMENT_LIST.
(bsi_insert_before, bsi_insert_after): Call update_modified_stmts.
(bsi_remove): Remove imm_use links and mark the stmt as modified.
(bsi_replace): Mark stmt as modified and the update it.
* tree-complex.c (update_complex_assignment): Call mark_stmt_modified.
(expand_complex_libcal): Call update_stmt.
(expand_complex_comparison): Call mark_stmt_modified.
(expand_complex_operations_1): Call update_stmt_if_modified.
(expand_vector_operations_1): Call mark_stmt_modified.
* tree-dfa.c (compute_immediate_uses, free_df_for_stmt, free_df,
compute_immediate_uses_for_phi, compute_immediate_uses_for_stmt,
add_immediate_use, redirect_immediate_use,
redirect_immediate_uses, dump_immediate_uses, debug_immediate_uses,
dump_immediate_uses_for, debug_immediate_uses_for): Delete.
(mark_new_vars_to_rename): Call update_stmt.
* tree-dump.c (dump_option_value_in): Add "stmtaddr".
* tree-flow-inline.h (modify_stmt): Rename to mark_stmt_modified.
Ignore PHI nodes.
(unmodify_stmt): Delete.
(update_stmt): New. Force an update of a stmt.
(update_stmt_if_modified): update a stmt if it is out of date.
(get_stmt_operands): Verify stmt is NOT modified.
(stmt_modified_p): Update comment.
(delink_imm_use): Remove a use node from its immuse list.
(link_imm_use_to_list): Link a use node to a specific list.
(link_imm_use): Link a node to the correct list.
(set_ssa_use_from_ptr): Set a use node to a specific value, and insert
it in the correct list, if appropriate.
(link_imm_use_stmt): Link a use node, and set the stmt pointer.
(relink_imm_use): Link a use node in place of another node in a list.
(relink_imm_use_stmt): LInk a node in place of another node, and set
the stmt pointer.
(end_safe_imm_use_traverse): New. Terminate a safe immuse iterator.
(end_safe_imm_use_p): New. Check for the end of a safe immuse iterator.
(first_safe_imm_use): New. Initialize a safe immuse iterator.
(next_safe_imm_use): New. Proceed to next safe immuse iterator value.
(end_readonly_imm_use_p): New. Check for end of a fast immuse iterator.
(first_readonly_imm_use): New. Initialize a fast immuse iterator.
(next_readonly_imm_use): New. Get the next fast immuse iterator value.
(has_zero_uses): New. Return true if there are no uses of a var.
(has_single_use): New. Return true if there is only a single use of a
variable.
(single_imm_use): New. Return the simgle immediate use.
(num_imm_uses): New. Return the number of immediate uses.
(get_v_must_def_ops): Use is now a pointer.
(use_operand_p, get_v_may_def_op_ptr, get_vuse_op_ptr,
get_v_must_def_kill_ptr, get_phi_arg_def_ptr): Return the address of
the use node.
(get_immediate_uses, num_immediate_uses, immediate_use): Delete.
(delink_stmt_imm_use): Delink all immuses from a stmt.
(phi_arg_index_from_use): New. Return a phi arg index for a use.
* tree-flow.h (struct dataflow_d): Delete.
(immediate_use_iterator_d): New. Immediate use iterator struct.
(FOR_EACH_IMM_USE_FAST): New. Macro for read only immuse iteration.
(FOR_EACH_IMM_USE_SAFE): New. Macro for write-safe immuse iteration.
(BREAK_FROM_SAFE_IMM_USE): New. Macro for earlyu exit from write-safe
iteration.
(struct stmt_ann_d): Remove dataflow_t from struct.
* tree-if-conv.c (tree_if_conversion). Don't call free_df.
(if_convertible_phi_p): Use FAST immuse iterator.
(if_convertible_loop_p): Don't call compute_immediate_uses.
(replace_phi_with_cond_modify_expr): Call update_stmt.
* tree-into-ssa.c (mark_def_sites, ssa_mark_def_sites): Call
update_stmt_if_modified.
(rewrite_all_into_ssa): Initialize ssa operands.
* tree-loop-linear.c (linear_transform_loops): Don't call free_df or
compute_immediate_uses.
* tree-optimize.c (execute_todo): Call verify_ssa whenever the
ssa_property is available.
(execute_one_pass): Change parameters passed to execute_todo.
* tree-outof-ssa.c (rewrite_trees): Don't call modify_stmt.
(remove_ssa_form): Call fini_ssa_operands.
(insert_backedge_copies): Delete call to modify_stmt.
* tree-phinodes.c (make_phi_node): Initialize use nodes.
(release_phi_node): Delink any use nodes before releasing.
(resize_phi_node): Relink any use nodes.
(remove_phi_arg_num): Delink the use node.
(remove_phi_node): Release the ssa_name AFTER releasing the phi node.
(remove_all_phi_nodes_for): Release phi node first.
* tree-pretty-print.c (dump_generic_node): Print stmt address.
* tree-sra.c (mark_all_v_defs): Call update_stmt_if_modified.
(scalarize_use, scalarize_copy): Call update_stmt.
* tree-ssa-alias.c (compute_may_aliases): Update all modified stmts.
(compute_points_to_and_addr_escape): Call mark_stmt_modified.
* tree-ssa-cpp.c (need_imm_uses_for): Delete.
(ccp_initialize): Remove call to compute_immediate_uses.
(substitute_and_fold, execute_fold_all_builtins): Call update_stmt.
* tree-ssa-dom.c (tree_ssa_dominator_optimize): Update all modified
stmts.
(simplify_cond_and_lookup_avail_expr): Call mark_stmt_modified.
(simplify_switch_and_lookup_avail_expr): Call mark_stmt_modified.
(eliminate_redundant_computations): Call mark_stmt_modified.
(cprop_operand): Call mark_stmt_modified.
(optimize_stmt): Call update_stmt_if_modified and mark_stmt_modified.
* tree-ssa-dse.c (fix_phi_uses, fix_stmt_v_may_defs): Delete.
(dse_optimize_stmt): Use new immuse interface.
(tree_ssa_dse): Remove calls to compute_immediate_uses and free_df.
* tree-ssa-forwprop.c (need_imm_uses_for): Delete.
(substitute_single_use_vars): Use new immuse interface.
(tree_ssa_forward_propagate_single_use_vars): Remove calls to free_df
and compute_immediate_uses.
* tree-ssa-loop-im.c (single_reachable_address): Use new immuse
interface.
(rewrite_mem_refs): Call update_stmt.
(determine_lsm): Remove call to compute_imm_uses and free_df.
* tree-ssa-loop-ivcanon.c (create_canonical_iv): Call update_stmt.
(try_unroll_loop_completely): Call update_stmt.
* tree-ssa-loop-ivopts.c (rewrite_address_base): Call update_stmt.
(rewrite_use_compare): Call update_stmt.
(compute_phi_arg_on_exit): Insert each stmt before trying to process.
(rewrite_use) : Call update_stmt.
* tree-ssa-loop-manip.c (verify_loop_closed_ssa): Add arg to call.
* tree-ssa-loop-unswitch.c (tree_unswitch_single_loop): Call
update_stmt.
* tree-ssa-operands.c (NULL_USE_OPERAND_P): Remove declaration.
(allocate_use_optype, allocate_vuse_optype): Adjust allocation size.
(free_uses, free_vuses, free_v_may_defs, free_v_must_defs): Delink
use nodes.
(initialize_vuse_operand): New. Initialize a vuse operand.
(initialize_v_may_def_operand): New. Initialize a maydef operand.
(initialize_v_must_def_operand): New. Initialize a mustdef operand.
(finalize_ssa_defs): Use stmt parameter.
(correct_use_link): Ensure a use node is in the correct list, and has
the correct stmt pointer.
(finalize_ssa_uses, finalize_ssa_v_may_defs, finalize_ssa_vuses,
finalize_ssa_v_must_defs): Also initialize use nodes.
(finalize_ssa_stmt_operands): Pass extra stmt operands.
(build_ssa_operands): Seperate parsing from final operand construction.
(parse_ssa_operands): New. Parse entry point for operand building.
(swap_tree_operands): New. Swap 2 tree operands.
(update_stmt_operands): Ranamed from get_stmt_operands. Always builds
operands.
(get_expr_operands): Call swap_tree_operands when needed.
(copy_virtual_operands): Use initialize routines for virtual use ops.
(create_ssa_artficial_load_stmt): Add extra stmt parameter.
(verify_abort): New. Issue imm_use error.
(verify_imm_links): New Verify imm_use links for a var.
(dump_immediate_uses_for): New. Dump imm_uses for a var to file.
(dump_immediate_uses): New. Dump imm_uses for all vars to file.
(debug_immediate_uses): New. Dump imm_uses for all vars to stderr.
(debug_immediate_uses_for): New. Dump imm_uses for a var to stderr.
* tree-ssa-operands.h (struct use_operand_ptr): Delete.
(NULL_USE_OPERAND_P) Define.
(use_optype_d, v_def_use_operand_type, vuse_optype_d): Add immediate
use node.
(struct vuse_operand_type): New struct.
(SET_USE): Call set_ssa_use_from_ptr.
(USE_STMT): Define.
(PHI_ARG_INDEX_FROM_USE): Define.
* tree-ssa-phiopt.c (replace_phi_edge_with_variable): Set the phi
argument via SET_USE, not PHI_ARG_DEF_TREE.
* tree-ssa-pre.c (eliminate): Call update_stmt.
* tree-ssa-propagate.c (cfg_blocks_get): Use imm_use iterators. Don't
call free_df.
* tree-ssa-sink.c (all_immediate_uses_same_place): Use imm_use iterator.
(nearest_common_dominator_of_uses): Use imm_use iterator.
(statement_sink_location): Use imm_use iterator and interface.
(execute_sink_code): Don't call compute_immediate_uses or free-df.
* tree-ssa-threadupdate.c (create_edge_and_update_destination_phis): Use
PHI_ARG_DEF, not PHI_ARG_DEF_TREE.
* tree-ssa.c (verify_use, verify_phi_args): Verify some imm_use info.
(verify_ssa): Ensure no stmt is marked modify after optimization pass
if new parameter is true.
(init_tree_ssa): Don't initialize operand cache here.
(delete_tree_ssa): Don't destroy operand cache here.
(propagate_into_addr): Pass in a use pointer, return true if anything
was changed.
(replace_immediate_uses): Use imm_use iterator, call update_stmt.
(check_phi_redundancy): Use imm_use iterator.
(kill_redundant_phi_nodes): Don't call compute_immediate_uses or
free_df.
* tree-ssanames.c (make_ssa_name): Initialize imm_use node.
(release_ssa_name): Delink node and all elements in its imm_use list.
* tree-tailcall.c (adjust_return_value): Call update_stmt.
* tree-vect-analyze.c (vect_stmt_relevant_p): Use imm_use iterator.
* tree-vectorizer.c (need_imm_uses_for): Delete.
(vectorize_loops): Dont call compute_immediate_uses or free_df.
* tree.h (struct ssa_imm_use_d): Define.
(SSA_NAME_IMM_USE_NODE): Define.
(struct tree_ssa_name): Add imm_use node.
(PHI_DF): Delete.
(PHI_ARG_IMM_USE_NODE): Define.
(struct phi_arg_d): Add imm_use node.
(struct tree_phi_node): Remove struct dataflow_d element.
(TDF_STMTADDR): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97648
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 5 Apr 2005 19:02:03 +0000 (19:02 +0000)]
Fix typo
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97646
138bc75d-0d04-0410-961f-
82ee72b054a4
dalej [Tue, 5 Apr 2005 18:40:15 +0000 (18:40 +0000)]
2005-04-05 Dale Johannesen <dalej@apple.com>
* doc/invoke.texi (Optimization Options): Remove
duplicate -fcse-follow-jumps. Add -fweb.
(-ftree-lim): Fix spelling (-ftree-loop-im, invariants).
(-fivcanon): Fix spelling (-ftree-loop-ivcanon).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97645
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Tue, 5 Apr 2005 18:24:32 +0000 (18:24 +0000)]
* tree-ssa.c (execute_early_warn_uninitialized): Pass context node
to talk_tree as 'data' parameter, rather than EXPR_LOCUS.
(warn_uninit): Get EXPR_LOCUS from context now instead.
This fixes a USE_MAPPED_LOCATION testsuite failure.
* tree-ssa.c (warn_uninitialized_var): Remove useless local.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97644
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 5 Apr 2005 18:21:00 +0000 (18:21 +0000)]
Fix typo
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97643
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Tue, 5 Apr 2005 17:45:32 +0000 (17:45 +0000)]
* c-decl.c (finish_function): If USE_MAPPED_LOCATION set the location
of the artification 'return 0' in main() to BUILTINS_LOCATION.
* tree-cfg.c (remove_bb): Check that location isn't BUILTINS_LOCATION
before warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97641
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 5 Apr 2005 17:35:54 +0000 (17:35 +0000)]
PR c++/20673
* decl.c (grokdeclarator): Correct attribute handling.
PR c++/20673
* g++.dg/ext/attrib21.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97640
138bc75d-0d04-0410-961f-
82ee72b054a4
dpatel [Tue, 5 Apr 2005 16:33:29 +0000 (16:33 +0000)]
* config/rs600/altivec.md (altivec_vsr<VI_char>): Rename to ..
(lhsr<mode>3): ... new name.
(altivec_vsra<VI_char>): Rename to ..
(ashr<mode>3): ... new name.
* config/rs6000/rs6000.c (builtin_description): Rename shift
operations.
testsuite:
* lib/target-supports.exp (check_effective_target_vect_shif): New.
* gcc.dg/vect/vect-shift-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97636
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 5 Apr 2005 15:40:16 +0000 (15:40 +0000)]
PR c++/19159
* decl2.c (import_export_decl): Use non-COMDAT external linkage
for virtual tables, typeinfo, etc. that will be emitted in only
one translation unit on systems without weak symbols.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97635
138bc75d-0d04-0410-961f-
82ee72b054a4
bonzini [Tue, 5 Apr 2005 14:50:35 +0000 (14:50 +0000)]
2004-04-05 Paolo Bonzini <bonzini@gnu.org>
* combine.c (RTL_HOOKS_GEN_LOWPART_NO_EMIT): Use
gen_lowpart_for_combine.
* cse.c (gen_lowpart_if_possible): Move...
* rtlhooks.c (gen_lowpart_if_possible): ... here. Also try
gen_lowpart_SUBREG.
(gen_lowpart_no_emit_general): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97633
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Tue, 5 Apr 2005 14:42:39 +0000 (14:42 +0000)]
* config/sparc/sparc.c (TARGET_ASM_FILE_END): Undefine before
overriding.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97631
138bc75d-0d04-0410-961f-
82ee72b054a4
fxcoudert [Tue, 5 Apr 2005 14:20:10 +0000 (14:20 +0000)]
PR libfortran/20755
* write.c (write_float): A G edit descriptor may locally change
the scale factor, but it needs to be restored afterwards.
* gfortran.dg/pr20755.f: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97627
138bc75d-0d04-0410-961f-
82ee72b054a4
bonzini [Tue, 5 Apr 2005 12:10:59 +0000 (12:10 +0000)]
2005-04-05 Paolo Bonzini <bonzini@gnu.org>
* system.h: Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97624
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Tue, 5 Apr 2005 11:26:48 +0000 (11:26 +0000)]
* config/bfin/bfin-modes.def: New file.
* config/bfin/bfin-protos.h: New file.
* config/bfin/bfin.c: New file.
* config/bfin/bfin.h: New file.
* config/bfin/bfin.md: New file.
* config/bfin/bfin.opt: New file.
* config/bfin/crti.s: New file.
* config/bfin/crtn.s: New file.
* config/bfin/elf.h: New file.
* config/bfin/lib1funcs.asm: New file.
* config/bfin/predicates.md: New file.
* config/bfin/t-bfin: New file.
* config/bfin/t-bfin-elf: New file.
* doc/extend.texi (exception_handler, kspisusp, nesting, nmi_handler):
Document new attributes.
(interrupt, interrupt_handler, saveall): Update documentation for
these attributes.
* doc/install.texi (Specific): Add entry for the Blackfin.
* doc/invoke.texi (Blackfin Options): New section.
* doc/md.texi (Blackfin family): New section to document constraints.
* config.gcc: Add bfin*-* and bfin*-elf configurations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97622
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Tue, 5 Apr 2005 11:08:55 +0000 (11:08 +0000)]
* include/tr1/memory, include/tr1/boost_shared_ptr.h: Use mutex
to make _Sp_counted_base::add_ref_lock() thread-safe. Check whether
to destroy resources by testing for equality, not inequality. Add
empty critical sections to solve memory visibility issues.
* testsuite/tr1/2_general_utilities/memory/
shared_ptr/cons/auto_ptr_neg.cc: Use dg-excess-errors instead of
explicitly listing line numbers which need to be kept in sync.
* testsuite/tr1/2_general_utilities/memory/
shared_ptr/assign/auto_ptr_neg.cc: Same.
* testsuite/tr1/2_general_utilities/memory/
shared_ptr/assign/auto_ptr_rvalue_neg.cc: Same.
* testsuite/tr1/2_general_utilities/memory/
shared_ptr/cons/weak_ptr_expired.cc: Make XFAIL for consistency when
-fno-exceptions.
* testsuite/tr1/2_general_utilities/memory/
enable_shared_from_this/not_shared.cc: Add explanatory comments.
* testsuite/tr1/2_general_utilities/memory/
enable_shared_from_this/not_shared2.cc: Same.
* testsuite/tr1/2_general_utilities/memory/
enable_shared_from_this/not_shared3.cc: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97620
138bc75d-0d04-0410-961f-
82ee72b054a4
hainque [Tue, 5 Apr 2005 09:36:06 +0000 (09:36 +0000)]
* config/mips/iris6.h (DWARF_FRAME_RETURN_COLUMN): Redefine to
match what the system unwinder expects.
* config/mips/mips.c (mips_frame_set): If we're saving the return
address register and the dwarf return address column number differs
from the hard register number, adjust the note reg to refer to the
former.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97617
138bc75d-0d04-0410-961f-
82ee72b054a4
fengwang [Tue, 5 Apr 2005 08:54:50 +0000 (08:54 +0000)]
2005-04-05 Feng Wang <fengwang@nudt.edu.cn>
PR fortran/15959
PR fortran/20713
* array.c (resolve_character_array_constructor): New function. Set
constant character array's character length.
(gfc_resolve_array_constructor): Use it.
* decl.c (add_init_expr_to_sym): Set symbol and initializer character
length.
(gfc_set_constant_character_len): New function. Set constant character
expression according the given length.
* match.h (gfc_set_constant_character_len): Add prototype.
2005-04-05 Feng Wang <fengwang@nudt.edu.cn>
* gfortran.dg/pr15959.f90: New test.
* gfortran.dg/string_pad_trunc.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97613
138bc75d-0d04-0410-961f-
82ee72b054a4
fxcoudert [Tue, 5 Apr 2005 08:24:55 +0000 (08:24 +0000)]
* gfortran.dg/backspace.f, gfortran.dg/g77_intrinsics_funcs.f,
gfortran.dg/g77_intrinsics_sub.f, gfortran.dg/negative_unit.f,
gfortran.dg/pr18025.f90, gfortran.dg/g77/12002.f: Correct dejagnu
syntax.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97611
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Tue, 5 Apr 2005 07:40:31 +0000 (07:40 +0000)]
* config/mn10300/mn10300-protos.h (mn10300_override_options): Declare.
* config/mn10300/mn10300.h (target_flags, TARGET_MULT_BUG)
(TARGET_SWITCHES, TARGET_DEFAULT): Delete.
(processor_type): New enum.
(mn10300_processor): New variable.
(TARGET_AM33, TARGET_AM33_2): Redefine in terms of mn10300_processor.
(PROCESSOR_DEFAULT, OVERRIDE_OPTIONS): New macros.
* config/mn10300/linux.h (TARGET_SWITCHES, TARGET_DEFAULT): Delete.
(PROCESSOR_DEFAULT): New macro.
* config/mn10300/mn10300.c (mn10300_processor): New variable.
(TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION): Override defaults.
(mn10300_handle_option, mn10300_override_options): New functions.
* config/mn10300/mn10300.opt: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97609
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Tue, 5 Apr 2005 07:06:23 +0000 (07:06 +0000)]
PR tree-optimization/19903
* tree-chrec.c (chrec_convert): Return chrec_dont_know for constants
that don't fit in their type after conversion.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97607
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Tue, 5 Apr 2005 06:45:50 +0000 (06:45 +0000)]
* gcc.c-torture/compile/
20040323-1.c (_rtld_global): Set to 1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97605
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Tue, 5 Apr 2005 05:23:14 +0000 (05:23 +0000)]
PR target/20421
* config/i386/i386.md (frndintxf2_floor, frndintxf2_ceil)
(frndintxf2_trunc, frndintxf2_mask_pm): Add FLAGS_REG clobber.
Allocate local stack slots here. Set ix86_optimize_mode_switching.
flag here. Implement using define_insn_and_split.
(frndintxf2_floor_i387, frndintxf2_ceil_i387, frndintxf2_trunc_i387)
(frndintxf2_mask_pm_i387): New insn patterns.
(floorsf2, floordf2, floorxf2): Remove local stack slot allocations.
Do not set ix86_optimize_mode_switching flag.
(ceilsf2, ceildf2, ceilxf2): Same.
(btruncsf2, btruncdf2, btruncxf2): Same.
(nearbyintsf2, nearbyintdf2, nearbyintxf2): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97604
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Tue, 5 Apr 2005 04:08:56 +0000 (04:08 +0000)]
PR debug/9963
* config/i386/cygming.h (ASM_OUTPUT_EXTERNAL): Pass DECL to
i386_pe_record_external_function.
(i386_pe_record_external_function): Update declaration.
* config/i386/winnt.c (struct extern_list): Add decl field.
(i386_pe_record_external_function): Add decl parameter.
(i386_pe_file_end): Check TREE_ASM_WRITTEN on decl, not
identifier.
* config/i386/i386-protos.h (i386_pe_record_external_function):
Update declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97602
138bc75d-0d04-0410-961f-
82ee72b054a4