Patchwork Fix gnat.dg/renaming5.adb regression

login
register
mail settings
Submitter Eric Botcazou
Date May 26, 2012, 11:43 a.m.
Message ID <201205261343.36698.ebotcazou@adacore.com>
Download mbox | patch
Permalink /patch/161479/
State New
Headers show

Comments

Eric Botcazou - May 26, 2012, 11:43 a.m.
There is one more goto in the .optimized dump because the latch of a loop is 
now preserved.

Tested on i586-suse-linux, applied on the mainline.


2012-05-26  Eric Botcazou  <ebotcazou@adacore.com>

	* gnat.dg/renaming5.adb: Adjust dg-final directive.

Patch

Index: gnat.dg/renaming5.adb
===================================================================
--- gnat.dg/renaming5.adb	(revision 187833)
+++ gnat.dg/renaming5.adb	(working copy)
@@ -26,5 +26,5 @@  package body Renaming5 is
 
 end Renaming5;
 
--- { dg-final { scan-tree-dump-times "goto" 2 "optimized" } }
+-- { dg-final { scan-tree-dump-times "goto" 3 "optimized" } }
 -- { dg-final { cleanup-tree-dump "optimized" } }