- 02 Dec, 2013 9 commits
-
-
2013-12-02 Marek Polacek <polacek@redhat.com> testsuite/ * c-c++-common/ubsan/vla-1.c: Split the tests into individual functions. From-SVN: r205590
Marek Polacek committed -
re PR tree-optimization/59139 (internal compiler error: in get_val_for, at tree-ssa-loop-niter.c:2267) 2013-12-02 Richard Biener <rguenther@suse.de> PR tree-optimization/59139 * tree-ssa-loop-niter.c (chain_of_csts_start): Properly match code in get_val_for. (get_val_for): Use gcc_checking_asserts. * gcc.dg/torture/pr59139.c: New testcase. From-SVN: r205588
Richard Biener committed -
2013-12-02 Richard Biener <rguenther@suse.de> * tree-ssa-operands.c (opf_implicit): Remove. (opf_address_taken): New flag. (get_expr_operands): Remove early out, pass down opf_address_taken for ADDR_EXPRs, add a use operand only for non-opf_address_taken bases. (get_indirect_ref_operands): Rename to ... (get_mem_ref_operands): ... this. (get_asm_expr_operands): Rename to ... (get_asm_stmt_operands): ... this. From-SVN: r205587
Richard Biener committed -
2013-12-02 Yuri Rumyantsev <ysrumyan@gmail.com> * ipa-inline.c (check_callers): Add missed pointer de-reference. From-SVN: r205586
Yuri Rumyantsev committed -
PR tree-optimization/59356 * tree-dfa.h (get_addr_base_and_unit_offset_1) <case ARRAY_REF>: Do the offset computation using the precision of the index type. From-SVN: r205585
Eric Botcazou committed -
* gcc/ChangeLog: Fix ChangeLog entry. From-SVN: r205582
Yvan Roux committed -
2013-12-02 Yvan Roux <yvan.roux@linaro.org> * config/arm/arm.c (arm_preferred_reload_class): Only return LO_REGS when rclass is GENERAL_REGS. From-SVN: r205581
Yvan Roux committed -
From-SVN: r205580
Ganesh Gopalasubramanian committed -
From-SVN: r205578
GCC Administrator committed
-
- 01 Dec, 2013 8 commits
-
-
PR libfortran/59313 * intrinsics/erfc_scaled.c (erfc_scaled_r16): Also provide for quadruple precision long double variant. From-SVN: r205574
Uros Bizjak committed -
* config/i386/winnt.c (i386_pe_asm_named_section): Be prepared for an identifier node. From-SVN: r205568
Eric Botcazou committed -
re PR fortran/57354 (Wrong run-time assignment of allocatable array of derived type with allocatable component) 2013-12-01 Paul Thomas <pault@gcc.gnu.org> PR fortran/57354 * trans-array.c (gfc_conv_resolve_dependencies): For other than SS_SECTION, do a dependency check if the lhs is liable to be reallocated. 2013-12-01 Paul Thomas <pault@gcc.gnu.org> PR fortran/57354 * gfortran.dg/realloc_on_assign_23.f90 : New test From-SVN: r205567
Paul Thomas committed -
re PR fortran/58410 (Bogus uninitialized variable warning for allocatable derived type array function result) 2013-12-01 Paul Thomas <pault@gcc.gnu.org> PR fortran/58410 * trans-array.c (gfc_alloc_allocatable_for_assignment): Do not use the array bounds of an unallocated array but set its size to zero instead. From-SVN: r205566
Paul Thomas committed -
Index: gcc/fortran/resolve.c =================================================================== *** gcc/fortran/resolve.c (revision 205031) --- gcc/fortran/resolve.c (working copy) *************** resolve_transfer (gfc_code *code) *** 8247,8256 **** && exp->value.op.op == INTRINSIC_PARENTHESES) exp = exp->value.op.op1; ! if (exp && exp->expr_type == EXPR_NULL && exp->ts.type == BT_UNKNOWN) { ! gfc_error ("NULL intrinsic at %L in data transfer statement requires " ! "MOLD=", &exp->where); return; } --- 8247,8257 ---- && exp->value.op.op == INTRINSIC_PARENTHESES) exp = exp->value.op.op1; ! if (exp && exp->expr_type == EXPR_NULL ! && code->ext.dt) { ! gfc_error ("Invalid context for NULL () intrinsic at %L", ! &exp->where); return; } Index: gcc/testsuite/gfortran.dg/null_5.f90 =================================================================== *** gcc/testsuite/gfortran.dg/null_5.f90 (revision 205031) --- gcc/testsuite/gfortran.dg/null_5.f90 (working copy) *************** subroutine test_PR34547_1 () *** 34,40 **** end subroutine test_PR34547_1 subroutine test_PR34547_2 () ! print *, null () ! { dg-error "in data transfer statement requires MOLD" } end subroutine test_PR34547_2 subroutine test_PR34547_3 () --- 34,40 ---- end subroutine test_PR34547_1 subroutine test_PR34547_2 () ! print *, null () ! { dg-error "Invalid context" } end subroutine test_PR34547_2 subroutine test_PR34547_3 () Index: gcc/testsuite/gfortran.dg/null_6.f90 =================================================================== *** gcc/testsuite/gfortran.dg/null_6.f90 (revision 205031) --- gcc/testsuite/gfortran.dg/null_6.f90 (working copy) *************** end subroutine test_PR50375_2 *** 30,34 **** subroutine test_PR34547_3 () integer, allocatable :: i(:) ! print *, NULL(i) end subroutine test_PR34547_3 --- 30,34 ---- subroutine test_PR34547_3 () integer, allocatable :: i(:) ! print *, NULL(i) ! { dg-error "Invalid context for NULL" } end subroutine test_PR34547_3 From-SVN: r205565
Paul Thomas committed -
2013-12-01 Bernd Edlinger <bernd.edlinger@hotmail.de> * expr.c (emit_group_store): Corrected BITFIELD_END parameter. From-SVN: r205563
Bernd Edlinger committed -
Avoids hanging inside older versions of glibc that do not support recurive calls to dl_iterate_phdr. From-SVN: r205561
Ian Lance Taylor committed -
From-SVN: r205560
GCC Administrator committed
-
- 30 Nov, 2013 5 commits
-
-
From-SVN: r205555
Ian Lance Taylor committed -
When a 386 function returns a struct, it needs to return using an rtd instruction that pops the hidden struct parameter off the stack. That wasn't happening. From-SVN: r205551
Ian Lance Taylor committed -
combine.c (reg_nonzero_bits_for_combine): Apply mask transformation as applied to nonzero_sign_valid when... * combine.c (reg_nonzero_bits_for_combine): Apply mask transformation as applied to nonzero_sign_valid when last_set_mode has less precision than mode. Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com> From-SVN: r205550
Paulo Matos committed -
2013-11-30 Tobias Burnus <burnus@net-b.de> PR sanitizer/59275 * doc/invoke.texi (-fsanitize=address,leak): Mention the * associated environment variable and link to a list with flags. (-fsanitize=thread): Ditto and update link. From-SVN: r205548
Tobias Burnus committed -
From-SVN: r205547
GCC Administrator committed
-
- 29 Nov, 2013 18 commits
-
-
PR sanitizer/59331 cp/ * decl.c (compute_array_index_type): Don't build COMPOUND_EXPR for instrumentation. testsuite/ * g++.dg/ubsan/pr59331.C: New test. * g++.dg/ubsan/cxx1y-vla.C: Enable -Wall -Wno-unused-variable. Disable the -w option. * c-c++-common/ubsan/vla-1.c: Likewise. * c-c++-common/ubsan/vla-2.c: Likewise. * c-c++-common/ubsan/vla-3.c: Don't use the -w option. From-SVN: r205544
Marek Polacek committed -
PR c/42262 c: * c-typeck.c (process_init_element): Do not treat a string as initializing a whole array when used with a designator for an individual element. testsuite: * gcc.dg/c99-init-5.c, gcc.dg/c99-init-6.c: New tests. From-SVN: r205543
Joseph Myers committed -
* bootstrap-ubsan.mk (POSTSTAGE1_LDFLAGS): Remove -lpthread -ldl. Add -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/. From-SVN: r205542
Marek Polacek committed -
2013-11-29 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/59340 * lra.c (check_rtl): Use recog_memoized instead of insn_invalid_p. Revert 2013-11-20 Robert Suchanek <Robert.Suchanek@imgtec.com> * lra.c (lra): Set lra_in_progress before check_rtl call. * recog.c (insn_invalid_p): Add !lra_in_progress to prevent adding clobber regs when LRA is running. From-SVN: r205541
Vladimir Makarov committed -
* bootstrap-asan.mk (POSTSTAGE1_LDFLAGS): Add -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/. From-SVN: r205539
H.J. Lu committed -
From-SVN: r205538
H.J. Lu committed -
* lib/asan-dg.exp (asan_link_flags): Properly add path to libsanitizer.spec to cflags. From-SVN: r205537
H.J. Lu committed -
2013-11-29 Matthias Klose <doko@ubuntu.com> * testsuite/experimental/string_view/requirements/exception, testsuite/experimental/string_view/capacity/wchar_t, testsuite/experimental/string_view/capacity/char: Remove empty dirs. From-SVN: r205536
Matthias Klose committed -
2013-11-29 Matthias Klose <doko@ubuntu.com> * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c, native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c: Fix freetype includes. From-SVN: r205533
Matthias Klose committed -
PR ada/54040 PR ada/59346 * s-osinte-hpux.ads (timespec): Change type of tv_nsec field to time_t. * s-osinte-kfreebsd-gnu.ads (timespec): Likewise. * s-osinte-solaris-posix.ads (timespec): Likewise. From-SVN: r205532
Eric Botcazou committed -
From-SVN: r205531
Jan Hubicka committed -
From-SVN: r205530
Jan Hubicka committed -
2013-11-29 Kyrylo Tkachov <kyrylo.tkachov@arm.com> PR target/59289 * config/arm/arm.c (cortexa15_extra_costs): Adjust costs. From-SVN: r205529
Kyrylo Tkachov committed -
2013-11-29 Richard Biener <rguenther@suse.de> PR middle-end/59208 * tree-ssa-operands.h (fini_ssa_operands, verify_ssa_operands, free_stmt_operands, update_stmt_operands): Add struct function argument. * tree-ssa-operands.c: Remove uses of cfun, propagate struct function argument from fini_ssa_operands, verify_ssa_operands, free_stmt_operands and update_stmt_operands everywhere. * tree-ssanames.h (release_ssa_name_fn): New. (release_ssa_name): Inline wrapper around release_ssa_name_fn. * tree-ssanames.c (release_ssa_name): Rename to ... (release_ssa_name_fn): ... this and add struct function argument. * gimple-ssa.h (update_stmt, update_stmt_if_modified): Adjust. (update_stmt_fn): New function. * tree-cfg.c (move_block_to_fn): Adjust. * tree-if-conv.c (free_bb_predicate): Likewise. * tree-ssa.c (verify_ssa): Likewise. (delete_tree_ssa): Likewise. * gimple-pretty-print.c (dump_gimple_mem_ops): Remove guard. * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Call update_stmt_fn instead of update_stmt. * g++.dg/torture/pr59208.C: New testcase. From-SVN: r205528
Richard Biener committed -
2013-11-29 Yvan Roux <yvan.roux@linaro.org> * config/arm/arm.h (THUMB_SECONDARY_INPUT_RELOAD_CLASS): Return NO_REGS for LRA. From-SVN: r205527
Yvan Roux committed -
2013-11-29 Yvan Roux <yvan.roux@linaro.org> * config/arm/arm.md (store_minmaxsi): Use only when optimize_function_for_size_p. From-SVN: r205526
Yvan Roux committed -
PR c/59309 * cilk.c (gimplify_cilk_spawn): Properly handle function without arguments. From-SVN: r205525
H.J. Lu committed -
gcc/ 2013-11-29 Jakub Jelinek <jakub@redhat.com> Yury Gribov <y.gribov@samsung.com> PR sanitizer/59063 * config/gnu-user.h: Removed old code for setting up sanitizer libs. * gcc.c: Using libsanitizer spec instead of explicit libs. gcc/testsuite/ 2013-11-29 Jakub Jelinek <jakub@redhat.com> Yury Gribov <y.gribov@samsung.com> PR sanitizer/59063 * c-c++-common/asan/pr59063-1.c: New test. * c-c++-common/asan/pr59063-2.c: Likewise. * lib/asan-dg.exp: Add path to libsanitizer.spec to cflags. * lib/ubsan-dg.exp: Likewise. libsanitizer/ 2013-11-29 Jakub Jelinek <jakub@redhat.com> Yury Gribov <y.gribov@samsung.com> PR sanitizer/59063 * libsanitizer.spec.in: Add spec file to hold link flags for various sanitizer libs. * configure.ac: Check whether clock_* routines come from librt. * asan/Makefile.am (libasan_la_LDFLAGS): Libs now come from configure.ac. * tsan/Makefile.am (libtsan_la_LDFLAGS): Likewise. * ubsan/Makefile.am (libubsan_la_LDFLAGS): Likewise. * lsan/Makefile.am (liblsan_la_LDFLAGS): Likewise. * asan/Makefile.in: Regenerate. * interception/Makefile.in: Regenerate. * lsan/Makefile.in: Regenerate. * sanitizer_common/Makefile.in: Regenerate. * tsan/Makefile.in: Regenerate. * ubsan/Makefile.in: Regenerate. * Makefile.in: Regenerate. * configure: Regenerate. Co-Authored-By: Yury Gribov <y.gribov@samsung.com> From-SVN: r205524
Jakub Jelinek committed
-