Commit Graph

115532 Commits

Author SHA1 Message Date
Peter Bergner 6f975f93d4 * config/rs6000/dfp.md (floatdidd2): New define_insn.
From-SVN: r184815
2012-03-02 12:47:00 -06:00
Uros Bizjak 76945a7ca8 i386.c (ix86_cc_modes_compatible): Declare CCZmode compatible with CCGOCmode and CCGCmode.
* config/i386/i386.c (ix86_cc_modes_compatible): Declare CCZmode
	compatible with CCGOCmode and CCGCmode.

From-SVN: r184813
2012-03-02 19:41:21 +01:00
Peter Bergner 2ff1689326 vsx.md (vsx_set_<mode>): Reorder operands.
gcc/
	* config/rs6000/vsx.md (vsx_set_<mode>): Reorder operands.

gcc/testsuite/
	* gcc.target/powerpc/pr52457.c: New test.

From-SVN: r184811
2012-03-02 12:28:08 -06:00
Matthias Klose 43743d63b3 2012-03-02 Matthias Klose <doko@ubuntu.com>
* Imported zlib 1.2.5; merged local changes.

From-SVN: r184805
2012-03-02 17:15:20 +00:00
Ulrich Weigand 5d216c70d9 arm.c (arm_sat_operator_match): New function.
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-02 17:08:55 +00:00
Uros Bizjak 2b57045bfc re PR target/46716 (wrong code generated with -mno-sse2 -m64)
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-02 18:03:36 +01:00
Benjamin Kosnik 08c3865834 cstdio: Remove extraneous extern.
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-02 16:44:50 +00:00
Ian Lance Taylor cbb6491d76 libgo: Update to weekly.2012-02-14 release.
From-SVN: r184798
2012-03-02 16:38:43 +00:00
Paolo Carlini ff2f581b00 re PR c++/51989 (std::deque::iterator recognised as container)
/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-02 16:18:25 +00:00
Paolo Carlini 54e9d9449d name-lookup.c (binding_to_template_parms_of_scope_p): Clean up.
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-02 15:39:55 +00:00
Tobias Burnus 9f50723550 re PR fortran/52325 (unclear error: Unclassifiable statement)
2012-03-02  Tobias Burnus  <burnus@net-b.de>

        PR fortran/52325
        * primary.c (gfc_match_varspec): Add missing ;.

From-SVN: r184790
2012-03-02 15:58:58 +01:00
Richard Guenther c4ddde1bbb re PR tree-optimization/52406 (likely wrong code bug)
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-02 14:58:55 +00:00
Tobias Burnus 6ee65df3f1 re PR fortran/52325 (unclear error: Unclassifiable statement)
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-02 14:20:52 +01:00
Tobias Burnus f18075fff5 re PR fortran/52270 ([OOP] Polymorphic vars: wrong intent(in) check, passing 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-02 14:07:46 +01:00
Greta Yorsh 2d68f67f2f For Greta Yorsh.
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-02 12:09:04 +00:00
Richard Guenther 7167a5015e crontab: Fix day-of-week.
2012-03-02  Richard Guenther  <rguenther@suse.de>

        * crontab: Fix day-of-week.

From-SVN: r184782
2012-03-02 11:30:44 +00:00
Richard Guenther 204c02727c crontab: Update for 4.7 branching.
2012-03-02  Richard Guenther  <rguenther@suse.de>

        * crontab: Update for 4.7 branching.

From-SVN: r184781
2012-03-02 11:24:28 +00:00
Richard Guenther 45c29d4d57 BASE-VER: Set to 4.8.0.
2012-03-02  Richard Guenther  <rguenther@suse.de>

        * BASE-VER: Set to 4.8.0.

From-SVN: r184780
2012-03-02 11:09:25 +00:00
Tobias Burnus 2b91eb32d6 re PR fortran/52452 (INTRINSIC cannot be applied to gfortran's ETIME)
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-02 12:00:04 +01:00
Rainer Orth b70db788dd Update Solaris baselines for GCC 4.7
* 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-02 09:47:11 +00:00
Richard Earnshaw 9094e0018b config.gcc (obsolete): Add all ARM targets using the FPA.
* 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-02 09:37:30 +00:00
Benjamin Kosnik 1b6ce36fe8 re PR libstdc++/51785 (gets not anymore declared)
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-02 07:13:55 +00:00
Michael Spertus bd7a440b01 type_traits (typelist): To __reflection_typelist.
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-02 05:54:24 +00:00
Benjamin Kosnik cbef15a5ba Makefile.am (CLEANFILES): Add *.gdb.
2012-03-01  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/Makefile.am (CLEANFILES): Add *.gdb.
	* testsuite/Makefile.in: Regenerate.

From-SVN: r184772
2012-03-02 01:04:16 +00:00
GCC Administrator 9767f94270 Daily bump.
From-SVN: r184770
2012-03-02 00:19:12 +00:00
Joern Rennecke 82b0658991 * config/epiphany/epiphany.md (movmisalign<mode>): New patterns.
From-SVN: r184766
2012-03-01 23:40:57 +00:00
Jeremy Bennett 08b03910db extend.texi: Expand and update information on interrupt attribute for Epiphany.
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-01 23:34:36 +00:00
Oleg Endo 1ce35c11f7 sh-protos.h: Update copyright notice dates.
* 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-01 22:57:09 +00:00
Oleg Endo f51a9d10aa sh-protos.h (tertiary_reload_operand): Remove dead function.
* config/sh/sh-protos.h (tertiary_reload_operand): Remove dead function.
	* config/sh/sh.c (tertiary_reload_operand): Likewise.

From-SVN: r184763
2012-03-01 22:46:33 +00:00
Oleg Endo d4217ae104 constraints.md: Fix comment typo.
* config/sh/constraints.md: Fix comment typo.

From-SVN: r184761
2012-03-01 21:20:56 +00:00
Kai Tietz b7633ee392 soft-fp: Imported from glibc upstream.
* soft-fp: Imported from glibc upstream.

From-SVN: r184760
2012-03-01 21:50:26 +01:00
John David Anglin 5d9dc69aff re PR target/52408 (Incorrect assembler generated for zvdep_imm64)
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-01 19:31:03 +00:00
Kai Tietz 4462d7ae90 Fix ChangLog about uintptr_t
From-SVN: r184756
2012-03-01 19:45:30 +01:00
Ian Lance Taylor b19aea32fa compiler: Reliably give errors on misuse of multiple value call.
From-SVN: r184755
2012-03-01 18:19:13 +00:00
Kai Tietz 5e4119eaa2 pr47917.c: Make test using POSIX-printf routines on mingw targets.
* 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-01 19:17:07 +01:00
Jason Merrill ae45549b50 re PR c++/51930 (Explicitly instantiated template gets hidden visibility)
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-01 12:52:12 -05:00
Ian Lance Taylor 116b061e74 mksysinfo: Define MADV_ constants for madvise.
From-SVN: r184752
2012-03-01 17:22:29 +00:00
Ian Lance Taylor f34ce44b67 compiler: Fix varargs functions that call recover.
Also fix a couple of crashes on invalid code.

From-SVN: r184751
2012-03-01 17:11:55 +00:00
Alexandre Oliva 0f68ba3ea3 re PR debug/52001 (Huge compile-time regression with var-tracking)
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-01 16:58:11 +00:00
Steven Bosscher 2aceddd8fc mn10300-modes.def: Fix copyright notice.
* config/mn10300/mn10300-modes.def: Fix copyright notice.
	* config/v850/v850-modes.def: Fix copyright notice.

From-SVN: r184748
2012-03-01 16:30:07 +00:00
Georg-Johann Lay 1619fcfc06 extend.texi (AVR Built-in Functions): Document __builtin_avr_flash_segment.
* 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-01 15:28:44 +00:00
Jakub Jelinek 69ef9a7916 re PR tree-optimization/52445 (conditional store replacement causes segfault 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-01 15:13:06 +01:00
Richard Guenther c1d9cb022b re PR other/52443 (ICE: verify_gimple failed: invalid types in nop conversion)
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-01 12:26:20 +00:00
Georg-Johann Lay b2ef48efce avr-c.c (avr_cpu_cpp_builtins): Restore built-in defines for __UINT24_MAX__...
* 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-01 11:48:00 +00:00
Venkataramanan Kumar 283b529696 Document AMD bdver2 in invoke.texi
From-SVN: r184688
2012-03-01 09:57:59 +00:00
Ian Lance Taylor bedcedc126 compiler: Fix handling of indirection of circular types.
From-SVN: r184686
2012-03-01 05:59:35 +00:00
Ian Lance Taylor ce842ad6cd compiler: Avoid some compiler crashes on invalid code.
* 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-01 05:14:10 +00:00
Ian Lance Taylor fc24bee911 compiler: Fix unary ^ applied to typed signed integer constant.
From-SVN: r184681
2012-03-01 00:45:26 +00:00
GCC Administrator 75c37a6484 Daily bump.
From-SVN: r184680
2012-03-01 00:18:32 +00:00
Jakub Jelinek 29ebe616d0 re PR target/52437 (internal compiler error: in spill_failure, at 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-03-01 00:45:08 +01:00