danglin [Sun, 18 Mar 2007 19:47:43 +0000 (19:47 +0000)]
* pa.md: Add fpstore_load and store_fpload instruction types. Provide
reservation, bypass and anti-bypass descriptions for these instructions.
Update move patterns.
* pa.c (hppa_fpstore_bypass_p): Check for both TYPE_FPSTORE_LOAD and
TYPE_FPSTORE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123041
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sun, 18 Mar 2007 19:13:17 +0000 (19:13 +0000)]
PR testsuite/30395
* gcc.dg/pr16194.c: Provide define for REG on __hppa__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123040
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Sun, 18 Mar 2007 18:17:24 +0000 (18:17 +0000)]
2007-03-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/31052
* gfortran.dg/namelist_27.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123039
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Sun, 18 Mar 2007 18:13:50 +0000 (18:13 +0000)]
2007-03-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/31052
* io/file_position (st_rewind): Fix comments. Remove use of
test_endfile. Don't seek if already at 0 position. Use new is_special
function to set endfile state.
* io/open.c (test_endfile): Delete this function.
* io/io.h: Delete prototype for test_endfile. Add prototype
for is_special.
* io/unix.c (is_special): New function. Fix whitespace.
* io/transfer.c (next_record_r): Remove use of test_endfile.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123038
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Sun, 18 Mar 2007 15:00:55 +0000 (15:00 +0000)]
2007-03-18 Paul Thomas <pault@gcc.gnu.org>
PR fortran/30531
PR fortran/31086
* symbo.c : Add gfc_derived_types.
(gfc_free_dt_list): Free derived type list gfc_derived_types.
(gfc_free_namespace): Remove call to gfc_free_dt_list.
(gfc_symbol_done_2): Call gfc_free_dt_list.
* gfortran.h : Declare gfc_derived_types to be external. Remove
derived types field from gfc_namespace.
* resolve.c (resolve_fl_derived): Refer to gfc_derived types
rather than namespace derived_types.
(resolve_fntype): Remove special treatment for module
derived type functions.
* trans-types.c (gfc_get_derived_type): Remove search for like
derived types. Finish by copying back end declaration to like
derived types in the derived type list gfc_derived_types.
2007-03-18 Paul Thomas <pault@gcc.gnu.org>
PR fortran/30531
* gfortran.dg/used_types_14.f90: New test.
PR fortran/31086
* gfortran.dg/used_types_15.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123037
138bc75d-0d04-0410-961f-
82ee72b054a4
schwab [Sun, 18 Mar 2007 11:17:44 +0000 (11:17 +0000)]
* acinclude.m4: Adjust regular expression for ld version
extraction.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123035
138bc75d-0d04-0410-961f-
82ee72b054a4
dorit [Sun, 18 Mar 2007 04:37:32 +0000 (04:37 +0000)]
* tree-vect-transform.c (get_initial_def_for_induction): Replace
GET_MODE_NUNITS with TYPE_VECTOR_SUBPARTS.
(get_initial_def_for_reduction): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123034
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 18 Mar 2007 00:17:18 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123032
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Sat, 17 Mar 2007 23:07:34 +0000 (23:07 +0000)]
2007-03-16 Daniel Berlin <dberlin@dberlin.org>
Fix PR tree-optimization/29922
* tree-ssa-pre.c (bb_bitmap_sets): Remove RVUSE_* members.
(get_representative): Removed.
(value_dies_in_block_x): Update for rvuse removal.
(valid_in_sets): Update for renaming of vuses_dies_in_block_x.
(compute_antic_aux): Handle when PHI nodes appear in
non-single-successors.
(dump_bitmap_of_names): Removed.
(compute_antic_safe): Renamed and removed rvuse calculation.
Calculate only antic safe.
(insert_into_preds_of_block): Remove assert.
(execute_pre): Update for renamed functions.
(defer_or_phi_translate_block): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123029
138bc75d-0d04-0410-961f-
82ee72b054a4
fxcoudert [Sat, 17 Mar 2007 19:58:37 +0000 (19:58 +0000)]
PR fortran/31120
* trans-expr.c (gfc_conv_powi): Make n argument unsigned hwi.
(gfc_conv_cst_int_power): Handle integer exponent with care,
since it might be too large for us.
* gfortran.dg/integer_exponentiation_2.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123028
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Sat, 17 Mar 2007 19:08:50 +0000 (19:08 +0000)]
* uninclude: New utility, from Alexandre Oliva.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123027
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 17 Mar 2007 17:51:39 +0000 (17:51 +0000)]
* tree-data-ref.h: Remove the prototype for analyze_array.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123026
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 17 Mar 2007 17:44:02 +0000 (17:44 +0000)]
* config/arm/arm.c, config/arm/thumb2.md, config/m68k/m68k.c,
config/spu/spu.c, omega.h, passes.c, predict.c: Fix comment
typos.
* doc/cpp.texi, doc/extend.texi, doc/invoke.texi: Fix typos.
Follow spelling conventions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123025
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 17 Mar 2007 17:29:11 +0000 (17:29 +0000)]
* cp-tree.def, parser.c, pt.c: Fix comment typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123024
138bc75d-0d04-0410-961f-
82ee72b054a4
dorit [Sat, 17 Mar 2007 14:43:30 +0000 (14:43 +0000)]
PR tree-optimization/31041
* tree-vect-transform.c (get_initial_def_for_induction): Call
force_gimple_operand.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123023
138bc75d-0d04-0410-961f-
82ee72b054a4
olga [Sat, 17 Mar 2007 12:47:53 +0000 (12:47 +0000)]
ipa-type-escape fix for ada
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123022
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 17 Mar 2007 11:43:07 +0000 (11:43 +0000)]
* final.c (final_scan_insn): Alter the condition of a
conditional trap if we have nonstandard CC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123021
138bc75d-0d04-0410-961f-
82ee72b054a4
fxcoudert [Sat, 17 Mar 2007 11:30:20 +0000 (11:30 +0000)]
PR fortran/31184
* invoke.texi: Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123018
138bc75d-0d04-0410-961f-
82ee72b054a4
fitzsim [Sat, 17 Mar 2007 05:36:18 +0000 (05:36 +0000)]
2007-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
* resource/com/sun/tools/javac/messages.properties
(Main.FailedToRead, Main.MalformedURL, Main.FailedToLoad): Clarify
messages for when --with-ecj-jar is not specified.
* configure.ac (FOUND_ECJ_JAR): Remove conditional.
* tools/Makefile.am: Build com.sun.tools.javac package
unconditionally.
* configure, doc/api/Makefile.in, doc/Makefile.in,
examples/Makefile.in, external/jsr166/Makefile.in,
external/Makefile.in, external/relaxngDatatype/Makefile.in,
external/sax/Makefile.in, external/w3c_dom/Makefile.in,
include/Makefile.in, lib/Makefile.in, Makefile.in,
native/fdlibm/Makefile.in, native/jawt/Makefile.in,
native/jni/classpath/Makefile.in,
native/jni/gconf-peer/Makefile.in,
native/jni/gtk-peer/Makefile.in, native/jni/java-io/Makefile.in,
native/jni/java-lang/Makefile.in, native/jni/java-net/Makefile.in,
native/jni/java-nio/Makefile.in, native/jni/java-util/Makefile.in,
native/jni/Makefile.in, native/jni/midi-alsa/Makefile.in,
native/jni/midi-dssi/Makefile.in,
native/jni/native-lib/Makefile.in, native/jni/qt-peer/Makefile.in,
native/jni/xmlj/Makefile.in, native/Makefile.in,
native/plugin/Makefile.in, resource/Makefile.in,
scripts/Makefile.in, tools/Makefile.in: Regenerate.
* tools/classes/com/sun/tools/javac: New directory.
* tools/classes/com/sun/tools/javac/Main.class,
tools/classes/com/sun/tools/javac/Messages.class: New files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123015
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sat, 17 Mar 2007 05:00:07 +0000 (05:00 +0000)]
* tools/gnu/classpath/tools/javah/Main.java (run): Use class'
name in File case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123012
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 17 Mar 2007 00:17:45 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123009
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 16 Mar 2007 23:44:42 +0000 (23:44 +0000)]
* configure.ac: Remove excess quoting from asm line 0 test.
* configure: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123006
138bc75d-0d04-0410-961f-
82ee72b054a4
manu [Fri, 16 Mar 2007 23:32:12 +0000 (23:32 +0000)]
2007-03-16 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* doc/invoke.texi (-Wconversion): Document warnings specific to C++.
* c-common.c (convert_and_check): Move warning logic to...
(warnings_for_convert_and_check): ...here. Define.
* c-common.h (warnings_for_convert_and_check): Declare.
cp/
* cvt.c (cp_convert_and_check) : Define.
* cp-tree.h (cp_convert_and_check): Declare.
* call.c (convert_conversion_warnings): Rename to
conversion_null_warnings. The warning for floating-point to
integer is handled by convert_and_check in convert_like_real.
(convert_like_real): convert_conversion_warnings was renamed as
conversion_null_warnings.
* typeck.c (build_binary_op): Use cp_convert_and_check to warn for
overflow and changes of value during conversion.
testsuite/
* g++.dg/warn/Wconversion-integer.C: New
* g++.dg/warn/Wconversion-real.C: New.
* g++.dg/warn/Wconversion-real-integer.C: New.
* g++.dg/warn/conv2.C: Updated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123005
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Fri, 16 Mar 2007 23:12:46 +0000 (23:12 +0000)]
* pa.c (attr_length_call): Partially revert change of 2007-03-09.
(output_call): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123002
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 16 Mar 2007 22:48:27 +0000 (22:48 +0000)]
* tools/gnu/classpath/tools/javah/JniStubPrinter.java
(printClass): Added filename argument.
* tools/gnu/classpath/tools/javah/JniIncludePrinter.java
(printClass): Added filename argument.
* tools/gnu/classpath/tools/javah/CniIncludePrinter.java
(printClass): Use user's file name.
* tools/gnu/classpath/tools/javah/CniStubPrinter.java
(printClass): Use user's file name.
* tools/gnu/classpath/tools/javah/Printer.java (printClass): Added
filename argument.
* tools/gnu/classpath/tools/javah/Main.java (getParser): Fix '-v'
argument order.
(writeHeaders): Use a HashMap.
(run): Put class name into HashMap for writeHeaders.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123000
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 16 Mar 2007 19:44:00 +0000 (19:44 +0000)]
2007-03-16 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/27_io/headers/cinttypes/types_std_c++0x.cc: Use
-std=gnu++0x instead of -std=c++0x for testing.
* testsuite/18_support/headers/cstdint/types_std_c++0x.cc: Same.
* testsuite/26_numerics/headers/random/types_std_c++0x.cc: Same.
* testsuite/26_numerics/headers/cfenv/types_std_c++0x.cc: Same.
* testsuite/26_numerics/headers/cstdlib/types_std_c++0x.cc: Same.
* testsuite/26_numerics/headers/cmath/types_std_c++0x.cc: Same.
* testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Same.
* testsuite/17_intro/headers/c++200x/all.cc: Same.
* testsuite/17_intro/using_namespace_std_tr1_neg.cc: Same.
* testsuite/23_containers/hash/requirements/
explicit_instantiation.cc: Same.
* testsuite/23_containers/unordered_map/requirements/
explicit_instantiation.cc: Same.
* testsuite/23_containers/tuple/requirements/
explicit_instantiation.cc: Same.
* testsuite/23_containers/unordered_multimap/requirements/
explicit_instantiation.cc: Same.
* testsuite/23_containers/unordered_set/requirements/
explicit_instantiation.cc: Same.
* testsuite/23_containers/headers/tuple/types_std_c++0x.cc: Same.
* testsuite/23_containers/unordered_multiset/requirements/
explicit_instantiation.cc: Same.
* testsuite/23_containers/array/requirements/
explicit_instantiation.cc: Same.
* testsuite/20_util/enable_shared_from_this/requirements/
explicit_instantiation.cc: Same.
* testsuite/20_util/headers/functional/types_std_c++0x.cc: Same.
* testsuite/20_util/headers/functional/
using_namespace_std_placeholders.cc: Same.
* testsuite/20_util/headers/type_traits/types_std_c++0x.cc: Same.
* testsuite/20_util/headers/memory/types_std_c++0x.cc: Same.
* testsuite/20_util/shared_ptr/requirements/
explicit_instantiation.cc: Same.
* testsuite/20_util/weak_ptr/requirements/
explicit_instantiation.cc: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122996
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Fri, 16 Mar 2007 15:50:19 +0000 (15:50 +0000)]
* runtime/main.c: Include "config.h" first.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122994
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Fri, 16 Mar 2007 14:37:39 +0000 (14:37 +0000)]
gcc/testsuite/
* gcc.dg/intmax_t-1.c: Restrict XFAIL to VxWorks kernels;
exclude RTPs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122993
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Fri, 16 Mar 2007 14:35:26 +0000 (14:35 +0000)]
gcc/
* config/vxworks.h (SUPPORTS_INIT_PRIORITY): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122992
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Fri, 16 Mar 2007 14:34:56 +0000 (14:34 +0000)]
gcc/
* config/vx-common.h (WINT_TYPE, WINT_TYPE_SIZE): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122991
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Fri, 16 Mar 2007 12:32:08 +0000 (12:32 +0000)]
* config/i386/i386.c (override_options): Add PTA_NO_SAHF to k8,
opteron, athlon-64 and athlon-fx processor_alias_table entries.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122989
138bc75d-0d04-0410-961f-
82ee72b054a4
spop [Fri, 16 Mar 2007 11:30:48 +0000 (11:30 +0000)]
PR tree-optimization/31183
* tree-loop-linear.c (gather_interchange_stats, try_interchange_loops):
Use double_int instead of unsigned int for representing access_strides.
* testsuite/gcc.dg/tree-ssa/pr31183.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122988
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Fri, 16 Mar 2007 10:57:45 +0000 (10:57 +0000)]
2007-03-16 Paul Thomas <pault@gcc.gnu.org>
Tobias Burnus <burnus@net-b.de>
PR fortran/31188
* expr.c (find_array_section): Allow
non-expression-constant variables.
2007-03-16 Tobias Burnus <burnus@net-b.de>
PR fortran/31188
* gfortran.dg/parameter_array_dummy.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122987
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 16 Mar 2007 10:35:16 +0000 (10:35 +0000)]
2007-03-16 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/lib/dg-options.exp (dg-require-c-std): New.
* testsuite/lib/libstdc++.exp (check_v3_target_c_std): New. Check to
see if _GLIBCXX_USE_C99_MATH is active.
* testsuite/tr1/5_numerical_facilities/special_functions/
08_cyl_bessel_i/check_nan.cc: Use dg-require-c-std.
* testsuite/tr1/5_numerical_facilities/special_functions/
17_hyperg/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
13_ellint_2/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
20_riemann_zeta/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
01_assoc_laguerre/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
02_assoc_legendre/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
22_sph_legendre/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
10_cyl_bessel_k/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
09_cyl_bessel_j/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
21_sph_bessel/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
07_conf_hyperg/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
16_hermite/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
12_ellint_1/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
05_comp_ellint_2/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
18_laguerre/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
14_ellint_3/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
04_comp_ellint_1/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
06_comp_ellint_3/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
19_legendre/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
03_beta/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
11_cyl_neumann/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
15_expint/check_nan.cc: Same.
* testsuite/tr1/5_numerical_facilities/special_functions/
23_sph_neumann/check_nan.cc: Same.
* include/tr1/poly_laguerre.tcc (__poly_laguerre): Don't check if
unsigned int can be a NaN.
2007-03-16 Edward M. Smith-Rowland <3dw4rd@verizon.net>
* docs/html/ext/tr1.html : Marked tr1 math special functions done.
* docs/html/faq/index.html : Ditto.
* include/Makefile.in : Added new special function header files.
* include/Makefile.am : Ditto.
* include/tr1/common.h : Added type promotion routines for three
and four args.
* include/tr1/special_function_util.h: New.
* include/tr1/bessel_function.tcc: New.
* include/tr1/beta_function.tcc: New.
* include/tr1/ell_integral.tcc: New.
* include/tr1/exp_integral.tcc: New.
* include/tr1/gamma.tcc: New.
* include/tr1/hypergeometric.tcc: New.
* include/tr1/legendre_function.tcc: New.
* include/tr1/modified_bessel_func.tcc: New.
* include/tr1/poly_hermite.tcc: New.
* include/tr1/poly_laguerre.tcc: New.
* include/tr1/riemann_zeta.tcc: New.
* include/tr1/cmath : Included tr1 math special functions.
* include/tr1/math.h : Ditto.
* testsuite/tr1/5_numerical_facilities/special_functions/
testcase.h: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
01_assoc_laguerre/compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
01_assoc_laguerre/check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
01_assoc_laguerre/check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
01_assoc_laguerre/compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
02_assoc_legendre/compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
02_assoc_legendre/check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
02_assoc_legendre/check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
02_assoc_legendre/compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/03_beta/
compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/03_beta/
check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/03_beta/
check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/03_beta/
compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
04_comp_ellint_1/compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
04_comp_ellint_1/check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
04_comp_ellint_1/check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
04_comp_ellint_1/compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
05_comp_ellint_2/compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
05_comp_ellint_2/check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
05_comp_ellint_2/check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
05_comp_ellint_2/compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
06_comp_ellint_3/compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
06_comp_ellint_3/check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
06_comp_ellint_3/check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
06_comp_ellint_3/compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
07_conf_hyperg/compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
07_conf_hyperg/check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
07_conf_hyperg/check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
07_conf_hyperg/compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
08_cyl_bessel_i/compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
08_cyl_bessel_i/check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
08_cyl_bessel_i/check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
08_cyl_bessel_i/compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
09_cyl_bessel_j/compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
09_cyl_bessel_j/check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
09_cyl_bessel_j/check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
09_cyl_bessel_j/compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
10_cyl_bessel_k/compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
10_cyl_bessel_k/check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
10_cyl_bessel_k/check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
10_cyl_bessel_k/compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
11_cyl_neumann/compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
11_cyl_neumann/check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
11_cyl_neumann/check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
11_cyl_neumann/compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/12_ellint_1/
compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/12_ellint_1/
check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/12_ellint_1/
check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/12_ellint_1/
compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/13_ellint_2/
compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/13_ellint_2/
check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/13_ellint_2/
check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/13_ellint_2/
compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/14_ellint_3/
compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/14_ellint_3/
check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/14_ellint_3/
check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/14_ellint_3/
compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/15_expint/
check_value_neg.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/15_expint/
compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/15_expint/
check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/15_expint/
compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/15_expint/
check_value_pos.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/16_hermite/
compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/16_hermite/
check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/16_hermite/
compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/
compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/
check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/
check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/
compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/18_laguerre/
compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/18_laguerre/
check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/18_laguerre/
check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/18_laguerre/
compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/19_legendre/
compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/19_legendre/
check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/19_legendre/
check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/19_legendre/
compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
20_riemann_zeta/check_value_neg.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
20_riemann_zeta/compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
20_riemann_zeta/check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
20_riemann_zeta/compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
20_riemann_zeta/check_value_pos.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
21_sph_bessel/compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
21_sph_bessel/check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
21_sph_bessel/check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
21_sph_bessel/compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
22_sph_legendre/compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
22_sph_legendre/check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
22_sph_legendre/check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
22_sph_legendre/compile_2.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
23_sph_neumann/compile.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
23_sph_neumann/check_nan.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
23_sph_neumann/check_value.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
23_sph_neumann/ compile_2.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122986
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Fri, 16 Mar 2007 10:11:14 +0000 (10:11 +0000)]
2007-03-16 Richard Guenther <rguenther@suse.de>
PR tree-optimization/31146
* tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Restructure
to allow recursion of forward_propagate_addr_expr.
(forward_propagate_addr_into_variable_array_index): Likewise.
(forward_propagate_addr_expr): Likewise.
(tree_ssa_forward_propagate_single_use_vars): Likewise.
(forward_propagate_addr_expr_1): Recurse on simple copies
instead of propagating into them. Do so for useless conversions
as well.
(forward_propagate_addr_expr): Clean up unused statements after
recursion.
* g++.dg/tree-ssa/pr31146.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122985
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Fri, 16 Mar 2007 10:02:02 +0000 (10:02 +0000)]
Fix top in last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122984
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Fri, 16 Mar 2007 09:56:18 +0000 (09:56 +0000)]
gcc/testsuite/
* lib/target-supports.exp (check_missing_uclibc_feature): Don't
assume that the target has <features.h>.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122983
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Fri, 16 Mar 2007 09:54:39 +0000 (09:54 +0000)]
2007-03-16 Richard Guenther <rguenther@suse.de>
* builtins.c (expand_builtin_cexpi): Use the right argument
for the expansion via cexp.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122982
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Fri, 16 Mar 2007 09:50:18 +0000 (09:50 +0000)]
2007-03-16 Tobias Burnus <burnus@net-b.de>
* trans-decl.c (gfc_generate_function_code): Use all arguments of
set_std.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122981
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Fri, 16 Mar 2007 07:25:22 +0000 (07:25 +0000)]
gcc/testsuite/
* gcc.dg/
20020426-2.c: Add the fpic requirement to the PIC
dg-options rather than to the whole test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122979
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 16 Mar 2007 05:50:58 +0000 (05:50 +0000)]
* configure.ac: Don't require ELF binutils to tolerate # 0 "".
* configure: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122978
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 16 Mar 2007 05:08:25 +0000 (05:08 +0000)]
gcc/ChangeLog:
PR debug/29906
* dwarf2out.c (force_type_die): Adjust comment.
(dwarf2out_imported_module_or_decl): Handle base AT_import types.
gcc/testsuite/ChangeLog:
PR debug/29906
* g++.dg/debug/pr29906.C: New
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122976
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Fri, 16 Mar 2007 01:57:16 +0000 (01:57 +0000)]
2007-03-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/31099
* gfortran.dg/unformatted_recl.f90: Update test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122975
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Fri, 16 Mar 2007 01:07:52 +0000 (01:07 +0000)]
* cp-demangle.c (d_encoding): Exit early on error.
(d_pointer_to_member_type): Exit early if cplus_demangle_type
returns NULL.
(cplus_demangle_type): Likewise.
* testsuite/demangle-expected: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122972
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Fri, 16 Mar 2007 00:56:36 +0000 (00:56 +0000)]
* config/frv/predicates.md (minmax_operator): Don't check operands
here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122971
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Fri, 16 Mar 2007 00:41:36 +0000 (00:41 +0000)]
2007-03-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/31099
* io/file_pos.c (st_rewind): Don't set bytes_left to zero.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122970
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Fri, 16 Mar 2007 00:25:30 +0000 (00:25 +0000)]
* tree-ssa-loop-niter.c (record_estimate): Add "upper" argument.
Update constant estimates of number of iterations.
(record_nonwrapping_iv): Add "upper" argument. "data_size_bounds_p"
argument renamed to "realistic".
(compute_estimated_nb_iterations): Removed.
(record_niter_bound): New function.
(idx_infer_loop_bounds): For possible but unlikely tail arrays,
call record_nonwrapping_iv with upper = false.
(infer_loop_bounds_from_signedness): Pass upper argument to
record_nonwrapping_iv.
(estimate_numbers_of_iterations_loop): Do not call
compute_estimated_nb_iterations. Record estimate based on profile
information. Initialize the constant estimates of number of
iterations.
* tree-data-ref.c (estimated_loop_iterations): Return the recorded
estimates.
* tree-ssa-loop-prefetch.c (loop_prefetch_arrays): Add dump when
number of iterations is too small.
* cfgloop.h (struct nb_iter_bound): Remove "realistic" field.
(EST_NOT_AVAILABLE): Removed.
(struct loop): Replace estimated_nb_iterations by any_upper_bound,
nb_iterations_upper_bound, any_estimate and nb_iterations_estimate
fields.
* gcc.dg/tree-ssa/prefetch-5.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122969
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 16 Mar 2007 00:17:47 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122967
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Thu, 15 Mar 2007 23:47:18 +0000 (23:47 +0000)]
* tree-ssa-loop-niter.c (refine_bounds_using_guard, bound_difference):
Handle NE_EXPR guards.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122963
138bc75d-0d04-0410-961f-
82ee72b054a4
manu [Thu, 15 Mar 2007 22:45:17 +0000 (22:45 +0000)]
2007-03-15 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR c++/30891
cp/
* parser.c (cp_parser_statement): If 'namespace' is found, this
only can be a namespace alias definition, so parse it now.
(cp_parser_namespace_alias_definition): if we find an open brace
instead of '=', then this is actually a misplaced namespace
definition.
testsuite/
* g++.dg/parse/namespace-definition.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122962
138bc75d-0d04-0410-961f-
82ee72b054a4
manu [Thu, 15 Mar 2007 22:24:42 +0000 (22:24 +0000)]
2007-03-15 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR c++/24924
* c-opts.c (c_common_post_options): Handle C++ post-processing here.
Set also -pedantic-errors by default for the preprocessor unless
-fpermissive is given.
cp/
* decl.c (cxx_init_decl_processing): Move command-line options
processing to c-opts.c.
testsuite/
* g++.dg/cpp/pedantic-errors.C: New.
* g++.dg/cpp/permissive.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122961
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Thu, 15 Mar 2007 21:27:55 +0000 (21:27 +0000)]
gcc/testsuite/
* g++.dg/opt/mmx1.C: Only use the PIC options for fpic targets.
* g++.old-deja/g++.other/store-expr1.C: Require fpic.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122960
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Thu, 15 Mar 2007 21:22:59 +0000 (21:22 +0000)]
gcc/testsuite/
* lib/target-supports.exp (check_missing_uclibc_feature)
(check_effective_target_wchar): New procedures.
* gcc.dg/wchar_t-1.c: Require target wchar.
* gcc.dg/wint_t-1.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122959
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Thu, 15 Mar 2007 20:14:49 +0000 (20:14 +0000)]
2007-03-15 Richard Guenther <rguenther@suse.de>
PR middle-end/29719
PR middle-end/31161
* builtins.c (expand_builtin_int_roundingfn): Always fall
back to floor/ceil and its variants even if they may be
not available.
(expand_builtin_cexpi): As a fallback if we
don't have builtins for sincos or cexp create a function
declaration for cexp and expand to a call to that.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122958
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Thu, 15 Mar 2007 20:08:29 +0000 (20:08 +0000)]
* cfglayout.c (fixup_reorder_chain): Postpone deleting dead
jump tables, move the call to delete_dead_jumptables from here...
(cfg_layout_finalize): ...to here. But rebuild jump labels first.
* cfgrtl.c (cfg_layout_can_merge_blocks_p): When not optimizing,
don't allow merging of blocks that try_redirect_by_replacing_jump
also does not handle when not optimizing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122957
138bc75d-0d04-0410-961f-
82ee72b054a4
dgregor [Thu, 15 Mar 2007 13:51:09 +0000 (13:51 +0000)]
2007-03-15 Douglas Gregor <doug.gregor@gmail.com>
* ptree.c (cxx_print_type): Use formatting markup for integers
when printing template parameter index/level/orig level.
(cxx_print_xnode): Ditto.
* cp-tree.h (TEMPLATE_PARM_PARAMETER_PACK): Use TREE_LANG_FLAG_0.
(struct template_parm_index_s): Remove the PARAMETER_PACK member.
Make INDEX, LEVEL, and ORIG_LEVEL integers instead of
HOST_WIDE_INTs.
(struct saved_scope): Make X_PROCESSING_TEMPLATE_DECL an int,
rather than a HOST_WIDE_INT.
Turn X_PROCESSING_EXPLICIT_INSTANTIATION, SKIP_EVALUATION, and
NEED_POP_FUNCTION_CONTEXT into bool bitfields; reorder fields for
better bit-packing.
(struct language_function): Make RETURNS_VALUE, RETURNS_NULL,
RETURNS_ABNORMALLY, IN_FUNCTION_TRY_HANDLER, and
IN_BASE_INITIALIZER bool bitfields.
(struct cp_declarator): Make KIND a 4-bit field. Make
PARAMETER_PACK_P a bool bitfield just after KIND.
* pt.c (uses_parameter_packs): Destroy the pointer set.
(make_pack_expansion): Ditto.
(check_for_bare_parameter_packs): Ditto.
* name-lookup.c (push_to_top_level): Make need_pop a bool value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122955
138bc75d-0d04-0410-961f-
82ee72b054a4
fxcoudert [Thu, 15 Mar 2007 12:39:47 +0000 (12:39 +0000)]
* gfortran.h (gfc_option_t): Add flag_backtrace field.
* lang.opt: Add -fbacktrace option.
* invoke.texi: Document the new option.
* trans-decl.c (gfc_build_builtin_function_decls): Add new
option to the call to set_std.
* options.c (gfc_init_options, gfc_handle_option): Handle the
new option.
* runtime/backtrace.c: New file.
* runtime/environ.c (variable_table): New GFORTRAN_ERROR_BACKTRACE
environment variable.
* runtime/compile_options.c (set_std): Add new argument.
* runtime/main.c (store_exe_path, full_exe_path): New functions.
* runtime/error.c (sys_exit): Add call to show_backtrace.
* libgfortran.h (options_t): New backtrace field.
(store_exe_path, full_exe_path, show_backtrace): New prototypes.
* configure.ac: Add checks for execinfo.h, execvp, pipe, dup2,
close, fdopen, strcasestr, getrlimit, backtrace, backtrace_symbols
and getppid.
* Makefile.am: Add runtime/backtrace.c.
* fmain.c (main): Add call to store_exe_path.
* Makefile.in: Renegerate.
* config.h.in: Renegerate.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122954
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Thu, 15 Mar 2007 10:31:49 +0000 (10:31 +0000)]
* config/i386/i386.md (x86_sahf_1): Correctly handle
HAVE_AS_IX86_SAHF.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122953
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Thu, 15 Mar 2007 09:34:25 +0000 (09:34 +0000)]
gcc/testsuite/
* lib/target-supports.exp (check_gc_sections_available): Return
false for VxWorks targets.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122951
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Thu, 15 Mar 2007 09:14:37 +0000 (09:14 +0000)]
* testsuite/lib/libstdc++.exp (v3-build_support) <ar>: If it
exists, use env(AR_FOR_TARGET). Log the command.
<ranlib>: Similar.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122950
138bc75d-0d04-0410-961f-
82ee72b054a4
mueller [Thu, 15 Mar 2007 09:11:30 +0000 (09:11 +0000)]
2007-03-15 Dirk Mueller <dmueller@suse.de>
* g++.dg/warn/Wconversion2.C: Fix typo.
* gcc.dg/if-empty-1.c: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122949
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Thu, 15 Mar 2007 08:53:42 +0000 (08:53 +0000)]
gcc/testsuite/
* gcc.dg/cpp/assert4.c: Treat VxWorks as a unix target.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122948
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Thu, 15 Mar 2007 08:22:35 +0000 (08:22 +0000)]
* gcc.target/i386/cmpxchg16b-1.c: Compile for lp64 targets only.
* gcc.target/i386/pr31167.c: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122947
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Thu, 15 Mar 2007 07:25:22 +0000 (07:25 +0000)]
PR target/31167
* config/i386/i386.md (*addti3_1, *addti3_1 splitter): Use
x86_64_general_operand as operand[2] predicate. Remove "iF"
from operand constraints and use "e" constraint instead.
(*subti3_1, *subti3_1 splitter): Ditto.
(*negti2_1, *negti2_1 splitter): Use nonimmediate_operand as
operand[1] predicate.
testsuite/ChangeLog
PR target/31167
* gcc.target/i386/pr31167.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122945
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Thu, 15 Mar 2007 06:44:25 +0000 (06:44 +0000)]
2007-03-15 Tobias Burnus <burnus@gcc.gnu.org>
Paul Thomas <pault@gcc.gnu.org>
PR fortran/30922
* decl.c (gfc_match_import): If the parent of the current name-
space is null, try looking for an imported symbol in the parent
of the proc_name interface.
* resolve.c (resolve_fl_variable): Do not check for blocking of
host association by a same symbol, if the symbol is in an
interface body.
2007-03-15 Paul Thomas <pault@gcc.gnu.org>
PR fortran/30879
* decl.c (match_data_constant): Before going on to try to match
a name, try to match a structure component.
PR fortran/30870
* resolve.c (resolve_actual_arglist): Do not reject a generic
actual argument if it has a same name specific interface.
PR fortran/31163
* trans-array.c (parse_interface): Do not nullify allocatable
components if the symbol has the saved attribute.
2007-03-15 Paul Thomas <pault@gcc.gnu.org>
PR fortran/30922
* gfortran.dg/import5.f90.f90: New test.
PR fortran/30879
* gfortran.dg/data_components_1.f90: New test.
PR fortran/30870
* gfortran.dg/generic_13.f90: New test.
PR fortran/31163
* gfortran.dg/alloc_comp_basics_5.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122944
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Thu, 15 Mar 2007 01:30:05 +0000 (01:30 +0000)]
2007-03-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/31051
* gfortran.dg/fmt_t_4.f90: New
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122942
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Thu, 15 Mar 2007 01:27:29 +0000 (01:27 +0000)]
2007-03-14 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR c++/31165
* call.c (convert_default_arg): Instead of copying the node,
unshare it.
2007-03-14 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR C++/31165
* g++.dg/other/default7.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122941
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Thu, 15 Mar 2007 01:25:27 +0000 (01:25 +0000)]
2007-03-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/31051
* io/transfer.c (formatted_transfer_scalar): Adjust position for pending
spaces when in writing mode. Clean up some formatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122940
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 15 Mar 2007 00:17:15 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122938
138bc75d-0d04-0410-961f-
82ee72b054a4
spop [Wed, 14 Mar 2007 23:23:24 +0000 (23:23 +0000)]
* tree-loop-linear.c (gather_interchange_stats): For multidimensional
arrays, multiply the access strides by the size of the sub-array.
* testsuite/gcc.dg/tree-ssa/ltrans-5.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122935
138bc75d-0d04-0410-961f-
82ee72b054a4
mueller [Wed, 14 Mar 2007 23:17:03 +0000 (23:17 +0000)]
2007-03-15 Dirk Mueller <dmueller@suse.de>
PR c++/30860
* call.c (convert_conversion_warnings): New..
(convert_like_real): .. factored out from here.
(convert_conversion_warnings): Add warning about
false being converted to NULL in argument passing.
* g++.dg/warn/Wconversion2.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122934
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Wed, 14 Mar 2007 22:36:22 +0000 (22:36 +0000)]
Fix 31018 -- move TARGET_xxx in i386.md to tuning options
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122933
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Wed, 14 Mar 2007 21:11:20 +0000 (21:11 +0000)]
2007-03-14 Eric Christopher <echristo@apple.com>
* gcc.dg/ssp-1.c: New.
* gcc.dg/ssp-2.c: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122932
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Wed, 14 Mar 2007 21:03:59 +0000 (21:03 +0000)]
* configure.ac (HAVE_AS_IX86_SAHF): On x86 targets check whether
the configured assembler supports the sahf mnemonic.
* configure: Regenerate.
* config.in: Regenerate.
* config/i386/i386.md (x86_sahf_1): Depending on HAVE_AS_IX86_SAHF,
emit "sahf" or ".byte\t0x9e" as asm template.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122931
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Wed, 14 Mar 2007 20:02:03 +0000 (20:02 +0000)]
Fix 31018 -- move TARGET_xxx in i386.md to tuning options
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122929
138bc75d-0d04-0410-961f-
82ee72b054a4
mueller [Wed, 14 Mar 2007 19:33:17 +0000 (19:33 +0000)]
2007-03-14 Dirk Mueller <dmueller@suse.de>
* c-common.h (empty_body_warning): Rename to empty_if_body_warning.
* c-common.c (empty_if_body_warning): Rephrase diagnostic message.
* c-parser.c (c_parser_if_body): Always add an empty statement in case
of empty body.
* c-parser.c (c_parser_do_statement): Warn about empty body in
do/while statement.
* c-typeck (c_finish_if_stmt): Call empty_if_body_warning.
* doc/invoke.texi (-Wempty-body): Update documentation.
* cp/semantics.c (c_finish_if_stmt): Call empty_if_body_warning.
(finish_do_body): Warn about empty body in do/while statement.
* g++.dg/warn/do-empty.C: New.
* gcc.dg/do-empty.c: New.
* gcc.dg/if-empty-1.c: Update.
* gcc.dg/
20001116-1.c: Update.
* gcc.dg/pr23165.c: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122928
138bc75d-0d04-0410-961f-
82ee72b054a4
tkoenig [Wed, 14 Mar 2007 19:26:38 +0000 (19:26 +0000)]
2007-03-14 Thomas Koenig <Thomas.Koenig@online.de>
PR libfortran/30690
* all.m4: Quote everything, except for m4 macros.
* any.m4: Likewise.
* count.m4: Likewise.
* cshift1.m4: Likewise.
* eoshift1.m4: Likewise.
* eoshift3.m4: Likewise.
* exponent.m4: Likewise.
* fraction.m4: Likewise.
* in_pack.m4: Likewise.
* in_unpack.m4: Likewise.
* matmul.m4: Likewise.
* matmull.m4: Likewise.
* nearest.m4: Likewise.
* pow.m4: Likewise.
* product.m4: Likewise.
* reshape.m4: Likewise.
* rrspacing.m4: Likewise.
* set_exponent.m4: Likewise.
* shape.m4: Likewise.
* spacing.m4: Likewise.
* transpose.m4: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122927
138bc75d-0d04-0410-961f-
82ee72b054a4
manu [Wed, 14 Mar 2007 18:52:20 +0000 (18:52 +0000)]
2007-03-14 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
cp/
* class.c (warn_hidden): Add OPT_Woverloaded_virtual to warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122926
138bc75d-0d04-0410-961f-
82ee72b054a4
manu [Wed, 14 Mar 2007 18:37:37 +0000 (18:37 +0000)]
2007-03-14 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR c/21438
* c-common.h (warn_for_div_by_zero): Declare.
* c-common.c (warn_for_div_by_zero): Define.
* c-typeck.c (build_binary_op): Call warn_for_div_zero instead of
warning.
cp/
* typeck.c (build_binary_op): Call warn_for_div_zero instead of
warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122925
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 14 Mar 2007 16:06:36 +0000 (16:06 +0000)]
gcc/
* Makefile.in (PREPROCESSOR_DEFINES): Add directory terminators
to PREFIX and STANDARD_PREFIX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122924
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 14 Mar 2007 13:58:21 +0000 (13:58 +0000)]
gcc/
200x-xx-xx Richard Sandiford <richard@codesourcery.com>
Phil Edwards <phil@codesourcery.com>
* gthr-vxworks.h: Add an extern "C" wrapper for C++.
(__gthread_once_t): Remove busy field for RTPs.
(__GTHREAD_ONCE_INIT): Update accordingly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122923
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 14 Mar 2007 13:58:04 +0000 (13:58 +0000)]
gcc/
* doc/invoke.texi: Document VxWorks options.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122922
138bc75d-0d04-0410-961f-
82ee72b054a4
fxcoudert [Wed, 14 Mar 2007 13:31:09 +0000 (13:31 +0000)]
* trans-array.c (gfc_trans_auto_array_allocation): Replace
fold(convert()) by fold_convert().
(gfc_duplicate_allocatable): Likewise.
* trans-intrinsic.c (gfc_conv_intrinsic_dot_product): Use
build_int_cst instead of converting an integer_zero_node
to the final type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122921
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 14 Mar 2007 12:58:23 +0000 (12:58 +0000)]
* Makefile.am (AM_MAKEFLAGS): Pass through mandir.
* Makefile.in: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122919
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 14 Mar 2007 12:16:24 +0000 (12:16 +0000)]
* module.c (mio_typespec): Don't look at ts->cl if not BT_CHARACTER.
* gfortran.dg/module_implicit_conversion.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122915
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 14 Mar 2007 12:14:58 +0000 (12:14 +0000)]
* io/unix.c (regular_file): For ACTION_UNSPECIFIED retry with
O_RDONLY even if errno is EROFS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122914
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Wed, 14 Mar 2007 11:37:55 +0000 (11:37 +0000)]
* testsuite/lib/libstdc++.exp (check_v3_target_fileio,
check_v3_target_time): New.
* testsuite/lib/dg-options.exp (dg-require-fileio,
dg-require-time): New.
* testsuite/ext/stdio_sync_filebuf/char/12048-1.cc: Use it.
* testsuite/ext/stdio_sync_filebuf/char/12048-2.cc: Use it.
* testsuite/ext/stdio_sync_filebuf/char/12048-3.cc: Use it.
* testsuite/ext/stdio_sync_filebuf/char/12048-4.cc: Use it.
* testsuite/ext/stdio_sync_filebuf/char/1.cc: Use it.
* testsuite/ext/stdio_filebuf/char/2.cc: Use it.
* testsuite/ext/stdio_filebuf/char/10063-1.cc: Use it.
* testsuite/ext/stdio_filebuf/char/10063-2.cc: Use it.
* testsuite/ext/stdio_filebuf/char/10063-3.cc: Use it.
* testsuite/22_locale/time_put/put/char/12439_1.cc: Use it.
* testsuite/22_locale/time_put/put/char/12439_3.cc: Use it.
* testsuite/27_io/basic_ofstream/open/char/1.cc: Use it.
* testsuite/27_io/basic_ofstream/cons/char/2.cc: Use it.
* testsuite/27_io/objects/char/12048-2.cc: Use it.
* testsuite/27_io/objects/char/12048-4.cc: Use it.
* testsuite/27_io/objects/char/12048-1.cc: Use it.
* testsuite/27_io/objects/char/12048-3.cc: Use it.
* testsuite/27_io/objects/char/10.cc: Use it.
* testsuite/27_io/objects/char/12048-5.cc: Use it.
* testsuite/27_io/basic_istream/get/char/2.cc: Use it.
* testsuite/27_io/basic_istream/ignore/char/2.cc: Use it.
* testsuite/27_io/basic_istream/ignore/char/3.cc: Use it.
* testsuite/27_io/basic_istream/getline/char/5.cc: Use it.
* testsuite/27_io/basic_istream/seekg/char/sstream.cc: Use it.
* testsuite/27_io/basic_istream/seekg/char/fstream.cc: Use it.
* testsuite/27_io/basic_istream/readsome/char/6746-2.cc: Use it.
* testsuite/27_io/basic_istream/extractors_other/char/2.cc: Use it.
* testsuite/27_io/basic_istream/tellg/char/sstream.cc: Use it.
* testsuite/27_io/basic_istream/tellg/char/1.cc: Use it.
* testsuite/27_io/basic_istream/tellg/char/fstream.cc: Use it.
* testsuite/27_io/basic_istream/extractors_character/char/4.cc: Use it.
* testsuite/27_io/basic_ostream/inserters_other/char/1.cc: Use it.
* testsuite/27_io/basic_ostream/tellp/char/1.cc: Use it.
* testsuite/27_io/basic_ostream/seekp/char/2346-fstream.cc: Use it.
* testsuite/27_io/basic_ifstream/open/char/1.cc: Use it.
* testsuite/27_io/basic_ifstream/cons/char/1.cc: Use it.
* testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetn/char/3.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/11543.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc: Use it.
* testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Use it.
* testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc: Use it.
* testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Use it.
* testsuite/27_io/basic_filebuf/setbuf/char/2.cc: Use it.
* testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Use it.
* testsuite/27_io/basic_filebuf/setbuf/char/12875-1.cc: Use it.
* testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc: Use it.
* testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sbumpc/char/9825.cc: Use it.
* testsuite/27_io/basic_filebuf/is_open/char/1.cc: Use it.
* testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Use it.
* testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: Use it.
* testsuite/27_io/basic_filebuf/open/12790-1.cc: Use it.
* testsuite/27_io/basic_filebuf/open/char/1.cc: Use it.
* testsuite/27_io/basic_filebuf/open/char/2.cc: Use it.
* testsuite/27_io/basic_filebuf/open/char/3.cc: Use it.
* testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Use it.
* testsuite/27_io/basic_filebuf/overflow/char/2.cc: Use it.
* testsuite/27_io/basic_filebuf/overflow/char/9988.cc: Use it.
* testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Use it.
* testsuite/27_io/basic_filebuf/overflow/char/9169.cc: Use it.
* testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: Use it.
* testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: Use it.
* testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/close/12790-1.cc: Use it.
* testsuite/27_io/basic_filebuf/close/char/1.cc: Use it.
* testsuite/27_io/basic_filebuf/close/char/12790-1.cc: Use it.
* testsuite/27_io/basic_filebuf/close/char/12790-2.cc: Use it.
* testsuite/27_io/basic_filebuf/close/char/2.cc: Use it.
* testsuite/27_io/basic_filebuf/close/char/12790-3.cc: Use it.
* testsuite/27_io/basic_filebuf/close/char/12790-4.cc: Use it.
* testsuite/27_io/basic_filebuf/close/char/4.cc: Use it.
* testsuite/27_io/basic_filebuf/underflow/10096.cc: Use it.
* testsuite/27_io/basic_filebuf/underflow/char/2.cc: Use it.
* testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Use it.
* testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Use it.
* testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: Use it.
* testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Use it.
* testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: Use it.
* testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Use it.
* testsuite/21_strings/basic_string/inserters_extractors/char/10.cc: Use it.
* testsuite/21_strings/basic_string/inserters_extractors/char/11.cc: Use it.
* testsuite/21_strings/basic_string/inserters_extractors/char/5.cc: Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122913
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Wed, 14 Mar 2007 07:53:32 +0000 (07:53 +0000)]
* testsuite/libmudflap.cth/pass59-frag.c (main): Fix casting of arg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122911
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Wed, 14 Mar 2007 07:47:32 +0000 (07:47 +0000)]
* doc/invoke.texi (i386 and x86-64 Options): Clarify -msahf option.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122910
138bc75d-0d04-0410-961f-
82ee72b054a4
spark [Wed, 14 Mar 2007 05:48:35 +0000 (05:48 +0000)]
2007-03-13 Seongbae Park <seongbae.park@gmail.com>
PR tree-optimization/30590
* tree-nrv.c (tree_nrv): Check for the partial update of the
return value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122909
138bc75d-0d04-0410-961f-
82ee72b054a4
brooks [Wed, 14 Mar 2007 04:49:11 +0000 (04:49 +0000)]
Fixed pr-number typo in last ChangeLog entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122908
138bc75d-0d04-0410-961f-
82ee72b054a4
brooks [Wed, 14 Mar 2007 04:38:47 +0000 (04:38 +0000)]
PR fortran/30922
PR fortran/30948
PR fortran/30953
* intrinsics.texi (CHDIR): Fix argument names, note
that STATUS must be a default integer.
(CTIME): Fix argument names, note that RESULT must
be a default integer.
(EXIT): Note that STATUS must be a default integer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122905
138bc75d-0d04-0410-961f-
82ee72b054a4
brooks [Wed, 14 Mar 2007 02:43:27 +0000 (02:43 +0000)]
PR fortran/28068
* intrinsic.texi: General whitespace cleanup, remove
comment about missing intrinsics.
(menu): Add lines for new entries listed below.
(ACOSH): Mention specific function DACOSH, correct
description phrasing.
(ASINH): Mention specific function DASINH, correct
description phrasing.
(ATANH): Mention specific function DATANH, correct
description phrasing.
(COS): Add index entry for CCOS.
(CPU_TIME): Correct "REAL" to "REAL(*)".
(EXP): Add index entry for CEXP.
(INT): Correct argument name to "A".
(INT2): New entry.
(INT8): New entry.
(LONG): New entry.
(MAX): Add index entries for specific variants.
(MCLOCK): New entry.
(MCLOCK8): New entry.
(SECNDS): Adjust to a more standard form.
(SECOND): New entry.
(TIME): Add cross-reference to MCLOCK.
(TIME8): Add cross-reference to MCLOCK8.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122902
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Wed, 14 Mar 2007 01:47:33 +0000 (01:47 +0000)]
gcc/ChangeLog:
* flags.h (flag_random_seed): Remove declaration, in favor of...
* toplev.h (get_random_seed, set_random_seed): ... these.
* tree.c (get_file_function_name): Use the former.
* opts.c (common_handle_option): Use the latter.
* toplev.c
gcc/cp/ChangeLog:
* cp/repo.c (init_repo): Initialize random_seed saved options.
(finish_repo): Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122901
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Wed, 14 Mar 2007 01:45:39 +0000 (01:45 +0000)]
gcc/ChangeLog:
PR middle-end/31127
* cse.c (cse_find_path): Do not bail out if a basic block that
we already visited now becomes part of a path that starts at a
different basic block. Just disallow this, to make sure we
visit each basic block at most once.
gcc/testsuite/ChangeLog:
PR middle-end/31127
* gcc.dg/pr31127.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122900
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 14 Mar 2007 01:26:00 +0000 (01:26 +0000)]
* ipa-inline.c (cgraph_maybe_hot_edge_p): Look for hot/cold attributes,
when profile esitmate is present, calls with very low frequency are
cold.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122898
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Wed, 14 Mar 2007 00:38:34 +0000 (00:38 +0000)]
PR tree-optimization/30730
PR tree-optimization/26900
* tree-ssa-loop-niter.c: Include gmp.h.
(bounds): New type.
(mpz_set_double_int, get_type_bounds, mpz_to_double_int,
split_to_var_and_offset, determine_value_range,
bound_difference_of_offsetted_base, refine_bounds_using_guard,
bound_difference, bounds_add, bounds_negate,
number_of_iterations_ne_max, dump_affine_iv): New functions.
(number_of_iterations_ne, number_of_iterations_lt_to_ne,
assert_loop_rolls_lt, assert_loop_rolls_le): Use bounds on the
difference of initial and final value of control iv to validate
results.
(number_of_iterations_cond): Add loop parameter. Determine bounds
on the difference of the extremes of the control iv. Add dumps.
(expand_simple_operations): Handle phi nodes.
(simplify_using_initial_conditions): Do not record used conditions.
(number_of_iterations_exit): Pass loop to number_of_iterations_cond.
Do not set additional_info.
(implies_nonnegative_p, implies_ge_p): Removed.
(derive_constant_upper_bound): Do not use parameter `additional'.
(record_estimate): Parameter `additional' removed. Parameter
`i_bound' added. Do not call derive_constant_upper_bound.
(record_nonwrapping_iv): Use derive_constant_upper_bound to
bound the number of iterations estimate.
(estimate_numbers_of_iterations_loop): Pass the estimate from
the number of iterations analysis to record_estimate.
* tree.h (multiple_of_p): Declare.
* tree-scalar-evolution.c (expression_expensive_p): Removed.
(scev_const_prop): Do not check expression_expensive_p.
* fold-const.c (multiple_of_p): Exported.
* double-int.c (double_int_mask): Exported.
* double-int.h (double_int_mask): Declare.
* tree-flow.h (struct tree_niter_desc): Removed additional_info
field. Added max field.
* gcc.dg/tree-ssa/loop-26.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122896
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 14 Mar 2007 00:17:13 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122894
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 13 Mar 2007 23:51:07 +0000 (23:51 +0000)]
PR bootstrap/30899
* Make-lang.in (doc/g++.1): Use $< to specify the location from
which to copy.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122890
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 13 Mar 2007 23:50:42 +0000 (23:50 +0000)]
2007-03-13 David Taylor <taylor@candd.org>
PR driver/12448:
* gcc.c (cpp_unique_options): If -MT or -MQ is seen, don't pass
default -MQ.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122889
138bc75d-0d04-0410-961f-
82ee72b054a4