Skip to content
Snippets Groups Projects
  • Chris Demetriou's avatar
    74dc6a11
    re PR preprocessor/28435 (-MMD vs not found system header (included from a system header)) · 74dc6a11
    Chris Demetriou authored
    [libcpp/ChangeLog]
    2009-09-18  Chris Demetriou  <cgd@google.com>
    
    	PR preprocessor/28435:
    	* include/cpplib.h (struct cpp_options): Add new member
    	deps.need_preprocessor_output.
    	* files.c (open_file_failed): If preprocessor output is needed
    	always report an error.
    
    [gcc/ChangeLog]
    2009-09-19  Chris Demetriou  <cgd@google.com>
    
    	PR preprocessor/28435:
    	* c-opts.c (c_common_handle_option): For -MD and -MMD, indicate
    	to cpplib that the preprocessor output is needed.
    
    [gcc/testsuite/ChangeLog]
    2009-09-19  Chris Demetriou  <cgd@google.com>
    
    	PR preprocessor/28435:
    	* gcc.dg/cpp/missing-header-MD.c: New test.
    	* gcc.dg/cpp/missing-header-MMD.c: New test.
    	* gcc.dg/cpp/missing-sysheader-MD.c: New test.
    	* gcc.dg/cpp/missing-sysheader-MMD.c: New test.
    
    From-SVN: r151879
    74dc6a11
    History
    re PR preprocessor/28435 (-MMD vs not found system header (included from a system header))
    Chris Demetriou authored
    [libcpp/ChangeLog]
    2009-09-18  Chris Demetriou  <cgd@google.com>
    
    	PR preprocessor/28435:
    	* include/cpplib.h (struct cpp_options): Add new member
    	deps.need_preprocessor_output.
    	* files.c (open_file_failed): If preprocessor output is needed
    	always report an error.
    
    [gcc/ChangeLog]
    2009-09-19  Chris Demetriou  <cgd@google.com>
    
    	PR preprocessor/28435:
    	* c-opts.c (c_common_handle_option): For -MD and -MMD, indicate
    	to cpplib that the preprocessor output is needed.
    
    [gcc/testsuite/ChangeLog]
    2009-09-19  Chris Demetriou  <cgd@google.com>
    
    	PR preprocessor/28435:
    	* gcc.dg/cpp/missing-header-MD.c: New test.
    	* gcc.dg/cpp/missing-header-MMD.c: New test.
    	* gcc.dg/cpp/missing-sysheader-MD.c: New test.
    	* gcc.dg/cpp/missing-sysheader-MMD.c: New test.
    
    From-SVN: r151879