blob: b9bfa3b3e2504c3a78cc01efe87def2cbaf0d506 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/*
bug-3178.c
a bug in peephole optimizer helper function that affects empty functions
with function arguments when compiled with#
--opt-code-size --reserve-regs-iy and targeting z80 or z180.
*/
#include <testfwk.h>
#pragma opt_code_size
#pragma disable_warning 85
static void L (char c) { } // Bug messed up stack frame here.
void
testBug (void)
{
L('L');
ASSERT (1);
}
|