opts.c (finish_options): Remove duplicate sorry.
authorAldy Hernandez <aldyh@redhat.com>
Wed, 4 Jan 2012 14:58:56 +0000 (14:58 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Wed, 4 Jan 2012 14:58:56 +0000 (14:58 +0000)
        * opts.c (finish_options): Remove duplicate sorry.

From-SVN: r182878

gcc/ChangeLog
gcc/opts.c

index d01b88deeb425c5aaf9a409b75aede488757d2be..961f895fe8254640bc032d02510727ca270bfa91 100644 (file)
@@ -1,9 +1,6 @@
 2012-01-04  Aldy Hernandez  <aldyh@redhat.com>
 
-       PR middle-end/51212
-       * opts.c (finish_options): Sorry out when using transactional
-       memory and non-call exceptions.
-       * doc/invoke.texi (C Dialect Options): Document it.
+       * opts.c (finish_options): Remove duplicate sorry.
 
 2012-01-04  Aldy Hernandez  <aldyh@redhat.com>
 
index 121cf69304b06a0d03df8cc3debb7a6a1353f3d5..2ed556030eb26f4fffca3324f9e2d97ed1898cb0 100644 (file)
@@ -666,9 +666,6 @@ finish_options (struct gcc_options *opts, struct gcc_options *opts_set,
   if (opts->x_flag_tm && opts->x_flag_non_call_exceptions)
     sorry ("transactional memory is not supported with non-call exceptions");
 
-  if (opts->x_flag_tm && opts->x_flag_non_call_exceptions)
-    sorry ("transactional memory is not supported with non-call exceptions");
-
   /* -Wmissing-noreturn is alias for -Wsuggest-attribute=noreturn.  */
   if (opts->x_warn_missing_noreturn)
     opts->x_warn_suggest_attribute_noreturn = true;