tests: fatal: make sure the illegal insn occupies a full word
... and is properly aligned. This may make a difference on 64-bit targets. Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
This commit is contained in:
parent
16d8ce519c
commit
af1510d3bb
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ void alt_thread1(void)
|
|||
* and xtensa
|
||||
*/
|
||||
{
|
||||
int illegal = 0;
|
||||
long illegal = 0;
|
||||
((void(*)(void))&illegal)();
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue