Changeset 41455a22 in mainline for uspace/app/tester/fault/fault2.c


Ignore:
Timestamp:
2012-04-07T17:56:35Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
44c1a48, f3378ba
Parents:
6bb169b5 (diff), 88d5c1e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge GCC 4.7.0 bump and related changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/fault/fault2.c

    r6bb169b5 r41455a22  
    3535const char *test_fault2(void)
    3636{
    37         volatile long long var;
    38         volatile int var1;
    39        
    40         var1 = *((aliasing_int *) (((char *) (&var)) + 1));
     37        volatile long long var = 0;
     38        volatile int var1 = *((aliasing_int *) (((char *) (&var)) + 1));
    4139        printf("Read %d\n", var1);
    4240       
Note: See TracChangeset for help on using the changeset viewer.