Patchwork [Fortran] PR 45742 Fix VOLATILE handling

login
register
mail settings
Submitter Tobias Burnus
Date Nov. 13, 2010, 5:25 p.m.
Message ID <4CDECA12.4080403@net-b.de>
Download mbox | patch
Permalink /patch/71061/
State New
Headers show

Comments

Tobias Burnus - Nov. 13, 2010, 5:25 p.m.
On November 13, 2010, Tobias Burnus wrote:
> On November 13, 2010, Tobias Burnus wrote:
>> This patch fixes two problems:  [...]
>
> I just saw that Jerry wrote an OK in IRC #gfortran. I thus have 
> submitted it to the trunk (Rev. 166701).

As spotted by SmatZ_ at #gcc: There was a copy-and-paste mistake in the 
clean-up of the dump in the testcase. Committed as Rev. 166702


> who now bootstraps the patch on 4.5.

Thanks for the review to Thomas and Steve. I have now commit the patch 
also to 4.5 and 4.4 as Revs. 166714 and 166715.

Tobias

PS: The fixup patch was:

Patch

Index: gcc/testsuite/ChangeLog
===================================================================
--- gcc/testsuite/ChangeLog     (Revision 166701)
+++ gcc/testsuite/ChangeLog     (Arbeitskopie)
@@ -1,6 +1,11 @@ 
  2010-11-13  Tobias Burnus <burnus@net-b.de>

         PR fortran/45742
+       * gfortran.dg/volatile12.f90: Use the right three in 
cleanup-tree-dump.
+
+2010-11-13  Tobias Burnus <burnus@net-b.de>
+
+       PR fortran/45742
         * gfortran.dg/volatile12.f90: New.

  2010-11-13  Paolo Bonzini <bonzini@gnu.org>
Index: gcc/testsuite/gfortran.dg/volatile12.f90
===================================================================
--- gcc/testsuite/gfortran.dg/volatile12.f90    (Revision 166701)
+++ gcc/testsuite/gfortran.dg/volatile12.f90    (Arbeitskopie)
@@ -12,5 +12,5 @@ 
  ! { dg-final { scan-tree-dump "integer.kind=.. . volatile arg" 
"optimized" } }
  ! { dg-final { scan-tree-dump-times " =.v. arg;" 2 "optimized" } }
  ! { dg-final { scan-tree-dump "i_dont_exist" "optimized" } }
-! { dg-final { cleanup-tree-dump "original" } }
+! { dg-final { cleanup-tree-dump "optimized" } }