Changeset 5cde90f in mainline for uspace/app/tester/fault/fault2.c
- Timestamp:
- 2010-02-19T17:16:46Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 617652f
- Parents:
- b86d436 (diff), f41aa81 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/fault/fault2.c
rb86d436 r5cde90f 30 30 #include "../tester.h" 31 31 32 typedef int __attribute__((may_alias)) aliasing_int; 33 32 34 char *test_fault2(void) 33 35 { … … 35 37 volatile int var1; 36 38 37 var1 = *(( int *) (((char *) (&var)) + 1));39 var1 = *((aliasing_int *) (((char *) (&var)) + 1)); 38 40 39 41 return "Survived unaligned read";
Note:
See TracChangeset
for help on using the changeset viewer.