This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Always pass an open file descriptor to c_common_read_pch


Oh, forgot the testcase. Here it is. The webmailer won't let me add the
empty 2include.Hs...
Bot files should go in the testsuite/g++.dg/pch directory.

I've verified that the test fails without and passes with the patch.

Michael
// { dg-options "-include 2include.H -include 2include.H" }
int main() 
{
  return 0;
}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]