This is the resubmission of a very simple patch to automatically recognice files ending .hp,.hxx,.hpp,h++,.HPP as C++ headers. (As we accept .cc,.cp,.cxx,.cpp,.C,.c++,.CPP for C++ sources) usefull for PCH generation. First submitted 2003 and accepted. http://gcc.gnu.org/ml/gcc-patches/2004-01/msg01210.html Copyright assignment is done. Benjamin Kosnik has later requested another C++ header type for template instantiation headers: tcc. Included in this updated patch. gcc/gcc/cp/Changelog ---- 2007-02-04 Alfred Minarik * lang-specs.h: Add .hp,.hxx,.hpp,.h,.HPP,.tcc as c++ header * g++spec.c (lang_specific_driver): check them. ---- gcc/gcc/Changelog ---- 2007-02-04 Alfred Minarik * doc/invoke.texi: Add .hp,.hxx,.hpp,.h,.HPP,.tcc as c++ header ---- tested on i686-pc-linux-gnu (no regressions) OK ? (I have no SVN write permission) -Alfred