aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2010-01-03 15:12:00 -0500
committerKevin O'Connor <kevin@koconnor.net>2010-01-03 15:12:00 -0500
commit8918989ec2b60a38305d3c91d7ab600db0eb7593 (patch)
tree15ac719539136eee11ddcdb3d2b5a0ec9d5c3df0
parentc9d3c2d1c451bcfdf157b6447b6c1008f27a1e34 (diff)
downloadseabios-8918989ec2b60a38305d3c91d7ab600db0eb7593.zip
seabios-8918989ec2b60a38305d3c91d7ab600db0eb7593.tar.gz
seabios-8918989ec2b60a38305d3c91d7ab600db0eb7593.tar.bz2
Detect latest FC12 gcc -combine breakage.
Now, assigning a value to a global is needed to triger ICE.
-rwxr-xr-xtools/test-gcc.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/test-gcc.sh b/tools/test-gcc.sh
index 3bb91e9..ce3497b 100755
--- a/tools/test-gcc.sh
+++ b/tools/test-gcc.sh
@@ -55,6 +55,7 @@ void func1(struct ts *r);
struct s1_s { int v; } g1;
void __attribute__((externally_visible)) func2() {
struct s1_s *l1 = &g1;
+ l1->v=0;
}
EOF
cat - > $TMPFILE2 <<EOF