- 01 Oct, 2012 3 commits
-
-
2012-09-30 Sharad Singhai <singhai@google.com> * dumpfile.c: New file with parts moved from tree-dump.c. (pflags): New variable. (alt_flags): Ditto. (alt_dump_file): Ditto. (dump_files): Update to include additional fields. (struct dump_option_value_info): Add additional entries. (get_dump_file_name): Use command line filename if available. (dump_open_alternate_stream): New function. (dump_loc): Ditto. (dump_gimple_stmt): Ditto. (dump_gimple_stmt_loc): Ditto. (dump_generic_expr): Ditto. (dump_generic_expr_loc): Ditto. (dump_printf): Ditto. (dump_printf_loc): Ditto. (dump_start): Ditto. (dump_finish): Ditto. (dump_begin): Ditto. (dump_enabled_p): Return true if either of the dump types is enabled. (dump_initialized_p): Return true if either type of dump is initialized. (dump_end): Do not close standard streams. (dump_enable_all): Handle filenames for regular dumps. (dump_switch_p_1): Handle command-line dump filenames. (opt_info_enable_all): New function. (opt_info_switch_p_1): Ditto. (opt_info_switch_p): Ditto. (dump_kind_p): Ditto. (dump_basic_block): Ditto. (dump_combine_total_stats): Ditto. (dump_remap_tree_vectorizer_verbose): Ditto. * gimple-pretty-print.h: Rename dump_gimple_stmt to pp_gimple_stmt_1. All callers updated. From-SVN: r191884
Sharad Singhai committed -
2012-09-30 Sharad Singhai <singhai@google.com> * doc/invoke.texi: Add documentation for the new option. * tree-dump.c: Move general dump file related functionality into dumpfile.c. Remove unneeded headers. * tree-dump.h: Move function declarations into dumpfile.h. * dumpfile.h: Include "line-map.h". Add defines for MSG flags. (struct dump_file_info): Move here from tree-dump.c. Rename flags to pflags, state to pstate, stream to pstream, filename to pfilename. All callers updated. Add alt_flags, alt_state, alt_filenmae, alt_stream. * tree-vectorizer.c: Include "dumpfile.h". Remove vect_dump. (vect_set_dump_settings): Remove. (vect_print_dump_info): Ditto. * tree-vectorizer.h: Remove declaration of vect_dump and vect_print_dump_info. * tree-vect-loop.c: Include "dumpfile.h". Use new dump style. * tree-vect-data-refs.c: Ditto. * tree-vect-stmts.c: Ditto. * tree-vect-slp.c: Ditto. * tree-vect-patterns.c: Ditto. * tree-vect-loop-manip.c: Ditto. * testsuite/gcc.target/i386/vect-double-1.c: Fix test. * opts.c (vect_set_verbosity_level): Remove. (common_handle_option): Handle -fopt-info flag. Deprecate -ftree-vectorizer-verbose. * tree-parloops.c (gather_scalar_reductions): Remove reference to vect_dump. * flag-types.h: Remove vect_verbosity_levels. * common.opt: Add -fopt-info. Deprecate -ftree-vectorizer-verbose. * opts-global.c (dump_remap_tree_vectorizer_verbose): New function. (handle_common_deferred_options): Handle -fopt-info and -ftree-vectorizer-verbose. * Makefile.in: Add dumpfile.o. (tree-dump.o): Update dependencies. (tree-vect-loop.o): Ditto. (tree-vect-loop-manip.o): Ditto. (tree-vect-slp.o): Ditto. (tree-vect-stmts.o): Ditto. (tree-vectorizer.o): Ditto. (opts.o): Ditto. * passes.c (finish_optimization_passes): Instead of using dump_begin/dump_end, use dump_start/dump_finish. Do not use dump_file. (pass_init_dump_file): Ditto. * c-decl.c (c_write_global_declarations): Use a different method to determine if the dump has ben initialized. * decl2.c (cp_write_global_declarations): Use a different method to determine if the dump has ben initialized. From-SVN: r191883
Sharad Singhai committed -
From-SVN: r191882
GCC Administrator committed
-
- 30 Sep, 2012 14 commits
-
-
* gcc.target/i386/pad-10.c (foo2): Return x - z. From-SVN: r191879
Uros Bizjak committed -
re PR rtl-optimization/38449 (delay branch scheduling follows REG_CROSSING_JUMP jumps indiscriminately) PR rtl-optimization/38449: * hooks.c (hook_bool_const_rtx_const_rtx_true): New function. * hooks.h (hook_bool_const_rtx_const_rtx_true): Declare. * target.def: Merge in definitions and documentation for TARGET_CAN_FOLLOW_JUMP. * doc/tm.texi.in: Add documentation locations for the above. * doc/tm.texi: Regenerate. * reorg.c (follow_jumps): New parameters jump and crossing. Changed all callers. From-SVN: r191878
Joern Rennecke committed -
gcc/testsuite/ * gcc.target/mips/pr37362.c: Fix target selector. From-SVN: r191877
Richard Sandiford committed -
2012-09-30 Benjamin Kosnik <bkoz@redhat.com> * doc/doxygen/user.cfg.in: Update to doxygen 1.8.2. From-SVN: r191876
Benjamin Kosnik committed -
* reorg.c (relax_delay_slots): Use delay_insn consistently. * config/sparc/sparc.c (gen_stack_pointer_dec): Delete. (sparc_expand_epilogue): Use gen_stack_pointer_inc and adjust. (sparc_flat_expand_epilogue): Likewise. (emit_and_preserve): Likewise. (sparc_fold_builtin): Fix thinko in latest change. From-SVN: r191875
Eric Botcazou committed -
PR target/54083 * gcc.dg/torture/pr53922.c: Skip on 32-bit hppa-*-hpux*. From-SVN: r191873
John David Anglin committed -
* config/m68k/m68k.md: Add names to bitfield insert and extract insns. (*insv_8_16_reg): Remove constraints and conditions that assume that operand 0 could be a MEM. (*extzv_8_16_reg, *extv_8_16_reg): Likewise, for operand 1. From-SVN: r191872
Andreas Schwab committed -
* gcc.dg/ucnid-8.c: Update line number. * gcc.dg/torture/pr51106-2.c: Likewise. From-SVN: r191871
Andreas Schwab committed -
2012-09-30 Janus Weil <janus@gcc.gnu.org> PR fortran/54667 * intrinsic.texi (C_F_POINTER): Fix description. * resolve.c (gfc_iso_c_sub_interface): Add a check for FPTR argument of C_F_POINTER. Modify two error messages. Cleanup. 2012-09-30 Janus Weil <janus@gcc.gnu.org> PR fortran/54667 * gfortran.dg/c_funloc_tests_6.f90: Modified error message. * gfortran.dg/c_f_pointer_shape_test.f90: Ditto. * gfortran.dg/c_f_pointer_tests_5.f90: New. From-SVN: r191870
Janus Weil committed -
* include/ext/ropeimpl.h (__uninitialized_fill_n_a): Fix using declaration. * testsuite/ext/rope/5.cc: New. From-SVN: r191869
Jonathan Wakely committed -
* cfgloop.c (scale_loop_profile): Move to... * cfgloopmanip.c (scale_loop_profile): .. here; use scale_loop_frequencies. (loopify): Use RDIV. From-SVN: r191868
Jan Hubicka committed -
2012-09-30 Janus Weil <janus@gcc.gnu.org> * gfortran.dg/allocate_derived_1.f90: Re-enable class array checks, partially reverting r170092. * gfortran.dg/class_7.f03: Ditto. * gfortran.dg/coarray_14.f90: Ditto. * gfortran.dg/typebound_proc_13.f03: Ditto. From-SVN: r191867
Janus Weil committed -
PR libstdc++/54577 * doc/xml/manual/status_cxx2011.xml: N2350 changes are missing from sequence containers. * doc/html/*: Regenerate. From-SVN: r191866
Jonathan Wakely committed -
From-SVN: r191865
GCC Administrator committed
-
- 29 Sep, 2012 16 commits
-
-
/cp 2012-09-29 Paolo Carlini <paolo.carlini@oracle.com> PR c++/54738 * decl2.c (build_offset_ref_call_from_tree): Add tsubst_flags_t parameter. * pt.c (tsubst_copy_and_build): Adjust. * parser.c (cp_parser_postfix_expression): Likewise. * cp-tree.h: Adjust declaration. /testsuite 2012-09-29 Paolo Carlini <paolo.carlini@oracle.com> PR c++/54738 * g++.dg/cpp0x/sfinae42.C: New. From-SVN: r191862
Paolo Carlini committed -
From-SVN: r191861
David Edelsohn committed -
* gcc.target/powerpc/405-dlmzb-strlen-1.c: Skip on AIX. * gcc.target/powerpc/440-dlmzb-strlen-1.c: Same. * gcc.dg/ucnid-5.c: Remove XFAIL on AIX. * gcc.dg/pr42629.c: XFAIL on AIX. * gcc.dg/pr47684.c: Same. * gcc.dg/pr43670.c: Same. * gcc.dg/pr42916.c: Same. * gcc.dg/pr45449.c: Same. * gcc.dg/pr50017.c: Same. * gcc.dg/pr42728.c: Same. * gcc.dg/pr47881.c: Same. * gcc.dg/pr44023.c: Same. * gcc.dg/pr41345.c: Same. * gcc.dg/pr42630.c: Same. * gcc.dg/pr44971.c: Same. * gcc.dg/pr46771.c: Same. * gcc.dg/ucnid-8.c: Same. * gcc.dg/ucnid-10.c: Same. * gcc.dg/ucnid-13.c: Same. * gcc.dg/torture/pr51106-2.c: Same. * gcc.dg/pr48768.c: Same. * gcc.dg/pr42631.c: Same. * gcc.dg/pr43084.c: Same. * gcc.dg/ucnid-7.c: Same. * gcc.dg/pr42889.c: Same. * gcc.dg/pr41241.c: Same. * gcc.dg/pr42719.c: Same. * g++.dg/debug/pr46583.C: Same. * g++.dg/debug/pr47106.C: Same. * g++.dg/opt/pr48549.C: Same. * g++.dg/other/pr42685.C: Same. * c-c++-common/pr43942.c: Same. From-SVN: r191860
David Edelsohn committed -
* inclhack.def (AAB_aix_fcntl): New fix. * fixincl.x: Regenerate. From-SVN: r191859
David Edelsohn committed -
* go.test/go-test.exp: Update for latest version of Go testsuite. From-SVN: r191858
Ian Lance Taylor committed -
From-SVN: r191857
Jonathan Wakely committed -
PR libstdc++/34106 * include/parallel/compatibility.h: Remove non-GCC code. From-SVN: r191856
Jonathan Wakely committed -
PR other/54749 * fileline.c (fileline_initialize): Pass errnum as -1 when reporting that we could not read executable information after a previous failure. From-SVN: r191855
Ian Lance Taylor committed -
2012-09-29 Thomas König <tkoenig@gcc.gnu.org> PR fortran/52724 * list_read.c (next_char): Handle kind=4 characters. * unix.c (open_internal4): Correct lenth of internal file. 2012-09-29 Thomas König <tkoenig@gcc.gnu.org> PR fortran/52724 * gfortran.dg/internal_readwrite_3.f90: New test. From-SVN: r191854
Thomas Koenig committed -
From-SVN: r191853
H.J. Lu committed -
From-SVN: r191852
Jan Hubicka committed -
From-SVN: r191851
Jan Hubicka committed -
2012-09-29 Andreas Tobler <andreast@fgznet.ch> * config.gcc: Replace 'host' with 'target' when configuring for powerpc64*-*-freebsd. From-SVN: r191849
Andreas Tobler committed -
2012-09-29 Marc Glisse <marc.glisse@inria.fr> * tree.c (truth_type_for): New function. * tree.h (truth_type_for): Declare. * gimple-fold.c (and_comparisons_1): Call it. (or_comparisons_1): Likewise. * tree-ssa-forwprop.c (forward_propagate_into_cond): Don't use boolean_type_node for vectors. From-SVN: r191848
Marc Glisse committed -
2012-09-28 Benjamin Kosnik <bkoz@redhat.com> * fragment.am (CONFIG_CXXFLAGS): Remove EXTRA_CXX_FLAGS. * libsupc++/Makefile.am (LTCXXCOMPILE): Add EXTRA_CXX_FLAGS here. * src/Makefile.am: Same. * src/c++98/Makefile.am: Same. * src/c++11/Makefile.am: Same. * Makefile.in: Regenerated. * src/Makefile.am: Same. * src/c++11/Makefile.in: Same. * src/c++98/Makefile.in: Same. * include/Makefile.in: Same. * po/Makefile.in: Same. * python/Makefile.in: Same. * testsuite/Makefile.in: Same. 2012-09-28 Benjamin Kosnik <bkoz@redhat.com> * src/c++98/Makefile.am: Fixup PARALLEL_FLAGS. From-SVN: r191847
Benjamin Kosnik committed -
From-SVN: r191846
GCC Administrator committed
-
- 28 Sep, 2012 7 commits
-
-
From-SVN: r191842
Ian Lance Taylor committed -
From-SVN: r191841
Ian Lance Taylor committed -
* basic-block.h (RDIV): Define. (EDGE_FREQUENCY): Simplify. (check_probability, combine_probabilities, apply_probability, inverse_probability): New. * cfgloop.c (scale_loop_profile): New function. * cfgloop.h (scale_loop_profile): Declare. (slpeel_add_loop_guard): Add probability parameter. (set_prologue_iterations): Add probability parameter. (slpeel_tree_peel_loop_to_edge): Add bound1 and bound2 parameters; update probabilities correctly. (vect_do_peeling_for_alignment, vect_gen_niters_for_prolog_loop): New. From-SVN: r191839
Jan Hubicka committed -
PR bootstrap/54688 * sched-deps.c (parse_add_or_inc): Remove MINUS handling. Take STACK_GROWS_DOWNWARD into account. From-SVN: r191838
Bernd Schmidt committed -
2012-09-28 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Remove ENABLE_PARALLEL. * include/Makefile.am: Same. * src/c++98/Makefile.am: Same. * src/Makefile.am: Same. * Makefile.in: Regenerated. * aclocal.m4: Same. * configure: Same. * doc/Makefile.in: Same. * include/Makefile.in: Same. * libsupc++/Makefile.in: Same. * po/Makefile.in: Same. * python/Makefile.in: Same. * src/Makefile.in: Same. * testsuite/Makefile.in: Same. * src/c++11/Makefile.in: Same. * src/c++98/Makefile.in: Same. * src/c++98/compatibility-debug_list-2.cc: Update comments. * src/c++98/compatibility-debug_list.cc: Same. * src/c++98/compatibility-list-2.cc: Renamed to src/c++98/list-aux-2.cc * src/c++98/compatibility-list.cc: Renamed to src/c++98/list-aux.cc * src/c++98/compatibility-parallel_list-2.cc: Renamed to src/c++98/list_associated-2.cc. * src/c++98/compatibility-parallel_list.cc: Renamed to src/c++98/list_associated.cc. From-SVN: r191837
Benjamin Kosnik committed -
From-SVN: r191833
Ian Lance Taylor committed -
Move testsuite/c-c++-common/Wunused-local-typedefs-2.c to testsuite/g++.dg/warn/Wunused-local-typedefs-3.C gcc/testsuite/ * g++.dg/warn/Wunused-local-typedefs-3.C: Move the c++-only test gcc/testsuite/c-c++-common/Wunused-local-typedefs-2.c to here. From-SVN: r191832
Dodji Seketeli committed
-