Trying to compile a precompiled header from stdin (e.g. "gcc -x c-header -")
causes the following message (with a different filename each time):

<stdin>:1: fatal error: error closing /tmp/ccoH8xmg.s: Bad file descriptor
compilation terminated.

This makes it very difficult to test for PCH support in autoconf.


-- 
           Summary: Precompiled headers from stdin don't work
           Product: gcc
           Version: 4.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: pch
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: coppro at users dot sf dot net


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

Reply via email to