aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-03-022012-03-02 Matthias Klose <doko@ubuntu.com>Matthias Klose182-9048/+19137
* Imported zlib 1.2.5; merged local changes. From-SVN: r184805
2012-03-02arm.c (arm_sat_operator_match): New function.Ulrich Weigand8-5/+184
gcc/ * config/arm/arm.c (arm_sat_operator_match): New function. * config/arm/arm-protos.h (arm_sat_operator_match): Add prototype. * config/arm/arm.md ("insn" attribute): Add "sat" value. ("SAT", "SATrev"): New code iterators. ("SATlo", "SAThi"): New code iterator attributes. ("*satsi_<SAT:code>"): New pattern. ("*satsi_<SAT:code>_shift"): Likewise. * config/arm/arm-fixed.md ("arm_ssatsihi_shift"): Add "insn" and "shift" attributes. ("arm_usatsihi"): Add "insn" attribute. * config/arm/predicates.md (sat_shift_operator): Allow multiplication by powers of two. Do not allow shift by 32. gcc/testsuite/ * gcc.target/arm/sat-1.c: New test. From-SVN: r184803
2012-03-02re PR target/46716 (wrong code generated with -mno-sse2 -m64)Uros Bizjak4-48/+99
PR target/46716 * config/i386/i386.c (construct_container): Use gen_reg_or_parallel to pass the argument in the register of "natural" mode. testsuite/ChangeLog: PR target/46716 * gcc.target/i386/pr46176.c: New test. From-SVN: r184802
2012-03-02cstdio: Remove extraneous extern.Benjamin Kosnik3-2/+7
2012-03-02 Benjamin Kosnik <bkoz@redhat.com> * include/c_global/cstdio: Remove extraneous extern. * include/c_std/cstdio: Same. From-SVN: r184799
2012-03-02libgo: Update to weekly.2012-02-14 release.Ian Lance Taylor264-8719/+11083
From-SVN: r184798
2012-03-02re PR c++/51989 (std::deque::iterator recognised as container)Paolo Carlini7-12/+50
/cp 2012-03-02 Paolo Carlini <paolo.carlini@oracle.com> PR c++/51989 * typeck2.c (build_x_arrow): Take a tsubst_flags_t argument and propagate it. * cp-tree.h (build_x_arrow): Adjust prototype. * pt.c (tsubst_copy_and_build): Adjust call. * parser.c (cp_parser_postfix_dot_deref_expression): Likewise. /testsuite 2012-03-02 Paolo Carlini <paolo.carlini@oracle.com> PR c++/51989 * g++.dg/cpp0x/sfinae32.C: New. From-SVN: r184796
2012-03-02name-lookup.c (binding_to_template_parms_of_scope_p): Clean up.Paolo Carlini2-9/+10
2012-03-02 Paolo Carlini <paolo.carlini@oracle.com> * name-lookup.c (binding_to_template_parms_of_scope_p): Clean up. From-SVN: r184792
2012-03-02re PR fortran/52325 (unclear error: Unclassifiable statement)Tobias Burnus2-1/+6
2012-03-02 Tobias Burnus <burnus@net-b.de> PR fortran/52325 * primary.c (gfc_match_varspec): Add missing ;. From-SVN: r184790
2012-03-02re PR tree-optimization/52406 (likely wrong code bug)Richard Guenther6-64/+155
2012-03-02 Richard Guenther <rguenther@suse.de> PR tree-optimization/52406 * tree-data-ref.h: Update documentation about DR_BASE_OBJECT. (struct indices): Add unconstrained_base member. (struct dr_alias): Remove unused vops member. (DR_UNCONSTRAINED_BASE): New define. * tree-data-ref.c (dr_analyze_indices): For COMPONENT_REFs add indices to allow their disambiguation. Make DR_BASE_OBJECT be an artificial access that covers the whole indexed object, or mark it with DR_UNCONSTRAINED_BASE if we cannot do so. Canonicalize plain decl base-objects to their MEM_REF variant. (dr_may_alias_p): When the base-object of either data reference has unknown size use only points-to information. (compute_affine_dependence): Make dumps easier to read and more verbose. * tree-vect-data-ref.c (vector_alignment_reachable_p): Use DR_REF when looking for packed references. (vect_supportable_dr_alignment): Likewise. * gcc.dg/torture/pr52406.c: New testcase. From-SVN: r184789
2012-03-02re PR fortran/52325 (unclear error: Unclassifiable statement)Tobias Burnus7-3/+38
2012-03-02 Tobias Burnus <burnus@net-b.de> PR fortran/52325 * primary.c (gfc_match_varspec): Add diagnostic for % with nonderived types. 2012-03-02 Tobias Burnus <burnus@net-b.de> PR fortran/52325 * gfortran.dg/derived_comp_array_ref_8.f90: New. * gfortran.dg/nullify_2.f90: Update dg-error. * gfortran.dg/nullify_4.f90: Ditto. * gfortran.dg/pointer_init_6.f90: Ditto. From-SVN: r184785
2012-03-02re PR fortran/52270 ([OOP] Polymorphic vars: wrong intent(in) check, passing ↵Tobias Burnus6-5/+70
nonptr variable to intent(in) ptr dummy) 2012-03-02 Tobias Burnus <burnus@net-b.de> PR fortran/52270 * expr.c (gfc_check_vardef_context): Fix check for intent-in polymorphic pointer . * interface.c (compare_parameter): Allow passing TYPE to intent-in polymorphic pointer. 2012-03-02 Tobias Burnus <burnus@net-b.de> PR fortran/52270 * gfortran.dg/class_51.f90: New. From-SVN: r184784
2012-03-02For Greta Yorsh.Greta Yorsh3-9/+31
2012-03-02 Greta Yorsh <Greta.Yorsh@arm.com> * config/arm/arm-ldmstm.ml (write_ldm_commutative_peephole): Improve conditions for peepholes of loads followed by commutative operators. * config/arm/ldmstm.md: Regenerated. From-SVN: r184783
2012-03-02crontab: Fix day-of-week.Richard Guenther2-1/+5
2012-03-02 Richard Guenther <rguenther@suse.de> * crontab: Fix day-of-week. From-SVN: r184782
2012-03-02crontab: Update for 4.7 branching.Richard Guenther2-1/+6
2012-03-02 Richard Guenther <rguenther@suse.de> * crontab: Update for 4.7 branching. From-SVN: r184781
2012-03-02BASE-VER: Set to 4.8.0.Richard Guenther2-1/+5
2012-03-02 Richard Guenther <rguenther@suse.de> * BASE-VER: Set to 4.8.0. From-SVN: r184780
2012-03-02re PR fortran/52452 (INTRINSIC cannot be applied to gfortran's ETIME)Tobias Burnus4-1/+35
2012-03-02 Tobias Burnus <burnus@net-b.de> PR fortran/52452 * resolve.c (resolve_intrinsic): Don't search for a function if we know that it is a subroutine. 2012-03-02 Tobias Burnus <burnus@net-b.de> PR fortran/52452 * gfortran.dg/intrinsic_8.f90: New. From-SVN: r184778
2012-03-02Update Solaris baselines for GCC 4.7Rainer Orth6-0/+277
* config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate. * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise. * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise. * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise. * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise. From-SVN: r184776
2012-03-02config.gcc (obsolete): Add all ARM targets using the FPA.Richard Earnshaw3-6/+31
* config.gcc (obsolete): Add all ARM targets using the FPA. (with_fpu): Obsolete selection of the FPA or Maverick on ARM. * doc/install.texi: Avoid references to obsolete ARM ports. From-SVN: r184775
2012-03-02re PR libstdc++/51785 (gets not anymore declared)Benjamin Kosnik8-4/+114
2012-03-01 Benjamin Kosnik <bkoz@redhat.com> Ramana Radhakrishnan <ramana@gcc.gnu.org> PR libstdc++/51785 * acinclude.m4 (GLIBCXX_CHECK_STDIO_PROTO): New. * configure.ac: Call it. * configure: Regenerate. * config.h.in: Same. * config/os/gnu-linux/os_defines.h: Conditionally undefine _GLIBCXX_HAVE_GETS. * include/c_global/cstdio: Conditionally declare deprecated gets. * include/c_std/cstdio: Same. Co-Authored-By: Ramana Radhakrishnan <ramana@gcc.gnu.org> From-SVN: r184774
2012-03-02type_traits (typelist): To __reflection_typelist.Michael Spertus2-22/+15
2012-03-01 Michael Spertus <mike_spertus@symantec.com> * include/tr2/type_traits (typelist): To __reflection_typelist. (first, rest, empty): Remove. From-SVN: r184773
2012-03-02Makefile.am (CLEANFILES): Add *.gdb.Benjamin Kosnik3-5/+10
2012-03-01 Benjamin Kosnik <bkoz@redhat.com> * testsuite/Makefile.am (CLEANFILES): Add *.gdb. * testsuite/Makefile.in: Regenerate. From-SVN: r184772
2012-03-02Daily bump.GCC Administrator1-1/+1
From-SVN: r184770
2012-03-01* config/epiphany/epiphany.md (movmisalign<mode>): New patterns.Joern Rennecke2-1/+23
From-SVN: r184766
2012-03-01extend.texi: Expand and update information on interrupt attribute for Epiphany.Jeremy Bennett2-1/+50
2012-03-01 Jeremy Bennett <jeremy.bennett@embecosm.com> Joern Rennecke <joern.rennecke@embecosm.com> * doc/extend.texi: Expand and update information on interrupt attribute for Epiphany. Co-Authored-By: Joern Rennecke <joern.rennecke@embecosm.com> From-SVN: r184765
2012-03-01sh-protos.h: Update copyright notice dates.Oleg Endo6-5/+13
* config/sh/sh-protos.h: Update copyright notice dates. * config/sh/sh.h: Likewise. * config/sh/sh.md: Likewise. * config/sh/constraints.md: Likewise. * config/sh/predicates.md: Likewise. From-SVN: r184764
2012-03-01sh-protos.h (tertiary_reload_operand): Remove dead function.Oleg Endo3-8/+5
* config/sh/sh-protos.h (tertiary_reload_operand): Remove dead function. * config/sh/sh.c (tertiary_reload_operand): Likewise. From-SVN: r184763
2012-03-01constraints.md: Fix comment typo.Oleg Endo2-1/+5
* config/sh/constraints.md: Fix comment typo. From-SVN: r184761
2012-03-01soft-fp: Imported from glibc upstream.Kai Tietz68-217/+162
* soft-fp: Imported from glibc upstream. From-SVN: r184760
2012-03-01re PR target/52408 (Incorrect assembler generated for zvdep_imm64)John David Anglin3-9/+20
PR target/52408 * config/pa/pa.md (zvdep_imm32): Change type of variable x from int to unsigned HOST_WIDE_INT. (zvdep_imm64): Likewise. (vdepi_ior): Change type of variable x from int to HOST_WIDE_INT. (vdepi_and): Likewise. Likewise for unamed 64-bit patterns. * config/pa/predicates.md (lhs_lshift_cint_operand): Update comment. From-SVN: r184757
2012-03-01Fix ChangLog about uintptr_tKai Tietz1-1/+1
From-SVN: r184756
2012-03-01compiler: Reliably give errors on misuse of multiple value call.Ian Lance Taylor1-13/+16
From-SVN: r184755
2012-03-01pr47917.c: Make test using POSIX-printf routines on mingw targets.Kai Tietz3-4/+14
* gcc.dg/torture/pr47917.c: Make test using POSIX-printf routines on mingw targets. * gcc.dg/vect/pr46126.c (size_t): Add support for LLP64 target. From-SVN: r184754
2012-03-01re PR c++/51930 (Explicitly instantiated template gets hidden visibility)Jason Merrill4-12/+21
PR c++/51930 * decl.c (check_tag_decl): Move warning for misplaced attributes here. (shadow_tag): From here. * parser.c (cp_parser_explicit_instantiation): Don't warn here. From-SVN: r184753
2012-03-01mksysinfo: Define MADV_ constants for madvise.Ian Lance Taylor1-0/+2
From-SVN: r184752
2012-03-01compiler: Fix varargs functions that call recover.Ian Lance Taylor2-1/+8
Also fix a couple of crashes on invalid code. From-SVN: r184751
2012-03-01re PR debug/52001 (Huge compile-time regression with var-tracking)Alexandre Oliva4-10/+55
PR debug/52001 PR rtl-optimization/52417 * cselib.c (cselib_any_perm_equivs): New variable. (cselib_reset_table): Check that it's not set when not preserving constants. (cselib_add_permanent_equiv): Set it. (cselib_have_permanent_equivalences): New. (cselib_init, cselib_finish): Reset it. * cselib.h (cselib_have_permanent_equivalences): Declare. * alias.c (get_addr): Restore earlier behavior when there aren't permanent equivalences. From-SVN: r184750
2012-03-01mn10300-modes.def: Fix copyright notice.Steven Bosscher3-17/+19
* config/mn10300/mn10300-modes.def: Fix copyright notice. * config/v850/v850-modes.def: Fix copyright notice. From-SVN: r184748
2012-03-01extend.texi (AVR Built-in Functions): Document __builtin_avr_flash_segment.Georg-Johann Lay5-1/+85
* doc/extend.texi (AVR Built-in Functions): Document __builtin_avr_flash_segment. * config/avr/builtins.def (__builtin_avr_flash_segment): New entry. * config/avr/avr.md (flash_segment, flash_segment1): New expanders. (*split.flash_segment): New insn-and-split. * config/avr/avr.c (avr_init_builtins): Add local variables: const_memx_void_node, const_memx_ptr_type_node, char_ftype_const_memx_ptr. From-SVN: r184746
2012-03-01re PR tree-optimization/52445 (conditional store replacement causes segfault ↵Jakub Jelinek4-16/+58
in generated code) PR tree-optimization/52445 * tree-ssa-phiopt.c (struct name_to_bb): Remove ssa_name field, add ssa_name_ver, offset and size fields and change store field to bool. (name_to_bb_hash, name_to_bb_eq): Adjust for the above changes. (add_or_mark_expr): Likewise. Only consider previous stores with the same size and offset. (nt_init_block): Only look at gimple_assign_single_p stmts, doesn't look at rhs2. * gcc.dg/pr52445.c: New test. From-SVN: r184743
2012-03-01re PR other/52443 (ICE: verify_gimple failed: invalid types in nop conversion)Richard Guenther2-6/+9
2012-03-01 Richard Guenther <rguenther@suse.de> PR middle-end/52443 * tree-cfg.c (verify_gimple_assign_unary): Allow any conversions from integral types to pointer types. From-SVN: r184739
2012-03-01avr-c.c (avr_cpu_cpp_builtins): Restore built-in defines for __UINT24_MAX__...Georg-Johann Lay2-3/+14
* config/avr/avr-c.c (avr_cpu_cpp_builtins): Restore built-in defines for __UINT24_MAX__, __INT24_MAX__, __INT24_MIN__ unintentionally removed in r184616. From-SVN: r184692
2012-03-01Document AMD bdver2 in invoke.texiVenkataramanan Kumar2-2/+11
From-SVN: r184688
2012-03-01compiler: Fix handling of indirection of circular types.Ian Lance Taylor1-18/+22
From-SVN: r184686
2012-03-01compiler: Avoid some compiler crashes on invalid code.Ian Lance Taylor4-4/+15
* go-gcc.cc (class Gcc_tree): Add set_tree method. (set_placeholder_pointer_type): When setting to a pointer to error, set to error_mark_node. From-SVN: r184684
2012-03-01compiler: Fix unary ^ applied to typed signed integer constant.Ian Lance Taylor1-3/+22
From-SVN: r184681
2012-03-01Daily bump.GCC Administrator1-1/+1
From-SVN: r184680
2012-03-01re PR target/52437 (internal compiler error: in spill_failure, at ↵Jakub Jelinek4-5/+34
reload1.c:2120) PR target/52437 * config/i386/sse.md (vec_set<mode>_0): Swap "*r" and "fF" alternatives, add "e" constraint to the new last alternative and ! to last 3 alternatives. * gcc.c-torture/compile/pr52437.c: New test. Co-Authored-By: Uros Bizjak <ubizjak@gmail.com> From-SVN: r184676
2012-02-29compiler: Avoid various crashes on error conditions.Ian Lance Taylor2-14/+34
From-SVN: r184675
2012-02-29compiler: Fix handling of invalid types within invalid types.Ian Lance Taylor2-20/+7
From-SVN: r184674
2012-02-29* config/linux/sparc/futex.h (cpu_relax): Read from CC register.Eric Botcazou2-5/+5
From-SVN: r184672