1. 09 Jul, 2014 11 commits
    • PR c++/58155 - -Wliteral-suffix warns about tokens which are skipped · 7aee8646
      libcpp/
      
      2014-07-09  Edward Smith-Rowland  <3dw4rd@verizon.net>
      
      	PR c++/58155 - -Wliteral-suffix warns about tokens which are skipped
      	by preprocessor
      	* lex.c (lex_raw_string ()): Do not warn about invalid suffix
      	if skipping. (lex_string ()): Ditto.
      
      
      gcc/testsuite/
      
      2014-07-09  Edward Smith-Rowland  <3dw4rd@verizon.net>
      
      	PR c++/58155 - -Wliteral-suffix warns about tokens which are skipped
      	g++.dg/cpp0x/pr58155.C: New.
      
      From-SVN: r212392
      Edward Smith-Rowland committed
    • java: Use build_qualified_type instead of build_type_variant. · 676c36d8
      gcc/java/ChangeLog
      
      	* builtins.c (putVolatile_builtin): Use build_qualified_type
      	instead of build_type_variant.
      	(getVolatile_builtin): Likewise.
      	(build_classdollar_field): Likewise.
      
      From-SVN: r212389
      Mark Wielaard committed
    • Avoid using create_tmp_var for static decls. · 059345ce
      	* trans-array.c (gfc_build_constant_array_constructor): Build a
      	static decl manually.
      	* trans-decl.c (create_main_function): Likewise.
      
      From-SVN: r212388
      Bernd Schmidt committed
    • re PR testsuite/61453 (gfortran.dg/bind_c_array_params_2.f90 for targets where a… · 7bb7b836
      re PR testsuite/61453 (gfortran.dg/bind_c_array_params_2.f90 for targets where a call insn isn't "call")
      
      2014-07-09  Dominique d'Humieres <dominiq@lps.ens.fr>
      
      	PR testsuite/61453
      	* gfortran.dg/gfortran.dg/bind_c_array_params_2.f90:
      	Adjust regexp for more targets.
      
      From-SVN: r212387
      Dominique d'Humieres committed
    • re PR c++/59361 (cannot expand parenthesized pack expression) · f47910b5
      /cp
      2014-07-09  Andrew Sutton  <andrew.n.sutton@gmail.com>
      	    Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/59361
      	* parser.c (cp_parser_tokens_start_cast_expression): Return 0 for
      	CPP_ELLIPSIS too.
      
      /testsuite
      2014-07-09  Andrew Sutton  <andrew.n.sutton@gmail.com>
      	    Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/59361
      	* g++.dg/cpp0x/vt-59361.C: New.
      
      Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com>
      
      From-SVN: r212386
      Andrew Sutton committed
    • playcate old gcc · e4e01495
      gcc/
      
      	PR bootstrap/61679
      	 * hash-table.h: use hash_table::value_type instead of
             	Descriptor::value_type in the return types of several methods.
      
      From-SVN: r212384
      Trevor Saunders committed
    • remove has_execute · 558d2559
      gcc/
      
      	* tree-pass.h (pass_data): Remove has_execute member.
      	* passes.c (execute_one_pass): Don't check pass->has_execute.
      	* asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c, cfgcleanup.c,
      	cfgexpand.c, cfgrtl.c, cgraphbuild.c, combine-stack-adj.c, combine.c,
      	compare-elim.c, config/arc/arc.c, config/epiphany/mode-switch-use.c,
      	config/epiphany/resolve-sw-modes.c, config/i386/i386.c,
      	config/mips/mips.c, config/rl78/rl78.c, config/s390/s390.c,
      	config/sh/sh_optimize_sett_clrt.cc, config/sh/sh_treg_combine.cc,
      	config/sparc/sparc.c, cprop.c, cse.c, dce.c, df-core.c, dse.c,
      	dwarf2cfi.c, except.c, final.c, function.c, fwprop.c, gcse.c,
      	gimple-low.c, gimple-ssa-isolate-paths.c,
      	gimple-ssa-strength-reduction.c, graphite.c, ifcvt.c, init-regs.c,
      	ipa-comdats.c, ipa-cp.c, ipa-devirt.c, ipa-inline-analysis.c,
      	ipa-inline.c, ipa-profile.c, ipa-pure-const.c, ipa-reference.c,
      	ipa-split.c, ipa-visibility.c, ipa.c, ira.c, jump.c, loop-init.c,
      	lower-subreg.c, mode-switching.c, modulo-sched.c, omp-low.c, passes.c,
      	postreload-gcse.c, postreload.c, predict.c, recog.c, ree.c,
      	reg-stack.c, regcprop.c, reginfo.c, regrename.c, reorg.c, sched-rgn.c,
      	stack-ptr-mod.c, store-motion.c, tracer.c, trans-mem.c,
      	tree-call-cdce.c, tree-cfg.c, tree-cfgcleanup.c, tree-complex.c,
      	tree-eh.c, tree-emutls.c, tree-if-conv.c, tree-into-ssa.c,
      	tree-loop-distribution.c, tree-nrv.c, tree-object-size.c,
      	tree-parloops.c, tree-pass.h, tree-predcom.c, tree-profile.c,
      	tree-sra.c, tree-ssa-ccp.c, tree-ssa-copy.c, tree-ssa-copyrename.c,
      	tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c,
      	tree-ssa-ifcombine.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c,
      	tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c,
      	tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c,
      	tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c,
      	tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c,
      	tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c,
      	tree-ssa.c, tree-ssanames.c, tree-stdarg.c, tree-switch-conversion.c,
      	tree-tailcall.c, tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c,
      	tree.c, tsan.c, ubsan.c, var-tracking.c, vtable-verify.c,
      	web.c: Remove initializer for pass_data::has_execute.
      
      From-SVN: r212383
      Trevor Saunders committed
    • convert some hash_table to hash_map · f98df77c
      gcc/
      
      	* graphite-htab.h: Use hash_map instead of hash_table.
      	* graphite-clast-to-gimple.c: Adjust.
      	* passes.c: Use hash_map instead of hash_table.
      	* sese.c: Likewise.
      	* sese.h: Remove now unused code.
      
      From-SVN: r212382
      Trevor Saunders committed
    • Fix pr60226.c on darwin. · 677f36a6
      From-SVN: r212381
      Mike Stump committed
    • re PR target/61599 ([x86_64] With -mcmodel=medium, extern global arrays without… · dc58164b
      re PR target/61599 ([x86_64] With -mcmodel=medium, extern global arrays without size are not treated conservatively.)
      
      2014-07-08  Sriraman Tallam  <tmsriram@google.com>
      
      	PR target/61599
      	* config/i386/i386.c (ix86_in_large_data_p): Check for size less
      	than zero.
      
      	PR target/61599
      	* gcc.target/i386/pr61599-1.c: New test.
      	* gcc.target/i386/pr61599-2.c: New test.
      
      From-SVN: r212380
      Sriraman Tallam committed
    • Daily bump. · fcb090b2
      From-SVN: r212379
      GCC Administrator committed
  2. 08 Jul, 2014 15 commits
  3. 07 Jul, 2014 14 commits
    • re PR fortran/61459 (segfault when assigning to allocatable function result from matmul result) · 3af52023
      2014-07-07  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/61459
      	PR fortran/58883
      	* trans-expr.c (fcncall_realloc_result): Use the natural type
      	for the address expression of 'res_desc'.
      
      2014-07-07  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/61459
      	PR fortran/58883
      	* gfortran.dg/allocatable_function_8.f90 : New test
      
      From-SVN: r212339
      Paul Thomas committed
    • symtab.c: Include calls.h · 72732f3e
      
      	* symtab.c: Include calls.h
      	(symtab_nonoverwritable_alias_1): Check sanity of the local
      	alias.
      
      From-SVN: r212337
      Jan Hubicka committed
    • rs6000.c (output_vec_const_move): Handle little-endian code generation. · 3ca588d3
      	gcc/
      	* config/rs6000/rs6000.c (output_vec_const_move): Handle
      	little-endian code generation.
      	* config/rs6000/spe.md (spe_evmergehi): Rename to...
      	(vec_perm00_v2si): ... this.  Handle little-endian code 
      	generation.
      	(spe_evmergehilo): Rename to...
      	(vec_perm01_v2si): ... this.  Handle little-endian code
      	generation.
      	(spe_evmergelo): Rename to...
      	(vec_perm11_v2si): ... this.  Handle little-endian code
      	generation.
      	(spe_evmergelohi): Rename to...
      	(vec_perm10_v2si): ... this.  Handle little-endian code
      	generation.
      	(spe_evmergehi, spe_evmergehilo): New expanders.
      	(spe_evmergelo, spe_evmergelohi): Likewise.
      	(*frob_<SPE64:mode>_<DITI:mode>): Handle little-endian code
      	generation.
      	(*frob_tf_ti): Likewise.
      	(*frob_<mode>_di_2): Likewise.
      	(*frob_tf_di_8_2): Likewise.
      	(*frob_di_<mode>): Likewise.
      	(*frob_ti_tf): Likewise.
      	(*frob_<DITI:mode>_<SPE64:mode>_2): Likewise.
      	(*frob_ti_<mode>_8_2): Likewise.
      	(*frob_ti_tf_2): Likewise.
      	(mov_si<mode>_e500_subreg0): Rename to...
      	(mov_si<mode>_e500_subreg0_be): ... this.  Restrict to the big
      	endianness only.
      	(*mov_si<mode>_e500_subreg0_le): New instruction pattern.
      	(*mov_si<mode>_e500_subreg0_elf_low): Rename to...
      	(*mov_si<mode>_e500_subreg0_elf_low_be): ... this.  Restrict to 
      	the big endianness only.
      	(*mov_si<mode>_e500_subreg0_elf_low_le): New instruction pattern.
      	(*mov_si<mode>_e500_subreg0_2): Rename to...
      	(*mov_si<mode>_e500_subreg0_2_be): ... this.  Restrict to the
      	big big endianness only.
      	(*mov_si<mode>_e500_subreg0_2_le): New instruction pattern.
      	(*mov_si<mode>_e500_subreg4): Rename to...
      	(*mov_si<mode>_e500_subreg4_be): ... this.  Restrict to the big
      	endianness only.
      	(mov_si<mode>_e500_subreg4_le): New instruction pattern.
      	(*mov_si<mode>_e500_subreg4_elf_low): Rename to...
      	(*mov_si<mode>_e500_subreg4_elf_low_be): ... this.  Restrict to
      	the big endianness only.
      	(*mov_si<mode>_e500_subreg4_elf_low_le): New instruction/splitter
      	pattern.
      	(*mov_si<mode>_e500_subreg4_2): Rename to...
      	(*mov_si<mode>_e500_subreg4_2_be): ... this.  Restrict to the big
      	endianness only.
      	(*mov_si<mode>_e500_subreg4_2_le): New instruction pattern.
      	(*mov_sitf_e500_subreg8): Rename to...
      	(*mov_sitf_e500_subreg8_be): ... this.  Restrict to the big
      	endianness only.
      	(*mov_sitf_e500_subreg8_le): New instruction pattern.
      	(*mov_sitf_e500_subreg8_2): Rename to...
      	(*mov_sitf_e500_subreg8_2_be): ... this.  Restrict to the big
      	endianness only.
      	(*mov_sitf_e500_subreg8_2_le): New instruction pattern.
      	(*mov_sitf_e500_subreg12): Rename to...
      	(*mov_sitf_e500_subreg12_be): ... this.  Restrict to the big
      	endianness only.
      	(*mov_sitf_e500_subreg12_le): New instruction pattern.
      	(*mov_sitf_e500_subreg12_2): Rename to...
      	(*mov_sitf_e500_subreg12_2_be): ... this.  Restrict to the big
      	endianness only.
      	(*mov_sitf_e500_subreg12_2_le): New instruction pattern.
      
      	gcc/testsuite/
      	* gcc.target/powerpc/spe-evmerge.c: New file.
      
      From-SVN: r212335
      Maciej W. Rozycki committed
    • Correct date in last ChangeLog entry. · e7623929
      From-SVN: r212334
      Maciej W. Rozycki committed
    • class.c (check_for_override): Wrap the 'final' and 'override' keywords in %< and %>. · 8895d9a1
      /cp
      2014-07-07  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* class.c (check_for_override): Wrap the 'final' and 'override'
      	keywords in %< and %>.
      
      /testsuite
      2014-07-07  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* g++.dg/cpp0x/override1.C: Tweak expected error messages.
      
      From-SVN: r212333
      Paolo Carlini committed
    • Do not instrument first byte in strlen if already instrumented. · 0f05a199
      gcc/
      	* asan.c (instrument_strlen_call): Do not instrument first byte in strlen
      	if already instrumented.
      
      gcc/testsuite/
      	* c-c++-common/asan/no-redundant-instrumentation-9.c: New test.
      
      From-SVN: r212332
      Max Ostapenko committed
    • re PR c++/58898 (Adding default template argument to class template with "most… · 625685be
      re PR c++/58898 (Adding default template argument to class template with "most vexing parse" causes compile error)
      
      2014-07-07  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/58898
      	* g++.dg/parse/pr58898.C: New.
      
      From-SVN: r212331
      Paolo Carlini committed
    • list_read_12.f90: Delete the file. · f254169f
      2014-07-07  Dominique d'Humieres <dominiq@lps.ens.fr>
      
      	* gfortran.dg/list_read_12.f90: Delete the file.
      	* gfortran.dg/vect/vect.exp: Use gfortran-dg-runtest instead
      	of dg-runtest.
      
      From-SVN: r212330
      Dominique d'Humieres committed
    • * libgfortran.h: Assume __GNUC__. · afe31cdb
      From-SVN: r212328
      Francois-Xavier Coudert committed
    • stop.c: Use C11 _Noreturn. · 77777b33
      	* runtime/stop.c: Use C11 _Noreturn.
      	* libgfortran.h: Use C11 _Noreturn in prototypes.
      	Move REALPART, IMAGPART and COMPLEX_ASSIGN macros...
      	* intrinsics/c99_functions.c: ... here.
      
      From-SVN: r212327
      Francois-Xavier Coudert committed
    • [ARM] Remove deprecated mwords-little-endian. · 8adb5dc7
      	* config/arm/arm.opt (mwords-little-endian): Delete.
      	* config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Remove handling
      	of TARGET_LITTLE_WORDS.
      	(WORDS_BIG_ENDIAN): Define to BYTES_BIG_ENDIAN.
      	* config/arm/arm.c (arm_option_override): Remove TARGET_LITTLE_WORDS
      	warning.
      	* doc/invoke.texi: Remove references to -mwords-little-endian.
      
      From-SVN: r212326
      Kyrylo Tkachov committed
    • expmed.c (struct init_expmed_rtl): Change all fields but pow2 and cint from struct rtx_def to rtx. · c83cf304
      	* expmed.c (struct init_expmed_rtl): Change all fields but
      	pow2 and cint from struct rtx_def to rtx.
      	(init_expmed_one_conv, init_expmed_one_mode): Adjust for that change.
      	(init_expmed): Likewise.  Allocate all the 18 rtxes and ggc_free them
      	at the end again.
      
      From-SVN: r212325
      Jakub Jelinek committed
    • fpu-387.h, [...]: Use static assertions. · a709346f
      	* config/fpu-387.h, config/fpu-aix.h, config/fpu-sysv.h,
      	config/fpu-glibc.h: Use static assertions.
      
      From-SVN: r212323
      Francois-Xavier Coudert committed
    • re PR libfortran/61640 (KIND=4 Character Array Internal Unit Read Fail) · 1b38fe0e
      2014-07-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libgfortran/61640
      	* gfortran.dg/arrayio_16.f90: New test.
      
      From-SVN: r212322
      Jerry DeLisle committed