https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94340

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|9.4                         |8.5
                 CC|                            |aoliva at gcc dot gnu.org
            Summary|[9/10 Regression]           |[8/9/10 Regression]
                   |-fcompare-debug -O failure  |-fcompare-debug -O failure
                   |on cpp1z/nodiscard3.C       |on cpp1z/nodiscard3.C

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Though, with
--- nodiscard3.C.jj     2020-01-21 04:33:32.000000000 -0500
+++ nodiscard3.C        2020-03-26 06:35:24.000000000 -0400
@@ -195,7 +195,10 @@ test (void)
     return;
   if (check12 ().i)
     return;
-  if (({ check12 (); }).i)
+  if (
+      ({
+         check12 ();
+       }).i)
     return;
   check12 ();          /* { dg-warning "nodiscard" } */
   (void) check12 ();
change so that the different tokens are on different lines it started already
with the expected
r8-5241-g8697bf9f46f36168ddba5752db582e673e3cbe8c

Reply via email to