[SeaBIOS] [PATCH] Detect latest FC12 gcc -combine breakage

Kevin O'Connor kevin at koconnor.net
Sun Jan 3 22:58:30 CET 2010


It looks like the latest FC12 compiler has broken the "-combine" flag
in a slightly different way.  This patch updates the test case to make
sure the build still doesn't try to use it.

I've already committed this change (and also pushed my queue of
patches).

-Kevin


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



More information about the SeaBIOS mailing list