re PR target/65495 (ICE: chkp_make_addressed_object_bounds: Unexpected tree code...
authorIlya Enkovich <ilya.enkovich@intel.com>
Fri, 27 Mar 2015 10:29:04 +0000 (10:29 +0000)
committerIlya Enkovich <ienkovich@gcc.gnu.org>
Fri, 27 Mar 2015 10:29:04 +0000 (10:29 +0000)
PR target/65495
* c-family/c.opt (fcheck-pointer-bounds): List supported languages.
(fchkp-check-incomplete-type): Add LTO.
(fchkp-zero-input-bounds-for-main): Likewise.
(fchkp-first-field-has-own-bounds): Likewise.
(fchkp-narrow-bounds): Likewise.
(fchkp-narrow-to-innermost-array): Likewise.
(fchkp-use-static-bounds): Likewise.
(fchkp-use-static-const-bounds): Likewise.
(fchkp-treat-zero-dynamic-size-as-infinite): Likewise.

From-SVN: r221725

gcc/ChangeLog
gcc/c-family/c.opt

index 26a846e1dff3b9a02ed4b0cacf08822f5955edfb..1f6644d5863599b2408794ffe6bf9dbe8ab3ff99 100644 (file)
@@ -1,3 +1,16 @@
+2015-03-27  Ilya Enkovich  <ilya.enkovich@intel.com>
+
+       PR target/65495
+       * c-family/c.opt (fcheck-pointer-bounds): List supported languages.
+       (fchkp-check-incomplete-type): Add LTO.
+       (fchkp-zero-input-bounds-for-main): Likewise.
+       (fchkp-first-field-has-own-bounds): Likewise.
+       (fchkp-narrow-bounds): Likewise.
+       (fchkp-narrow-to-innermost-array): Likewise.
+       (fchkp-use-static-bounds): Likewise.
+       (fchkp-use-static-const-bounds): Likewise.
+       (fchkp-treat-zero-dynamic-size-as-infinite): Likewise.
+
 2015-03-27  Marek Polacek  <polacek@redhat.com>
 
        * gimple-iterator.h (gsi_prev_nondebug): Fix typo.
index 2692fb50851922d2c613d750b3f2f1b2602c6b28..983f4a8b94351ea7076023f2effe27ead8212e67 100644 (file)
@@ -964,32 +964,32 @@ C ObjC C++ ObjC++
 Where shorter, use canonicalized paths to systems headers.
 
 fcheck-pointer-bounds
-Common Report Var(flag_check_pointer_bounds)
+C ObjC C++ ObjC++ LTO Report Var(flag_check_pointer_bounds)
 Add Pointer Bounds Checker instrumentation.  fchkp-* flags are used to
 control instrumentation.  Currently available for C, C++ and ObjC.
 
 fchkp-check-incomplete-type
-C ObjC C++ ObjC++ Report Var(flag_chkp_incomplete_type) Init(1)
+C ObjC C++ ObjC++ LTO Report Var(flag_chkp_incomplete_type) Init(1)
 Generate pointer bounds checks for variables with incomplete type
 
 fchkp-zero-input-bounds-for-main
-C ObjC C++ ObjC++ Report Var(flag_chkp_zero_input_bounds_for_main) Init(0)
+C ObjC C++ ObjC++ LTO Report Var(flag_chkp_zero_input_bounds_for_main) Init(0)
 Use zero bounds for all incoming arguments in 'main' function.  It helps when
 instrumented binaries are used with legacy libs.
 
 fchkp-first-field-has-own-bounds
-C ObjC C++ ObjC++ RejectNegative Report Var(flag_chkp_first_field_has_own_bounds)
+C ObjC C++ ObjC++ LTO RejectNegative Report Var(flag_chkp_first_field_has_own_bounds)
 Forces Pointer Bounds Checker to use narrowed bounds for address of the first
 field in the structure.  By default pointer to the first field has the same
 bounds as pointer to the whole structure.
 
 fchkp-narrow-bounds
-C ObjC C++ ObjC++ Report Var(flag_chkp_narrow_bounds) Init(1)
+C ObjC C++ ObjC++ LTO Report Var(flag_chkp_narrow_bounds) Init(1)
 Control how Pointer Bounds Checker handle pointers to object fields.  When
 narrowing is on, field bounds are used.  Otherwise full object bounds are used.
 
 fchkp-narrow-to-innermost-array
-C ObjC C++ ObjC++ RejectNegative Report Var(flag_chkp_narrow_to_innermost_arrray)
+C ObjC C++ ObjC++ LTO RejectNegative Report Var(flag_chkp_narrow_to_innermost_arrray)
 Forces Pointer Bounds Checker to use bounds of the innermost arrays in case of
 nested static arryas access.  By default outermost array is used.
 
@@ -1007,17 +1007,17 @@ C ObjC C++ ObjC++ LTO Report Var(flag_chkp_use_nochk_string_functions) Init(0)
 Allow to use *_nochk versions of string functions by Pointer Bounds Checker.
 
 fchkp-use-static-bounds
-C ObjC C++ ObjC++ Report Var(flag_chkp_use_static_bounds) Init(1)
+C ObjC C++ ObjC++ LTO Report Var(flag_chkp_use_static_bounds) Init(1)
 Use statically initialized variable for vars bounds instead of
 generating them each time it is required.
 
 fchkp-use-static-const-bounds
-C ObjC C++ ObjC++ Report Var(flag_chkp_use_static_const_bounds) Init(-1)
+C ObjC C++ ObjC++ LTO Report Var(flag_chkp_use_static_const_bounds) Init(-1)
 Use statically initialized variable for constant bounds instead of
 generating them each time it is required.
 
 fchkp-treat-zero-dynamic-size-as-infinite
-C ObjC C++ ObjC++ Report Var(flag_chkp_zero_dynamic_size_as_infinite) Init(0)
+C ObjC C++ ObjC++ LTO Report Var(flag_chkp_zero_dynamic_size_as_infinite) Init(0)
 With this option zero size obtained dynamically for objects with
 incomplete type will be treated as infinite.