From ebfe00ba48de30f5cc811dddb713dd6afa495ff1 Mon Sep 17 00:00:00 2001 From: asvitkine <> Date: Wed, 10 Mar 2010 01:05:49 +0000 Subject: [PATCH] =?UTF-8?q?[Amadeusz=20S=C3=85=C2=82awi=C3=85=C2=84ski]=20?= =?UTF-8?q?fix=20check=20on=20gcc=204.4.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BasiliskII/src/Unix/sigsegv.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BasiliskII/src/Unix/sigsegv.cpp b/BasiliskII/src/Unix/sigsegv.cpp index 53d511c0..dafbefc1 100644 --- a/BasiliskII/src/Unix/sigsegv.cpp +++ b/BasiliskII/src/Unix/sigsegv.cpp @@ -3282,9 +3282,9 @@ int main(void) * (or bug'ous enough?) to optimize the labels and place them * e.g. at the "main" entry point, which is wrong. */ - volatile int label_hack = 1; + volatile int label_hack = 3; switch (label_hack) { - case 1: + case 3: L_b_region1: page[REF_INDEX] = REF_VALUE; if (page[REF_INDEX] != REF_VALUE) @@ -3328,7 +3328,7 @@ int main(void) e_region = &&L_e_region2; #endif switch (label_hack) { - case 1: + case 3: L_b_region2: TEST_SKIP_INSTRUCTION(unsigned char); TEST_SKIP_INSTRUCTION(unsigned short);