------- Comment #2 from jkj at sco dot com 2005-10-07 10:57 ------- (In reply to comment #1) > Because bar is not static to the TU, we can override it in a different one > which causes use not to > optimizate it out, try adding static infront of bar, baz, and larger. > > So this is a testcase problem. So is putting static in front of those variables the actual fix? Does it still test what it thinks its testing? Or should this test be ignored in -fPIC mode?
-- jkj at sco dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jkj at sco dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19231