- 11 Dec, 2012 24 commits
-
-
config/ PR sanitizer/55533 * libstdc++-raw-cxx.m4: New file. libsanitizer/ PR sanitizer/55533 * Makefile.am (AM_MAKEFLAGS): Remove CC and CXX. * configure.ac (GCC_LIBSTDCXX_RAW_CXX_FLAGS): New. * asan/Makefile.am (AM_CXXFLAGS): Add $(LIBSTDCXX_RAW_CXX_CXXFLAGS). (AM_MAKEFLAGS): Remove CC and CXX. * interception/Makefile.am: Likewise. * sanitizer_common/Makefile.am: Likewise. * tsan/Makefile.am: Likewise. * Makefile.in: Regenerated. * aclocal.m4: Likewise. * configure: Likewise. * asan/Makefile.in: Likewise. * interception/Makefile.in: Likewise. * sanitizer_common/Makefile.in: Likewise. * tsan/Makefile.in: Likewise. From-SVN: r194424
H.J. Lu committed -
2012-12-11 Marc Glisse <marc.glisse@inria.fr> PR c++/53094 cp/ * tree.c (cp_tree_equal): Handle VECTOR_CST. * semantics.c (cxx_eval_bare_aggregate): Protect a dereference. Handle VECTOR_CST. testsuite/ * g++.dg/cpp0x/constexpr-53094-1.C: New testcase. * g++.dg/cpp0x/constexpr-53094-2.C: Likewise. * g++.dg/cpp0x/constexpr-53094-3.C: Likewise. From-SVN: r194421
Marc Glisse committed -
re PR c++/55643 ([C++11] incorrect "warning: variable ‘myVar’ set but not used" with an "enum class"-typed variable is casted to double for the use) PR c++/55643 * expr.c (mark_exp_read): Handle FLOAT_EXPR similarly to NOP_EXPR. * g++.dg/warn/Wunused-var-19.C: New test. From-SVN: r194415
Jakub Jelinek committed -
From-SVN: r194414
Jakub Jelinek committed -
PR bootstrap/54926 * Makefile.am (AM_CFLAGS): Remove -frandom-seed=$@. * configure.ac: If --with-target-subdir, add -frandom-seed=$@ to EXTRA_FLAGS unconditionally, otherwise check whether the compiler accepts it. * Makefile.in: Regenerated. * configure: Regenerated. From-SVN: r194412
Jakub Jelinek committed -
PR target/54121 * config/sparc/sparc.md (tldo_stb_sp32): Fix pasto. (tldo_stb_sp64): Likewise. (tldo_sth_sp32): Likewise. (tldo_sth_sp64): Likewise. (tldo_stw_sp32): Likewise. (tldo_stw_sp64): Likewise. (tldo_stx_sp64): Likewise. From-SVN: r194410
Eric Botcazou committed -
PR c++/54416 * pt.c (maybe_process_partial_specialization): Don't accept definition of a specialization without the appropriate header. From-SVN: r194408
Jason Merrill committed -
From-SVN: r194407
Jason Merrill committed -
PR rtl-optimization/55193 * lra-constraints.c (loc_equivalence_callback): New function. (lra_constraints): Call simplify_replace_fn_rtx instead of loc_equivalence_change_p on DEBUG_INSNs. From-SVN: r194405
Jakub Jelinek committed -
PR c++/55619 * semantics.c (finish_asm_stmt): Don't call decay_conversion on input operands that can be only in memory. * g++.dg/ext/asm12.C: New test. From-SVN: r194404
Jakub Jelinek committed -
PR tree-optimization/54570 * gcc.dg/builtin-object-size-8.c: Xfail. * gcc.dg/builtin-object-size-13.c: New test. From-SVN: r194401
Jakub Jelinek committed -
re PR target/55642 (Invalid thumb code generated ("thumb conditional instruction should be in IT block")) gcc/ChangeLog 2012-12-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com> PR target/55642 * config/arm/thumb2.md (*thumb2_abssi2): Set ce_count attribute to 2. (*thumb2_neg_abssi2): Likewise. gcc/testsuite/ChangeLog 2012-12-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com> PR target/55642 * gcc.target/arm/pr55642.c: New testcase. From-SVN: r194398
Kyrylo Tkachov committed -
* varasm.c (get_variable_section): Don't return lcomm_section for asan_protect_global decls. * asan.c (asan_protect_global): Only avoid public common variables. Don't call get_variable_section here. From-SVN: r194393
Jakub Jelinek committed -
re PR middle-end/43631 (var-tracking inserts notes with non-NULL BLOCK_FOR_INSN in between basic blocks) PR middle-end/43631 PR bootstrap/55615 * var-tracking.c (emit_note_insn_var_location): If insn is followed by BARRIER, put note after the BARRIER. (next_non_note_insn_var_location): Skip over BARRIERs. (emit_notes_in_bb): If call is followed by BARRIER, put note after the BARRIER. * g++.dg/other/pr43631.C: New test. From-SVN: r194392
Jakub Jelinek committed -
* sanitizer.def: Add comment about importance of ordering of BUILT_IN_ASAN_REPORT* builtins. * cfgcleanup.c (old_insns_match_p): Don't cross-jump __asan_report_* builtins. From-SVN: r194391
Jakub Jelinek committed -
* sanitizer.def (BUILT_IN_ASAN_HANDLE_NO_RETURN): New builtin. * asan.c (instrument_builtin_call): Change is_gimple_builtin_call gcc_assert to gcc_checking_assert. (maybe_instrument_call): Imit __builtin___asan_handle_no_return () before noreturn calls other than __builtin_trap () and __builtin_unreachable (). * c-c++-common/asan/clone-test-1.c: Remove bogus dg-shouldfail. From-SVN: r194390
Jakub Jelinek committed -
2012-12-11 Richard Biener <rguenther@suse.de> PR other/54324 * doc/install.texi (Tools/packages necessary for building GCC): State ISO C++98 host compiler requirement. Increment minimum GCC version required for building all languages for a cross-compiler to 3.4 or later. From-SVN: r194389
Richard Biener committed -
2012-12-11 Richard Biener <rguenther@suse.de> PR tree-optimization/55079 * tree-vrp.c (extract_range_from_binary_expr_1): Handle MAX/MIN_EXPR for more cases. (register_edge_assert_for_2): Register asserts for post-in/decrement tests. (check_array_ref): Dump what expression we emit array bound warnings for. (search_for_addr_array): Likewise. * gcc.dg/Warray-bounds-9.c: New testcase. * gcc.dg/Warray-bounds-10.c: Likewise. * gcc.dg/tree-ssa/ssa-pre-1.c: Adjust. From-SVN: r194388
Richard Biener committed -
* tree-ssa-loop-ivopts.c (prepare_decl_rtl) <ADDR_EXPR>: Generate RTL only for a DECL which HAS_RTL_P. From-SVN: r194387
Eric Botcazou committed -
From-SVN: r194386
Uros Bizjak committed -
2012-12-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/s390/predicates.md ("execute_operation"): New predicate. * config/s390/s390.md ("*execute_rl", "*execute"): Use the new predicate. From-SVN: r194385
Andreas Krebbel committed -
From-SVN: r194384
Eric Botcazou committed -
2012-12-10 Benjamin Kosnik <bkoz@redhat.com> * doc/Makefile.am (xml_sources_manual): Add policy_data_structures_biblio.xml. (${docbook_outdir}/latex): Add. (doc-xml-validate-docbook): Split into.. (doc-xml-validate-dtd-db):... this for DTD. (doc-xml-validate-rng-db):... this for Relax NG. (doc-pdf-docbook-dirs): Add. (doc-pdf-docbook-pre): Add. * doc/xml/manual/build_hacking.xml: Add literal markup. * doc/xml/manual/documentation_hacking.xml: Clean whitespace in <filename> markup. Add notes about debugging the generation process. * doc/xml/manual/policy_data_structures.xml: Split biblio into... * doc/xml/manual/policy_data_structures_biblio.xml: ... this. New. * doc/xml/manual/test_policy_data_structures.xml: Fixup <filename> markup. From-SVN: r194379
Benjamin Kosnik committed -
From-SVN: r194378
GCC Administrator committed
-
- 10 Dec, 2012 16 commits
-
-
2012-12-10 Janus Weil <janus@gcc.gnu.org> PR fortran/52909 * trans-decl.c (get_proc_pointer_decl): Apply name mangling. 2012-12-10 Janus Weil <janus@gcc.gnu.org> PR fortran/52909 * gfortran.dg/proc_ptr_39.f90: New test case. From-SVN: r194375
Janus Weil committed -
From-SVN: r194374
Xinliang David Li committed -
2012-12-10 Steve Ellcey <sellcey@mips.com> * config/mips/gnu-user.h (NO_SHARED_SPECS): Add space before option. From-SVN: r194373
Steve Ellcey committed -
2012-12-10 Steve Ellcey <sellcey@mips.com> PR target/54061 rtl.h (IGNORED_DWARF_REGNUM): New. * dwarf2out.c (reg_loc_descriptor): Check for IGNORED_DWARF_REGNUM. (mem_loc_descriptor): Ditto. * config/mips/mips.h (ALL_COP_REG_FIRST): New. (ALL_COP_REG_LAST): New. (ALL_COP_REG_NUM): Redefine using above macros. * config/mips/mips.c (mips_option_override): Set mips_dbx_regno coprocessor entries to IGNORED_DWARF_REGNUM. From-SVN: r194372
Steve Ellcey committed -
gcc/testsuite/ * gcc.target/mips/octeon-bbit-2.c: Restructure loops so that no code duplication is required. Allow BNE to appear. From-SVN: r194370
Richard Sandiford committed -
* Make-lang.in (cp/typeck.o): Add dependency on $(PARAMS_H). (cp/name-lookup.o): Likewise. From-SVN: r194369
Eric Botcazou committed -
gcc/testsuite/ * gcc.target/mips/ext-2.c: Require -mlong64. From-SVN: r194368
Richard Sandiford committed -
From-SVN: r194364
Sriraman Tallam committed -
From-SVN: r194363
Steven Bosscher committed -
PR lto/55466 * lto-symtab.c (lto_symtab_merge_decls_1): Don't record the prevailing variable. * lto.c (lto_register_var_decl_in_symtab): Don't record static variables. (lto_main): Record the global variables if WPA isn't enabled. From-SVN: r194359
H.J. Lu committed -
2012-12-10 Richard Biener <rguenther@suse.de> PR tree-optimization/55107 * tree-ssa-pre.c (struct pre_stats): Remove constified field. (bitmap_set_replace_value): Add gcc_unreachable. (do_regular_insertion): Re-write all_same handling. Insert an assignment instead of a PHI in this case. (eliminate_bb): Record availability also for SSA names defined by a constant. (do_pre): Do not record constified events. (execute_fre): Likewise. * gcc.dg/torture/pr55107.c: New testcase. * gcc.dg/tree-ssa/ssa-pre-5.c: Adjust. From-SVN: r194358
Richard Biener committed -
2012-12-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/spu/spu.md: Replace "operands" with "operands != NULL" in insn conditions. From-SVN: r194357
Andreas Krebbel committed -
* g++.dg/asan/asan_test.cc: Sync from upstream. * g++.dg/asan/asan_test_utils.h: Likewise. From-SVN: r194356
Jakub Jelinek committed -
* asan.c (asan_init_shadow_ptr_types): Move earlier in the file. Call initialize_sanitizer_builtins at the end. (asan_pp_string): Use TREE_TYPE (shadow_ptr_types[0]) as character type instead of char_type_node. (asan_emit_stack_protection): Call asan_init_shadow_ptr_types if shadow_ptr_types isn't initialized. (asan_protect_global): Return true for STRING_CSTs except those created by asan_pp_string. (count_string_csts, add_string_csts): New functions. (struct asan_add_string_csts_data): New type. (asan_finish_file): Clear flag_asan at the beginning, restore at the end. Traverse constant_pool_htab () to look for protected STRING_CSTs. Don't call initialize_sanitizer_builtins, instead call asan_init_shadow_ptr_types if shadow_ptr_types isn't initialized yet. (asan_instrument): Don't call initialize_sanitizer_builtins. * varasm.c (output_constant_def_contents): If STRING_CST should be asan protected, align it sufficiently and emit padding after it. (categorize_decl_for_section): If flag_asan, don't put STRING_CSTs that should be asan protected into mergeable sections. For -fmerge-all-constants, ignore it for -fmudflap or if decl is asan protected. From-SVN: r194355
Jakub Jelinek committed -
gcc/ChangeLog 2012-12-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * config/arm/neon.ml (opcode): Add Vrintn, Vrinta, Vrintp, Vrintm, Vrintz to type. (type features): Add Requires_arch type constructor. (ops): Define Vrintn, Vrinta, Vrintp, Vrintm, Vrintz features. * config/arm/neon-docgen.ml (intrinsic_groups): Define Vrintn, Vrinta, Vrintp, Vrintm, Vrintz, Vrintx. * config/arm/neon-testgen.ml (effective_target): Define check for Requires_arch 8. * config/arm/neon-gen.ml (print_feature_test_start): Handle Requires_arch. (print_feature_test_end): Likewise. Add 2012 to Copyright notice. * doc/arm-neon-intrinsics.texi: Regenerate. * config/arm/arm_neon.h: Regenerate. gcc/testsuite/ChangeLog 2012-12-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * gcc.target/arm/neon/vrndaf32.c: New test. * gcc.target/arm/neon/vrndqaf32.c: Likewise. * gcc.target/arm/neon/vrndf32.c: Likewise. * gcc.target/arm/neon/vrndqf32.c: Likewise. * gcc.target/arm/neon/vrndmf32.c: Likewise. * gcc.target/arm/neon/vrndqmf32.c: Likewise. * gcc.target/arm/neon/vrndnf32.c: Likewise. * gcc.target/arm/neon/vrndqnf32.c: Likewise. * gcc.target/arm/neon/vrndpf32.c: Likewise. * gcc.target/arm/neon/vrndqpf32.c: Likewise. From-SVN: r194353
Kyrylo Tkachov committed -
From-SVN: r194351
Kai Tietz committed
-