- 06 Jun, 2011 30 commits
-
-
gcc/ PR rtl-optimization/49145 * combine.c (make_compound_operation): Handle ZERO_EXTEND specially. gcc/testsuite/ PR rtl-optimization/49145 From Ryan Mansfield * gcc.c-torture/compile/pr49145.c: New test. From-SVN: r174718
Richard Sandiford committed -
PR testsuite/49288 * g++.dg/debug/dwarf2/cdtor-1.C: Add -fno-merge-debug-strings to dg-options, match also DW_AT_linkage_name. From-SVN: r174716
Jakub Jelinek committed -
PR debug/49262 * dwarf2out.c (native_encode_initializer): Decrement count in each iteration. From-SVN: r174715
Jakub Jelinek committed -
PR c++/49264 * gimple-fold.c (fold_stmt_1): Don't try to fold *& on the lhs if stmt folded into nothing. * tree-inline.c (fold_marked_statements): If a builtin at the end of a bb folded into nothing, just update cgraph edges and move to next bb. * cgraph.c (cgraph_update_edges_for_call_stmt_node): Allow new_stmt to be NULL. Don't compute count and frequency if new_call is NULL. * g++.dg/opt/pr49264.C: New test. From-SVN: r174712
Jakub Jelinek committed -
PR c++/49264 * gimple-fold.c (fold_stmt_1): Don't try to fold *& on the lhs if stmt folded into nothing. * tree-inline.c (fold_marked_statements): If a builtin at the end of a bb folded into nothing, just update cgraph edges and move to next bb. * cgraph.c (cgraph_update_edges_for_call_stmt_node): Allow new_stmt to be NULL. Don't compute count and frequency if new_call is NULL. * g++.dg/opt/pr49264.C: New test. From-SVN: r174711
Jakub Jelinek committed -
2011-06-06 Jing Yu <jingyu@google.com> * configure.ac: Skip target-libiberty for arm*-*-linux-androideabi. * configure: Regenerated. From-SVN: r174710
Jing Yu committed -
* Makefile.in (lto-compress.o): Add dependency on LTO_STREAMER_H. (cgraph.o): Likewise. (cgraphunit.o): Likewise. * cgraphunit.c: Include lto-streamer.h (cgraph_finalize_compilation_unit): Call lto_streamer_hooks_init if LTO is enabled. * lto-streamer-in.c (unpack_value_fields): Call streamer_hooks.unpack_value_fields if set. (lto_materialize_tree): For unhandled nodes, first try to call lto_streamer_hooks.alloc_tree, if it exists. (lto_input_ts_decl_common_tree_pointers): Move reading of DECL_INITIAL to lto_streamer_read_tree. (lto_read_tree): Call lto_streamer_hooks.read_tree if set. (lto_streamer_read_tree): New. (lto_reader_init): Rename from lto_init_reader. Move initialization code to lto/lto.c. * lto-streamer-out.c (pack_value_fields): Call streamer_hooks.pack_value_fields if set. (lto_output_tree_ref): For tree nodes that are not normally indexable, call streamer_hooks.indexable_with_decls_p before giving up. (lto_output_ts_decl_common_tree_pointers): Move handling for FUNCTION_DECL and TRANSLATION_UNIT_DECL to lto_streamer_write_tree. (lto_output_tree_header): Call streamer_hooks.is_streamable instead of lto_is_streamable. Call lto_streamer_hooks.output_tree_header if set. (lto_write_tree): Call lto_streamer_hooks.write_tree if set. (lto_streamer_write_tree): New. (lto_output): Call lto_streamer_init directly. (lto_writer_init): Remove. * lto-streamer.c (streamer_hooks): New. (lto_streamer_cache_create): Call streamer_hooks.preload_common_nodes instead of lto_preload_common_nodes. (lto_is_streamable): Move from lto-streamer.h (lto_streamer_hooks_init): New. (streamer_hooks): New. (streamer_hooks_init): New. * lto-streamer.h (struct output_block): Forward declare. (struct lto_input_block): Likewise. (struct data_in): Likewise. (struct bitpack_d): Likewise. (struct streamer_hooks): Declare. (streamer_hooks): Declare. (lto_streamer_hooks_init): Declare. (lto_streamer_write_tree): Declare. (lto_streamer_read_tree): Declare. (streamer_hooks_init): Declare. (lto_is_streamable): Move to lto-streamer.c lto/ChangeLog * lto.c (lto_init): New. (lto_main): Call it. From-SVN: r174709
Diego Novillo committed -
2011-06-06 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/move.h (move_if_noexcept): Use __and_ and __not_. From-SVN: r174708
Paolo Carlini committed -
* inclhack.def (aix_net_if_arp): New fix. * fixincl.x: Regenerate. * tests/base/net/if_arp.h [AIX_NET_IF_ARP_CHECK]: New test. From-SVN: r174707
Peter O'Gorman committed -
2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * longlong.h (smul_ppmm): The resulting register pair contains the higher order word first. From-SVN: r174702
Andreas Krebbel committed -
2011-06-06 Bill Schmidt <wschmidt@linux.vnet.ibm.com> PR tree-optimization/46728 * builtins.c (powi_table): Remove. (powi_lookup_cost): Remove. (powi_cost): Remove. (expand_powi_1): Remove. (expand_powi): Remove. (expand_builtin_pow_root): Remove. (expand_builtin_pow): Remove. (expand_builtin_powi): Eliminate handling of constant exponent. (expand_builtin): Use expand_builtin_mathfn_2 for BUILT_IN_POW. From-SVN: r174701
Bill Schmidt committed -
From-SVN: r174700
Alexandre Oliva committed -
* dce.c (reset_unmarked_insns_debug_uses): New. (delete_unmarked_insns): Skip debug insns. (prescan_insns_for_dce): Likewise. (rest_of_handle_ud_dce): Reset debug uses of removed sets. * reg-stack.c (subst_stack_regs_in_debug_insn): Signal when no active reg can be found. (subst_all_stack_regs_in_debug_insn): New. Reset debug insn then. (convert_regs_1): Use it. From-SVN: r174699
Alexandre Oliva committed -
* tree-pretty-print.c (dump_function_header): Add flags. Don't dump decl_uid with nouid. * tree-pretty-print.h (dump_function_header): Adjust. * final.c (rest_of_clean_state): Pass dump_flags on, with nouid. * passes.c (pass_init_dump_file): Pass dump_flags on. * tree-cfg.c (gimple_dump_cfg): Pass flags on. From-SVN: r174698
Alexandre Oliva committed -
re PR bootstrap/49270 (make BOOT_CFLAGS="-g -O3" CFLAGS_FOR_TARGET="-g -O3" CXXFLAGS_FOR_TARGET="-g -O3" failure) PR bootstrap/49270 * ipa-inline-analysis.c (read_predicate): Initialize all clauses. From-SVN: r174697
Alexandre Oliva committed -
2011-06-06 Mikael Pettersson <mikpe@it.uu.se> PR tree-optimization/49243 * calls.c (setjmp_call_p): Also check if fndecl has the returns_twice attribute. * gcc.dg/pr49243.c: New. From-SVN: r174695
Mikael Pettersson committed -
PR preprocessor/48532 libcpp/ * directives.c (do_pragma): Don't forget the invocation location when parsing the pragma name of a namespaced pragma directive. gcc/testsuite/ * gcc.dg/cpp/pragma-3.c: New test case. From-SVN: r174694
Dodji Seketeli committed -
* gcc-interface/utils2.c (gnat_stabilize_reference): Propagate TREE_THIS_NOTRAP flag. From-SVN: r174693
Eric Botcazou committed -
From-SVN: r174692
Nick Clifton committed -
2011-06-03 Nick Clifton <nickc@redhat.com> Ben Elliston <bje@gnu.org> * config.sub (v850e1, v850es, v850e2, v850e2v3): New. 2011-05-30 Chris Metcalf <cmetcalf@tilera.com> Ben Elliston <bje@gnu.org> * config.guess (tile*:Linux:*:*): Use vendor "unknown", not "tilera", for consistency with other architectures. * config.sub (tile*-*, tilegx-*): Use a more general pattern for "tile" to allow matching tilepro, tilegx32 and other variants. From-SVN: r174691
Nick Clifton committed -
* gcc-interface/utils2.c (gnat_stabilize_reference) <COMPOUND_EXPR>: Fix thinko. From-SVN: r174690
Eric Botcazou committed -
trans.c (Identifier_to_gnu): Also handle deferred constants whose full view has discriminants specially. * gcc-interface/trans.c (Identifier_to_gnu): Also handle deferred constants whose full view has discriminants specially. From-SVN: r174689
Eric Botcazou committed -
* gcc-interface/utils.c: Include diagnostic.h. (gnat_write_global_declarations): Output debug information for all global type declarations before finalizing the compilation unit. * gcc-interface/Make-lang.in (ada/utils.o): Add dependency. From-SVN: r174687
Eric Botcazou committed -
gcc: * config/mips/iris6.h (ENDFILE_SPEC): Use crtfastmath.o if -ffast-math etc. libgcc: * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file. Add crtfastmath.o to extra_parts. (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of mips/t-crtfm. * config/mips/t-crtfm: Remove. From-SVN: r174686
Rainer Orth committed -
PR target/42210 * config/avr/predicates.md (const1_operand, const_0_to_7_operand): New predicates. * config/avr/avr.md ("insv"): New insn expander. ("*movbitqi.1-6.a", "*movbitqi.1-6.b", "*movbitqi.0", "*insv.io", "*insv.not.io", "*insv.reg"): New insns. Co-Authored-By: Georg-Johann Lay <avr@gjlay.de> From-SVN: r174685
Richard Henderson committed -
PR objc++/49221 * decl.c (cp_finish_decl): Check DECL_FUNCTION_SCOPE_P rather than at_function_scope_p. From-SVN: r174683
Jason Merrill committed -
PR c++/49134 * tree.c (build_target_expr): Deal with ARM ABI tweaks. From-SVN: r174682
Jason Merrill committed -
PR target/49285 * config/mmix/mmix.md ("truncdfsf2", "extendsfdf2"): Correct predicate to nonimmediate_operand from memory_operand for the operand that is to be forced to memory by the expander. Lose the constraints. From-SVN: r174681
Hans-Peter Nilsson committed -
From-SVN: r174679
Nenad Vukicevic committed -
From-SVN: r174678
GCC Administrator committed
-
- 05 Jun, 2011 10 commits
-
-
sparc.c (output_return): Fix thinko in the output of an EH return when delayed branches are disabled. * config/sparc/sparc.c (output_return): Fix thinko in the output of an EH return when delayed branches are disabled. From-SVN: r174670
Eric Botcazou committed -
* config/i386/i386.md (*movdf_internal_rex64) <case 8,9,10>: Remove MODE_TI handling. Remove SSE1 handling in attribute "mode" calculation. (*movdf_internal_rex64) <case 6,7,8>: Remove MODE_TI handling. Simplify MODE_V1DF and MODE_V2SF handling. (*movsf_internal): Remove x constraint from alternative 7 of operand 1. Simplify MODE_SF handling. From-SVN: r174664
Uros Bizjak committed -
2011-06-05 Tobias Burnus <burnus@net-b.de> PR fortran/49255 * trans-expr.c (gfc_conv_procedure_call): Fix -fcheck=pointer for F2008. 2011-06-05 Tobias Burnus <burnus@net-b.de> PR fortran/49255 * gfortran.dg/pointer_check_9.f90: New. * gfortran.dg/pointer_check_10.f90: New. From-SVN: r174663
Tobias Burnus committed -
From-SVN: r174662
H.J. Lu committed -
2011-06-05 Jonathan Wakely <jwakely.gcc@gmail.com> * include/bits/ptr_traits.h (pointer_traits): Fix typos. * include/ext/pointer.h (pointer_traits): Add partial specialization for _Pointer_adapter. From-SVN: r174661
Jonathan Wakely committed -
2011-06-05 Andreas Schmidt <andreas.schmidt.42@gmx.net> Thomas Koenig <tkoenig@gcc.gnu.org> * dump-parse-tree.c (show_symbol): Don't dump namespace for ENTRY to avoid infinite recursion. Co-Authored-By: Thomas Koenig <tkoenig@gcc.gnu.org> From-SVN: r174659
Andreas Schmidt committed -
Merge trunk into branch, part one. [[Split portion of a mixed commit.]] From-SVN: r174658.2
Jerry DeLisle committed -
In gcc/objc/: 2011-06-05 Nicola Pero <nicola.pero@meta-innovation.com> * objc-act.c (receiver_is_class_object): Expanded comment. (objc_finish_message_expr): Likewise. In gcc/testsuite/: 2011-06-05 Nicola Pero <nicola.pero@meta-innovation.com> PR testsuite/49287 * objc.dg/gnu-api-2-class.m: Updated testcase silencing compiler warning. * objc.dg/gnu-api-2-objc.m: Likewise. * obj-c++.dg/gnu-api-2-class.mm: Likewise * obj-c++.dg/gnu-api-2-objc.mm: Likewise. From-SVN: r174657
Nicola Pero committed -
In gcc/testsuite/: 2011-06-05 Nicola Pero <nicola.pero@meta-innovation.com> * objc.dg/gnu-api-2-objc.m: Fixed testcase. Use log2 of the alignment, not the alignment, when calling class_addIvar(). Add an 'isa' instance variable to the test root class. * obj-c++.dg/gnu-api-2-objc.mm: Likewise. From-SVN: r174656
Nicola Pero committed -
From-SVN: r174655
GCC Administrator committed
-