GCC Administrator
60376e9d19
Daily bump.
...
From-SVN: r150508
2009-08-06 00:16:44 +00:00
Tobias Burnus
a7b75755c5
re PR fortran/40969 (Revision 150465 failed gfortran.dg/c_by_val_1.f)
...
2009-08-05 Tobias Burnus <burnus@net-b.de>
PR fortran/40969
Revert:
2009-08-04 Tobias Burnus <burnus@net-b.de>
PR fortran/40949
* trans-types.c (gfc_get_function_type): Fix typelist of
functions without argument.
From-SVN: r150500
2009-08-05 22:47:19 +02:00
Andrew Pinski
dcbd7063fc
tree-ssa-alias.c: Fix intervals to use [) syntax.
...
2009-08-05 Andrew Pinski <pinskia@gmail.com>
* tree-ssa-alias.c: Fix intervals to use [) syntax.
From-SVN: r150496
2009-08-05 10:20:33 -07:00
Andreas Tobler
78729ee244
fortran.exp: Add flags in case of shared only build.
...
2009-08-05 Andreas Tobler <a.tobler@schweiz.org>
* testsuite/libgomp.fortran/fortran.exp: Add flags in case of shared
only build.
From-SVN: r150495
2009-08-05 18:11:54 +02:00
Paul Thomas
fd1e840d81
re PR fortran/40847 (segfault & bogus warning)
...
2009-08-05 Paul Thomas <pault@gcc.gnu.org>
PR fortran/40847
* iresolve.c (gfc_resolve_transfer): Correct error in 'mold'
character length for case where length expresson is NULL.
2009-08-05 Paul Thomas <pault@gcc.gnu.org>
PR fortran/40847
* gfortran.dg/transfer_resolve_1.f90 : New test.
From-SVN: r150493
2009-08-05 16:10:19 +00:00
Uros Bizjak
ec52288b33
* gcc.target/i386/pr40906-3.c: Run only on *-*-linux* targets.
...
From-SVN: r150488
2009-08-05 16:49:51 +02:00
Uros Bizjak
2c4389d869
re PR target/40906 (Wrong code generated for push of long double)
...
PR target/40906
* config/i386/i386.c (ix86_split_long_move): Fix push of multi-part
source operand.
testsuite/ChangeLog:
PR target/40906
* gcc.target/i386/pr40906-1.c: New test.
* gcc.target/i386/pr40906-2.c: Ditto.
* gcc.target/i386/pr40906-3.c: Ditto.
Co-Authored-By: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
From-SVN: r150486
2009-08-05 16:41:54 +02:00
Jakub Jelinek
403c752036
re PR rtl-optimization/40924 (miscompiles with -O3 (seemingly related to attribute may_alias))
...
PR rtl-optimization/40924
* dse.c (canon_address): Before calling cselib_expand_value_rtx
make sure canon_rtx (mem_address) isn't simpler than
canon_rtx (expanded_mem_address).
* g++.dg/torture/pr40924.C: New test.
From-SVN: r150483
2009-08-05 14:36:34 +02:00
Li Feng
64393e407d
build alias set for drs in SCoP instead of in pbb.
...
2009-08-05 Li Feng <nemokingdom@gmail.com>
* graphite-sese-to-poly.c (build_pbb_drs): Remove build alias set
for each poly_bb_p.
(build_scop_drs): Build alias set for each SCoP.
From-SVN: r150478
2009-08-05 07:37:36 +00:00
Sandra Loosemore
5dce6dbd99
invoke.texi (MIPS Options): Document new 1004K -march options.
...
2009-08-04 Sandra Loosemore <sandra@codesourcery.com>
gcc/
* doc/invoke.texi (MIPS Options): Document new 1004K -march options.
* config/mips/mips.c (mips_cpu_info_table): Add 1004K cores.
* config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Add pattern for 1004K.
(MIPS_ARCH_FLOAT_SPEC): Likewise.
(BASE_DRIVER_SELF_SPECS): Likewise.
From-SVN: r150475
2009-08-04 20:46:07 -04:00
GCC Administrator
c12bec657f
Daily bump.
...
From-SVN: r150474
2009-08-05 00:16:44 +00:00
Manuel López-Ibáñez
69fb983211
re PR c++/36069 (Strange "warning: suggest parentheses around assignment used as truth value" with volatile/non volatile bools)
...
2009-08-05 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR c++/36069
cp/
* typeck.c (convert_for_assignment): Do not warn for any boolean
variant. Use explicit location.
testsuite/
* g++.dg/warn/pr36069.C: New.
From-SVN: r150471
2009-08-04 23:51:07 +00:00
Andrew Pinski
f9fc1a02d7
tree-ssa-alias.c: Fix some comment typos.
...
2009-08-04 Andrew Pinski <pinskia@gmail.com>
* tree-ssa-alias.c: Fix some comment typos.
From-SVN: r150470
2009-08-04 15:45:33 -07:00
Kaz Kojima
09a7d0af40
linux-atomic.asm (ATOMIC_BOOL_COMPARE_AND_SWAP, [...]): Define.
...
* config/sh/linux-atomic.asm (ATOMIC_BOOL_COMPARE_AND_SWAP,
ATOMIC_OP_AND_FETCH, ATOMIC_COMBOP_AND_FETCH): Define.
From-SVN: r150469
2009-08-04 21:33:50 +00:00
Dodji Seketeli
3693f26675
re PR c++/39987 (Rejects default argument that is a template via access failure)
...
2009-08-04 Dodji Seketeli <dodji@redhat.com>
gcc/cp/ChangeLog:
PR c++/39987
* pt.c (tsubst_default_argument): Let access checks of the
default argument happen in the context of the current function.
gcc/testsuite/ChangeLog:
PR c++/39987
* g++.dg/overload/defarg4.C: New test.
From-SVN: r150467
2009-08-04 21:49:48 +02:00
Tobias Burnus
4eb0668e9b
re PR fortran/40949 (FAIL: gfortran.dg/proc_ptr_7.f90)
...
2009-08-04 Tobias Burnus <burnus@net-b.de>
PR fortran/40949
* trans-types.c (gfc_get_function_type): Fix typelist of
functions without argument.
From-SVN: r150465
2009-08-04 19:35:59 +02:00
David Daney
b13b7f3990
mutex.h (gomp_mutex_unlock): Add comment about needed memory barrier semantics.
...
2009-08-04 David Daney <ddaney@caviumnetworks.com>
* config/linux/mutex.h (gomp_mutex_unlock): Add comment about
needed memory barrier semantics.
* config/linux/mips/mutex.h: New file.
From-SVN: r150463
2009-08-04 17:25:42 +00:00
Manuel López-Ibáñez
481817e4b9
re PR c++/16696 (Strange message when operator++ not found)
...
2009-08-04 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR c++/16696
cp/
* call.c (build_new_op): Only try prefix operator if -fpermissive,
otherwise just error.
testsuite/
* g++.dg/parse/pr16696.C: New.
* g++.dg/parse/pr16696-permissive.C: New.
From-SVN: r150461
2009-08-04 15:51:12 +00:00
Joseph Myers
1b2dc47dd6
* es.po: Update.
...
From-SVN: r150458
2009-08-04 15:57:16 +01:00
Paolo Carlini
05168714db
re PR libstdc++/15523 ([DR 408] Can't have vectors of vector::const_iterator)
...
2009-08-04 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/15523
* include/debug/safe_iterator.h (_Safe_iterator<>::
_Safe_iterator(const _Safe_iterator&), _Safe_iterator<>::
operator=(const _Safe_iterator&)): Implement resolution of DR 408,
do not error out when the source is a value-initialized iterator.
* testsuite/23_containers/vector/15523.cc: New.
* doc/xml/manual/intro.xml: Add an entry for DR 408.
From-SVN: r150455
2009-08-04 13:01:08 +00:00
Paul Thomas
51b128a0c0
re PR fortran/40875 (ICE with illegal type conversion)
...
2009-08-04 Paul Thomas <pault@gcc.gnu.org>
PR fortran/40875
* decl.c (add_init_expr_to_sym): Character symbols can only be
initialized with character expressions.
2009-08-04 Paul Thomas <pault@gcc.gnu.org>
PR fortran/40875
* gfortran.dg/initialization_23.f90 : New test.
From-SVN: r150454
2009-08-04 12:41:08 +00:00
Dodji Seketeli
b96fe38e46
re PR debug/39706 (namespaces represented incorrectly in debug_pubnames)
...
2009-08-04 Dodji Seketeli <dodji@redhat.com>
gcc/cp/ChangeLog:
PR debug/39706
* error.c (lang_decl_name): Print qualified names for decls
in namespace scope.
gcc/testsuite/ChangeLog:
PR debug/39706
* g++.dg/debug/dwarf2/pubnames-1.C: New test.
From-SVN: r150452
2009-08-04 14:26:01 +02:00
Jason Merrill
567ef7490f
re PR c++/40948 (ICE in lower_stmt, at gimple-low.c:408)
...
PR c++/40948
* init.c (build_vec_init): Look through a TARGET_EXPR around a
CONSTRUCTOR.
Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r150394
2009-08-03 22:10:05 -04:00
GCC Administrator
8ff17e188d
Daily bump.
...
From-SVN: r150393
2009-08-04 00:17:05 +00:00
Paolo Carlini
53a381dc16
istream (operator>>(basic_istream<>&&, _Tp&)): Minor cosmetic changes, inline.
...
2009-08-03 Paolo Carlini <paolo.carlini@oracle.com>
* include/std/istream (operator>>(basic_istream<>&&, _Tp&)): Minor
cosmetic changes, inline.
* include/std/ostream (operator<<(basic_ostream<>&&, const _Tp&)):
Likewise.
* include/bits/move.h: Minor cosmetic changes.
From-SVN: r150387
2009-08-03 21:53:25 +00:00
Janis Johnson
50cd60be11
re PR c/39902 (x * 1.0DF gets wrong value)
...
PR c/39902
* simplify-rtx.c (simplify_binary_operation_1): Disable
simplifications for decimal float operations.
PR c/39902
* gcc.target/powerpc/pr39902-2.c: New test.
From-SVN: r150383
2009-08-03 21:38:53 +00:00
Jakub Jelinek
1768a05203
re PR middle-end/40943 (Uninitialized warning is missed when dereferencing uninitialized pointers)
...
PR middle-end/40943
* tree-ssa.c (warn_uninitialized_var): Even on LHS warn for
operand of INDIRECT_REF.
* gcc.dg/uninit-6.c: Re-add XFAIL.
* gcc.dg/uninit-6-O0.c: Likewise.
* gcc.dg/uninit-pr40943.c: New test.
From-SVN: r150379
2009-08-03 21:26:10 +02:00
Andrew Haley
239bca9def
re PR middle-end/40867 (FAIL: StackTrace2 output - source compiled test)
...
2009-07-31 Andrew Haley <aph@redhat.com>
PR java/40867
* decl.c (java_replace_references): Set EXPR_LOCATION on all
generated expressions.
(binding_level.loc): new field.
(clear_binding_level): Initialize loc.
(set_input_location): New function.
(pushlevel): Set new binding_level.loc.
(poplevel): Set EXPR_LOCATION on the new BIND_EXPR_BODY.
(start_java_method): Set DECL_SOURCE_LOCATION of this new method.
(java_add_stmt): Set the EXPR_LOCATION on all subtrees of new_stmt.
From-SVN: r150376
2009-08-03 17:55:11 +00:00
John David Anglin
267bd2b15e
re PR testsuite/40858 (FAIL: g++.dg/debug/dwarf2/typedef1.C)
...
PR testsuite/40858
* g++.dg/debug/dwarf2/typedef1.C: Also match assembler string used with
.ascii.
From-SVN: r150375
2009-08-03 17:29:17 +00:00
Uros Bizjak
42a9ba1d7e
alpha.c (alpha_legitimate_constant_p): Reject CONST constants referencing TLS symbols.
...
* config/alpha/alpha.c (alpha_legitimate_constant_p): Reject CONST
constants referencing TLS symbols.
From-SVN: r150372
2009-08-03 17:58:55 +02:00
SUGIOKA Toshinobu
9f774cb03a
linux-atomic.asm (ATOMIC_COMPARE_AND_SWAP): Rename __sync_compare_and_swap_* to __sync_val_compare_and_swap_*.
...
* config/sh/linux-atomic.asm (ATOMIC_COMPARE_AND_SWAP): Rename
__sync_compare_and_swap_* to __sync_val_compare_and_swap_*.
From-SVN: r150371
2009-08-03 10:33:16 +00:00
Richard Guenther
907dd6ae39
tree.c (make_vector_type): Build a main variant first, get the canonical one and then build the variant.
...
2009-08-03 Richard Guenther <rguenther@suse.de>
* tree.c (make_vector_type): Build a main variant first,
get the canonical one and then build the variant.
* tree-ssa.c (useless_type_conversion_p_1): Handle
fixed-point types.
(useless_type_conversion_p): Conversions to pointers to
incomplete record types are useless.
From-SVN: r150370
2009-08-03 10:30:46 +00:00
Richard Guenther
2329c6f56d
tree-cfg.c (pass_warn_unused_result): Mark name that no dump file will be created.
...
2009-08-03 Richard Guenther <rguenther@suse.de>
* tree-cfg.c (pass_warn_unused_result): Mark name that no dump
file will be created.
* omp-low.c (pass_diagnose_omp_blocks): Likewise.
* toplev.c (compile_file): Adjust comment.
From-SVN: r150369
2009-08-03 10:29:08 +00:00
Kaz Kojima
d055ce45a4
sh-protos.h (sh_promote_function_mode): Remove.
...
* config/sh/sh-protos.h (sh_promote_function_mode): Remove.
* config/sh/sh.c (sh_promote_function_mode): Wrap long lines.
(TARGET_PROMOTE_FUNCTION_MODE): Define.
(TARGET_PROMOTE_FUNCTION_ARGS): Remove.
(sh_promote_function_mode): Fix typo.
From-SVN: r150368
2009-08-03 10:27:44 +00:00
Andreas Krebbel
b168048349
explow.c (promote_mode): Mark TYPE and PUNSIGNEDP as possibly unused.
...
2009-08-03 Andreas Krebbel <krebbel1@de.ibm.com>
* explow.c (promote_mode): Mark TYPE and PUNSIGNEDP as
possibly unused.
From-SVN: r150367
2009-08-03 09:18:28 +00:00
GCC Administrator
16bc018cb8
Daily bump.
...
From-SVN: r150364
2009-08-03 00:16:52 +00:00
Paolo Carlini
453def3ea1
PR libstdc++/40912 (final)
...
2009-08-02 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/40912 (final)
* testsuite/26_numerics/random/mt19937.cc: dg-require-cstdint.
* testsuite/26_numerics/random/uniform_real_distribution/cons/
parms_neg.cc: Likewise.
* testsuite/26_numerics/random/uniform_real_distribution/cons/
parms.cc: Likewise.
* testsuite/26_numerics/random/uniform_real_distribution/cons/
default.cc: Likewise.
* testsuite/26_numerics/random/uniform_real_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/piecewise_constant_distribution/
cons/range.cc: Likewise.
* testsuite/26_numerics/random/piecewise_constant_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/piecewise_constant_distribution/
cons/num_xbound_fun.cc: Likewise.
* testsuite/26_numerics/random/piecewise_constant_distribution/
cons/initlist_fun.cc: Likewise.
* testsuite/26_numerics/random/piecewise_constant_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/minstd_rand.cc: Likewise.
* testsuite/26_numerics/random/chi_squared_distribution/cons/
parms.cc: Likewise.
* testsuite/26_numerics/random/chi_squared_distribution/cons/
default.cc: Likewise.
* testsuite/26_numerics/random/chi_squared_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/normal_distribution/
cons/parms.cc: Likewise.
* testsuite/26_numerics/random/normal_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/normal_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/seed_seq/cons/
range.cc: Likewise.
* testsuite/26_numerics/random/seed_seq/cons/
initlist.cc: Likewise.
* testsuite/26_numerics/random/seed_seq/cons/
default.cc: Likewise.
* testsuite/26_numerics/random/seed_seq/requirements/
typedefs.cc: Likewise.
* testsuite/26_numerics/random/uniform_int_distribution/
cons/parms_neg.cc: Likewise.
* testsuite/26_numerics/random/uniform_int_distribution/
cons/parms.cc: Likewise.
* testsuite/26_numerics/random/uniform_int_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/uniform_int_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/poisson_distribution/cons/
parms.cc: Likewise.
* testsuite/26_numerics/random/poisson_distribution/cons/
default.cc: Likewise.
* testsuite/26_numerics/random/poisson_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/bernoulli_distribution/
cons/parms.cc: Likewise.
* testsuite/26_numerics/random/bernoulli_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/bernoulli_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/ranlux24_base.cc: Likewise.
* testsuite/26_numerics/random/
default_random_engine.cc: Likewise.
* testsuite/26_numerics/random/discrete_distribution/
cons/range.cc: Likewise.
* testsuite/26_numerics/random/discrete_distribution/
cons/initlist.cc: Likewise.
* testsuite/26_numerics/random/discrete_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/discrete_distribution/
cons/num_xbound_fun.cc: Likewise.
* testsuite/26_numerics/random/discrete_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/weibull_distribution/
cons/parms.cc: Likewise.
* testsuite/26_numerics/random/weibull_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/weibull_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/independent_bits_engine/
cons/base_move.cc: Likewise.
* testsuite/26_numerics/random/independent_bits_engine/
cons/seed1.cc: Likewise.
* testsuite/26_numerics/random/independent_bits_engine/
cons/seed2.cc: Likewise.
* testsuite/26_numerics/random/independent_bits_engine/
cons/base_copy.cc: Likewise.
* testsuite/26_numerics/random/independent_bits_engine/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/independent_bits_engine/
cons/seed_seq.cc: Likewise.
* testsuite/26_numerics/random/independent_bits_engine/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/independent_bits_engine/
operators/equal.cc: Likewise.
* testsuite/26_numerics/random/independent_bits_engine/
operators/serialize.cc: Likewise.
* testsuite/26_numerics/random/ranlux48_base.cc: Likewise.
* testsuite/26_numerics/random/minstd_rand0.cc: Likewise.
* testsuite/26_numerics/random/subtract_with_carry_engine/
cons/seed1.cc: Likewise.
* testsuite/26_numerics/random/subtract_with_carry_engine/
cons/seed2.cc: Likewise.
* testsuite/26_numerics/random/subtract_with_carry_engine/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/subtract_with_carry_engine/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/subtract_with_carry_engine/
operators/equal.cc: Likewise.
* testsuite/26_numerics/random/subtract_with_carry_engine/
operators/serialize.cc: Likewise.
* testsuite/26_numerics/random/discard_block_engine/cons/
base_move.cc: Likewise.
* testsuite/26_numerics/random/discard_block_engine/cons/
seed1.cc: Likewise.
* testsuite/26_numerics/random/discard_block_engine/cons/
seed2.cc: Likewise.
* testsuite/26_numerics/random/discard_block_engine/cons/
base_copy.cc: Likewise.
* testsuite/26_numerics/random/discard_block_engine/cons/
default.cc: Likewise.
* testsuite/26_numerics/random/discard_block_engine/cons/
seed_seq.cc: Likewise.
* testsuite/26_numerics/random/discard_block_engine/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/discard_block_engine/
operators/equal.cc: Likewise.
* testsuite/26_numerics/random/discard_block_engine/
operators/serialize.cc: Likewise.
* testsuite/26_numerics/random/cauchy_distribution/
cons/parms.cc: Likewise.
* testsuite/26_numerics/random/cauchy_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/cauchy_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/negative_binomial_distribution/
cons/parms.cc: Likewise.
* testsuite/26_numerics/random/negative_binomial_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/negative_binomial_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/gamma_distribution/
cons/parms.cc: Likewise.
* testsuite/26_numerics/random/gamma_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/gamma_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/mersenne_twister_engine/
cons/seed1.cc: Likewise.
* testsuite/26_numerics/random/mersenne_twister_engine/
cons/seed2.cc: Likewise.
* testsuite/26_numerics/random/mersenne_twister_engine/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/mersenne_twister_engine/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/mersenne_twister_engine/
operators/equal.cc: Likewise.
* testsuite/26_numerics/random/mersenne_twister_engine/
operators/serialize.cc: Likewise.
* testsuite/26_numerics/random/fisher_f_distribution/
cons/parms.cc: Likewise.
* testsuite/26_numerics/random/fisher_f_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/fisher_f_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/exponential_distribution/
cons/parms.cc: Likewise.
* testsuite/26_numerics/random/exponential_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/exponential_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/binomial_distribution/
cons/parms.cc: Likewise.
* testsuite/26_numerics/random/binomial_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/binomial_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/lognormal_distribution/
cons/parms.cc: Likewise.
* testsuite/26_numerics/random/lognormal_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/lognormal_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/mt19937_64.cc: Likewise.
* testsuite/26_numerics/random/random_device/cons/
token.cc: Likewise.
* testsuite/26_numerics/random/random_device/cons/
default.cc: Likewise.
* testsuite/26_numerics/random/random_device/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/ranlux24.cc: Likewise.
* testsuite/26_numerics/random/extreme_value_distribution/
cons/parms.cc: Likewise.
* testsuite/26_numerics/random/extreme_value_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/extreme_value_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/piecewise_linear_distribution/
cons/range.cc: Likewise.
* testsuite/26_numerics/random/piecewise_linear_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/piecewise_linear_distribution/
cons/num_xbound_fun.cc: Likewise.
* testsuite/26_numerics/random/piecewise_linear_distribution/
cons/initlist_fun.cc: Likewise.
* testsuite/26_numerics/random/piecewise_linear_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/student_t_distribution/
cons/parms.cc: Likewise.
* testsuite/26_numerics/random/student_t_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/student_t_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/linear_congruential_engine/
cons/seed1.cc: Likewise.
* testsuite/26_numerics/random/linear_congruential_engine/
cons/seed2.cc: Likewise.
* testsuite/26_numerics/random/linear_congruential_engine/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/linear_congruential_engine/
requirements/non_uint_neg.cc: Likewise.
* testsuite/26_numerics/random/linear_congruential_engine/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/linear_congruential_engine/
operators/equal.cc: Likewise.
* testsuite/26_numerics/random/linear_congruential_engine/
operators/serialize.cc: Likewise.
* testsuite/26_numerics/random/ranlux48.cc: Likewise.
* testsuite/26_numerics/random/shuffle_order_engine/cons/
base_move.cc: Likewise.
* testsuite/26_numerics/random/shuffle_order_engine/cons/
seed1.cc: Likewise.
* testsuite/26_numerics/random/shuffle_order_engine/cons/
seed2.cc: Likewise.
* testsuite/26_numerics/random/shuffle_order_engine/cons/
base_copy.cc: Likewise.
* testsuite/26_numerics/random/shuffle_order_engine/cons/
default.cc: Likewise.
* testsuite/26_numerics/random/shuffle_order_engine/cons/
seed_seq.cc: Likewise.
* testsuite/26_numerics/random/shuffle_order_engine/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/shuffle_order_engine/
operators/equal.cc: Likewise.
* testsuite/26_numerics/random/shuffle_order_engine/
operators/serialize.cc: Likewise.
* testsuite/26_numerics/random/geometric_distribution/
cons/parms.cc: Likewise.
* testsuite/26_numerics/random/geometric_distribution/
cons/default.cc: Likewise.
* testsuite/26_numerics/random/geometric_distribution/
requirements/typedefs.cc: Likewise.
* testsuite/26_numerics/random/knuth_b.cc: Likewise.
From-SVN: r150361
2009-08-02 23:35:41 +00:00
John David Anglin
4ce3042dcb
pa.c (pa_promote_function_mode): Remove ATTRIBUTE_UNUSED from declaration arguments.
...
* pa.c (pa_promote_function_mode): Remove ATTRIBUTE_UNUSED from
declaration arguments.
From-SVN: r150358
2009-08-02 19:28:30 +00:00
Jerry DeLisle
9a1425dac2
re PR fortran/40853 (I/O: Namelist read error)
...
2009-08-02 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/40853
* gfortran.dg/namelist_40.f90: Update error output.
* gfortran.dg/namelist_47.f90: Update error output.
* gfortran.dg/namelist_58.f90: New test.
From-SVN: r150357
2009-08-02 18:47:46 +00:00
Jerry DeLisle
ba286d5696
re PR fortran/40853 (I/O: Namelist read error)
...
2009-08-02 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/40853
* io/list_read.c (nml_get_obj_data): Do not set nl
pointer to first_nl if nl->next is NULL.
From-SVN: r150356
2009-08-02 18:31:07 +00:00
Uros Bizjak
0589e07db3
i386.c (ix86_expand_fp_compare): Use const0_rtx instead of GEN_INT (0x00) and const1_rtx instead of GEN_INT (0x01).
...
* config/i386/i386.c (ix86_expand_fp_compare): Use const0_rtx instead
of GEN_INT (0x00) and const1_rtx instead of GEN_INT (0x01).
(ix86_split_ashl): Ditto.
(ix86_expand_vector_init_one_nonzero): Ditto.
(ix86_expand_vector_set): Ditto.
(ix86_expand_reduc_v4sf): Ditto.
From-SVN: r150355
2009-08-02 20:05:44 +02:00
Eric Botcazou
f698757bbf
Add missing entry
...
From-SVN: r150353
2009-08-02 14:34:42 +00:00
Eric Botcazou
2fa0308640
gigi.h (end_subprog_body): Tweak comment.
...
* gcc-interface/gigi.h (end_subprog_body): Tweak comment.
* gcc-interface/utils.c (end_subprog_body): Likewise.
* gcc-interface/trans.c (gigi): Likewise.
(gnat_to_gnu): Likewise.
From-SVN: r150352
2009-08-02 13:14:15 +00:00
Janus Weil
e2ab8b0935
re PR fortran/40881 ([F03] warn for obsolescent features)
...
2009-08-02 Janus Weil <janus@gcc.gnu.org>
PR fortran/40881
* decl.c (match_char_length): Warn about old-style character length
declarations.
* match.c (match_arithmetic_if,gfc_match_if): Modify warning message
for arithmetic if.
(gfc_match_goto): Warn about computed gotos.
(gfc_match_return): Warn about alternate return.
(gfc_match_st_function): Warn about statement functions.
* resolve.c (resolve_fl_procedure): Modify warning message for
assumed-length character functions.
2009-08-02 Janus Weil <janus@gcc.gnu.org>
PR fortran/40881
* gfortran.dg/aliasing_dummy_1.f90: Add -std=legacy.
* gfortran.dg/altreturn_3.f90: Ditto.
* gfortran.dg/altreturn_5.f90: Ditto.
* gfortran.dg/altreturn_6.f90: Ditto.
* gfortran.dg/altreturn_7.f90: Ditto.
* gfortran.dg/array_constructor_13.f90: Ditto.
* gfortran.dg/arrayio_7.f90: Ditto.
* gfortran.dg/arrayio_8.f90: Ditto.
* gfortran.dg/assumed_charlen_function_3.f90: Modified warning message.
* gfortran.dg/assumed_charlen_function_4.f90: Add -std=legacy.
* gfortran.dg/assumed_charlen_function_5.f90: Modified warning message.
* gfortran.dg/backspace_8.f: Add -std=legacy.
* gfortran.dg/backspace_9.f: Ditto.
* gfortran.dg/char_comparison_1.f: Ditto.
* gfortran.dg/char_decl_1.f90: Ditto.
* gfortran.dg/char_initialiser_actual.f90: Ditto.
* gfortran.dg/char_pointer_assign.f90: Ditto.
* gfortran.dg/char_pointer_dependency.f90: Ditto.
* gfortran.dg/char_pointer_dummy.f90: Ditto.
* gfortran.dg/char_pointer_func.f90: Ditto.
* gfortran.dg/common_8.f90: Ditto.
* gfortran.dg/constant_substring.f: Ditto.
* gfortran.dg/data_char_2.f90: Ditto.
* gfortran.dg/der_array_io_1.f90: Ditto.
* gfortran.dg/der_array_io_2.f90: Ditto.
* gfortran.dg/der_array_io_3.f90: Ditto.
* gfortran.dg/der_io_3.f90: Ditto.
* gfortran.dg/dev_null.F90: Ditto.
* gfortran.dg/direct_io_2.f90: Ditto.
* gfortran.dg/do_iterator_2.f90: Ditto.
* gfortran.dg/e_d_fmt.f90: Ditto.
* gfortran.dg/empty_format_1.f90: Ditto.
* gfortran.dg/entry_17.f90: Modified warning message.
* gfortran.dg/entry_7.f90: Add -std=legacy.
* gfortran.dg/eor_1.f90: Ditto.
* gfortran.dg/equiv_2.f90: Ditto.
* gfortran.dg/equiv_constraint_2.f90: Use new-style character length.
* gfortran.dg/equiv_substr.f90: Add -std=legacy.
* gfortran.dg/extended_char_comparison_1.f: Ditto.
* gfortran.dg/fmt_bz_bn_err.f: Ditto.
* gfortran.dg/fmt_error_2.f90: Ditto.
* gfortran.dg/fmt_read_bz_bn.f90: Ditto.
* gfortran.dg/fmt_tl.f: Ditto.
* gfortran.dg/fmt_white.f: Ditto.
* gfortran.dg/func_derived_1.f90: Ditto.
* gfortran.dg/g77_intrinsics_funcs.f: Ditto.
* gfortran.dg/g77_intrinsics_sub.f: Ditto.
* gfortran.dg/global_references_2.f90: Ditto.
* gfortran.dg/hollerith_1.f90: Ditto.
* gfortran.dg/hollerith.f90: Use new-style character length.
* gfortran.dg/hollerith_f95.f90: Ditto.
* gfortran.dg/ichar_1.f90: Add -std=legacy.
* gfortran.dg/implicit_6.f90: Ditto.
* gfortran.dg/implicit_9.f90: Ditto.
* gfortran.dg/inquire_13.f90: Ditto.
* gfortran.dg/inquire_5.f90: Ditto.
* gfortran.dg/inquire_6.f90: Ditto.
* gfortran.dg/inquire.f90: Ditto.
* gfortran.dg/io_constraints_1.f90: Use new-style character length.
* gfortran.dg/io_constraints_2.f90: Ditto.
* gfortran.dg/list_read_2.f90: Add -std=legacy.
* gfortran.dg/loc_2.f90: Ditto.
* gfortran.dg/logical_1.f90: Ditto.
* gfortran.dg/longline.f: Ditto.
* gfortran.dg/merge_char_1.f90: Ditto.
* gfortran.dg/namelist_12.f: Ditto.
* gfortran.dg/namelist_14.f90: Ditto.
* gfortran.dg/namelist_18.f90: Ditto.
* gfortran.dg/namelist_19.f90: Ditto.
* gfortran.dg/namelist_21.f90: Ditto.
* gfortran.dg/namelist_22.f90: Ditto.
* gfortran.dg/namelist_37.f90: Ditto.
* gfortran.dg/namelist_54.f90: Ditto.
* gfortran.dg/namelist_55.f90: Ditto.
* gfortran.dg/namelist_empty.f90: Ditto.
* gfortran.dg/namelist_use.f90: Use new-style character length.
* gfortran.dg/namelist_use_only.f90: Add -std=legacy.
* gfortran.dg/nested_modules_4.f90: Ditto.
* gfortran.dg/nested_modules_5.f90: Ditto.
* gfortran.dg/open-options-blanks.f: Ditto.
* gfortran.dg/output_exponents_1.f90: Ditto.
* gfortran.dg/parens_5.f90: Ditto.
* gfortran.dg/parens_6.f90: Ditto.
* gfortran.dg/parent_result_ref_2.f90: Modified warning message.
* gfortran.dg/pointer_function_actual_1.f90: Add -std=legacy.
* gfortran.dg/pr15129.f90: Ditto.
* gfortran.dg/pr15332.f: Ditto.
* gfortran.dg/pr16597.f90: Ditto.
* gfortran.dg/pr17143.f90: Ditto.
* gfortran.dg/pr17164.f90: Ditto.
* gfortran.dg/pr17229.f: Modified warning message.
* gfortran.dg/pr18210.f90: Add -std=legacy.
* gfortran.dg/pr19155.f: Ditto.
* gfortran.dg/pr20086.f90: Ditto.
* gfortran.dg/pr20124.f90: Ditto.
* gfortran.dg/pr20755.f: Ditto.
* gfortran.dg/pr20865.f90: Ditto.
* gfortran.dg/pr20950.f: Ditto.
* gfortran.dg/pr21730.f: Ditto.
* gfortran.dg/pr22491.f: Ditto.
* gfortran.dg/pr29713.f90: Ditto.
* gfortran.dg/print_parentheses_1.f: Ditto.
* gfortran.dg/print_parentheses_2.f90: Ditto.
* gfortran.dg/proc_assign_1.f90: Ditto.
* gfortran.dg/proc_decl_1.f90: Ditto.
* gfortran.dg/proc_ptr_17.f90: Add dg-warning.
* gfortran.dg/read_eor.f90: : Add -std=legacy.
* gfortran.dg/read_float_1.f90: Ditto.
* gfortran.dg/read_logical.f90: Ditto.
* gfortran.dg/recursive_statement_functions.f90: Ditto.
* gfortran.dg/return_1.f90: Ditto.
* gfortran.dg/rewind_1.f90: Ditto.
* gfortran.dg/runtime_warning_1.f90: Use new-style character length.
* gfortran.dg/scalar_return_1.f90: Add -std=legacy.
* gfortran.dg/stfunc_1.f90: Ditto.
* gfortran.dg/stfunc_3.f90: Ditto.
* gfortran.dg/stfunc_4.f90: Ditto.
* gfortran.dg/stfunc_6.f90: Ditto.
* gfortran.dg/streamio_2.f90: Ditto.
* gfortran.dg/string_ctor_1.f90: Ditto.
* gfortran.dg/string_null_compare_1.f: Ditto.
* gfortran.dg/substr_6.f90: Ditto.
* gfortran.dg/tl_editing.f90: Ditto.
* gfortran.dg/unf_io_convert_1.f90: Use new-style character length.
* gfortran.dg/warnings_are_errors_1.f90: Modified warning message.
* gfortran.dg/x_slash_1.f: Add -std=legacy.
* gfortran.dg/g77/1832.f: Ditto.
* gfortran.dg/g77/19981216-0.f Ditto.
* gfortran.dg/g77/19990525-0.f: Ditto.
* gfortran.dg/g77/19990826-2.f: Ditto.
* gfortran.dg/g77/20000630-2.f: Ditto.
* gfortran.dg/g77/20010116.f: Ditto.
* gfortran.dg/g77/20010519-1.f: Use new-style character length.
* gfortran.dg/g77/980419-2.f: Add -std=legacy.
* gfortran.dg/g77/980520-1.f: Ditto.
* gfortran.dg/g77/check0.f: Ditto.
* gfortran.dg/g77/cpp3.F: Ditto.
* gfortran.dg/g77/cpp4.F: Use new-style character length.
* gfortran.dg/g77/f77-edit-i-in.f: Add -std=legacy.
* gfortran.dg/g77/f77-edit-t-in.f: Ditto.
* gfortran.dg/g77/short.f: Ditto.
From-SVN: r150349
2009-08-02 12:58:44 +02:00
Adam Nemet
657e81c74f
ext-3.c: Add NOMIPS16.
...
* gcc.target/mips/ext-3.c: Add NOMIPS16.
* gcc.target/mips/ext-4.c: Likewise.
* gcc.target/mips/interrupt_handler.c: Likewise.
* gcc.target/mips/truncate-4.c: Likewise.
* gcc.target/mips/truncate-5.c: Likewise.
From-SVN: r150345
2009-08-02 06:45:33 +00:00
Paolo Bonzini
6e957ac870
2009-08-02 Paolo Bonzini <bonzini@gnu.org
...
* explow.c (promote_function_mode): Remove assert.
* config/sh/sh.c (sh_promote_function_mode): Declare.
From-SVN: r150344
2009-08-02 06:10:29 +00:00
John David Anglin
02095c5014
pa.c (pa_promote_function_mode): Declare.
...
* pa.c (pa_promote_function_mode): Declare. Change to static.
Fix promote_mode call.
From-SVN: r150343
2009-08-02 02:57:37 +00:00
John David Anglin
1f7ec57e69
gthr-dce.h (CONST_CAST2): Define if not defined.
...
* gthr-dce.h (CONST_CAST2): Define if not defined.
(__gthread_setspecific): Use CONST_CAST2 to fix warning.
From-SVN: r150342
2009-08-02 01:38:27 +00:00
John David Anglin
be3e4ef633
config.gcc (hppa[12]*-*-hpux10*): Add stdint support.
...
* config.gcc (hppa[12]*-*-hpux10*): Add stdint support.
From-SVN: r150341
2009-08-02 01:25:33 +00:00
John David Anglin
175196a071
inclhack.def (hpux_inttype_int_least8_t): Also apply on hpux10*.
...
* inclhack.def (hpux_inttype_int_least8_t): Also apply on hpux10*.
(hpux_inttype_int8_t): Likewise.
* fixincl.x: Regenerate.
From-SVN: r150340
2009-08-02 01:18:04 +00:00