1. 13 Mar, 2015 7 commits
    • [ARM] PR target/64600 Fix another ICE with -mtune=xscale: properly sign-extend… · 34f1d426
      [ARM] PR target/64600 Fix another ICE with -mtune=xscale: properly sign-extend mask during constant splitting
      
      	PR target/64600
      	* config/arm/arm.c (arm_gen_constant, AND case): Use
      	ARM_SIGN_EXTEND when constructing AND mask.
      
      	PR target/64600
      	* gcc.target/arm/pr64600_1.c: New test.
      
      From-SVN: r221413
      Kyrylo Tkachov committed
    • graph.c (print_graph_cfg): Make function names visible and append parenthesis to it. · 7088e2b0
      2015-03-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
      
         gcc/
          * graph.c (print_graph_cfg): Make function names visible and append
          parenthesis to it.  Also make groups of basic blocks belonging to the
          same function visible.
      
      From-SVN: r221412
      Thomas Preud'homme committed
    • re PR ipa/44563 (GCC uses a lot of RAM when compiling a large numbers of functions) · 2aa26a55
      2015-03-12  Richard Biener  <rguenther@suse.de>
      
      	PR middle-end/44563
      	* tree-inline.c (gimple_expand_calls_inline): Walk BB backwards
      	to avoid quadratic behavior with inline expansion splitting blocks.
      	* tree-cfgcleanup.c (cleanup_tree_cfg_bb): Do not merge block
      	with the successor if the predecessor will be merged with it.
      	* tree-cfg.c (gimple_can_merge_blocks_p): We can't merge the
      	entry block with its successor.
      
      From-SVN: r221410
      Richard Biener committed
    • re PR ipa/44563 (GCC uses a lot of RAM when compiling a large numbers of functions) · 2a5671ee
      2015-03-10  Richard Biener  <rguenther@suse.de>
      
      	PR middle-end/44563
      	* tree-cfgcleanup.c (split_bb_on_noreturn_calls): Remove.
      	(cleanup_tree_cfg_1): Do not call it.
      	(execute_cleanup_cfg_post_optimizing): Fixup the CFG here.
      	(fixup_noreturn_call): Mark the stmt as control altering.
      	* tree-cfg.c (execute_fixup_cfg): Do not dump the function
      	here.
      	(pass_data_fixup_cfg): Produce a dump file.
      	* tree-ssa-dom.c: Include tree-cfgcleanup.h.
      	(need_noreturn_fixup): New global.
      	(pass_dominator::execute): Fixup queued noreturn calls.
      	(optimize_stmt): Queue calls that became noreturn for fixup.
      	* tree-ssa-forwprop.c (pass_forwprop::execute): Likewise.
      	* tree-ssa-pre.c: Include tree-cfgcleanup.h.
      	(el_to_fixup): New global.
      	(eliminate_dom_walker::before_dom_childre): Queue calls that
      	became noreturn for fixup.
      	(eliminate): Fixup queued noreturn calls.
      	* tree-ssa-propagate.c: Include tree-cfgcleanup.h.
      	(substitute_and_fold_dom_walker): New member stmts_to_fixup.
      	(substitute_and_fold_dom_walker::before_dom_children): Queue
      	alls that became noreturn for fixup.
      	(substitute_and_fold): Fixup queued noreturn calls.
      
      From-SVN: r221409
      Richard Biener committed
    • ChangeLog: Fix whitespace. · 10ac6596
      	* ChangeLog: Fix whitespace.
      	* testsuite/ChangeLog: Ditto.
      
      From-SVN: r221407
      Uros Bizjak committed
    • ipa-icf.c (sem_function::equals_wpa): Match CXX_CONSTRUCTOR_P and CXX_DESTURCTOR_P. · 060cfff4
      
      	* ipa-icf.c (sem_function::equals_wpa): Match CXX_CONSTRUCTOR_P
      	and CXX_DESTURCTOR_P. For consutrctors match ODR type of class they
      	are building; for methods check ODR type of class they belong to if
      	they may lead to a polymorphic call.
      	(sem_function::compare_polymorphic_p): Be bit smarter about testing
      	when function may lead to a polymorphic call.
      	(sem_function::compare_type_list): Remove.
      	(sem_variable::equals): Update use of compatible_types_p.
      	(sem_variable::parse_tree_refs): Remove.
      	(sem_item_optimizer::filter_removed_items): Do not filter out CXX
      	cdtor.
      	* ipa-icf-gimple.c (func_checker::compare_decl): Do polymorphic
      	matching here.
      	(func_checker::compatible_polymorphic_types_p): Break out from ...
      	(unc_checker::compatible_types_p): ... here.
      	* ipa-icf-gimple.h (func_checker::compatible_polymorphic_types_p):
      	Declare.
      	(unc_checker::compatible_types_p): Update.
      	* ipa-icf.h (compare_type_list, parse_tree_refs, compare_sections):
      	Remove.
      
      From-SVN: r221406
      Jan Hubicka committed
    • Daily bump. · d587bfd1
      From-SVN: r221405
      GCC Administrator committed
  2. 12 Mar, 2015 22 commits
  3. 11 Mar, 2015 11 commits
    • invoke.texi (-fgnu89-inline): Remove discussion about old GCC versions. · 8648c55f
      2015-03-11  Sandra Loosemore  <sandra@codesourcery.com>
      
      	gcc/
      	* doc/invoke.texi (-fgnu89-inline): Remove discussion about 
      	old GCC versions.
      	(-fabi-compat-version): Likewise.
      	(-ffriend-injection): Likewise.
      	(-Wdeclaration-after-statement): Likewise.
      	(-fomit-frame-pointer): Likewise.
      	(-ftree-coalesce-inlined-vars): Likewise.
      	(-fvisibility=): Likewise.
      	* doc/extend.texi (Typeof): Likewise.
      	(Zero Length): Likewise.
      	(Escaped Newlines): Likewise.
      	(Compound Literals): Likewise.
      	(Function Attributes): Likewise.
      	(Label Attributes): Likewise.
      	(Type Attributes): Likewise.
      	(Function Names): Likewise.
      	(Other Builtins): Likewise.
      	(Function Specific Option Pragmas): Likewise.
      	(C++ Interface): Likewise.
      
      From-SVN: r221364
      Sandra Loosemore committed
    • libgfortran LIBGFOR_MINIMAL enhancements. · 17abb5ac
      Based on GCC trunk r220892, for nvptx-none:
      
                          === gfortran Summary ===
      
          # of expected passes            [-31320-]{+32117+}
          # of unexpected failures        [-7222-]{+6821+}
          # of expected failures          78
          # of unresolved testcases       [-6441-]{+6158+}
          # of untested testcases         [-432-]{+391+}
          # of unsupported tests          639
      
      	libgfortran/
      	* caf/single.c (caf_runtime_error): Revert 2014-11-28 changes.
      	* runtime/minimal.c (STRERR_MAXSZ): Don't define.
      	(runtime_error_at, sys_abort): Bring more in line with the
      	non-LIBGFOR_MINIMAL code.
      	(runtime_warning_at, internal_error): New functions.
      
      From-SVN: r221363
      Thomas Schwinge committed
    • No libstdc++ for nvptx. · d94fae04
      The C++ front end insists to link against libstdc++ -- which we don't build:
      
          $ < build-gcc/gcc/testsuite/g++/g++.log grep -o 'error opening [^[:cntrl:]]*' | sort | uniq -c
                2 error opening libasan.a
                2 error opening libssp.a
            12075 error opening libstdc++.a
      
      Based on GCC trunk r220892:
      
                          === g++ Summary ===
      
          # of expected passes            [-63221-]{+68841+}
          # of unexpected failures        [-11751-]{+8764+}
          # of unexpected successes       6
          # of expected failures          [-246-]{+249+}
          # of unresolved testcases       [-5950-]{+3353+}
          # of unsupported tests          [-4160-]{+4143+}
      
      	gcc/
      	* config/nvptx/nvptx.h (LIBSTDCXX): Define to "gcc".
      
      From-SVN: r221362
      Thomas Schwinge committed
    • PR 65200 Handle EPERM in addition to EACCES. · 6234b543
      gcc/fortran ChangeLog:
      
      2015-03-11  Janne Blomqvist  <jb@gcc.gnu.org>
      
      	PR libfortran/65200
      	* gfortran.texi: Document behavior when opening files without
      	explicit ACTION= specifier.
      
      libgfortran ChangeLog:
      
      2015-03-11  Janne Blomqvist  <jb@gcc.gnu.org>
      
      	PR libfortran/65200
      	* io/open.c (new_unit): Use gf_strerror rather than hardcoding
      	error messages for different errno values.
      	* io/unix.c (regular_file2): Handle EPERM in addition to EACCES.
      
      gcc/testsuite ChangeLog:
      
      2015-03-11  Janne Blomqvist  <jb@gcc.gnu.org>
      
      	PR libfortran/65200
      	* gfortran.dg/open_errors.f90: Update checks for iomsg string.
      	* gfortran.dg/open_new_segv.f90: Fix error message pattern.
      
      From-SVN: r221361
      Janne Blomqvist committed
    • re PR tree-optimization/65388 (Wrong comparison in same_succ_def::equal()… · 707550e4
      re PR tree-optimization/65388 (Wrong comparison in same_succ_def::equal() tree-ssa-tail-merge.c:590)
      
      	PR tree-optimization/65388
      	* tree-ssa-tail-merge.c (same_succ_def::equal): Fix typo in comparison.
      
      From-SVN: r221359
      Marek Polacek committed
    • c-parser.c (c_parse_init): Don't call xstrdup on get_identifier argument. · 17958621
      	* c-parser.c (c_parse_init): Don't call xstrdup on get_identifier
      	argument.
      
      	* c-common.c (c_common_nodes_and_builtins): Don't call xstrdup
      	on record_builtin_type argument.
      
      From-SVN: r221358
      Jakub Jelinek committed
    • no-asan-check-glob.c: Add -ffat-lto-objects to dg-options, fix up dg-skip-if. · 9cd4d216
      	* c-c++-common/asan/no-asan-check-glob.c: Add -ffat-lto-objects
      	to dg-options, fix up dg-skip-if.
      
      From-SVN: r221357
      Jakub Jelinek committed
    • tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick upstream 224508 and 224755. · 563fb64a
      2015-03-11  Bernd Edlinger  <bernd.edlinger@hotmail.de>
      
              * tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
              upstream 224508 and 224755.
      
      From-SVN: r221356
      Bernd Edlinger committed
    • re PR target/65296 ([avr] fix various issues with specs file generation) · 0c9dc4ae
      gcc/
      	PR target/65296
      	* configure.ac [avr]: Check as for options -mrmw, --mlink-relax.
      	* configure: Regenerate.
      	* config.in: Regenerate.
      	* doc/invoke.texi (AVR Options) [-mrmw]: Document it.
      	[-mn-flash]: Document it.
      	[__AVR_ARCH__]: Document avrtiny.
      	* config/avr/gen-avr-mmcu-specs.c (config.h): Include it.
      	(*asm_relax): Only define spec if HAVE_AS_AVR_MLINK_RELAX_OPTION.
      	(*asm_rmw): Only define spec if HAVE_AS_AVR_MRMW_OPTION.
      gcc/testsuite/
      	PR target/65296
      	* gcc.target/avr/tiny-memx: Use -mmcu instead of -march.
      	* gcc.target/avr/tiny-caller-save.c: Same.
      
      From-SVN: r221355
      Georg-Johann Lay committed
    • S/390: Doc: Add missing cpu values z196, zEC12. · 91d4a5ea
      	* doc/invoke.texi: Add missing cpu values (z196, zEC12).
      
      From-SVN: r221353
      Andreas Krebbel committed
    • re PR target/65242 (ICE (in gen_add2_insn, at optabs.c:4761) on powerpc64le-linux-gnu) · befe1997
      [gcc]
      2015-03-09  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	PR target/65242
      	* config/rs6000/rs6000.c (rs6000_preferred_reload_class): Do not
      	allow reloads of PLUS in floating point/VSX registers.
      
      [gcc/testsuite]
      2015-03-09  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	PR target/65242
      	* g++.dg/pr65242.C: New test.
      
      From-SVN: r221350
      Michael Meissner committed