Patchwork [trans-mem] verify_types_in_gimple_seq_2 glitch

login
register
mail settings
Submitter Patrick Marlier
Date July 29, 2011, 10:25 a.m.
Message ID <4E328A90.8020301@unine.ch>
Download mbox | patch
Permalink /patch/107363/
State New
Headers show

Comments

Patrick Marlier - July 29, 2011, 10:25 a.m.
In tree-cfg.c (line ~3921), there is a little glitch.

         default:

Patrick Marlier.
Aldy Hernandez - July 29, 2011, 11:14 a.m.
On 07/29/11 05:25, Patrick Marlier wrote:
> In tree-cfg.c (line ~3921), there is a little glitch.
>
> Index: tree-cfg.c
> ===================================================================
> --- tree-cfg.c (revision 176864)
> +++ tree-cfg.c (working copy)
> @@ -3918,7 +3918,7 @@
> break;
>
> case GIMPLE_TRANSACTION:
> - err |= verify_types_in_gimple_seq_2 (gimple_omp_body (stmt));
> + err |= verify_types_in_gimple_seq_2 (gimple_transaction_body (stmt));
> break;
>
> default:
>
> Patrick Marlier.

Have you tested this patch?

ChangeLog entry?
Patrick Marlier - July 29, 2011, 12:40 p.m.
Thanks to remind me (once again) the rules...

Bootstrapped and tested successfully with:
make check-gcc RUNTESTFLAGS=tm.exp

Changelog:
	* tree-cfg.c: Fix typo.

--
Patrick Marlier

On 07/29/2011 01:14 PM, Aldy Hernandez wrote:
> On 07/29/11 05:25, Patrick Marlier wrote:
>> In tree-cfg.c (line ~3921), there is a little glitch.
>>
>> Index: tree-cfg.c
>> ===================================================================
>> --- tree-cfg.c (revision 176864)
>> +++ tree-cfg.c (working copy)
>> @@ -3918,7 +3918,7 @@
>> break;
>>
>> case GIMPLE_TRANSACTION:
>> - err |= verify_types_in_gimple_seq_2 (gimple_omp_body (stmt));
>> + err |= verify_types_in_gimple_seq_2 (gimple_transaction_body (stmt));
>> break;
>>
>> default:
>>
>> Patrick Marlier.
>
> Have you tested this patch?
>
> ChangeLog entry?
Aldy Hernandez - July 29, 2011, 3:38 p.m.
On 07/29/11 07:40, Patrick Marlier wrote:
> Thanks to remind me (once again) the rules...
>
> Bootstrapped and tested successfully with:
> make check-gcc RUNTESTFLAGS=tm.exp

OK for branch.  Thanks.

Patch

Index: tree-cfg.c
===================================================================
--- tree-cfg.c  (revision 176864)
+++ tree-cfg.c  (working copy)
@@ -3918,7 +3918,7 @@ 
           break;

         case GIMPLE_TRANSACTION:
-         err |= verify_types_in_gimple_seq_2 (gimple_omp_body (stmt));
+         err |= verify_types_in_gimple_seq_2 (gimple_transaction_body 
(stmt));
           break;