Daniel Kraft
0a991dec38
re PR fortran/37199 (array assignment from function writes out of bounds)
...
2008-09-08 Daniel Kraft <d@domob.eu>
PR fortran/37199
* trans-expr.c (gfc_add_interface_mapping): Set new_sym->as.
(gfc_map_intrinsic_function): Added checks against NULL bounds in
array specs.
2008-09-08 Daniel Kraft <d@domob.eu>
PR fortran/37199
* gfortran.dg/array_function_2.f90: New test.
From-SVN: r140102
2008-09-08 11:17:27 +02:00
Tobias Burnus
10c17e8fd0
re PR fortran/37400 (implicit character(len=*,kind=kind('A')) (Q) ... no longer gives the right answer.)
...
2008-09-07 Tobias Burnus <burnus@net.b.de>
PR fortran/37400
* symbol.c (gfc_set_default_type): Copy char len.
2008-09-07 Tobias Burnus <burnus@net.b.de>
PR fortran/37400
* gfortran.dg/implicit_12.f90: New test.
From-SVN: r140100
2008-09-08 09:19:46 +02:00
John David Anglin
d9de9cad96
re PR driver/37409 (-fwhole-program option breaks collect2-generated global constructors)
...
PR driver/37409
* pa-hpux.h (LINK_SPEC): Strip -fwhole-program.
* pa-hpux10.h (LINK_SPEC): Likewise.
* pa-hpux11.h (LINK_SPEC): Likewise.
`
From-SVN: r140099
2008-09-08 04:26:15 +00:00
GCC Administrator
b87c8930ac
Daily bump.
...
From-SVN: r140096
2008-09-08 00:16:44 +00:00
John David Anglin
be2f06ed3d
pa32-regs.h (IRA_COVER_CLASSES): Define.
...
* pa32-regs.h (IRA_COVER_CLASSES): Define.
* pa64-regs.h (IRA_COVER_CLASSES): Define.
From-SVN: r140093
2008-09-07 19:54:30 +00:00
Helge Deller
d6ab7b032f
linux-atomic.c: New file.
...
* pa/linux-atomic.c: New file.
* pa/t-linux (LIB2FUNCS_STATIC_EXTRA): Define.
* pa/t-linux64 (LIB2FUNCS_STATIC_EXTRA): Define.
From-SVN: r140091
2008-09-07 16:53:31 +00:00
Paolo Carlini
a834e097ea
acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Check wcstoimax and wcstoumax, define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1.
...
2008-09-07 Paolo Carlini <paolo.carlini@oracle.com>
* acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Check wcstoimax and
wcstoumax, define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1.
* include/tr1_impl/cinttypes: Use the latter.
* testsuite/tr1/8_c_compatibility/cinttypes/functions.cc: Likewise.
* configure: Regenerate.
* config.h.in: Likewise.
From-SVN: r140089
2008-09-07 16:41:06 +00:00
Thomas Koenig
fd7f975423
re PR fortran/37203 (Check ORDER= of RESHAPE)
...
2008-09-07 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/37203
* intrinsics/reshape_generic.c: Add checking on
out-of-bounds and duplicate values of order argument.
* m4/reshape.m4: Likewise.
* generated/reshape_c10.c: Regenerated.
* generated/reshape_c16.c: Regenerated.
* generated/reshape_c4.c: Regenerated.
* generated/reshape_c8.c: Regenerated.
* generated/reshape_i16.c: Regenerated.
* generated/reshape_i4.c: Regenerated.
* generated/reshape_i8.c: Regenerated.
* generated/reshape_r10.c: Regenerated.
* generated/reshape_r16.c: Regenerated.
* generated/reshape_r4.c: Regenerated.
* generated/reshape_r8.c: Regenerated.
2008-09-07 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/37203
* gfortran.d/reshape_order_1.f90: New test case.
* gfortran.d/reshape_order_2.f90: New test case.
* gfortran.d/reshape_order_3.f90: New test case.
* gfortran.d/reshape_order_4.f90: New test case.
From-SVN: r140086
2008-09-07 13:33:18 +00:00
Richard Guenther
73356a7d3b
re PR tree-optimization/36630 (ICE in vect_update_ivs_after_vectorizer)
...
PR tree-optimization/36630
* tree-vect-transform.c (vect_update_ivs_after_vectorizer):
Call STRIP_NOPS before calling evolution_part_in_loop_num.
Co-Authored-By: Ira Rosen <irar@il.ibm.com>
From-SVN: r140085
2008-09-07 10:05:37 +00:00
Daniel Kraft
fe2c39c8c2
stfunc_6.f90: Extended testcase to include more tests related to PURE and statement functions.
...
2008-09-07 Daniel Kraft <d@domob.eu>
* gfortran.dg/stfunc_6.f90: Extended testcase to include more tests
related to PURE and statement functions.
From-SVN: r140084
2008-09-07 11:11:53 +02:00
Dorit Nuzman
cc54af2085
re PR tree-optimization/35642 (short * short multiplication not vectorized on Power)
...
PR tree-optimization/35642
* config/rs6000/altivec.md (mulv8hi3): Implement.
Co-Authored-By: Ira Rosen <irar@il.ibm.com>
From-SVN: r140083
2008-09-07 08:54:00 +00:00
Victor Kaplansky
c0cf64a287
re PR testsuite/37334 (gcc.dg/fastmath-2.c doesn't work)
...
2008-09-07 Victor Kaplansky <victork@il.ibm.com>
PR testsuite/37334
* gcc/testsuite/gcc.dg/fastmath-2.c: Add volatile to
definition of b, change -ffast-math to -ffinite-math-only
and rename test to ...
* gcc/testsuite/gcc.dg/div-double-1.c: ... this.
From-SVN: r140082
2008-09-07 07:34:30 +00:00
GCC Administrator
5f195f0c72
Daily bump.
...
From-SVN: r140079
2008-09-07 00:16:49 +00:00
H.J. Lu
6a4bde9629
configure.ac: Fix a typo.
...
2008-09-06 H.J. Lu <hongjiu.lu@intel.com>
* configure.ac: Fix a typo.
* configured: Regenerate.
From-SVN: r140076
2008-09-06 16:00:24 -07:00
Bruce Korb
dc5a9b1dfb
add: m4_sinclude(../libtool.m4)
...
From-SVN: r140075
2008-09-06 21:50:14 +00:00
Jeff Law
f8505a3616
h8300.h (IRA_COVER_CLASSES): Define.
...
* h8300.h (IRA_COVER_CLASSES): Define.
From-SVN: r140074
2008-09-06 15:00:02 -06:00
Jeff Law
6ad9475ec8
memcpy-bi.c: Include <string.h>
...
* gcc.c-torture/execute/memcpy-bi.c: Include <string.h>
From-SVN: r140073
2008-09-06 14:55:41 -06:00
Bruce Korb
6aa1f8c190
fix glibc_mutex_init fix
...
From-SVN: r140071
2008-09-06 19:57:26 +00:00
Tobias Burnus
1b1f56cf4d
re PR fortran/37399 (gfortran.dg/size_kind.f90 doesn't work)
...
2008-09-06 Tobias Burnus <burnus@net-b.de>
PR fortran/37399
* gfortran.dg/size_kind.f90: Remove allocate statement
as it overflows at compile time on 32bit systems.
From-SVN: r140070
2008-09-06 20:27:17 +02:00
Jan Hubicka
b91bc3493e
re PR tree-optimization/14703 (Inadequate optimization of inline templated functions, infinite loop in ipa-reference and memory hog)
...
PR tree-optimization/14703
* tree-ssa-live.c (remove_unused_scope_block_p): Remove ignored declarations.
* passes.c (init_optimization_passes): Recompute inline parameters.
* g++.dg/tree-ssa-pr14703.C: New testcase.
From-SVN: r140068
2008-09-06 17:10:00 +00:00
Tobias Burnus
7a687b2265
[multiple changes]
...
2008-09-06 Steven G. Kargl <kargls@comcast.net>
PR fortran/36153
* fortran/resolve.c (resolve_function): Shortcircuit for SIZE and
UBOUND if 2nd argument is KIND.
2008-09-06 Tobias Burnus <burnus@net-b.de>
PR fortran/36153
* gfortran.dg/size_kind.f90: New test.
From-SVN: r140063
2008-09-06 17:27:50 +02:00
Steven G. Kargl
2c68bc89b7
re PR fortran/33229 (ICE with "intrinsic" plus calling a subroutine as function)
...
2008-09-06 Steven G. Kargl <kargls@comcast.net>
PR fortran/33229
* resolve.c (resolve_function): An intrinsic subroutine should
* not be
called as a function.
2008-09-06 Steven G. Kargl <kargls@comcast.net>
PR fortran/33229
* gfortran.dg/intrinsic_subroutine.f90: New test.
From-SVN: r140061
2008-09-06 17:11:29 +02:00
Tobias Burnus
9731c4a348
libgfortran.h (likely,unlikely): New makros.
...
2008-09-06 Tobias Burnus <burnus@net-b.de>
* libgfortran.h (likely,unlikely): New makros.
(runtime_warning_at,__mingw_snprintf): Add __attribute__(format()).
* m4/spread.m4 (spread_'rtype_code`): Use unlikely for bounds_check.
* m4/iforeach.m4 (name`'rtype_qual`_'atype_code): Ditto.
* m4/matmull.m4 (matmul_'rtype_code`): Ditto.
* m4/ifunction_logical.m4 (name`'rtype_qual`_'atype_code): Ditto.
* m4/ifunction.m4 (name`'rtype_qual`_'atype_code): Ditto.
* m4/matmul.m4 (matmul_'rtype_code`): Ditto.
* generated/minval_r8.c: Regenerated.
* generated/spread_r10.c: Regenerated.
* generated/minloc1_16_r16.c: Regenerated.
* generated/maxloc1_4_r8.c: Regenerated.
* generated/sum_i8.c: Regenerated.
* generated/any_l16.c: Regenerated.
* generated/spread_i8.c: Regenerated.
* generated/maxval_i2.c: Regenerated.
* generated/any_l2.c: Regenerated.
* generated/product_r4.c: Regenerated.
* generated/maxloc1_8_i4.c: Regenerated.
* generated/maxloc0_4_r4.c: Regenerated.
* generated/all_l1.c: Regenerated.
* generated/matmul_r8.c: Regenerated.
* generated/product_i2.c: Regenerated.
* generated/minloc0_4_r16.c: Regenerated.
* generated/minloc0_4_i1.c: Regenerated.
* generated/maxloc0_4_r16.c: Regenerated.
* generated/maxloc0_4_i2.c: Regenerated.
* generated/minloc1_8_r16.c: Regenerated.
* generated/maxloc1_8_r16.c: Regenerated.
* generated/maxloc0_8_i8.c: Regenerated.
* generated/sum_r16.c: Regenerated.
* generated/sum_i1.c: Regenerated.
* generated/minloc1_4_r8.c: Regenerated.
* generated/maxloc1_16_r16.c: Regenerated.
* generated/minloc1_16_i4.c: Regenerated.
* generated/maxloc1_16_i4.c: Regenerated.
* generated/minloc0_16_i8.c: Regenerated.
* generated/spread_i1.c: Regenerated.
* generated/maxloc0_16_i8.c: Regenerated.
* generated/maxval_r16.c: Regenerated.
* generated/product_c10.c: Regenerated.
* generated/minloc1_8_i4.c: Regenerated.
* generated/minloc0_16_i16.c: Regenerated.
* generated/matmul_r16.c: Regenerated.
* generated/minloc0_4_r4.c: Regenerated.
* generated/all_l2.c: Regenerated.
* generated/product_c4.c: Regenerated.
* generated/sum_r4.c: Regenerated.
* generated/minloc0_4_i2.c: Regenerated.
* generated/spread_c10.c: Regenerated.
* generated/maxloc0_8_i1.c: Regenerated.
* generated/spread_r4.c: Regenerated.
* generated/minloc0_8_i8.c: Regenerated.
* generated/matmul_c8.c: Regenerated.
* generated/all_l16.c: Regenerated.
* generated/minloc1_16_r10.c: Regenerated.
* generated/sum_i2.c: Regenerated.
* generated/minloc0_16_i1.c: Regenerated.
* generated/maxloc0_16_i1.c: Regenerated.
* generated/maxloc1_8_r8.c: Regenerated.
* generated/minval_i16.c: Regenerated.
* generated/spread_i2.c: Regenerated.
* generated/maxval_i4.c: Regenerated.
* generated/minval_i8.c: Regenerated.
* generated/any_l4.c: Regenerated.
* generated/maxloc1_4_i8.c: Regenerated.
* generated/maxloc0_16_i16.c: Regenerated.
* generated/maxloc0_8_r4.c: Regenerated.
* generated/minloc1_4_i16.c: Regenerated.
* generated/maxloc1_4_i16.c: Regenerated.
* generated/minloc0_4_r10.c: Regenerated.
* generated/minloc0_8_i16.c: Regenerated.
* generated/maxloc0_4_r10.c: Regenerated.
* generated/maxloc0_8_i16.c: Regenerated.
* generated/minloc1_8_r10.c: Regenerated.
* generated/product_i4.c: Regenerated.
* generated/minloc0_16_r4.c: Regenerated.
* generated/sum_c16.c: Regenerated.
* generated/maxloc1_8_r10.c: Regenerated.
* generated/maxloc0_16_r4.c: Regenerated.
* generated/minloc1_16_r8.c: Regenerated.
* generated/minloc0_8_i1.c: Regenerated.
* generated/maxloc0_4_i4.c: Regenerated.
* generated/maxloc1_16_r8.c: Regenerated.
* generated/maxloc0_8_i2.c: Regenerated.
* generated/sum_r10.c: Regenerated.
* generated/count_4_l.c: Regenerated.
* generated/sum_c4.c: Regenerated.
* generated/count_8_l.c: Regenerated.
* generated/maxloc1_16_r10.c: Regenerated.
* generated/matmul_i8.c: Regenerated.
* generated/minloc0_16_i2.c: Regenerated.
* generated/minloc1_8_r8.c: Regenerated.
* generated/maxloc0_16_i2.c: Regenerated.
* generated/spread_c4.c: Regenerated.
* generated/matmul_c16.c: Regenerated.
* generated/maxval_r10.c: Regenerated.
* generated/minval_i1.c: Regenerated.
* generated/maxloc1_4_i1.c: Regenerated.
* generated/matmul_r10.c: Regenerated.
* generated/minloc1_4_i8.c: Regenerated.
* generated/minloc0_8_r4.c: Regenerated.
* generated/matmul_l4.c: Regenerated.
* generated/product_i16.c: Regenerated.
* generated/minloc0_16_r16.c: Regenerated.
* generated/all_l4.c: Regenerated.
* generated/minloc0_4_i4.c: Regenerated.
* generated/minloc0_8_i2.c: Regenerated.
* generated/matmul_i1.c: Regenerated.
* generated/minval_r4.c: Regenerated.
* generated/maxloc1_4_r4.c: Regenerated.
* generated/spread_i16.c: Regenerated.
* generated/sum_i4.c: Regenerated.
* generated/maxval_r8.c: Regenerated.
* generated/spread_i4.c: Regenerated.
* generated/minloc1_4_i1.c: Regenerated.
* generated/minval_r16.c: Regenerated.
* generated/minval_i2.c: Regenerated.
* generated/maxloc1_4_i2.c: Regenerated.
* generated/product_r8.c: Regenerated.
* generated/maxloc1_8_i8.c: Regenerated.
* generated/maxloc0_4_r8.c: Regenerated.
* generated/maxloc0_16_r16.c: Regenerated.
* generated/matmul_r4.c: Regenerated.
* generated/sum_c10.c: Regenerated.
* generated/minloc1_4_r16.c: Regenerated.
* generated/maxloc1_4_r16.c: Regenerated.
* generated/minloc0_8_r16.c: Regenerated.
* generated/maxloc0_8_r16.c: Regenerated.
* generated/count_1_l.c: Regenerated.
* generated/maxloc0_8_i4.c: Regenerated.
* generated/matmul_i2.c: Regenerated.
* generated/minloc1_4_r4.c: Regenerated.
* generated/matmul_c10.c: Regenerated.
* generated/minloc0_16_i4.c: Regenerated.
* generated/maxloc0_16_i4.c: Regenerated.
* generated/minloc1_16_i8.c: Regenerated.
* generated/maxloc1_16_i8.c: Regenerated.
* generated/minloc1_4_i2.c: Regenerated.
* generated/matmul_l16.c: Regenerated.
* generated/maxloc1_8_i1.c: Regenerated.
* generated/minloc0_16_r10.c: Regenerated.
* generated/minloc1_8_i8.c: Regenerated.
* generated/minloc0_4_r8.c: Regenerated.
* generated/product_r16.c: Regenerated.
* generated/product_c8.c: Regenerated.
* generated/sum_r8.c: Regenerated.
* generated/minloc0_8_i4.c: Regenerated.
* generated/matmul_c4.c: Regenerated.
* generated/minloc1_16_i16.c: Regenerated.
* generated/spread_r8.c: Regenerated.
* generated/maxloc1_8_r4.c: Regenerated.
* generated/minloc1_16_i1.c: Regenerated.
* generated/maxloc1_16_i1.c: Regenerated.
* generated/spread_r16.c: Regenerated.
* generated/minval_r10.c: Regenerated.
* generated/count_16_l.c: Regenerated.
* generated/minval_i4.c: Regenerated.
* generated/minloc1_8_i1.c: Regenerated.
* generated/maxloc1_4_i4.c: Regenerated.
* generated/maxloc1_8_i2.c: Regenerated.
* generated/maxval_i8.c: Regenerated.
* generated/any_l8.c: Regenerated.
* generated/maxloc0_16_r10.c: Regenerated.
* generated/minloc0_4_i16.c: Regenerated.
* generated/maxloc0_8_r8.c: Regenerated.
* generated/maxloc0_4_i16.c: Regenerated.
* generated/minloc1_4_r10.c: Regenerated.
* generated/minloc1_8_i16.c: Regenerated.
* generated/maxloc1_4_r10.c: Regenerated.
* generated/maxloc1_8_i16.c: Regenerated.
* generated/minloc0_8_r10.c: Regenerated.
* generated/maxloc0_8_r10.c: Regenerated.
* generated/minloc1_16_r4.c: Regenerated.
* generated/maxloc1_16_r4.c: Regenerated.
* generated/minloc0_16_r8.c: Regenerated.
* generated/product_i8.c: Regenerated.
* generated/maxloc0_16_r8.c: Regenerated.
* generated/sum_i16.c: Regenerated.
* generated/count_2_l.c: Regenerated.
* generated/maxloc0_4_i8.c: Regenerated.
* generated/maxloc1_16_i16.c: Regenerated.
* generated/matmul_i4.c: Regenerated.
* generated/minloc1_8_r4.c: Regenerated.
* generated/sum_c8.c: Regenerated.
* generated/minloc1_16_i2.c: Regenerated.
* generated/maxloc1_16_i2.c: Regenerated.
* generated/maxval_i16.c: Regenerated.
* generated/spread_c8.c: Regenerated.
* generated/matmul_i16.c: Regenerated.
* generated/minloc1_4_i4.c: Regenerated.
* generated/maxval_i1.c: Regenerated.
* generated/minloc1_8_i2.c: Regenerated.
* generated/any_l1.c: Regenerated.
* generated/product_c16.c: Regenerated.
* generated/minloc0_8_r8.c: Regenerated.
* generated/matmul_l8.c: Regenerated.
* generated/product_r10.c: Regenerated.
* generated/product_i1.c: Regenerated.
* generated/all_l8.c: Regenerated.
* generated/maxloc0_4_i1.c: Regenerated.
* generated/minloc0_4_i8.c: Regenerated.
* generated/spread_c16.c: Regenerated.
* generated/maxval_r4.c: Regenerated.
From-SVN: r140060
2008-09-06 16:53:26 +02:00
Richard Sandiford
cf90009713
mips.c (mips_function_ok_for_sibcall): Check for DECL being null.
...
gcc/
* config/mips/mips.c (mips_function_ok_for_sibcall): Check for
DECL being null.
From-SVN: r140056
2008-09-06 09:21:39 +00:00
Richard Sandiford
4d210b073f
2008-xx-xx Richard Sandiford <rdsandiford@goolemail.com> Peter Fuerst <post@pfrst.de>
...
gcc/
2008-xx-xx Richard Sandiford <rdsandiford@goolemail.com>
Peter Fuerst <post@pfrst.de>
* doc/invoke.texi: Document -mr10k-cache-barrier=.
* doc/extend.texi: Document __builtin_mips_cache.
* config/mips/mips-ftypes.def: Add a (VOID, SI, CVPOINTER) entry.
* config/mips/mips.opt (mr10k-cache-barrier=): New option.
* config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Define
__GCC_HAVE_BUILTIN_MIPS_CACHE.
(TARGET_CACHE_BUILTIN, ISA_HAS_CACHE): New macros.
* config/mips/mips.c (mips_r10k_cache_barrier_setting): New enum.
(set_push_mips_isas): New variable.
(mips_r10k_cache_barrier): New variable.
(cache): New availability predicate.
(mips_builtins): Add an entry for __builtin_mips_cache.
(mips_build_cvpointer_type): New function.
(MIPS_ATYPE_CVPOINTER): New macro.
(mips_prepare_builtin_arg): Only use the insn's mode if the rtx's
mode is VOIDmode.
(r10k_simplified_address_p, r10k_simplify_address)
(r10k_uncached_address_p, r10k_safe_address_p)
(r10k_needs_protection_p_1, r10k_needs_protection_p_store)
(r10k_needs_protection_p_call, r10k_needs_protection_p)
(r10k_insert_cache_barriers): New functions.
(mips_reorg_process_insns): Delete cache barriers after a
branch-likely instruction.
(mips_reorg): Call r10k_insert_cache_barriers.
(mips_handle_option): Handle OPT_mr10k_cache_barrier_.
* config/mips/mips.md (UNSPEC_MIPS_CACHE): New constant.
(UNSPEC_R10K_CACHE_BARRIER): Likewise.
(mips_cache, r10k_cache_barrier): New define_insns.
gcc/testsuite/
* gcc.target/mips/mips.exp (dg-mips-options): Make
-mr10k-cache-barrier=* imply -mips3 or above.
* gcc.target/mips/cache-1.c: New test.
* gcc.target/mips/r10k-cache-barrier-1.c: Likewise.
* gcc.target/mips/r10k-cache-barrier-2.c: Likewise.
* gcc.target/mips/r10k-cache-barrier-3.c: Likewise.
* gcc.target/mips/r10k-cache-barrier-4.c: Likewise.
* gcc.target/mips/r10k-cache-barrier-5.c: Likewise.
* gcc.target/mips/r10k-cache-barrier-6.c: Likewise.
* gcc.target/mips/r10k-cache-barrier-7.c: Likewise.
* gcc.target/mips/r10k-cache-barrier-8.c: Likewise.
* gcc.target/mips/r10k-cache-barrier-9.c: Likewise.
* gcc.target/mips/r10k-cache-barrier-10.c: Likewise.
* gcc.target/mips/r10k-cache-barrier-11.c: Likewise.
* gcc.target/mips/r10k-cache-barrier-12.c: Likewise.
* gcc.target/mips/r10k-cache-barrier-13.c: Likewise.
* gcc.target/mips/r10k-cache-barrier-14.c: Likewise.
* gcc.target/mips/r10k-cache-barrier-15.c: Likewise.
From-SVN: r140055
2008-09-06 08:13:09 +00:00
Richard Sandiford
4f341ea068
ira-int.h (ira_zero_hard_reg_set, [...]): Delete.
...
gcc/
* ira-int.h (ira_zero_hard_reg_set, ira_one_hard_reg_set): Delete.
* ira-color.c (setup_allocno_left_conflicts_num): Use
hard_reg_set_equal_p instead of a comparison with
ira_zero_hard_reg_set.
* ira.c (setup_reg_subclasses): Likewise.
(setup_cover_and_important_classes): Likewise.
(setup_class_translate): Likewise.
(setup_reg_class_intersect_union): Likewise.
(ira_zero_hard_reg_set, ira_one_hard_reg_set): Delete.
(ira_init_once): Don't initialize them.
From-SVN: r140054
2008-09-06 08:08:49 +00:00
Vladimir Makarov
af9253a185
tm.texi (IRA_COVER_CLASSES): Fix a typo.
...
2008-09-05 Vladimir Makarov <vmakarov@redhat.com>
* doc/tm.texi (IRA_COVER_CLASSES): Fix a typo.
From-SVN: r140053
2008-09-06 00:44:13 +00:00
Vladimir Makarov
6b8d967660
ira-color.c (ira_fast_allocation): Permit global allocno allocation.
...
2008-09-04 Vladimir Makarov <vmakarov@redhat.com>
* ira-color.c (ira_fast_allocation): Permit global allocno
allocation.
From-SVN: r140052
2008-09-06 00:39:58 +00:00
GCC Administrator
67a43c6e43
Daily bump.
...
From-SVN: r140050
2008-09-06 00:16:41 +00:00
Trevor Smigiel
9dcc2e876f
Improved branch hints, safe hints, and scheduling.
...
* haifa-sched.c (sched_emit_insn) : Define.
* sched-int.h (sched_emit_insn) : Add prototype.
* doc/invoke.texi (-mdual-nops, -mhint-max-nops,
-mhint-max-distance -msafe-hints) : Document.
* config/spu/spu.c (spu_flag_var_tracking): New.
(TARGET_SCHED_INIT_GLOBAL, TARGET_SCHED_INIT,
TARGET_SCHED_REORDER, TARGET_SCHED_REORDER2,
TARGET_ASM_FILE_START): Define.
(TARGET_SCHED_ADJUST_PRIORITY): Remove.
(STOP_HINT_P, HINTED_P, SCHED_ON_EVEN_P): Define.
(spu_emit_branch_hint): Add blocks argument.
(insert_branch_hints, insert_nops): Remove.
(pad_bb, insert_hbrp_for_ilb_runout, insert_hbrp, in_spu_reorg,
uses_ls_unit, spu_sched_init_global, spu_sched_init,
spu_sched_reorder, asm_file_start): New functions.
(clock_var, spu_sched_length, pipe0_clock,
pipe1_clock, prev_clock_var, prev_priority,
spu_ls_first, prev_ls_clock): New static variables.
* config/spu/spu.h (TARGET_DEFAULT): Add MASK_SAFE_HINTS.
* config/spu.md (iprefetch): Add operand, make it clobber MEM.
(nopn_nv): Add a non-volatile version of nop.
* config/spu/spu.opt (-mdual-nops, -mhint-max-nops,
-mhint-max-distance, -msafe-hints): New options.
From-SVN: r140047
2008-09-05 22:12:24 +00:00
Daniel Kraft
a82f1f2efa
re PR fortran/35837 (rej.valid: Host-associated SAVEd variable and PURE function)
...
2008-09-05 Daniel Kraft <d@domob.eu>
PR fortran/35837
* resolve.c (resolve_types): Restore gfc_current_ns on exit.
* symbol.c (gfc_save_all): Removed blank line.
2008-09-05 Daniel Kraft <d@domob.eu>
PR fortran/35837
* gfortran.dg/save_3.f90: New test.
From-SVN: r140046
2008-09-05 22:51:50 +02:00
Janis Johnson
5ffebee7bb
opts.c (decode_options): Combine nested if statements.
...
* opts.c (decode_options): Combine nested if statements.
Co-Authored-By: Samuel Tardieu <sam@rfc1149.net>
From-SVN: r140044
2008-09-05 20:27:48 +00:00
Janis Johnson
3606b8bf77
testsuite/ligbomp.c/c.exp: Unset lang_test_file only if it exists.
...
From-SVN: r140043
2008-09-05 19:29:26 +00:00
Joel Sherrill
56cc59285b
s-stchop-rtems.adb: Add file missed in early commit.
...
2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* s-stchop-rtems.adb: Add file missed in early commit. Already
referenced in gcc-interface/Makefile.in.
From-SVN: r140042
2008-09-05 18:46:56 +00:00
David Daney
bbdcb943b5
* gcj.texi (-freduced-reflection): Clarify option's restrictions.
...
From-SVN: r140041
2008-09-05 17:38:06 +00:00
Janis Johnson
93a4f5e06e
re PR target/37283 (Cannot build crtbegin.o for ARM)
...
PR target/37283
* opts.c (decode_options): Handle more relationships among
unit-at-a-time, toplevel-reorder, and section-anchors.
Co-Authored-By: Samuel Tardieu <sam@rfc1149.net>
From-SVN: r140040
2008-09-05 17:13:52 +00:00
Paolo Carlini
57f59a4580
[multiple changes]
...
2008-09-05 Peter Dimov <pdimov@mmltd.net>
* testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_2.cc: New.
2008-09-05 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc: Rename
to...
* testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_1.cc: ...
this.
From-SVN: r140039
2008-09-05 17:12:02 +00:00
David Daney
c07cd2c7c4
install.texi (--enable-reduced-reflection): Document new option.
...
2008-09-05 David Daney <ddaney@avtrex.com>
* doc/install.texi (--enable-reduced-reflection): Document new option.
2008-09-05 David Daney <ddaney@avtrex.com>
* configure.ac (reduced-reflection): New AC_ARG_ENABLE.
(build_libgcj_reduced_reflection): New variable.
(BUILD_LIBGCJ_REDUCED_REFLECTION): New AM_CONDITIONAL.
* Makefile.am (LIBGCJ_REDUCED_REFLECTION_FLAGS): New variable.
(%.lo: %.list): Add LIBGCJ_REDUCED_REFLECTION_FLAGS to compile
command.
(java/util/concurrent.lo, java/util/concurrent/atomic.lo,
java/util/concurrent/locks.lo): Override
LIBGCJ_REDUCED_REFLECTION_FLAGS.
* Makefile.in, include/Makefile.in, testsuite/Makefile.in,
gcj/Makefile.in, configure: Regenerate.
From-SVN: r140038
2008-09-05 17:09:02 +00:00
Douglas Gregor
7aa4a1dfa9
re PR c++/37342 (same canonical type node for different types void (Asm::*)(std::ostream&) and void (Asm::* const)(std::ostream&))
...
2008-09-05 Douglas Gregor <doug.gregor@gmail.com>
PR c++/37342
* tree.c (cp_build_qualified_type_real): Deal with sharing of
TYPE_LANG_SPECIFIC in the canonical types of pointer-to-method
types.
2008-09-05 Douglas Gregor <doug.gregor@gmail.com>
PR c++/37342
* g++.dg/other/canon-37342.C: New.
From-SVN: r140037
2008-09-05 17:04:12 +00:00
Bob Wilson
37fbe8a344
predicates.md (nonimmed_operand, [...]): Use constantpool_mem_p.
...
* config/xtensa/predicates.md (nonimmed_operand, mem_operand): Use
constantpool_mem_p.
(constantpool_operand): New.
(move_operand): Disallow sub-word modes for the constant pool.
* config/xtensa/xtensa.c (TARGET_SECONDARY_RELOAD): Define.
(xtensa_secondary_reload_class): Replace with....
(xtensa_secondary_reload): this function. Remove SIGN_EXTEND check.
Set icode for sub-word reloads from the constant pool.
* config/xtensa/xtensa.h (SECONDARY_INPUT_RELOAD_CLASS): Delete.
(SECONDARY_OUTPUT_RELOAD_CLASS): Delete.
* config/xtensa/xtensa.md (reload<mode>_literal): New.
* config/xtensa/xtensa-protos.h: Update prototypes.
From-SVN: r140036
2008-09-05 16:37:14 +00:00
Joseph Myers
7314c7dd62
mips.h (enum reg_class): Add FRAME_REGS.
...
* config/mips/mips.h (enum reg_class): Add FRAME_REGS.
(REG_CLASS_NAMES): Update.
(REG_CLASS_CONTENTS): Update.
* config/mips/mips.c (mips_regno_to_class): Use FRAME_REGS instead
of ALL_REGS for regs 77 and 78.
* function.c (instantiate_virtual_regs_in_insn): Assert that
return value of simplify_gen_subreg is not NULL.
testsuite:
* gcc.c-torture/compile/20080903-1.c: New test.
From-SVN: r140035
2008-09-05 16:39:40 +01:00
Daniel Kraft
ebac6d9cb9
re PR fortran/36746 (Rejects variable which is implictly typed as derived typed with DIMENSION)
...
2008-09-05 Daniel Kraft <d@domob.eu>
PR fortran/36746
* primary.c (gfc_match_rvalue): Removed logic to handle implicit
typing to a derived-type if a component reference is found.
(gfc_match_varspec): Moved it here.
2008-09-05 Daniel Kraft <d@domob.eu>
PR fortran/36746
* gfortran.dg/implicit_derived_type_1.f90: New test.
* gfortran.dg/used_before_typed_5.f90: New test.
From-SVN: r140034
2008-09-05 13:56:23 +02:00
Jakub Jelinek
719bb4e3d3
Convert ChangeLog files to UTF-8.
...
Command used:
LC_ALL=C sed -i \
-e 's/D\(o\|\xf6\)nmez/D\xc3\xb6nmez/' \
-e 's/\(Av\|\x81\xc1v\|\xc1v\|\xef\xbf\xbdv\?\|\x81\xc3\x81v\|\xc3v\)ila/\xc3\x81vila/' \
-e 's/Esp\(in\|\x81\xedn\|\xedn\|\xef\xbf\xbdn\?\|\xef\xbf\xbd\xadn\|\x81\xc3\xadn\)dola/Esp\xc3\xadndola/' \
-e 's/Schl\(u\|\xef\xbf\xbd\|\xfcu\?\|\x81\xfc\|\x81\xc3\xbc\|\xc3\xaf\xc2\xbf\xc2\xbd\|\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xc2\xbc\)ter/Schl\xc3\xbcter/' \
-e 's/Humi\(e\|\xe8\)res/Humi\xc3\xa8res/' \
-e 's/L\(ow\|\xc3\xaf\xc2\xbf\xc2\xbd\|oew\|\xf6w\)is/L\xc3\xb6wis/' \
-e 's/G\xfctlein/G\xc3\xbctlein/' \
-e 's/G\xe1[b]or/G\xc3\xa1bor/' \
-e 's/L\xf3ki/L\xc3\xb3ki/' \
-e 's/Fautr\xc3 /Fautr\xc3\xa9 /' \
-e 's/S\xe9[b]astian/S\xc3\xa9bastian/' \
-e 's/Th\xef\xbf\xbd[d]ore/Th\xc3\xa9odore/' \
-e 's/Cors\xc3\xc2\xa9pius/Cors\xc3\xa9pius/' \
-e 's/K\xfchl/K\xc3\xbchl/' \
-e 's/R\xf6nnerup/R\xc3\xb6nnerup/' \
-e 's/L\xf8vset/L\xc3\xb8vset/' \
-e 's/Ph\x81\xfb\x81\xf4ng-Th\x81\xe5o/Ph\xc3\xbb\xc3\xb4ng-Th\xc3\xa5o/' \
-e 's/V\x81\xf5/V\xc3\xb5/' \
-e 's/J\xf6nsson/J\xc3\xb6nsson/' \
-e 's/V\xef\xbf\xbdis\xef\xbf\xbdnen/V\xc3\xa4is\xc3\xa4nen/' \
-e 's/J\xef\xbf\xbdrg/J\xc3\xb6rg/' \
-e 's/M\xef\xbf\xbdsli/M\xc3\xb6sli/' \
-e 's/R\xe4ty/R\xc3\xa4ty/' \
-e 's/2003\xc2\xad-/2003-/' \
-e 's/\xc2\xa0/ /g' \
-e 's/ \xa0/ /g' \
-e 's/\xa0 //' \
`find . -name \*ChangeLog\* | grep -v /.svn`
From-SVN: r140033
2008-09-05 13:07:45 +02:00
Richard Guenther
23d9794af3
configure.ac: Initialize clooglibs to -lcloog.
...
2008-09-05 Richard Guenther <rguenther@suse.de>
* configure.ac: Initialize clooglibs to -lcloog.
* configure: Re-generate.
From-SVN: r140032
2008-09-05 10:08:56 +00:00
Paolo Bonzini
80379f51e3
emit-rtl.c (gen_rtvec): Rewrite not using gen_rtvec_v.
...
2008-09-05 Paolo Bonzini <bonzini@gnu.org>
* emit-rtl.c (gen_rtvec): Rewrite not using gen_rtvec_v.
(gen_rtvec_v): Fix coding standards.
From-SVN: r140031
2008-09-05 09:13:25 +00:00
Jan Hubicka
0cf9dcf805
i386.c (decide_alg): Be more conservative about optimizing for size.
...
* i386.c (decide_alg): Be more conservative about optimizing for size.
* gcc.target/i386/cold-attribute-1.c: Update testcase.
From-SVN: r140030
2008-09-05 08:44:11 +00:00
Ian Lance Taylor
84320b0be2
varasm.c (narrowing_initializer_constant_valid_p): New static function.
...
./: * varasm.c (narrowing_initializer_constant_valid_p): New
static function.
(initializer_constant_valid_p): Call it.
testsuite/:
* g++.dg/init/const7.C: New test.
From-SVN: r140025
2008-09-05 05:36:31 +00:00
Jeff Law
5419331358
fold-const.c (native_encode_real): Fix computation of WORDS.
...
* fold-const.c (native_encode_real): Fix computation of WORDS.
(native_interpret_real): Likewise.
From-SVN: r140023
2008-09-04 19:29:59 -06:00
Janis Johnson
7fab7e1603
* config/rs6000/t-rs6000: Remove target gt-rs6000.h.
...
From-SVN: r140020
2008-09-05 00:28:36 +00:00
GCC Administrator
99f0696167
Daily bump.
...
From-SVN: r140018
2008-09-05 00:16:34 +00:00