1. 24 Feb, 2015 2 commits
  2. 23 Feb, 2015 14 commits
    • xtensa: align data naturally when optimizing for size · 637ece3f
      gcc for xtensa always aligns data at least to a word boundary, even when
      it has smaller natural alignment. This results in unexpectedly high data
      section sizes and unreasonable amount of wasted space when linking
      objects compiled with -fdata-sections flag.
      
      Align data naturally when optimization for size is enabled.
      
      2015-02-22  Max Filippov  <jcmvbkbc@gmail.com>
      
      gcc/
      	* config/xtensa/xtensa.h (CONSTANT_ALIGNMENT, DATA_ALIGNMENT):
      	use natural alignment when optimizing for size.
      
      From-SVN: r220923
      Max Filippov committed
    • re PR target/65153 ([SH][4.9 Regression] "insn does not satisfy its constraints"… · 708c7f7f
      re PR target/65153 ([SH][4.9 Regression] "insn does not satisfy its constraints" when compiling libmcrypt)
      
      PR target/65153
      [SH] Fix PR target/65153 with removing movsicc_true+3 peephole2.
      
      From-SVN: r220922
      Kaz Kojima committed
    • re PR fortran/63427 (hwint.h:250:29: runtime error: shift exponent 64 is too… · 025e5647
      re PR fortran/63427 (hwint.h:250:29: runtime error: shift exponent 64 is too large for 64-bit type 'long int')
      
      gcc/
      	PR fortran/63427
      	* wide-int.cc (wi::from_mpz): Cope with unwrapped values that are
      	too big for a wide_int.  Implement missing wrapping operation.
      
      gcc/testsuite/
      	PR fortran/63427
      	* gfortran.dg/integer_exponentiation_6.F90: New test.
      
      From-SVN: r220921
      Richard Sandiford committed
    • re PR target/65109 (r220674 causes FAIL: gcc.target/powerpc/ppc64-abi-1.c execution test) · 8628d6e6
      	PR target/65109
      	* gcc.target/powerpc/ppc64-abi-1.c: Split test functions into
      	two parts.  One to save registers, the other to verify the
      	registers have the right values.  Save register state into
      	static data rather than on the stack.
      
      From-SVN: r220920
      Martin Sebor committed
    • re PR bootstrap/63888 (bootstrap failed when configured with… · 86ee2038
      re PR bootstrap/63888 (bootstrap failed when configured with -with-build-config=bootstrap-asan --disable-werror)
      
      	PR bootstrap/63888
      	* asan/asan_globals.cc (RegisterGlobal): Disable detect_odr_violation
      	support until it is rewritten upstream.
      
      	* c-c++-common/asan/pr63888.c: New test.
      
      From-SVN: r220919
      Jakub Jelinek committed
    • 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
  3. 22 Feb, 2015 7 commits
  4. 21 Feb, 2015 6 commits
  5. 20 Feb, 2015 11 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