platform/upstream/linaro-gcc.git
11 years ago2013-02-22 Greta Yorsh <Greta.Yorsh@arm.com>
gretay [Fri, 22 Feb 2013 14:23:12 +0000 (14:23 +0000)]
2013-02-22  Greta Yorsh  <Greta.Yorsh@arm.com>

        * config/arm/arm.md (split for extendsidi): Update condition.
        (zero_extend<mode>di2,extend<mode>di2): Add an alternative.
        * config/arm/iterators.md (qhs_extenddi_cstr): Likewise.
        (qhs_zextenddi_cstr): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196220 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Fri, 22 Feb 2013 00:19:06 +0000 (00:19 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196218 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR middle-end/56420
jakub [Thu, 21 Feb 2013 21:29:29 +0000 (21:29 +0000)]
PR middle-end/56420
* expmed.c (EXACT_POWER_OF_2_OR_ZERO_P): Do subtraction in uhwi, to
avoid signed wrapping.
(expand_mult): Handle properly multiplication by
((dword_type) -1) << (BITS_PER_WORD - 1).  Improve multiplication by
((dword_type) 1) << (BITS_PER_WORD - 1).  Avoid undefined behavior
in the compiler if coeff is HOST_WIDE_INT_MIN.
(expand_divmod): Don't make ext_op1 static, change it's type to
uhwi.  Avoid undefined behavior in -INTVAL (op1).

* gcc.dg/torture/pr56420.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196215 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR rtl-optimization/50339
jakub [Thu, 21 Feb 2013 21:28:03 +0000 (21:28 +0000)]
PR rtl-optimization/50339
* lower-subreg.h (struct lower_subreg_choices): Add splitting_ashiftrt
field.
* lower-subreg.c (compute_splitting_shift): Handle ASHIFTRT.
(compute_costs): Call compute_splitting_shift also for ASHIFTRT
into splitting_ashiftrt field.
(find_decomposable_shift_zext, resolve_shift_zext): Handle also
ASHIFTRT.
(dump_choices): Fix up printing LSHIFTRT choices, print ASHIFTRT
choices.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196214 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR middle-end/56108
aldyh [Thu, 21 Feb 2013 20:16:26 +0000 (20:16 +0000)]
PR middle-end/56108
* trans-mem.c (execute_tm_mark): Do not expand transactions that
are sure to go irrevocable.
testsuite/
* gcc.dg/tm/memopt-1.c: Declare functions transaction_safe.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196213 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
jakub [Thu, 21 Feb 2013 19:12:43 +0000 (19:12 +0000)]
* asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
dynamic/asan_interceptors_dynamic.cc.
* asan/Makefile.in: Regenerated.
* merge.sh: Remove merge of deprecated lib/asan/dynamic.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196211 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoFix regression when writing formatted sequential to a pipe.
jb [Thu, 21 Feb 2013 19:03:10 +0000 (19:03 +0000)]
Fix regression when writing formatted sequential to a pipe.

2013-02-21  Janne Blomqvist  <jb@gcc.gnu.org>

PR libfortran/30162
* io/open.c (test_endfile): Call stell only if size != 0.
* io/unix.c (raw_tell): Revert r194679.
(raw_size): Return size field only for regular files, otherwise 0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196210 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-20 Andrew Sutton <andrew.n.sutton@gmail.com>
asutton [Thu, 21 Feb 2013 18:24:18 +0000 (18:24 +0000)]
2013-02-20  Andrew Sutton  <andrew.n.sutton@gmail.com>

* MAINTAINERS (Write After Approval): Add myself.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196209 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * doc/rtl.texi (vec_concat, vec_duplicate): Mention that
hp [Thu, 21 Feb 2013 16:41:25 +0000 (16:41 +0000)]
* doc/rtl.texi (vec_concat, vec_duplicate): Mention that
scalars are valid operands.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196208 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-21 Martin Jambor <mjambor@suse.cz>
jamborm [Thu, 21 Feb 2013 16:08:51 +0000 (16:08 +0000)]
2013-02-21  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/56310
* ipa-cp.c (agg_replacements_to_vector): New parameter index, copy
only matching indices and non-negative final offsets.
(intersect_aggregates_with_edge): Pass src_idx to
agg_replacements_to_vector.  Pass src_idx insstead of index to
intersect_with_agg_replacements.

testsuite/
* g++.dg/ipa/pr56310.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196207 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-21 Martin Jambor <mjambor@suse.cz>
jamborm [Thu, 21 Feb 2013 16:05:27 +0000 (16:05 +0000)]
2013-02-21  Martin Jambor  <mjambor@suse.cz>

* ipa-cp.c (good_cloning_opportunity_p): Dump the real threshold
instead of hard-wired defaults.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196206 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
jakub [Thu, 21 Feb 2013 14:25:32 +0000 (14:25 +0000)]
* asan/asan_rtl.cc (__asan_preinit): Don't add if PIC macro is
defined.  Add used attribute.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196205 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * doc/invoke.texi (MIPS Options): Update documentation of the
macro [Thu, 21 Feb 2013 14:06:52 +0000 (14:06 +0000)]
* doc/invoke.texi (MIPS Options): Update documentation of the
floating-point multiply-accumulate instruction restrictions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196204 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoFix ChangeLog typo.
macro [Thu, 21 Feb 2013 14:05:35 +0000 (14:05 +0000)]
Fix ChangeLog typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196203 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-21 Janus Weil <janus@gcc.gnu.org>
janus [Thu, 21 Feb 2013 12:26:44 +0000 (12:26 +0000)]
2013-02-21  Janus Weil  <janus@gcc.gnu.org>

PR fortran/56385
* trans-array.c (structure_alloc_comps): Handle procedure-pointer
components with allocatable result.

2013-02-21  Janus Weil  <janus@gcc.gnu.org>

PR fortran/56385
* gfortran.dg/proc_ptr_comp_37.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196202 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agolibsanitizer merge from upstream r175733
kcc [Thu, 21 Feb 2013 10:57:10 +0000 (10:57 +0000)]
libsanitizer merge from upstream r175733

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196201 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-21 Richard Biener <rguenther@suse.de>
rguenth [Thu, 21 Feb 2013 10:52:39 +0000 (10:52 +0000)]
2013-02-21  Richard Biener  <rguenther@suse.de>

PR tree-optimization/56415
Revert
2013-02-11  Richard Biener  <rguenther@suse.de>

PR tree-optimization/56273
* tree-vrp.c (simplify_cond_using_ranges): Disable for the
first VRP run.

* g++.dg/warn/Warray-bounds-6.C: New testcase.
* gcc.dg/tree-ssa/pr21559.c: Adjust.
* gcc.dg/tree-ssa/vrp17.c: Likewise.
* gcc.dg/tree-ssa/vrp18.c: Likewise.
* gcc.dg/tree-ssa/vrp23.c: Likewise.
* gcc.dg/tree-ssa/vrp24.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196200 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoNew test for PR56398.
mpolacek [Thu, 21 Feb 2013 10:21:19 +0000 (10:21 +0000)]
New test for PR56398.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196199 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR bootstrap/56258
jakub [Thu, 21 Feb 2013 09:40:44 +0000 (09:40 +0000)]
PR bootstrap/56258
* doc/invoke.texi (-fdump-rtl-pro_and_epilogue): Use @item
instead of @itemx.

* gnat-style.texi (@title): Remove @hfill.
* projects.texi: Avoid line wrapping inside of @pxref or
@xref.

* doc/cp-tools.texinfo (Virtual Machine Options): Use just
one @gccoptlist instead of 3 separate ones.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196196 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR inline-asm/56405
jakub [Thu, 21 Feb 2013 09:33:49 +0000 (09:33 +0000)]
PR inline-asm/56405
* expr.c (expand_expr_real_1) <case TARGET_MEM_REF, MEM_REF>: Don't
use movmisalign or extract_bit_field for EXPAND_MEMORY modifier.

* gcc.c-torture/compile/pr56405.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196195 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-02-21 Tobias Burnus <burnus@net-b.de>
burnus [Thu, 21 Feb 2013 09:23:31 +0000 (09:23 +0000)]
2012-02-21  Tobias Burnus  <burnus@net-b.de>

        PR fortran/56416
        * gfortran.texi (Part II: Language Reference, Extensions,
        Non-Fortran Main Program): Sort @menu to match actual section order.
        * intrinsic.texi (Intrinsic Procedures): Ditto.
        (C_F_POINTER, PRECISION): Move to the alphabetically correct place.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196194 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Thu, 21 Feb 2013 00:19:11 +0000 (00:19 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196191 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * include/std/streambuf (basic_streambuf): Use injected class name
redi [Wed, 20 Feb 2013 22:41:58 +0000 (22:41 +0000)]
* include/std/streambuf (basic_streambuf): Use injected class name
instead of non-standard __streambuf_type typedef. Fix unclosed Doxygen
group.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196185 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * doc/html/faq.html: Fix spelling.
redi [Wed, 20 Feb 2013 22:41:51 +0000 (22:41 +0000)]
* doc/html/faq.html: Fix spelling.
* doc/xml/faq.xml: Likewise.
* include/bits/basic_ios.h: Likewise.
* include/bits/regex.h: Likewise.
* include/std/istream: Likewise.
* include/std/streambuf: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196184 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * testsuite/23_containers/unordered_set/55043.cc: Add missing
redi [Wed, 20 Feb 2013 21:23:44 +0000 (21:23 +0000)]
* testsuite/23_containers/unordered_set/55043.cc: Add missing
namespace qualification.
* testsuite/23_containers/unordered_multiset/55043.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196183 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR go/56171
ian [Wed, 20 Feb 2013 20:04:36 +0000 (20:04 +0000)]
PR go/56171
syscall: Solaris fixes for passing file descriptor.

From Rainer Orth.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196180 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR go/56320
ian [Wed, 20 Feb 2013 19:45:10 +0000 (19:45 +0000)]
PR go/56320
runtime: Support Solaris AMD64 in lfstack.
The address space layout is similar on SPARC64 and AMD64 when
running Solaris.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196179 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR tree-optimization/56265
hubicka [Wed, 20 Feb 2013 15:47:21 +0000 (15:47 +0000)]
PR tree-optimization/56265
* ipa-prop.c (ipa_make_edge_direct_to_target): Fixup callgraph when target is
referenced for firs ttime.
* testsuite/g++.dg/ipa/devirt-11.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196177 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-20 Richard Biener <rguenther@suse.de>
rguenth [Wed, 20 Feb 2013 15:19:13 +0000 (15:19 +0000)]
2013-02-20  Richard Biener  <rguenther@suse.de>

* tree-call-cdce.c (tree_call_cdce): Do not remove unused locals.
* tree-ssa-forwprop.c (ssa_forward_propagate_and_combine): Likewise.
* tree-ssa-dce.c (perform_tree_ssa_dce): Likewise.
* tree-ssa-copyrename.c (copy_rename_partition_coalesce): Do
not return anything.
(rename_ssa_copies): Do not remove unused locals.
* tree-ssa-ccp.c (do_ssa_ccp): Likewise.
* tree-ssanames.c (pass_release_ssa_names): Remove unused
locals first.
* passes.c (execute_function_todo): Do not schedule unused locals
removal if cleanup_tree_cfg did something.
* tree-ssa-live.c (remove_unused_locals): Dump statistics
about the number of removed locals.

* gcc.dg/tree-ssa/forwprop-8.c: Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196174 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-20 Richard Biener <rguenther@suse.de>
rguenth [Wed, 20 Feb 2013 13:38:13 +0000 (13:38 +0000)]
2013-02-20  Richard Biener  <rguenther@suse.de>

PR tree-optimization/56398
* tree-vect-loop-manip.c (adjust_debug_stmts): Skip
SSA default defs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196172 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-20 Martin Jambor <mjambor@suse.cz>
jamborm [Wed, 20 Feb 2013 12:56:30 +0000 (12:56 +0000)]
2013-02-20  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/55334
* ipa-cp.c (initialize_node_lattices): Disable IPA-CP through and to
restricted pointers to arrays.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196171 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-20 Richard Biener <rguenther@suse.de>
rguenth [Wed, 20 Feb 2013 11:39:39 +0000 (11:39 +0000)]
2013-02-20  Richard Biener  <rguenther@suse.de>
Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/56396
* tree-ssa-ccp.c (n_const_val): New static variable.
(get_value): Return NULL for SSA names we don't have a lattice
entry for.
(ccp_initialize): Initialize n_const_val.
* tree-ssa-copy.c (n_copy_of): New static variable.
(init_copy_prop): Initialize n_copy_of.
(get_value): Return NULL_TREE for SSA names we don't have a
lattice entry for.

* gcc.dg/pr56396.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196170 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-20 Martin Jambor <mjambor@suse.cz>
jamborm [Wed, 20 Feb 2013 10:33:47 +0000 (10:33 +0000)]
2013-02-20  Martin Jambor  <mjambor@suse.cz>

* ipa-cp.c (initialize_node_lattices): Fix dumping condition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196169 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-20 Richard Biener <rguenther@suse.de>
rguenth [Wed, 20 Feb 2013 09:04:29 +0000 (09:04 +0000)]
2013-02-20  Richard Biener  <rguenther@suse.de>

* genpreds.c (write_lookup_constraint): Do not compare first
letter of the constraint again.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196167 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-20 Richard Biener <rguenther@suse.de>
rguenth [Wed, 20 Feb 2013 09:03:18 +0000 (09:03 +0000)]
2013-02-20  Richard Biener  <rguenther@suse.de>

* tree-ssa-loop-ivopts.c (alloc_use_cost_map): Use bitmap_count_bits
and ceil_log2.
(get_use_iv_cost): Terminate hashtable walk when coming across
an empty entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196166 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago/cp
paolo [Wed, 20 Feb 2013 09:02:35 +0000 (09:02 +0000)]
/cp
2013-02-20  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/56373
* tree.c (maybe_warn_zero_as_null_pointer_constant): Add.
* cvt.c (ocp_convert): Use the latter.
(cp_convert_to_pointer): Likewise.
* decl.c (check_default_argument): Likewise.
* typeck.c (cp_build_binary_op): Likewise.
* cp-tree.h (maybe_warn_zero_as_null_pointer_constant): Declare.

/testsuite
2013-02-20  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/56373
* g++.dg/cpp0x/Wzero-as-null-pointer-constant-2.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196165 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago* config/i386/i386.c (initial_ix86_tune_features): Turn on fp
kyukhin [Wed, 20 Feb 2013 08:55:16 +0000 (08:55 +0000)]
* config/i386/i386.c (initial_ix86_tune_features): Turn on fp
  reassociation for avx2 targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196164 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-19 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 20 Feb 2013 01:52:36 +0000 (01:52 +0000)]
2013-02-19  Benjamin Kosnik  <bkoz@redhat.com>

* doc/doxygen/user.cfg.in: Set __cplusplus to 201103L. Change to
_GLIBCXX_INCLUDE_AS_CXX11. DIRECTORY_GRAPH, MARKDOWN_SUPPORT,
AUTOLINK_SUPPORT to NO. Update to doxygen 1.8.3.1.
* include/bits/stl_pair.h: Add to utilities group.
* include/std/tuple: Same.
* include/std/typeindex: Same.

* include/bits/stringfwd.h: Fix markup.
* include/std/limits: Same.
* include/std/type_traits: Same.
* include/tr1/memory: Same.
* include/tr1/regex: Same.
* scripts/run_doxygen: Comment.
* testsuite/20_util/uses_allocator/cons_neg.cc: Fixup line numbers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196162 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Wed, 20 Feb 2013 00:19:27 +0000 (00:19 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196161 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoAdd support for the CLZ insn
eager [Tue, 19 Feb 2013 23:10:29 +0000 (23:10 +0000)]
Add support for the CLZ insn
* config/microblaze/microblaze.c: microblaze_has_clz = 0
Add version check for v8.10.a to enable microblaze_has_clz
* config/microblaze/microblaze.h: Add TARGET_HAS_CLZ as
combined version and TARGET_PATTERN_COMPARE check
* config/microblaze/microblaze.md: New clzsi2 instruction

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196158 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago* config/microblaze/microblaze.md (call_value_intern): Check symbol is
eager [Tue, 19 Feb 2013 23:05:40 +0000 (23:05 +0000)]
*  config/microblaze/microblaze.md (call_value_intern): Check symbol is
function before branching.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196157 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago* config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
eager [Tue, 19 Feb 2013 23:00:50 +0000 (23:00 +0000)]
* config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
as dividend.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196156 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR libquadmath/56379
jakub [Tue, 19 Feb 2013 21:50:10 +0000 (21:50 +0000)]
PR libquadmath/56379
* strtod/strtod_l.c (mpn_lshift_1): Rewritten as function-like
macro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196155 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR target/56347
danglin [Tue, 19 Feb 2013 14:01:40 +0000 (14:01 +0000)]
PR target/56347
* acinclude.m4 (LIBGFOR_CHECK_FOR_BROKEN_POWF): Remove check for
broken powf.
* configure.ac (LIBGFOR_CHECK_FOR_BROKEN_POWF): Likewise.
* intrinsics/c99_functions.c: Likewise.
* configure: Rebuilt.
* config.h.in: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196139 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * sel-sched-dump.c (dump_insn_rtx_flags): Explicitly set
abel [Tue, 19 Feb 2013 13:52:19 +0000 (13:52 +0000)]
    * sel-sched-dump.c (dump_insn_rtx_flags): Explicitly set
        DUMP_INSN_RTX_UID.
        (dump_insn_rtx_1): Pass PATTERN (insn) to str_pattern_slim.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196138 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-02-19 Andrey Belevantsev <abel@ispras.ru>
abel [Tue, 19 Feb 2013 13:50:50 +0000 (13:50 +0000)]
2012-02-19  Andrey Belevantsev  <abel@ispras.ru>

        PR middle-end/55889

        * sel-sched.c: Include ira.h.
        (implicit_clobber_conflict_p): New function.
        (moveup_expr): Use it.
        * Makefile.in (sel-sched.o): Depend on ira.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196137 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-19 Richard Biener <rguenther@suse.de>
rguenth [Tue, 19 Feb 2013 12:10:48 +0000 (12:10 +0000)]
2013-02-19  Richard Biener  <rguenther@suse.de>

PR tree-optimization/56384
* tree-ssa-sccvn.h (struct vn_phi_s): Add type member.
(vn_hash_type): Split out from ...
(vn_hash_constant_with_type): ... here.
* tree-ssa-sccvn.c (vn_phi_compute_hash): Use vn_hash_type.
(vn_phi_eq): Compare types from vn_phi_s structure.
(vn_phi_lookup): Populate vn_phi_s type.
(vn_phi_insert): Likewise.

* gcc.dg/torture/pr56384.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196136 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR tree-optimization/56350
jakub [Tue, 19 Feb 2013 09:14:33 +0000 (09:14 +0000)]
PR tree-optimization/56350
* tree-vect-loop.c (vectorizable_reduction): If orig_stmt, return false
if haven't found reduction or nested cycle operand, rather than
asserting we must find it.

* gcc.dg/pr56350.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196134 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR tree-optimization/56381
jakub [Tue, 19 Feb 2013 06:43:34 +0000 (06:43 +0000)]
PR tree-optimization/56381
* tree-ssa-pre.c (create_expression_by_pieces): Fix up last argument
to fold_build3.

* g++.dg/opt/pr56381.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196133 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Tue, 19 Feb 2013 00:19:15 +0000 (00:19 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196132 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR target/52555
aldyh [Tue, 19 Feb 2013 00:04:49 +0000 (00:04 +0000)]
PR target/52555
* genopinit.c (raw_optab_handler): Use this_fn_optabs.
(swap_optab_enable): Same.
(init_all_optabs): Use argument instead of global.
* tree.h (struct tree_optimization_option): New field
target_optabs.
* expr.h (init_all_optabs): Add argument to prototype.
(TREE_OPTIMIZATION_OPTABS): New.
(save_optabs_if_changed): Protoize.
* optabs.h: Declare this_fn_optabs.
* optabs.c (save_optabs_if_changed): New.
Declare this_fn_optabs.
(init_optabs): Add argument to init_all_optabs() call.
* function.c (invoke_set_current_function_hook): Handle per
function optabs.
* function.h (struct function): New field optabs.
* config/mips/mips.c (mips_set_mips16_mode): Handle when
optimization_current_node has changed.
* target-globals.h (save_target_globals_default_opts): Protoize.
* target-globals.c (save_target_globals_default_opts): New.
c-family/
* c-common.c (handle_optimize_attribute): Call
save_optabs_if_changed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196129 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR pch/54117
jakub [Mon, 18 Feb 2013 19:42:56 +0000 (19:42 +0000)]
PR pch/54117
* c-opts.c (c_common_post_options): If debug info is enabled
and non-dwarf*, refuse to load PCH files and when writing PCH
file warn.

* lib/dg-pch.exp (pch-init, pch-finish,
check_effective_target_pch_supported_debug): New procs.
(dg-flags-pch): If $pch_unsupported, make tests UNSUPPORTED.
Likewise if $pch_unsupported_debug and $flags include -g.
Skip FAILs about missing *.gch file if $pch_unsupported_debug
and dg-require-effective-target pch_unsupported_debug.
* g++.dg/pch/pch.exp: Call pch-init and pch-finish.
* objc.dg/pch/pch.exp: Likewise.
* gcc.dg/pch/pch.exp: Likewise.
* gcc.dg/pch/valid-1.c: Add dg-require-effective-target
pch_unsupported_debug.
* gcc.dg/pch/valid-1.hs: Likewise.
* gcc.dg/pch/valid-1b.c: Likewise.
* gcc.dg/pch/valid-1b.hs: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196124 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR target/56347
danglin [Mon, 18 Feb 2013 16:29:49 +0000 (16:29 +0000)]
PR target/56347
* config/pa/pa.c (pa_conditional_register_usage): On HP-UX, mark
registers %fr12 and %fr12R as call used.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196123 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR target/56214
danglin [Mon, 18 Feb 2013 15:21:32 +0000 (15:21 +0000)]
PR target/56214
* config/pa/predicates.md (base14_operand): Except for BLKmode, QImode
and HImode, require all displacements to be an integer multiple of the
mode size.
* config/pa/pa.c (pa_legitimate_address_p): For REG+BASE addresses,
only allow QImode and HImode when reload is in progress and strict is
true.  Likewise for symbolic addresses.  Use base14_operand to check
displacements in REG+BASE addresses.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196122 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-18 Richard Biener <rguenther@suse.de>
rguenth [Mon, 18 Feb 2013 13:58:21 +0000 (13:58 +0000)]
2013-02-18  Richard Biener  <rguenther@suse.de>

PR tree-optimization/56366
* tree-vect-loop.c (get_initial_def_for_induction): Properly
handle sign-conversion of outer-loop initial induction value.

* gcc.dg/torture/pr56366.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196121 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-18 Richard Biener <rguenther@suse.de>
rguenth [Mon, 18 Feb 2013 13:09:17 +0000 (13:09 +0000)]
2013-02-18  Richard Biener  <rguenther@suse.de>

        PR middle-end/56349
        * gcc.dg/torture/pr56350.c: Move ...
        * gcc.dg/torture/pr56349.c: ... here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196119 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-18 Richard Biener <rguenther@suse.de>
rguenth [Mon, 18 Feb 2013 13:03:15 +0000 (13:03 +0000)]
2013-02-18  Richard Biener  <rguenther@suse.de>

PR middle-end/56350
* cfghooks.c (merge_blocks): If we merge a latch into another
block adjust references to it.
* cfgloop.c (flow_loops_find): Reset latch before recomputing it.
(verify_loop_structure): Verify that a recorded latch is in fact
a latch.

* gcc.dg/torture/pr56350.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196118 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-18 Richard Biener <rguenther@suse.de>
rguenth [Mon, 18 Feb 2013 12:11:47 +0000 (12:11 +0000)]
2013-02-18  Richard Biener  <rguenther@suse.de>

PR tree-optimization/56321
* tree-ssa-reassoc.c (propagate_op_to_single_use): Properly
order SSA name release and virtual operand unlinking.

* gcc.dg/torture/pr56321.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196117 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Mon, 18 Feb 2013 00:18:32 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196115 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoFree variable local allocs at block ends.
eager [Sun, 17 Feb 2013 16:18:09 +0000 (16:18 +0000)]
Free variable local allocs at block ends.

 * config/microblaze/microblaze.md (save_stack_block): Define.
   (restore_stack_block): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196110 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-17 Tobias Burnus <burnus@net-b.de>
burnus [Sun, 17 Feb 2013 12:57:51 +0000 (12:57 +0000)]
2013-02-17  Tobias Burnus  <burnus@net-b.de>

        * math/cacoshq.c (cacoshq): Call signbitq instead of signbit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196109 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Sun, 17 Feb 2013 00:22:57 +0000 (00:22 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196107 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoAdd TARGET_SUPPORTS_PIC flag and check that the flag_pic = 2
eager [Sat, 16 Feb 2013 19:32:15 +0000 (19:32 +0000)]
Add TARGET_SUPPORTS_PIC flag and check that the flag_pic = 2

 * config/microblaze/linux.h (TARGET_SUPPORTS_PIC): Define as 1.
 * config/microblaze/microblaze.h (TARGET_SUPPORTS_PIC): Define as 1.
 * config/microblaze/microblaze.c (microblaze_option_override):
    Bail out early for PIC modes when target does not support PIC.
 * gcc.dg/20020312-2.c: Define MicroBlaze PIC register

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196104 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * config/microblaze/microblaze.c (microblaze_asm_trampoline_template):
eager [Sat, 16 Feb 2013 17:42:30 +0000 (17:42 +0000)]
* config/microblaze/microblaze.c (microblaze_asm_trampoline_template):
Replace with a microblaze version.
(microblaze_trampoline_init): Adapt for microblaze.
* gcc/config/microblaze/microblaze.h (TRAMPOLINE_SIZE): Adapt for
microblaze.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196103 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago[asan] Fix for PR asan/56330
dodji [Sat, 16 Feb 2013 09:32:56 +0000 (09:32 +0000)]
[asan] Fix for PR asan/56330

gcc/
* asan.c (get_mem_refs_of_builtin_call): White space and style
cleanup.
(instrument_mem_region_access): Do not forget to always put
instrumentation of the of 'base' and 'base + len' in a "if (len !=
0) statement, even for cases where either 'base' or 'base + len'
are not instrumented -- because they have been previously
instrumented.  Simplify the logic by putting all the statements
instrument 'base + len' inside a sequence, and then insert that
sequence right before the current insertion point.  Then, to
instrument 'base + len', just get an iterator on that statement.
And do not forget to update the pointer to iterator the function
received as argument.

gcc/testsuite/

* c-c++-common/asan/no-redundant-instrumentation-4.c: New test file.
* c-c++-common/asan/no-redundant-instrumentation-5.c: Likewise.
* c-c++-common/asan/no-redundant-instrumentation-6.c: Likewise.
* c-c++-common/asan/no-redundant-instrumentation-7.c: Likewise.
* c-c++-common/asan/no-redundant-instrumentation-8.c: Likewise.
* c-c++-common/asan/pr56330.c: Likewise.
* c-c++-common/asan/no-redundant-instrumentation-1.c (test1):
Ensure the size argument of __builtin_memcpy is a constant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196102 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago/cp
paolo [Sat, 16 Feb 2013 01:07:11 +0000 (01:07 +0000)]
/cp
2013-02-15  Jonathan Wakely  <jwakely.gcc@gmail.com>
    Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51242
* decl2.c (grokbitfield): Allow scoped enumeration types.

/testsuite
2013-02-15  Jonathan Wakely  <jwakely.gcc@gmail.com>
    Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51242
* g++.dg/cpp0x/enum23.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196100 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Sat, 16 Feb 2013 00:18:40 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196098 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR target/54685
olegendo [Fri, 15 Feb 2013 21:28:26 +0000 (21:28 +0000)]
PR target/54685
* gcc.target/sh/pr54685.c: Fix scanning of not insn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196092 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/54276
jason [Fri, 15 Feb 2013 19:22:14 +0000 (19:22 +0000)]
PR c++/54276
* semantics.c (finish_id_expression): Also return the identifier
for an outer local static.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196091 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-15 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Fri, 15 Feb 2013 19:17:02 +0000 (19:17 +0000)]
2013-02-15  Vladimir Makarov  <vmakarov@redhat.com>

PR rtl-optimization/56348
* lra-assigns.c (reload_pseudo_compare_func): Prefer bigger pseudos.

2013-02-15  Vladimir Makarov  <vmakarov@redhat.com>

PR rtl-optimization/56348
* gcc.target/i386/pr56348.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196090 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoruntime: Do not reserve huge amount of swap on 32 bit architectures.
ian [Fri, 15 Feb 2013 18:55:09 +0000 (18:55 +0000)]
runtime: Do not reserve huge amount of swap on 32 bit architectures.

The mmap() call which reserves the arena should have MAP_NORESERVE
flag as in typical cases this memory will never be (fully) needed.
This matters in environments which do not do Linux style memory
overcommit, such as OpenIndiana/OpenSolaris/Solaris.

The MAP_NORESERVE flag does not exist on all operating systems
(for example FreeBSD). Therefore we define it to zero value in
case it does not exist.

Fixes issue 21.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196088 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * configure.ac: Set libgloss_dir for the aarch64*-*-* targets.
yufeng [Fri, 15 Feb 2013 17:45:54 +0000 (17:45 +0000)]
* configure.ac: Set libgloss_dir for the aarch64*-*-* targets.
* configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196083 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/56343
jason [Fri, 15 Feb 2013 17:19:45 +0000 (17:19 +0000)]
PR c++/56343
* class.c (check_bases_and_members): Deduce noexcept after
checking bases.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196082 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/52026
jason [Fri, 15 Feb 2013 16:17:25 +0000 (16:17 +0000)]
PR c++/52026
* semantics.c (finish_id_expression): In a template, return
the identifier for a constant variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196081 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * g++.dg/cpp0x/lambda/lambda-this8.C: Don't use NULL.
jason [Fri, 15 Feb 2013 16:16:58 +0000 (16:16 +0000)]
* g++.dg/cpp0x/lambda/lambda-this8.C: Don't use NULL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196080 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR target/55431
amodra [Fri, 15 Feb 2013 13:53:40 +0000 (13:53 +0000)]
PR target/55431
* config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
(ppc_fallback_frame_state): Always set up save locations for fp
and altivec.  Don't bother with non-callee-saved regs, r0-r13
except for r2 on ppc64, fr0-fr13, v0-v19, vscr.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196077 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-02-15 Greta Yorsh <Greta.Yorsh@arm.com>
gretay [Fri, 15 Feb 2013 13:27:11 +0000 (13:27 +0000)]
2012-02-15  Greta Yorsh  <Greta.Yorsh@arm.com>

        * gcc.target/arm/interrupt-1.c: Fix for thumb mode.
        * gcc.target/arm/interrupt-2.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196076 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-14 Tobias Burnus <burnus@net-b.de>
burnus [Fri, 15 Feb 2013 11:17:15 +0000 (11:17 +0000)]
2013-02-14  Tobias Burnus  <burnus@net-b.de>
            Mikael Morin  <mikael@gcc.gnu.org>

        PR fortran/56318
        * simplify.c (gfc_simplify_matmul): Fix result shape
        and matmul result.

2013-02-14  Tobias Burnus  <burnus@net-b.de>

        PR fortran/56318
        * gcc/testsuite/gfortran.dg/matmul_9.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196075 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * graph.c (start_graph_dump): Print dumpfile base as digraph label.
steven [Fri, 15 Feb 2013 09:30:52 +0000 (09:30 +0000)]
* graph.c (start_graph_dump): Print dumpfile base as digraph label.
(clean_graph_dump_file): Pass base to start_graph_dump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196074 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-15 Tobias Burnus <burnus@net-b.de>
burnus [Fri, 15 Feb 2013 08:50:37 +0000 (08:50 +0000)]
2013-02-15  Tobias Burnus  <burnus@net-b.de>

        PR fortran/53818
        * resolve.c (apply_default_init_local): Don't create an
        initializer for a result variable.

2013-02-15  Tobias Burnus  <burnus@net-b.de>

        PR fortran/53818
        * gfortran.dg/init_flag_11.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196073 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoPR target/55941
rth [Fri, 15 Feb 2013 01:41:29 +0000 (01:41 +0000)]
PR target/55941
        * lower-subreg.c (simple_move): Check dest mode instead of src mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196071 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/54922
jason [Fri, 15 Feb 2013 01:27:47 +0000 (01:27 +0000)]
PR c++/54922
* semantics.c (build_anon_member_initialization): New.
(build_data_member_initialization): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196070 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/55003
jason [Fri, 15 Feb 2013 01:27:36 +0000 (01:27 +0000)]
PR c++/55003
* decl.c (cp_finish_decl): Force instantiation of an
auto static data member.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196069 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/55220
jason [Fri, 15 Feb 2013 01:27:12 +0000 (01:27 +0000)]
PR c++/55220
* pt.c (unify): A pack expansion that is not the last template
argument makes the entire template argument list non-deduced.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196068 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/56323
jason [Fri, 15 Feb 2013 01:27:03 +0000 (01:27 +0000)]
PR c++/56323
* name-lookup.c (do_class_using_decl): Handle typedefs with
inheriting constructors.
(push_class_level_binding_1): Allow inheriting from template
template parameter, too.
* pt.c (tsubst_decl) [USING_DECL]: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196067 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * testsuite/18_support/quick_exit/quick_exit.cc: #if out the whole
jason [Fri, 15 Feb 2013 01:26:54 +0000 (01:26 +0000)]
* testsuite/18_support/quick_exit/quick_exit.cc: #if out the whole
test if unsupported.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196066 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/55223
jason [Fri, 15 Feb 2013 01:26:44 +0000 (01:26 +0000)]
PR c++/55223
gcc/cp/
* pt.c (tsubst_copy_and_build) [LAMBDA_EXPR]: Fix handling of
default argument scope.
* mangle.c (write_name): Likewise.
libiberty/
* cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_DEFAULT_ARG.
(d_print_comp): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196065 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/55232
jason [Fri, 15 Feb 2013 01:26:34 +0000 (01:26 +0000)]
PR c++/55232
* error.c (find_typenames_r): Don't walk into a pack expansion.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196064 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Fri, 15 Feb 2013 00:19:00 +0000 (00:19 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196063 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-14 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Thu, 14 Feb 2013 22:13:26 +0000 (22:13 +0000)]
2013-02-14  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/56224
* gfortran.h (gfc_add_include_path):  Add boolean argument
for warn.
* scanner.c (gfc_add_include_path):  Pass along warn argument
to add_path_to_list.
* options.c (gfc_post_options):  Add true warn argument to
gfc_add_include_path.
(gfc_handle_module_path_options):  Likewise.
(gfc_handle_option): Also gfc_add_include_path for intrinsic
modules, without warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196058 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * collect2-aix.h: Define F_LOADONLY.
steven [Thu, 14 Feb 2013 20:40:55 +0000 (20:40 +0000)]
* collect2-aix.h: Define F_LOADONLY.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196057 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoOFF_T: Merged from upstream r175140
hjl [Thu, 14 Feb 2013 16:54:01 +0000 (16:54 +0000)]
OFF_T: Merged from upstream r175140

PR bootstrap/56327
* interception/interception.h (OFF_T): Merged from upstream
r175140.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196054 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago* g++.dg/cpp0x/lambda/lambda-this8.C: use __builtin_abort
jason [Thu, 14 Feb 2013 13:51:21 +0000 (13:51 +0000)]
* g++.dg/cpp0x/lambda/lambda-this8.C: use __builtin_abort

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196053 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-14 Rainer Emrich <rainer@emrich-ebersheim.de>
ktietz [Thu, 14 Feb 2013 13:04:10 +0000 (13:04 +0000)]
2013-02-14  Rainer Emrich  <rainer@emrich-ebersheim.de>

        PR target/52123
        * tracebak.c: Cast from pointer via FARPROC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196051 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-14 Richard Biener <rguenther@suse.de>
rguenth [Thu, 14 Feb 2013 12:24:12 +0000 (12:24 +0000)]
2013-02-14  Richard Biener  <rguenther@suse.de>

PR lto/50494
* varasm.c (output_constant_def_1): Get the decl representing
the constant as argument.
(output_constant_def): Wrap output_constant_def_1.
(make_decl_rtl): Use output_constant_def_1 with the decl
representing the constant.
(build_constant_desc): Optionally re-use a decl already
representing the constant.
(tree_output_constant_def): Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196050 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoAllow for more whitespace in gcc.dg/debug/dwarf2/pr53948.c
ro [Thu, 14 Feb 2013 11:45:01 +0000 (11:45 +0000)]
Allow for more whitespace in gcc.dg/debug/dwarf2/pr53948.c

* gcc.dg/debug/dwarf2/pr53948.c: Allow for more whitespace.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196049 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoFix gcc.dg/debug/dwarf2/pr53948.c with Sun as
ro [Thu, 14 Feb 2013 09:59:30 +0000 (09:59 +0000)]
Fix gcc.dg/debug/dwarf2/pr53948.c with Sun as

* gcc.dg/debug/dwarf2/pr53948.c: Allow for / and ! as comment
characters.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196048 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2013-02-14 Paul Thomas <pault@gcc.gnu.org>
burnus [Thu, 14 Feb 2013 09:37:53 +0000 (09:37 +0000)]
2013-02-14  Paul Thomas  <pault@gcc.gnu.org>
            Tobias Burnus  <burnus@net-b.de>

        PR testsuite/56138
        * trans-decl.c (gfc_get_symbol_decl): Fix deferred-length
        results for functions without extra result variable.

        Revert:
        2013-01-30  Tobias Burnus  <burnus@net-b.de>

        PR fortran/56138
        * trans-decl.c (gfc_trans_deferred_vars): Fix deferred-length
        results for functions without extra result variable.

2013-02-14  Dominique d'Humieres  <dominiq@lps.ens.fr>
            Tobias Burnus  <burnus@net-b.de>

        PR testsuite/56138
        * gfortran.dg/allocatable_function_7.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196047 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * g++.dg/asan/dejagnu-gtest.h: Add multiple inclusion guards.
jakub [Thu, 14 Feb 2013 08:40:13 +0000 (08:40 +0000)]
* g++.dg/asan/dejagnu-gtest.h: Add multiple inclusion guards.
* asan_globals_test-wrapper.cc: New file.
* g++.dg/asan/asan_test.C: Use asan_globals_test-wrapper.cc
instead of asan_globals_test.cc as dg-additional-sources.
Include asan_mem_test.cc, asan_str_test.cc and asan_oob_test.cc.
* g++.dg/asan/asan_test_utils.h: Synced from upstream.  Include
"sanitizer_test_utils.h" instead of
"sanitizer_common/tests/sanitizer_test_utils.h".
* g++.dg/asan/asan_str_test.cc: New file, synced from upstream.
* g++.dg/asan/asan_mem_test.cc: New file, synced from upstream.
* g++.dg/asan/asan_oob_test.cc: New file, synced from upstream.
* g++.dg/asan/asan_globals_test.cc: Synced from upstream.
* g++.dg/asan/asan_test.cc: Synced from upstream.
* g++.dg/asan/sanitizer_test_utils.h: New file, synced from upstream.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196045 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago[asan] Fix a thinko leading to a crash
dodji [Thu, 14 Feb 2013 04:37:56 +0000 (04:37 +0000)]
[asan] Fix a thinko leading to a crash

It appeared that in my previous patch, a stupid thinko can lead to a
crash when instrumenting some builtin functionsK.  Fixed thus.

Bootstrapped and tested against trunk on x86_64-unknown-linux-gnu.

gcc/
* asan.c (instrument_builtin_call):  Really put the length of the
second source argument into src1_len.

gcc/testsuite/

* c-c++-common/asan/memcmp-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196044 138bc75d-0d04-0410-961f-82ee72b054a4