1. 23 Feb, 2015 9 commits
    • re PR target/65163 ([SH] ICE in decompose at rtl.h:2007) · 2c6a427f
      gcc/
      	PR target/65163
      	* config/sh/sh.md (swapbsi2, related peephole2): Use const_int -65536
      	instead of const_int 4294901760.
      
      gcc/testsuite/
      	PR target/65163
      	* gcc.c-torture/compile/pr65163.c: New.
      
      From-SVN: r220916
      Oleg Endo committed
    • [PR target/65181] nvptx libgcc: Prevent building "advanced" stuff (for example, gcov support) · b6530d0a
      When building GCC against a proper newlib sysroot, the libgcc build will
      include more than what's built in the -Dinhibit_libc configuration used when
      building newlib as part of the GCC build process.  See the inhibit_libc logic
      in gcc/configure.ac.
      
      To avoid...
      
          ptxas _gcov_indirect_call_topn_profiler.o, line 101; error   : Type or alignment of argument does not match formal parameter 'ptr'
          ptxas _gcov_indirect_call_topn_profiler.o, line 101; error   : Call has wrong number of parameters
          ptxas _gcov_indirect_call_topn_profiler.o, line 101; error   : Type or alignment of argument does not match formal parameter 'size'
          ptxas fatal   : Ptx assembly aborted due to errors
          nvptx-as: ptxas returned 255 exit status
          make[2]: *** [_gcov_indirect_call_topn_profiler.o] Error 1
      
      ..., "dumb down" the libgcc build:
      
      	libgcc/
      	PR target/65181
      	* config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
      	-Dinhibit_libc.
      
      From-SVN: r220915
      Thomas Schwinge committed
    • t-avr: Fix typo in comment. · b0eb429d
      	* config/avr/t-avr: Fix typo in comment.
      
      From-SVN: r220913
      Georg-Johann Lay committed
    • Fix number of arguments parameter in Ada DEF_FUNCTION_TYPE_*. · 5aaa7e4a
      	gcc/ada/
      	* gcc-interface/utils.c (DEF_FUNCTION_TYPE_VAR_8)
      	(DEF_FUNCTION_TYPE_VAR_12): Fix number of arguments parameter.
      
      From-SVN: r220910
      Thomas Schwinge committed
    • hoist-register-pressure-1.c: Make S/390 target check work with -m31 on 64 bit. · 3ff52d54
      2015-02-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
      
      	* gcc.dg/hoist-register-pressure-1.c: Make S/390 target check work
      	with -m31 on 64 bit.
      	* gcc.dg/hoist-register-pressure-2.c: Likewise.
      	* gcc.dg/hoist-register-pressure-3.c: Likewise.
      
      From-SVN: r220906
      Andreas Krebbel committed
    • 20090223-1.c: Add -Wno-implicit-function-declaration option. · bdb3d161
      2015-02-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
      
      	* gcc.target/s390/20090223-1.c: Add
      	-Wno-implicit-function-declaration option.
      	* gcc.target/s390/pr42224.c: Likewise.
      	* gcc.target/s390/pr55718.c: Likewise.
      
      From-SVN: r220905
      Andreas Krebbel committed
    • hotpatch-1.c: Remove --save-temps option. · dd3b6111
      2015-02-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
      
      	* gcc.target/s390/hotpatch-1.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-10.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-11.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-12.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-13.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-14.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-15.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-16.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-17.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-18.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-19.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-2.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-20.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-3.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-4.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-5.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-6.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-7.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-8.c: Remove --save-temps option.
      	* gcc.target/s390/hotpatch-9.c: Remove --save-temps option.
      	* gcc.target/s390/htm-nofloat-1.c: Cleanup --save-temps files.
      
      From-SVN: r220904
      Andreas Krebbel committed
    • hotpatch-8.c: Add -march=g5. · c1d15cd9
      2015-02-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
      
      	* gcc.target/s390/hotpatch-8.c: Add -march=g5.
      	* gcc.target/s390/hotpatch-9.c: Add -march=g5.
      	* gcc.target/s390/hotpatch-compile-1.c: Fix error message.
      	* gcc.target/s390/hotpatch-compile-10.c: Likewise.
      	* gcc.target/s390/hotpatch-compile-11.c: Likewise.
      	* gcc.target/s390/hotpatch-compile-12.c: Likewise.
      	* gcc.target/s390/hotpatch-compile-13.c: Likewise.
      	* gcc.target/s390/hotpatch-compile-14.c: Likewise.
      	* gcc.target/s390/hotpatch-compile-2.c: Likewise.
      	* gcc.target/s390/hotpatch-compile-3.c: Likewise.
      	* gcc.target/s390/hotpatch-compile-4.c: Likewise.
      	* gcc.target/s390/hotpatch-compile-5.c: Likewise.
      	* gcc.target/s390/hotpatch-compile-6.c: Likewise.
      	* gcc.target/s390/hotpatch-compile-7.c: Likewise.
      	* gcc.target/s390/hotpatch-compile-8.c: Likewise.
      	* gcc.target/s390/hotpatch-compile-9.c: Likewise.
      
      From-SVN: r220903
      Andreas Krebbel committed
    • Daily bump. · 483d42c7
      From-SVN: r220902
      GCC Administrator committed
  2. 22 Feb, 2015 7 commits
  3. 21 Feb, 2015 6 commits
  4. 20 Feb, 2015 18 commits
    • status_cxx2011.xml: Document implementation-defined behavior. · b56ac9d5
      	* doc/xml/manual/status_cxx2011.xml: Document implementation-defined
      	behavior.
      	* doc/html/manual/status.html: Regenerate.
      
      From-SVN: r220878
      Jonathan Wakely committed
    • re PR rtl-optimization/64172 (Wrong code with GCC vector extensions on ARM when… · 3c20c9bc
      re PR rtl-optimization/64172 (Wrong code with GCC vector extensions on ARM when compiled without NEON)
      
      2015-02-20  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR target/64172
      	* ira-color.c (color_pass): Prevent splitting multi-register
      	pseudos.
      
      From-SVN: r220877
      Vladimir Makarov committed
    • re PR tree-optimization/65136 (VRP inserts unnecessary constant copy in the loop) · 31935398
      2015-02-20  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/65136
      	* tree-ssa-propagate.c: Include cfgloop.h.
      	(replace_phi_args_in): Avoid replacing loop latch edge PHI
      	arguments with constants.
      
      	* gcc.dg/tree-ssa/pr65136.c: New testcase.
      
      From-SVN: r220876
      Richard Biener committed
    • re PR target/63892 (gcc.dg/sibcall-3.c fails on darwin with -m32) · 8b048701
      	PR target/63892
      	* ipa-icf.c (sem_function::merge): If DECL_COMDAT_GROUP (alias->decl),
      	don't try to create_thunk if stdarg_p.  If
      	!sem_item::target_supports_symbol_aliases_p (), similarly, and try to
      	redirect_callers if possible.
      	(sem_item_optimizer::execute): Call unregister_hooks here...
      	(ipa_icf_driver): ... instead of here.
      
      Co-Authored-By: Martin Liska <mliska@suse.cz>
      
      From-SVN: r220875
      Jakub Jelinek committed
    • re PR testsuite/64158 (FAIL: gcc.dg/pr44194-1.c scan-rtl-dump dse1 "global deletions = (2|3)") · fc3b4ab3
      	PR testsuite/64158
      	* gcc.dg/pr44194-1.c: Add two extra {} pairs to fix up powerpc*-*-linux*
      	and nvptx-*-* blacklisting.
      
      From-SVN: r220873
      Jakub Jelinek committed
    • sibcall-9.c: New test. · 54339d1f
      	* gcc.dg/sibcall-9.c: New test.
      	* gcc.dg/sibcall-10.c: New test.
      
      From-SVN: r220872
      Jakub Jelinek committed
    • re PR libstdc++/64695 (FAIL: libstdc++-prettyprinters/cxx11.cc) · deaa1ccb
      	PR libstdc++/64695
      	* python/libstdcxx/v6/printers.py (StdTuplePrinter): Handle new
      	tuple layout.
      
      From-SVN: r220871
      Jonathan Wakely committed
    • sem_prag.adb (Analyze_Pragma, [...]): Pragma legally applies to an abstract subprogram declaration. · ab260a3e
      2015-02-20  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_prag.adb (Analyze_Pragma, case Obsolescent): Pragma
      	legally applies to an abstract subprogram declaration.
      	* freeze.adb: Minor comment addition.
      
      From-SVN: r220870
      Ed Schonberg committed
    • [multiple changes] · 2290a0fe
      2015-02-20  Robert Dewar  <dewar@adacore.com>
      
      	* errout.ads: Document replacement of Name_uPre/Post/Type_Invariant.
      	* erroutc.adb (Set_Msg_Str): Replace _xxx.
      	(Pre/Post/Type_Invariant) by xxx'Class.
      	* erroutc.ads (Set_Msg_Str): Replace _xxx.
      	(Pre/Post/Type_Invariant) by xxx'Class.
      	* sem_prag.adb (Fix_Error): Remove special casing of
      	Name_uType_Invariant.
      	(Analyze_Pre_Post_Condition_In_Decl_Part): Remove special casing of
      	Name_uPre and Name_uPost in aspect case (done in Errout now).
      
      2015-02-20  Robert Dewar  <dewar@adacore.com>
      
      	* g-alveop.adb: Minor style fixes.
      
      2015-02-20  Robert Dewar  <dewar@adacore.com>
      
      	* freeze.adb (Warn_Overlay): Guard against blow up with address
      	clause.
      
      2015-02-20  Bob Duff  <duff@adacore.com>
      
      	* exp_attr.adb (May_Be_External_Call): Remove this. There is no need
      	for the compiler to guess whether the call is internal or external --
      	it is always external.
      	(Expand_Access_To_Protected_Op): For P'Access, where P
      	is a protected subprogram, always create a pointer to the
      	External_Subprogram.
      
      From-SVN: r220869
      Arnaud Charlet committed
    • a-dispat.adb, [...]: Minor reformatting. · 67c0e662
      2015-02-20  Robert Dewar  <dewar@adacore.com>
      
      	* a-dispat.adb, a-stcoed.ads: Minor reformatting.
      
      2015-02-20  Robert Dewar  <dewar@adacore.com>
      
      	* sem_ch13.adb (Build_Discrete_Static_Predicate): Allow static
      	predicate for non-static subtype.
      	(Build_Predicate_Functions): Do not assume subtype associated with a
      	static predicate must be static.
      
      2015-02-20  Robert Dewar  <dewar@adacore.com>
      
      	* errout.adb (Set_Msg_Node): Better handling of internal names
      	(Set_Msg_Node): Kill message when we cannot eliminate internal name.
      	* errout.ads: Document additional case of message deletion.
      	* namet.adb (Is_Internal_Name): Refined to consider wide
      	strings in brackets notation and character literals not to be
      	internal names.
      	* sem_ch8.adb (Find_Selected_Component): Give additional error
      	when selector name is a subprogram whose first parameter has
      	the same type as the prefix, but that type is untagged.
      
      From-SVN: r220868
      Robert Dewar committed
    • g-allein.ads, [...]: Minor reformatting · 4060ebd4
      2015-02-20  Robert Dewar  <dewar@adacore.com>
      
      	* g-allein.ads, g-alveop.adb, g-alveop.ads, opt.ads: Minor reformatting
      
      From-SVN: r220867
      Robert Dewar committed
    • [multiple changes] · 9ec98e13
      2015-02-20  Tristan Gingold  <gingold@adacore.com>
      
      	* opt.ads (GNAT_Mode_Config): New variable.
      	* opt.adb (Set_Opt_Config_Switches): Consider GNAT_Mode_Config
      	to set Assertions_Enabled.
      	* switch-c.adb (Scan_Front_End_Switches): Set GNAT_Mode_Config
      	for -gnatg.
      
      2015-02-20  Robert Dewar  <dewar@adacore.com>
      
      	* s-valllu.ads (Scan_Raw_Long_Long_Unsigned): Add an additional
      	comment regarding the handling of unterminated fixed-point
      	constants.
      	* s-valuns.ads (Scan_Raw_Unsigned): Add comments
      	corresponding to those previously added for
      	System.Val_LLU.Scan_Raw_Long_Long_Unsigned.
      
      From-SVN: r220866
      Arnaud Charlet committed
    • g-allein.ads, [...]: Code clean ups. · cd8e18e7
      2015-02-20  Olivier Hainque  <hainque@adacore.com>
      
      	* g-allein.ads, g-alveop.ads, g-alveop.adb: Code clean ups.
      
      From-SVN: r220865
      Olivier Hainque committed
    • g-allein.ads (vec_vspltw): Remove. · 9b9e7e8a
      2015-02-20  Olivier Hainque  <hainque@adacore.com>
      
      	* g-allein.ads (vec_vspltw): Remove.
      	* g-alveop.ad?: Replace vec_vspltw renamings by proper Inline_Always
      	wrappers with Intrinsic convention.
      
      From-SVN: r220864
      Olivier Hainque committed
    • g-allein.ads (vec_dstt): Remove. · 389b9082
      2015-02-20  Olivier Hainque  <hainque@adacore.com>
      
      	* g-allein.ads (vec_dstt): Remove.
      	* g-alveop.ad?: Replace
      	vec_dstt renamings by proper Inline_Always wrappers with Intrinsic
      	convention.
      
      From-SVN: r220862
      Olivier Hainque committed
    • g-allein.ads (vec_dst): Remove. · d5a44d84
      2015-02-20  Olivier Hainque  <hainque@adacore.com>
      
      	* g-allein.ads (vec_dst): Remove.
      	* g-alveop.ad?: Replace vec_dst renamings by proper Inline_Always
      	wrappers with Intrinsic convention.
      
      From-SVN: r220861
      Olivier Hainque committed
    • [AArch64] Fix wrong-code bug in right-shift SISD patterns · 498b13e2
      	* config/aarch64/aarch64.md (*aarch64_lshr_sisd_or_int_<mode>3):
      	Mark operand 0 as earlyclobber in 2nd alternative.
      	(1st define_split below *aarch64_lshr_sisd_or_int_<mode>3):
      	Write negated shift amount into QI lowpart operand 0 and use it
      	in the shift step.
      	(2nd define_split below *aarch64_lshr_sisd_or_int_<mode>3): Likewise.
      
      	* gcc.target/aarch64/sisd-shft-neg_1.c: New test.
      
      From-SVN: r220860
      Kyrylo Tkachov committed
    • g-allein.ads (vec_dss, vec_dssall): Remove. · 739b41eb
      2015-02-20  Olivier Hainque  <hainque@adacore.com>
      
      	* g-allein.ads (vec_dss, vec_dssall): Remove.
      	* g-alveop.ads (vec_dss, vec_dssall): Rename the ll versions.
      
      From-SVN: r220859
      Olivier Hainque committed