------- Comment #2 from jsm28 at gcc dot gnu dot org 2009-03-29 23:12 ------- This is user error setting environment variables in a way that interferes with the ordering of the compiler's internal directories. However, I'm not sure if it's deliberate that the environment variables do not act like -I options in this regard, or whether these settings should have been ignored just like -I/usr/include is ignored.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31763