http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48020
Ian Lance Taylor <ian at airs dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2011.03.09 07:09:58 Ever Confirmed|0 |1 --- Comment #1 from Ian Lance Taylor <ian at airs dot com> 2011-03-09 07:09:58 UTC --- I think that the problem is that the functions are not being run in the order they appear in the file. Most likely the Solaris nm program is sorting the test functions by name. The gotest script passes the -p option, which tells GNU nm to not sort the functions. Of course, the gcc middle-end may sort the functions anyhow, so this is imperfect? Does the Solaris nm have any option to not sort the symbols? I don't see one on the man page I found on the web. I'm not sure what the best fix is going to be here.