OSDN Git Service
spop [Sat, 15 Aug 2009 07:12:08 +0000 (07:12 +0000)]
Print PBB index.
2009-08-15 Sebastian Pop <sebastian.pop@amd.com>
* graphite-poly.c (print_pbb): Print PBB index.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150790
138bc75d-0d04-0410-961f-
82ee72b054a4
spop [Sat, 15 Aug 2009 07:10:20 +0000 (07:10 +0000)]
Correct the use of ppl_Pointset_Powerset_C_Polyhedron_maximize.
2009-08-15 Sebastian Pop <sebastian.pop@amd.com>
PR middle-end/40981
* graphite-interchange.c (ppl_max_for_le): Moved...
* graphite-poly.c (pbb_number_of_iterations): Call ppl_max_for_le.
* graphite-ppl.c (ppl_max_for_le): ... here. Correct the use of
ppl_Pointset_Powerset_C_Polyhedron_maximize.
* graphite-ppl.h (ppl_max_for_le): Declared.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150789
138bc75d-0d04-0410-961f-
82ee72b054a4
rwild [Sat, 15 Aug 2009 07:02:33 +0000 (07:02 +0000)]
libstdc++-v3/
* configure.ac: Move guarded checks for CC and CXX ...
* acinclude.m4 (GLIBCXX_CONFIGURE): ... from here.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150788
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 15 Aug 2009 00:16:46 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150786
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 14 Aug 2009 23:33:27 +0000 (23:33 +0000)]
2009-08-14 Edward Smith-Rowland <3dw4rd@verizon.net>
Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/41061
* include/bits/random.h (operator<<(std::basic_ostream<>&,
const std::lognormal_distribution<>&),
operator>>(std::basic_istream<>&, std::lognormal_distribution<>&),
operator<<(std::basic_ostream<>&, const std::gamma_distribution<>&),
operator>>(std::basic_istream<>&, std::gamma_distribution<>&),
operator<<(std::basic_ostream<>&,
const std::chi_squared_distribution<>&),
operator>>(std::basic_istream<>&, std::chi_squared_distribution<>&),
operator<<(std::basic_ostream<>&,
const std::fisher_f_distribution<>&),
operator>>(std::basic_istream<>&, std::fisher_f_distribution<>&),
operator<<(std::basic_ostream<>&,
const std::student_t_distribution<>&),
operator>>(std::basic_istream<>&, std::student_t_distribution<>&),
operator<<(std::basic_ostream<>&,
const std::negative_binomial_distribution<>&)): Declare friend.
* testsuite/26_numerics/random/uniform_real_distribution/operators/
serialize.cc: New.
* testsuite/26_numerics/random/piecewise_constant_distribution/
operators/serialize.cc: Likewise.
* testsuite/26_numerics/random/chi_squared_distribution/operators/
serialize.cc: Likewise.
* testsuite/26_numerics/random/normal_distribution/operators/
serialize.cc: Likewise.
* testsuite/26_numerics/random/uniform_int_distribution/operators/
serialize.cc: Likewise.
* testsuite/26_numerics/random/poisson_distribution/operators/
serialize.cc: Likewise.
* testsuite/26_numerics/random/bernoulli_distribution/operators/
serialize.cc: Likewise.
* testsuite/26_numerics/random/discrete_distribution/operators/
serialize.cc: Likewise.
* testsuite/26_numerics/random/weibull_distribution/operators/
serialize.cc: Likewise.
* testsuite/26_numerics/random/negative_binomial_distribution/
operators/serialize.cc: Likewise.
* testsuite/26_numerics/random/cauchy_distribution/operators/
serialize.cc: Likewise.
* testsuite/26_numerics/random/gamma_distribution/operators/
serialize.cc: Likewise.
* testsuite/26_numerics/random/fisher_f_distribution/operators/
serialize.cc: Likewise.
* testsuite/26_numerics/random/exponential_distribution/operators/
serialize.cc: Likewise.
* testsuite/26_numerics/random/lognormal_distribution/operators/
serialize.cc: Likewise.
* testsuite/26_numerics/random/binomial_distribution/operators/
serialize.cc: Likewise.
* testsuite/26_numerics/random/extreme_value_distribution/operators/
serialize.cc: Likewise.
* testsuite/26_numerics/random/piecewise_linear_distribution/
operators/serialize.cc
* testsuite/26_numerics/random/student_t_distribution/operators/
serialize.cc: Likewise.
* testsuite/26_numerics/random/geometric_distribution/operators/
serialize.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150783
138bc75d-0d04-0410-961f-
82ee72b054a4
janus [Fri, 14 Aug 2009 22:02:45 +0000 (22:02 +0000)]
2009-08-14 Janus Weil <janus@gcc.gnu.org>
PR fortran/41070
* resolve.c (resolve_structure_cons): Make sure that ts.u.derived is
only used if type is BT_DERIVED.
2009-08-14 Janus Weil <janus@gcc.gnu.org>
PR fortran/41070
* gfortran.dg/structure_constructor_10.f90: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150781
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Fri, 14 Aug 2009 21:25:48 +0000 (21:25 +0000)]
2009-08-14 Olatunji Ruwase <tjruwase@google.com>
* doc/extend.texi (Symbol-Renaming Pragmas): redefine_extname is
supported on all platforms.
* target.h (struct gcc_target): Remove
handle_pragma_redefine_extname.
* c-cppbuiltin.c: Remove use of
targetm.handle_pragma_redefine_extname.
* c-pragma.c: Likewise.
* target-def.h (TARGET_INITIALIZER): Remove
TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME.
* config/sol2.h: Remove use of
TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME.
2009-08-14 Olatunji Ruwase <tjruwase@google.com>
* gcc.dg/pragma-re-1.c: Supported on all platforms.
* gcc.dg/pragma-re-2.c: Likewise.
* gcc.dg/pragma-re-3.c: Likewise.
* gcc.dg/pragma-re-4.c: Likewise.
* g++.dg/other/pragma-re-1.C: Likewise.
* g++.dg/other/pragma-re-2.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150780
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Fri, 14 Aug 2009 21:10:06 +0000 (21:10 +0000)]
2009-08-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/32784
io/unix.c (regular_file): Add support for CONIO on mingw.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150779
138bc75d-0d04-0410-961f-
82ee72b054a4
rupp [Fri, 14 Aug 2009 20:56:31 +0000 (20:56 +0000)]
2009-08-14 Douglas B Rupp <rupp@gnat.com>
* config/ia64/fde-vms.c: New file.
* config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Add dummy arg.
* config/ia64/unwind-ia64.c (UNW_ accessors): Move to unwind-ia64.h
(MD_UNW_COMPATIBLE_PERSONALITY_P): Provide default.
(uw_frame_state_for): Only register a personality routine if it is
known to be compatible with our expectations.
(_Unwind_FindEnclosingFunction, uw_frame_state_for):
Declare unw_table_entry stack variable and
mod all calls to _Unwind_FindTableEntry to add arg.
* config/ia64/unwind-ia64.h (UNW_ accessors): Move here.
(_Unwind_FindTableEntry): Add arg to prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150778
138bc75d-0d04-0410-961f-
82ee72b054a4
rupp [Fri, 14 Aug 2009 20:49:40 +0000 (20:49 +0000)]
* config/ia64/unwind-ia64.c (struct _Unwind_Context): Add new
field 'signal_pfs_loc'.
(uw_frame_state_for): Remove duplicate code dealing with leaf
procedures without unwind info.
If in the frame after unwinding through a signal handler, restore
the AR.PFS register instead of the CFM if AR.PFS has not been saved.
* config/ia64/linux-unwind.h (ia64_fallback_frame_state): Do not set
'pfs_loc' to the AR.PFS location in the signal context; instead
set 'signal_pfs_loc'.
Manually generate the unwind info for the AR.PFS register.
(ABI_MARKER_OLD_LINUX_SIGTRAMP, ABI_MARKER_OLD_LINUX_INTERRUPT,
ABI_MARKER_LINUX_SIGTRAMP, ABI_MARKER_LINUX_INTERRUPT): Define.
(ia64_handle_unwabi): Test 'fs->unwabi' against them.
Do not set 'pfs_loc' to the AR.PFS location in the signal context;
instead set 'signal_pfs_loc'.
Remove code preventing the AR.PFS register from being restored
from the signal context.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150777
138bc75d-0d04-0410-961f-
82ee72b054a4
rupp [Fri, 14 Aug 2009 20:38:36 +0000 (20:38 +0000)]
* config.gcc (ia64-hp-*vms*): Insert ia64/t-ia64 in tmake_file.
* config/ia64/t-vms: New file.
* config/ia64/vms64.h: New file.
* config/ia64/vms.h: New file.
* config/ia64/vms-crtinit.asm: New file.
* config/ia64/vms_symvec_libgcc_s.opt: New file.
* config/ia64/vms-unwind.h: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150776
138bc75d-0d04-0410-961f-
82ee72b054a4
ktietz [Fri, 14 Aug 2009 19:30:13 +0000 (19:30 +0000)]
2009-08-15 Kai Tietz <kai.tietz@onevision.com>
* intrinsics/string_intrinsics_inc.c (string_len_trim): Use
__INTPTR_TYPE__ to cast from pointer to scalar integer, if
__INTPTR_TYPE is defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150774
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Fri, 14 Aug 2009 18:54:48 +0000 (18:54 +0000)]
* config/alpha/alpha.c (alpha_emit_conditional_move): Handle
TFmode compares.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150773
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 14 Aug 2009 17:54:44 +0000 (17:54 +0000)]
2009-08-14 Edward Smith-Rowland <3dw4rd@verizon.net>
* include/bits/stl_tree.h: Make erase return iterator as per DR 130.
* include/bits/stl_set.h: Same.
* include/bits/stl_multiset.h: Same.
* include/bits/stl_map.h: Same.
* include/bits/stl_multimap.h: Same.
* doc/xml/manual/intro.xml: Document.
* testsuite/23_containers/set/dr130.cc: New.
* testsuite/23_containers/multiset/dr130.cc: New.
* testsuite/23_containers/map/dr130.cc: New.
* testsuite/23_containers/multimap/dr130.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150768
138bc75d-0d04-0410-961f-
82ee72b054a4
jb [Fri, 14 Aug 2009 17:54:27 +0000 (17:54 +0000)]
Add comment saying file is deprecated
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150767
138bc75d-0d04-0410-961f-
82ee72b054a4
ktietz [Fri, 14 Aug 2009 17:49:21 +0000 (17:49 +0000)]
2009-08-14 Kai Tietz <kai.tietz@onevision.com>
* gnu/java/security/jce/prng/natVMSecureRandomWin32.cc: Add include of
java/lang/UnsupportedOperationException.h file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150766
138bc75d-0d04-0410-961f-
82ee72b054a4
jb [Fri, 14 Aug 2009 17:44:50 +0000 (17:44 +0000)]
PR libfortran/40863 Fix r150107 moving new symbols to C99_1.1 node
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150765
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Fri, 14 Aug 2009 17:20:30 +0000 (17:20 +0000)]
2009-08-14 Steve Ellcey <sje@cup.hp.com>
* inclhack.def (hpux_imaginary_i): New fix.
* fixincl.x: Regenerate.
* tests/base/complex.h: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150764
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 14 Aug 2009 16:54:48 +0000 (16:54 +0000)]
2009-08-14 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/pointer.h: Add pragma system_header, use
_GLIBCXX_USE_LONG_LONG, macro cleanup.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150763
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 14 Aug 2009 16:51:01 +0000 (16:51 +0000)]
2009-08-14 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/pointer.h: Add pragma system_header, use
_GLIBCXX_USE_LONG_LONG, macro cleanup.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150762
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 14 Aug 2009 16:44:36 +0000 (16:44 +0000)]
PR middle-end/30789
* builtins.c (do_mpc_arg2): Make extern, define for any MPC
version. Move declaration...
* real.h (do_mpc_arg2): ... here.
* fold-const.c (const_binop): Use MPC for complex MULT_EXPR
and RDIV_EXPR.
testsuite:
* gcc.dg/torture/builtin-math-7.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150760
138bc75d-0d04-0410-961f-
82ee72b054a4
espindola [Fri, 14 Aug 2009 15:39:15 +0000 (15:39 +0000)]
2009-08-14 Rafael Avila de Espindola <espindola@google.com>
* final.c (add_debug_prefix_map): Don't use GC memory for
old_prefix and new_prefix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150759
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Fri, 14 Aug 2009 15:07:43 +0000 (15:07 +0000)]
2009-08-14 Richard Guenther <rguenther@suse.de>
* ipa-prop.c (compute_complex_pass_through): If we cannot
compute a non-varying offset for IPA_JF_ANCESTOR punt.
* gcc.c-torture/execute/
20090814-1.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150757
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Fri, 14 Aug 2009 14:38:24 +0000 (14:38 +0000)]
* c-lex.c (c_lex_with_flags): Increase size of local variable
to avoid memory clobber.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150756
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Fri, 14 Aug 2009 14:02:43 +0000 (14:02 +0000)]
gcc/testsuite/
* gcc.dg/graphite/graphite_autopar: Move to libgomp testsuite.
libgomp/
* testsuite/libgomp.graphite: Move from gcc.dg/graphite.
* testsuite/libgomp.graphite/graphite_autopar.exp: Delete.
* testsuite/libgomp.graphite/graphite.exp: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150755
138bc75d-0d04-0410-961f-
82ee72b054a4
bonzini [Fri, 14 Aug 2009 12:14:04 +0000 (12:14 +0000)]
2009-08-14 Paolo Bonzini <bonzini@gnu.org>
PR target/40934
* config/i386/i386.c (ix86_fp_comparison_strategy):
Only enable/disable sahf at function granularity.
gcc/testsuite:
2009-08-14 Paolo Bonzini <bonzini@gnu.org>
PR target/40934
* gcc.target/i386/pr40934.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150754
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Fri, 14 Aug 2009 11:36:45 +0000 (11:36 +0000)]
PR rtl-optimization/41064
* reload1.c (reload_as_needed): Don't call extract_insn
for known invalid replacements after calling
validate_replace_rtx_group and verify_changes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150751
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Fri, 14 Aug 2009 10:31:09 +0000 (10:31 +0000)]
PR target/41019
* config/i386/sse.md (SSEMODE124C8): New mode iterator.
(vcond<SSEMODEF2P:mode>): Assert that operation is supported by
ix86_expand_fp_vcond.
(vcond<SSEMODE124C8:mode>): Use SSEMODE124C8 instead of SSEMODE124.
Assert that operation is supported by ix86_expand_int_vcond.
(vcondu<SSEMODE124C8:mode>): Ditto.
testsuite/ChangeLog:
PR target/41019
* gcc.target/i386/pr41019.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150738
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Fri, 14 Aug 2009 08:35:55 +0000 (08:35 +0000)]
* src/compatibility-ldbl.cc: Include cmath.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150736
138bc75d-0d04-0410-961f-
82ee72b054a4
kargl [Fri, 14 Aug 2009 05:10:34 +0000 (05:10 +0000)]
2009-08-13 Steven G. Kargl <kargl@gcc.gnu.org>
* decl.c (gfc_match_type_spec): Whitespace.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150734
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Fri, 14 Aug 2009 02:35:32 +0000 (02:35 +0000)]
2009-08-13 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/40955
* gfortran.dg/winapi.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150733
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Fri, 14 Aug 2009 02:26:33 +0000 (02:26 +0000)]
* config/i386/djgpp-stdint.h: New.
* config.gcc (djgpp): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150732
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 14 Aug 2009 01:45:36 +0000 (01:45 +0000)]
2009-08-13 Benjamin Kosnik <bkoz@redhat.com>
* src/compatibility-ldbl.cc: Include tr1/functional.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150731
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 14 Aug 2009 00:17:14 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150730
138bc75d-0d04-0410-961f-
82ee72b054a4
kkojima [Thu, 13 Aug 2009 22:16:07 +0000 (22:16 +0000)]
* config/sh/sh.c (sh_override_options): When flag_exceptions or
flag_unwind_tables is on, turn flag_reorder_blocks_and_partition
off.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150727
138bc75d-0d04-0410-961f-
82ee72b054a4
gshobaki [Thu, 13 Aug 2009 21:37:24 +0000 (21:37 +0000)]
2009-08-13 Ghassan Shobaki <ghassan.shobaki@amd.com>
* tree-ssa-loop-prefetch.c
(prune_ref_by_group_reuse): Enhance probabilistic analysis
for long-stride pruning.
(compute_miss_rate): New function to compute the probability
that two memory references access different cache lines.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150726
138bc75d-0d04-0410-961f-
82ee72b054a4
janus [Thu, 13 Aug 2009 19:46:46 +0000 (19:46 +0000)]
2009-08-13 Janus Weil <janus@gcc.gnu.org>
PR fortran/40941
* gfortran.h (gfc_typespec): Put 'derived' and 'cl' into union.
* decl.c (build_struct): Make sure 'cl' is only used
if type is BT_CHARACTER.
* symbol.c (gfc_set_default_type): Ditto.
* resolve.c (resolve_symbol, resolve_fl_derived): Ditto.
(resolve_equivalence,resolve_equivalence_derived): Make sure 'derived'
is only used if type is BT_DERIVED.
* trans-io.c (transfer_expr): Make sure 'derived' is only used if type
is BT_DERIVED or BT_INTEGER (special case: C_PTR/C_FUNPTR).
* array.c: Mechanical replacements to accomodate union in gfc_typespec.
* check.c: Ditto.
* data.c: Ditto.
* decl.c: Ditto.
* dump-parse-tree.c: Ditto.
* expr.c: Ditto.
* interface.c: Ditto.
* iresolve.c: Ditto.
* match.c: Ditto.
* misc.c: Ditto.
* module.c: Ditto.
* openmp.c: Ditto.
* parse.c: Ditto.
* primary.c: Ditto.
* resolve.c: Ditto.
* simplify.c: Ditto.
* symbol.c: Ditto.
* target-memory.c: Ditto.
* trans-array.c: Ditto.
* trans-common.c: Ditto.
* trans-const.c: Ditto.
* trans-decl.c: Ditto.
* trans-expr.c: Ditto.
* trans-intrinsic.c: Ditto.
* trans-io.c: Ditto.
* trans-stmt.c: Ditto.
* trans-types.c: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150725
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Thu, 13 Aug 2009 19:14:20 +0000 (19:14 +0000)]
* ChangeLog: Fix whitespace.
* testsuite/ChangeLog: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150724
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Thu, 13 Aug 2009 16:54:28 +0000 (16:54 +0000)]
PR c/41046
* decContext.c (decContextTestEndian): Call printf only if DECCHECK.
* decCommon.c ( decFloatShow): Define function only for DECCHECK
or DECTRACE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150720
138bc75d-0d04-0410-961f-
82ee72b054a4
davek [Thu, 13 Aug 2009 15:00:42 +0000 (15:00 +0000)]
* gcc/config/i386/cygwin.h (LINK_SPEC): Add --enable-auto-image-base.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150717
138bc75d-0d04-0410-961f-
82ee72b054a4
janus [Thu, 13 Aug 2009 11:16:16 +0000 (11:16 +0000)]
2009-08-13 Janus Weil <janus@gcc.gnu.org>
PR fortran/40995
* resolve.c (resolve_symbol): Move some checking code to
resolve_intrinsic, and call this from here.
(resolve_intrinsic): Some checking code moved here from resolve_symbol.
Make sure each intrinsic is only resolved once.
2009-08-13 Janus Weil <janus@gcc.gnu.org>
PR fortran/40995
* gfortran.dg/intrinsic_4.f90: New.
* gfortran.dg/intrinsic_subroutine.f90: An error message moved to a
different line.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150716
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Thu, 13 Aug 2009 08:19:10 +0000 (08:19 +0000)]
2009-08-13 Richard Guenther <rguenther@suse.de>
PR middle-end/41047
* tree-ssa-ccp.c (ccp_fold): When folding pointer additions
use the constant pointer type.
* gimplify.c (canonicalize_addr_expr): Canonicalize independent
of CV qualifiers on the target pointer type.
* tree-ssa.c (useless_type_conversion_p): Move incomplete pointer
conversion check before restrict check.
* gcc.dg/tree-ssa/ssa-ccp-27.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150715
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 13 Aug 2009 00:17:20 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150712
138bc75d-0d04-0410-961f-
82ee72b054a4
kkojima [Wed, 12 Aug 2009 22:26:13 +0000 (22:26 +0000)]
PR target/41029
* config/sh/sh.md (reload_outdf__RnFRm+4): Fix thinko.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150709
138bc75d-0d04-0410-961f-
82ee72b054a4
kkojima [Wed, 12 Aug 2009 22:23:49 +0000 (22:23 +0000)]
* config/sh/sh.c (sh_promote_function_mode): Add ATTRIBUTE_UNUSED.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150708
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Wed, 12 Aug 2009 22:05:50 +0000 (22:05 +0000)]
2009-08-12 Benjamin Kosnik <bkoz@redhat.com>
* src/compatibility-ldbl.cc: Add explicit namespace scope.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150707
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 12 Aug 2009 17:55:40 +0000 (17:55 +0000)]
2009-08-12 Richard Guenther <rguenther@suse.de>
PR tree-optimization/41011
* ipa-cp.c (ipcp_lattice_from_jfunc): Deal with failing fold
and reference constructing.
* gfortran.dg/pr41011.f: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150705
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Wed, 12 Aug 2009 17:33:41 +0000 (17:33 +0000)]
* inclhack.def (aix_complex): New fix.
* fixincl.x: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150704
138bc75d-0d04-0410-961f-
82ee72b054a4
davidxl [Wed, 12 Aug 2009 16:51:41 +0000 (16:51 +0000)]
Fix to PR41012
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150703
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Wed, 12 Aug 2009 16:34:00 +0000 (16:34 +0000)]
2009-08-12 Andrew Haley <aph@redhat.com>
* sysdep/arm/locks.h: Use atomic builtins For Linux EABI.
* configure.ac: Add ATOMICSPEC.
* libgcj.spec.in: Likewise.
* configure.host (arm*-linux*): Add -Wno-abi to cxxflags.
(testsuite/libjava.jvmti/jvmti-interp.exp): Likewise.
(testsuite/libjava.jvmti/jvmti.exp): Likewise.
(testsuite/libjava.jni/jni.exp): Likewise.
Set ATOMICSPEC.
Set LDFLAGS to work around libtool feature.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150702
138bc75d-0d04-0410-961f-
82ee72b054a4
bonzini [Wed, 12 Aug 2009 16:28:36 +0000 (16:28 +0000)]
2009-08-12 Richard Sandiford <rdsandiford@googlemail.com>
PR tree-optimization/41031
* tree-outof-ssa.c (insert_value_copy_on_edge): Use promote_decl_mode
on the partition variable rather than promote_mode on the source
type. Assert that the partition variable's type has the same
mode as the source value's.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150701
138bc75d-0d04-0410-961f-
82ee72b054a4
bonzini [Wed, 12 Aug 2009 16:23:12 +0000 (16:23 +0000)]
2009-08-12 Paolo Bonzini <bonzini@gnu.org>
* doc/tm.texi (TARGET_PROMOTE_FUNCTION_MODE): Add documentation
for for_return == 2.
* function.c (assign_parm_setup_reg): Use for_return == 2, improve
comments.
* calls.c (expand_call): Fix typo.
* explow.c (promote_decl_mode): Use for_return == 2 for RESULT_DECL
and PARM_DECL.
* stmt.c (expand_value_return): Use promote_function_mode to copy out
of pseudo.
* targhooks.c (default_promote_function_mode): Handle for_return == 2.
* config/cris/cris.c (cris_promote_function_mode): Likewise.
* config/mmix/mmix.c (mmix_promote_function_mode): Likewise.
* config/pa/pa.c (pa_promote_function_mode): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150700
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Wed, 12 Aug 2009 16:10:12 +0000 (16:10 +0000)]
2009-08-12 Andrew Haley <aph@redhat.com>
* builtins.c (compareAndSwapInt_builtin): Use
flag_use_atomic_builtins.
(compareAndSwapLong_builtin): Likewise.
(compareAndSwapObject_builtin): Likewise.
* jvspec.c: Add flag_use_atomic_builtins.
* gcj.texi: Likewise.
* java-tree.h: Likewise.
* lang.opt: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150699
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Wed, 12 Aug 2009 15:55:19 +0000 (15:55 +0000)]
2009-08-11 Andrew Haley <aph@redhat.com>
* gcc.target/arm/synchronize.c: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150698
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Wed, 12 Aug 2009 15:54:37 +0000 (15:54 +0000)]
2009-08-11 Andrew Haley <aph@redhat.com>
* config/arm/arm.c (arm_init_libfuncs): Add __sync_synchronize.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150697
138bc75d-0d04-0410-961f-
82ee72b054a4
spop [Wed, 12 Aug 2009 15:13:52 +0000 (15:13 +0000)]
Remove pragma GCC diagnostic warning "-Wc++-compat".
2009-08-12 Sebastian Pop <sebastian.pop@amd.com>
PR bootstrap/40103
* graphite.c: Remove pragma GCC diagnostic warning "-Wc++-compat".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150696
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 12 Aug 2009 15:10:47 +0000 (15:10 +0000)]
2009-08-12 Richard Guenther <rguenther@suse.de>
* alias.c (get_alias_set): Honor TYPE_STRUCTURAL_EQUALITY_P.
* gimplify.c (gimplify_modify_expr): Do not use
lang_hooks.types_compatible_p.
* tree-ssa.c (useless_type_conversion_p): For aggregates
just return false if the canonical types differ.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150695
138bc75d-0d04-0410-961f-
82ee72b054a4
spop [Wed, 12 Aug 2009 14:32:31 +0000 (14:32 +0000)]
Prepare expressions to be good phi arguments.
2009-08-11 Sebastian Pop <sebastian.pop@amd.com>
PR middle-end/40980
* sese.c (convert_for_phi_arg): New.
(add_guard_exit_phis): Use convert_for_phi_arg.
* testsuite/gfortran.dg/graphite/id-17.f: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150694
138bc75d-0d04-0410-961f-
82ee72b054a4
spop [Wed, 12 Aug 2009 14:31:21 +0000 (14:31 +0000)]
Dont add unknown subscript upper bounds.
2009-08-11 Sebastian Pop <sebastian.pop@amd.com>
* graphite-sese-to-poly.c (pdr_add_data_dimensions): Dont add
unknown subscript upper bounds.
* testsuite/gcc.dg/graphite/interchange-6.c: Un-XFAIL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150693
138bc75d-0d04-0410-961f-
82ee72b054a4
spop [Wed, 12 Aug 2009 14:30:06 +0000 (14:30 +0000)]
Reimplement interchange heuristic.
2009-08-11 Sebastian Pop <sebastian.pop@amd.com>
Pranav Garg <pranav.garg2107@gmail.com>
* graphite-interchange.c (gather_access_strides): Removed.
(ppl_max_for_le): New.
(build_linearized_memory_access): New.
(memory_stride_in_loop): New.
(pbb_interchange_profitable_p): Reimplemented.
* graphite-ppl.h (ppl_new_id_map): New.
(ppl_interchange): New.
* testsuite/gcc.dg/graphite/interchange-6.c: XFAILed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150692
138bc75d-0d04-0410-961f-
82ee72b054a4
spop [Wed, 12 Aug 2009 14:28:15 +0000 (14:28 +0000)]
Remove interchange heuristic.
2009-08-11 Sebastian Pop <sebastian.pop@amd.com>
* graphite-interchange.c (compute_subscript): Removed.
(compute_array_size_cstr): Removed.
(compute_array_size_poly): Removed.
(compute_array_size): Removed.
(gather_access_strides_poly): Removed.
(gather_access_strides): Empty.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150691
138bc75d-0d04-0410-961f-
82ee72b054a4
spop [Wed, 12 Aug 2009 14:27:33 +0000 (14:27 +0000)]
Add PDR->nb_subscripts.
2009-08-11 Sebastian Pop <sebastian.pop@amd.com>
* graphite-dependences.c (dependence_polyhedron_1): Replace
pdr_nb_subscripts with PDR_NB_SUBSCRIPTS.
(graphite_legal_transform_dr): Same.
(graphite_carried_dependence_level_k): Same.
* graphite-poly.c (new_poly_dr): Add a parameter nb_subscripts.
Initialize PDR_NB_SUBSCRIPTS.
(print_pdr_access_layout): Replace pdr_nb_subscripts with
PDR_NB_SUBSCRIPTS.
* graphite-poly.h (struct poly_dr): Add nb_subscripts field.
(PDR_NB_SUBSCRIPTS): New.
(pdr_nb_subscripts): Removed.
(pdr_dim): Simplified.
* graphite-sese-to-poly.c (build_poly_dr): Replace pdr_nb_subscripts
with PDR_NB_SUBSCRIPTS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150690
138bc75d-0d04-0410-961f-
82ee72b054a4
spop [Wed, 12 Aug 2009 14:26:42 +0000 (14:26 +0000)]
Undo changes to the PDR representation.
2009-08-11 Sebastian Pop <sebastian.pop@amd.com>
* graphite-interchange.c (compute_array_size): Remove use of
PDR_DATA_CONTAINER.
* graphite-poly.c (new_poly_dr): Remove argument data_container.
Do not initialize PDR_DATA_CONTAINER.
(print_pdr): Do not print PDR_DATA_CONTAINER.
* graphite-poly.h (struct poly_dr): Remove data_container field.
(PDR_DATA_CONTAINER): Removed.
* graphite-sese-to-poly.c (pdr_add_data_dimensions): Remove use of
PDR_DATA_CONTAINER.
(build_poly_dr): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150689
138bc75d-0d04-0410-961f-
82ee72b054a4
spop [Wed, 12 Aug 2009 14:25:32 +0000 (14:25 +0000)]
Add interchange testcase.
2009-08-11 Sebastian Pop <sebastian.pop@amd.com>
* testsuite/gcc.dg/graphite/interchange-9.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150688
138bc75d-0d04-0410-961f-
82ee72b054a4
spop [Wed, 12 Aug 2009 14:24:01 +0000 (14:24 +0000)]
Fix memory leak in DD XFAILs some interchange testcases.
2009-08-05 Konrad Trifunovic <konrad.trifunovic@gmail.com>
Sebastian Pop <sebastian.pop@amd.com>
* graphite-dependences.c (graphite_legal_transform_dr): Work on a
copy of the dependence polyhedron. Free the temporary objects.
(graphite_carried_dependence_level_k): Free unused objects before
returning.
* testsuite/gcc.dg/graphite/interchange-1.c: XFAILed.
* testsuite/gcc.dg/graphite/interchange-2.c: XFAILed.
* testsuite/gcc.dg/graphite/interchange-3.c: XFAILed.
* testsuite/gcc.dg/graphite/interchange-4.c: XFAILed.
* testsuite/gcc.dg/graphite/interchange-7.c: XFAILed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150687
138bc75d-0d04-0410-961f-
82ee72b054a4
spop [Wed, 12 Aug 2009 14:23:01 +0000 (14:23 +0000)]
Restore original scattering when the transform is not legal.
2009-08-05 Sebastian Pop <sebastian.pop@amd.com>
* graphite-blocking.c (scop_do_strip_mine): Call store_scattering.
Early return without analyzing the data dependences if no
transform has been done. Call restore_scattering if the transform
is not legal.
(graphite-interchange.c): Same.
* graphite-poly.c (print_scattering_function): Test for PBB_TRANSFORMED.
(graphite_read_transforms): Initialize PBB_TRANSFORMED.
(apply_poly_transforms): Do not gcc_assert that
the transform is legal.
(new_poly_bb): Initialize PBB_TRANSFORMED, PBB_SAVED, and PBB_ORIGINAL.
Do not initialize PBB_NB_SCATTERING_TRANSFORM, PBB_NB_LOCAL_VARIABLES,
PBB_TRANSFORMED_SCATTERING, and PBB_ORIGINAL_SCATTERING.
(free_poly_dr): Free PBB_TRANSFORMED, PBB_SAVED, and PBB_ORIGINAL.
* graphite-poly.h (struct poly_scattering): New.
(struct poly_bb): Add original, transformed, and saved fields.
Remove transformed_scattering, original_scattering, nb_local_variables,
and nb_scattering_transform fields.
(PBB_ORIGINAL, PBB_TRANSFORMED, PBB_SAVED): New.
(poly_scattering_new): New.
(poly_scattering_free): New.
(poly_scattering_copy): New.
(store_scattering_pbb): New.
(store_scattering): New.
(restore_scattering_pbb): New.
(restore_scattering): New.
* graphite-sese-to-poly.c (build_pbb_scattering_polyhedrons):
Initialize PBB_TRANSFORMED and PBB_ORIGINAL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150686
138bc75d-0d04-0410-961f-
82ee72b054a4
spop [Wed, 12 Aug 2009 14:20:22 +0000 (14:20 +0000)]
Correctly parenthesize pretty print structures.
2009-08-05 Sebastian Pop <sebastian.pop@amd.com>
* graphite-poly.c (print_pbb): Add parentheses in the pretty print.
(print_scop): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150685
138bc75d-0d04-0410-961f-
82ee72b054a4
spop [Wed, 12 Aug 2009 14:19:33 +0000 (14:19 +0000)]
Recompute profile after Graphite.
2009-08-05 Sebastian Pop <sebastian.pop@amd.com>
* Makefile.in (graphite.o): Depends on PREDICT_H.
* graphite.c: Include predict.h.
(graphite_finalize): Call tree_estimate_probability.
* predict.c (predict_loops): Do not call scev_initialize and
scev_finalize.
(tree_estimate_probability_bb): New.
(tree_estimate_probability): Do not initialize loops: move that
code to the driver. Call tree_estimate_probability_bb.
(tree_estimate_probability_driver): New.
(pass_profile): Use tree_estimate_probability_driver.
* predict.h (tree_estimate_probability): Declared.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150684
138bc75d-0d04-0410-961f-
82ee72b054a4
spop [Wed, 12 Aug 2009 14:18:17 +0000 (14:18 +0000)]
Measure time spent in DD analysis and in code gen.
2009-08-05 Sebastian Pop <sebastian.pop@amd.com>
* graphite-clast-to-gimple.c (gloog): Add time to TV_GRAPHITE_CODE_GEN.
* graphite-dependences.c (graphite_legal_transform): Add time to
TV_GRAPHITE_DATA_DEPS.
(dependency_between_pbbs_p): Same.
* timevar.def (TV_GRAPHITE_DATA_DEPS, TV_GRAPHITE_CODE_GEN): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150683
138bc75d-0d04-0410-961f-
82ee72b054a4
abel [Wed, 12 Aug 2009 11:50:22 +0000 (11:50 +0000)]
2009-08-12 Andrey Belevantsev <abel@ispras.ru>
PR rtl-optimization/41033
* alias.c (nonoverlapping_component_refs_p): Punt if strict aliasing is disabled.
2009-08-12 Richard Guenther <rguenther@suse.de>
PR rtl-optimization/41033
* gcc.dg/pr41033.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150680
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Wed, 12 Aug 2009 09:03:38 +0000 (09:03 +0000)]
2009-08-12 Tobias Burnus <burnus@net-b.de>
PR fortran/41034
* symbol.c (gfc_copy_attr): Merge bits instead of replace
bits in gfc_copy_attr.
* gfc_check_pointer_assign (gfc_check_pointer_assign):
Initialize ext_attr bits by zero.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150678
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 12 Aug 2009 08:33:15 +0000 (08:33 +0000)]
2009-08-12 Richard Guenther <rguenther@suse.de>
* trans-types.c (gfc_get_derived_type): Do not clear TYPE_CANONICAL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150676
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Wed, 12 Aug 2009 00:56:12 +0000 (00:56 +0000)]
2009-08-11 Benjamin Kosnik <bkoz@redhat.com>
* include/precompiled/extc++.h: Don't include TR1 if C++0x.
* include/precompiled/stdc++.h: Don't include cassert if
_GLIBCXX_NO_ASSERT defined.
* include/ext/cast.h (_GLIBCXX_BEGIN_NAMESPACE): Remove extra
semi-colon.
* include/ext/pointer.h (_GCC_CXX_POINTER_COMPARISON_OPERATION_SET):
Same.
* testsuite/17_intro/headers/all.cc: Move into dialect-specific
directory.
* testsuite/17_intro/headers/all_pedantic_errors.cc: Same.
* testsuite/17_intro/headers/all_assert_neg.cc: Same.
* testsuite/17_intro/headers/all_c++200x_compatibility.cc: Same.
* testsuite/17_intro/headers/c++1998/all.cc: Use extc++.h include.
* testsuite/17_intro/headers/c++1998/stdc++.cc: Converted all.cc,
use stdc++.h include.
* testsuite/17_intro/headers/c++1998/all_pedantic_errors.cc: Same.
* testsuite/17_intro/headers/c++1998/stdc++_assert_neg.cc: Same.
* testsuite/17_intro/headers/c++1998/all_c++200x_compatibility.cc: Same.
* testsuite/17_intro/headers/c++1998/all_no_exceptions.cc: New.
* testsuite/17_intro/headers/c++1998/all_multiple_inclusion.cc: To...
* testsuite/17_intro/headers/c++1998/stdc++_multiple_inclusion.cc
...this.
* testsuite/17_intro/headers/c++200x/all.cc: To...
* testsuite/17_intro/headers/c++200x/stdc++.cc: ..this.
* testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: To...
* testsuite/17_intro/headers/c++200x/stdc++_multiple_inclusion.cc:
...this.
* testsuite/17_intro/headers/c++200x/all_no_exceptions.cc: New.
* testsuite/17_intro/headers/c++200x/all_pedantic_errors.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150672
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 12 Aug 2009 00:17:07 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150671
138bc75d-0d04-0410-961f-
82ee72b054a4
janus [Tue, 11 Aug 2009 20:08:35 +0000 (20:08 +0000)]
2009-08-11 Janus Weil <janus@gcc.gnu.org>
PR fortran/41022
* trans-expr.c (gfc_conv_procedure_call): Handle procedure pointer
components as actual arguments.
2009-08-11 Janus Weil <janus@gcc.gnu.org>
PR fortran/41022
* gfortran.dg/proc_ptr_comp_14.f90: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150665
138bc75d-0d04-0410-961f-
82ee72b054a4
dodji [Tue, 11 Aug 2009 18:39:54 +0000 (18:39 +0000)]
Fix PR debug/40990
PR debug/40990
* lang.c (put_decl_node): Outputs different level of information
depending on the verbosity level.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150659
138bc75d-0d04-0410-961f-
82ee72b054a4
nemet [Tue, 11 Aug 2009 17:41:09 +0000 (17:41 +0000)]
* config/mips/predicates.md (qi_mask_operand, hi_mask_operand,
si_mask_operand, and_load_operand, low_bitmask_operand,
and_reg_operand, and_operand): New predicates.
* config/mips/constraints.md (Yb, Yh, Yw, Yz): New constraints.
* config/mips/mips.c (and_operands_ok): New function.
* config/mips/mips-protos.h (and_operands_ok): Declare it.
* config/mips/mips.md (move_type): Add ext_ins and logical.
(type): Handle them.
(and<mode>3): Use and_reg_operand as the second operand's
predicate.
(*and<mode>3): Add alternatives for lbu, lhu, lwu, <d>ext and
shift_shift. Remove commutative constraint modifier.
(*and<mode>3_mips16): Add alternatives for lbu, lhu, lwu and
shift_shift.
(*clear_upper32_dext): Remove define_insn_and_split.
(*clear_upper32): Turn this define_insn_and_split ...
(splitter for ANDing register with 0xffff_ffff): .. into this.
testsuite/
* gcc.target/mips/ext-5.c: New test.
* gcc.target/mips/ext-6.c: New test.
* gcc.target/mips/ext-7.c: New test.
* gcc.target/mips/ext-8.c: New test.
* gcc.target/mips/extend-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150657
138bc75d-0d04-0410-961f-
82ee72b054a4
nemet [Tue, 11 Aug 2009 17:31:09 +0000 (17:31 +0000)]
* combine.c (try_widen_shift_mode): Factor out code to check if an
integer constant is a low-order bitmask from here ...
* rtlanal.c (low_bitmask_len): ... to here.
* rtl.h (low_bitmask_len): Declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150656
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Tue, 11 Aug 2009 17:05:38 +0000 (17:05 +0000)]
PR target/8603
* config/alpha/alpha.md (addsi3): Remove expander.
(addsi3): Rename from *addsi3_internal insn pattern.
(subsi3): Remove expander.
(subsi3): Rename from *subsi3_internal insn pattern.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150654
138bc75d-0d04-0410-961f-
82ee72b054a4
rupp [Tue, 11 Aug 2009 16:41:41 +0000 (16:41 +0000)]
* config/alpha/alpha.c (alpha_init_builtins): Nullify FWRITE and
FWRITE_UNLOCKED.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150653
138bc75d-0d04-0410-961f-
82ee72b054a4
rupp [Tue, 11 Aug 2009 16:33:41 +0000 (16:33 +0000)]
* config/alpha/alpha.c (alpha_return_in_memory): On VMS, ensure
that records that fit in 64 bits are returned by immediate value,
as required by OpenVMS Calling Standard.
(function_value): Adjust for above modification.
(alpha_va_start) <TARGET_ABI_OPEN_VMS>: Use
virtual_incoming_args_rtx as base object, not next_arg.
* config/alpha/vms.h: (DEFAULT_PCC_STRUCT_RETURN): Define as 0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150652
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Tue, 11 Aug 2009 13:56:52 +0000 (13:56 +0000)]
* reload.c (find_reloads_subreg_address): Check the original
req_equiv_mem address to detect the case where an address is
not valid in the outer mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150649
138bc75d-0d04-0410-961f-
82ee72b054a4
guerby [Tue, 11 Aug 2009 11:39:43 +0000 (11:39 +0000)]
2009-08-11 Richard Guenther <rguenther@suse.de>
PR bootstrap/40788
* builtins.c (gimplify_va_arg_expr): Do not call
SET_EXPR_LOCATION.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150648
138bc75d-0d04-0410-961f-
82ee72b054a4
rupp [Tue, 11 Aug 2009 05:19:31 +0000 (05:19 +0000)]
* config/alpha/vms.h (OPTIMIZATION_OPTIONS): Remove
(OVERRIDE_OPTIONS): Incorporate removed OPTIMIZATION_OPTIONS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150647
138bc75d-0d04-0410-961f-
82ee72b054a4
rupp [Tue, 11 Aug 2009 05:14:48 +0000 (05:14 +0000)]
* config/alpha/alpha.c (alpha_sa_size): Force procedure type to
PT_STACK when frame_pointer_needed on OpenVMS.
(alpha_pv_save_size, alpha_using_fp): Remove.
(alpha_vms_can_eliminate): New function. Support for CAN_ELIMINATE
with proper processing for PT_NULL.
(alpha_vms_initial_elimination_offset): New function. Support for
INITIAL_ELIMINATION_OFFSET with proper processing for PT_NULL.
(alpha_sa_size): Force procedure type to PT_STACK when
frame_pointer_needed on OpenVMS.
* config/alpha/alpha-protos.h (alpha_pv_save_size): Remove prototype.
(alpha_using_fp): Likewise.
(alpha_vms_can_eliminate): Add prototype.
(alpha_vms_initial_elimination_offset): Likewise.
* config/alpha/vms.h (CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET):
Call alpha_vms_can_eliminate and alpha_vms_initial_elimination_offset.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150646
138bc75d-0d04-0410-961f-
82ee72b054a4
rupp [Tue, 11 Aug 2009 05:00:51 +0000 (05:00 +0000)]
* config/alpha/alpha.c (common_object_handler): New function.
(vms_attribute_table): Declare a single attribute "common_object".
(vms_output_aligned_decl_common): New global function.
(SECTION_VMS_OVERLAY): Delete.
(SECTION_VMS_GLOBAL): Likewise.
(SECTION_VMS_INITIALIZE): Likewise.
(vms_asm_named_section): Remove support for above flags.
(vms_section_type_flags): Delete.
(TARGET_SECTION_TYPE_FLAGS): Likewise.
* config/alpha/alpha-protos.h (vms_output_aligned_decl_common): New.
* config/alpha/vms.h (ASM_OUTPUT_ALIGNED_COMMON): Delete.
(ASM_OUTPUT_ALIGNED_DECL_COMMON): New macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150645
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 11 Aug 2009 04:30:35 +0000 (04:30 +0000)]
2009-08-10 Benjamin Kosnik <bkoz@redhat.com>
* include/std/future: Move error handling bits outside macro guard.
* src/future.cc: Adjust.
* include/precompiled/stdc++.h: Add future.
* doc/xml/manual/using.xml: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150642
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 11 Aug 2009 01:24:59 +0000 (01:24 +0000)]
2009-08-10 Benjamin Kosnik <bkoz@redhat.com>
* src/hashtable.cc: Just definitions.
* src/hashtable_c++0x.cc: Compile C++0x versions.
* src/hash.cc: Same.
* src/hash_c++0x.cc: Same.
src/hash_tr1.cc: Compile TR1 versions.
src/hashtable_tr1.cc: Same.
* src/limits_c++0x.cc: Sync build error handling.
* src/Makefile.am (sources): Change hash.cc to hash_tr1.cc,
hashtable.cc to hashtable_tr1.cc.
* src/Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150641
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 11 Aug 2009 00:29:21 +0000 (00:29 +0000)]
2009-08-10 Benjamin Kosnik <bkoz@redhat.com>
* include/tr1_impl/functional: Doxygen markup.
* doc/html/*: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150640
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 11 Aug 2009 00:16:39 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150639
138bc75d-0d04-0410-961f-
82ee72b054a4
kkojima [Mon, 10 Aug 2009 20:57:35 +0000 (20:57 +0000)]
PR target/41015
* longlong.h [__sh__] (udiv_qrnnd): Add T register to clobber list.
(sub_ddmmss): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150635
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 10 Aug 2009 20:47:55 +0000 (20:47 +0000)]
Implement DR 757: It's OK for a decl to use a type without linkage
so long as the decl is defined in the current translation unit.
* decl2.c (no_linkage_decls): New vector.
(mark_used): Add decls that use types with no linkage.
(cp_write_global_declarations): Check that they are defined.
(decl_defined_p, no_linkage_error): New fns.
* cp-tree.h (DECL_NO_LINKAGE_CHECKED): New macro.
(struct lang_decl_base): Add flag.
* decl.c (grokfndecl): Don't check type linkage.
(grokvardecl): If the type has no linkage, just make sure
DECL_LANG_SPECIFIC is set.
* pt.c (check_instantiated_arg): Don't check type linkage.
* name-lookup.c (is_local_extern): New fn.
* name-lookup.h: Declare it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150634
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 10 Aug 2009 18:24:47 +0000 (18:24 +0000)]
2009-08-10 Benjamin Kosnik <bkoz@redhat.com>
* include/std/future: Fixes for -fno-exceptions.
* include/bits/functexcept.h: Same.
* libsupc++/exception_ptr.h: Same.
* src/pool_allocator.cc: Same.
* src/future.cc: Same.
* src/functexcept.cc: Same.
* config/abi/pre/gnu.ver: New exports.
* testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust.
* testsuite/30_threads/packaged_task/cons/copy_neg.cc: Same.
* testsuite/30_threads/unique_future/cons/assign_neg.cc: Same.
* testsuite/30_threads/unique_future/cons/copy_neg.cc: Same.
* testsuite/30_threads/shared_future/cons/assign_neg.cc: Same.
* testsuite/30_threads/promise/cons/assign_neg.cc: Same.
* testsuite/30_threads/promise/cons/copy_neg.cc: Same.
* testsuite/23_containers/deque/operators/1.cc: Separate in two...
* testsuite/23_containers/deque/operators/2.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150633
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Mon, 10 Aug 2009 18:23:57 +0000 (18:23 +0000)]
2009-08-10 Andreas Tobler <a.tobler@schweiz.org>
PR bootstrap/41018
* config/rs6000/freebsd.h: Define SVR4_ASM_SPEC. Adjust copyright
year.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150632
138bc75d-0d04-0410-961f-
82ee72b054a4
manu [Mon, 10 Aug 2009 17:10:50 +0000 (17:10 +0000)]
2009-08-10 Manuel López-Ibáñez <manu@gcc.gnu.org>
testsuite/
* gcc.dg/dg.exp: Test also c-c++-common dir.
* g++.dg/dg.exp: Likewise.
* g++.dg/warn/Wconversion-real.C: Delete.
* gcc.dg/Wconversion-real.c: Move to ...
* c-c++-common/Wconversion-real.c: ... here.
* lib/target-supports.exp
(check_effective_target_c,check_effective_target_c++): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150627
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Mon, 10 Aug 2009 15:34:09 +0000 (15:34 +0000)]
PR target/37053
* reload1.c (reload_as_needed): Use cancel_changes to completely
undo a failed replacement attempt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150626
138bc75d-0d04-0410-961f-
82ee72b054a4
nvachhar [Mon, 10 Aug 2009 14:57:24 +0000 (14:57 +0000)]
* Moved ChangeLog entry to the correct ChangeLog
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150625
138bc75d-0d04-0410-961f-
82ee72b054a4
guerby [Mon, 10 Aug 2009 10:52:37 +0000 (10:52 +0000)]
2009-08-10 Laurent GUERBY <laurent@guerby.net>
* make.adb: Handle multilib
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150623
138bc75d-0d04-0410-961f-
82ee72b054a4
domob [Mon, 10 Aug 2009 10:51:46 +0000 (10:51 +0000)]
2009-08-10 Daniel Kraft <d@domob.eu>
PR fortran/37425
* gfortran.dg/typebound_operator_1.f03: New test.
* gfortran.dg/typebound_operator_2.f03: New test.
2009-08-10 Daniel Kraft <d@domob.eu>
PR fortran/37425
* gfortran.h (struct gfc_namespace): New fields tb_uop_root and tb_op.
(gfc_find_typebound_user_op): New routine.
(gfc_find_typebound_intrinsic_op): Ditto.
(gfc_check_operator_interface): Now public routine.
* decl.c (gfc_match_generic): Match OPERATOR(X) or ASSIGNMENT(=).
* interface.c (check_operator_interface): Made public, renamed to
`gfc_check_operator_interface' accordingly and hand in the interface
as gfc_symbol rather than gfc_interface so it is useful for type-bound
operators, too. Return boolean result.
(gfc_check_interfaces): Adapt call to `check_operator_interface'.
* symbol.c (gfc_get_namespace): Initialize new field `tb_op'.
(gfc_free_namespace): Free `tb_uop_root'-based tree.
(find_typebound_proc_uop): New helper function.
(gfc_find_typebound_proc): Use it.
(gfc_find_typebound_user_op): New method.
(gfc_find_typebound_intrinsic_op): Ditto.
* resolve.c (resolve_tb_generic_targets): New helper function.
(resolve_typebound_generic): Use it.
(resolve_typebound_intrinsic_op), (resolve_typebound_user_op): New.
(resolve_typebound_procedures): Resolve operators, too.
(check_uop_procedure): New, code from gfc_resolve_uops.
(gfc_resolve_uops): Moved main code to new `check_uop_procedure'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150622
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Mon, 10 Aug 2009 09:22:47 +0000 (09:22 +0000)]
2009-08-10 Richard Guenther <rguenther@suse.de>
PR middle-end/41006
* tree-ssa.c (useless_type_conversion_p_1): Fold into ...
(useless_type_conversion_p): ... here. Require pointer targets
to be compatible.
* gcc.c-torture/compile/pr41006-1.c: New testcase.
* gcc.c-torture/compile/pr41006-2.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150621
138bc75d-0d04-0410-961f-
82ee72b054a4