When --disable-bootstrap, HOST_CC is set to gcc. It is
used in

g++.dg/compat/struct-layout-1.exp:set status [remote_exec host "$HOSTCC
$HOSTCFLAGS $generator_cmd"]
gcc.dg/compat/struct-layout-1.exp:set status [remote_exec host "$HOSTCC
$HOSTCFLAGS $generator_cmd"]
objc.dg/gnu-encoding/gnu-encoding.exp:set status [remote_exec host "$HOSTCC
$HOSTCFLAGS $generator_cmd"]

"make check" will create site.exp with

set GCC_EXEC_PREFIX "$(libdir)/gcc/"

This will make system gcc 4.1 and 4.3 fail to compile
since they can't find their own head files.


-- 
           Summary: HOST_CC doesn't work with --disable-bootstrap
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36443

Reply via email to