------- Comment #4 from marek dot rouchal at infineon dot com 2006-07-14 11:03 ------- I think I have found the root cause - there is indeed a /usr/local/include/assert.h on my system. However, I was not aware that /usr/local/include is being searched by default! So I will recompile (bootstrap) gcc-4.0.3 again, and make sure that LOCAL_INCLUDE_DIR is undefined (if some user wants the &@#&$ in there, she can always add -I/usr/local/include). Please do not close this ticket now, I will update it with the outcome of the new build. Stay tuned, and many thanks so far!
-Marek -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28377