From f4c3933e3beeffb18e86f5ad106b32ebc87d0697 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Thu, 22 Jun 2017 13:28:22 +0200 Subject: [PATCH] Backport r247485 2017-06-22 Martin Liska Backport from mainline 2017-05-02 Martin Liska PR other/80589 * common.opt: Fix typo. * doc/invoke.texi: Likewise. From-SVN: r249532 --- gcc/ChangeLog | 9 +++++++++ gcc/common.opt | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6180e73e5e42..bd8663a105ba 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2017-06-22 Martin Liska + + Backport from mainline + 2017-05-02 Martin Liska + + PR other/80589 + * common.opt: Fix typo. + * doc/invoke.texi: Likewise. + 2017-06-22 Martin Liska Backport from mainline diff --git a/gcc/common.opt b/gcc/common.opt index 429811e585cf..ac6546c24a34 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -2273,7 +2273,7 @@ flow and turn the statement with erroneous or undefined behavior into a trap. fisolate-erroneous-paths-attribute Common Report Var(flag_isolate_erroneous_paths_attribute) Optimization -Detect paths that trigger erroneous or undefined behavior due a null value +Detect paths that trigger erroneous or undefined behavior due to a null value being used in a way forbidden by a returns_nonnull or nonnull attribute. Isolate those paths from the main control flow and turn the statement with erroneous or undefined behavior into a trap. -- 2.47.2