Small ChangeLog tweak.
[official-gcc.git] / gcc / testsuite / gcc.dg / sso / t4.c
blob56e4581fd2c5636a29c7ec70449348717a8560fa
1 /* { dg-do run } */
3 #include <stdio.h>
5 #include "init4.h"
6 #include "dump.h"
8 int main (void)
10 struct R1 Local_R1;
11 struct R2 Local_R2;
13 Local_R1.F = My_R1.F + 1.0f;
15 put ("Local_R1 :");
16 dump (&Local_R1, sizeof (struct R1));
17 new_line ();
18 /* { dg-output "Local_R1 : ee 87 84 40.*\n" } */
20 Local_R2.F = My_R2.F + 1.0f;
22 put ("Local_R2 :");
23 dump (&Local_R2, sizeof (struct R2));
24 new_line ();
25 /* { dg-output "Local_R2 : 40 84 87 ee.*\n" } */
27 Local_R1.F = Pi;
29 put ("Local_R1 :");
30 dump (&Local_R1, sizeof (struct R1));
31 new_line ();
32 /* { dg-output "Local_R1 : db 0f 49 40.*\n" } */
34 Local_R2.F = Pi;
36 put ("Local_R2 :");
37 dump (&Local_R2, sizeof (struct R2));
38 new_line ();
39 /* { dg-output "Local_R2 : 40 49 0f db.*\n" } */
41 Local_R1.F = Local_R1.F + 1.0f;
43 put ("Local_R1 :");
44 dump (&Local_R1, sizeof (struct R1));
45 new_line ();
46 /* { dg-output "Local_R1 : ee 87 84 40.*\n" } */
48 Local_R2.F = Local_R2.F + 1.0f;
50 put ("Local_R2 :");
51 dump (&Local_R2, sizeof (struct R2));
52 new_line ();
53 /* { dg-output "Local_R2 : 40 84 87 ee.*\n" } */
55 new_line ();
56 return 0;