Skip to content
Snippets Groups Projects
  • Uros Bizjak's avatar
    456b8ce5
    re PR c/24101 (Segfault with preprocessed source) · 456b8ce5
    Uros Bizjak authored
    libcpp/
    
    	PR c/24101
    	* init.c (read_original_filename): Temporarily set
    	state.in_directive before calling _cpp_lex_direct for
    	CPP_HASH tokens.
    
    gcc/
    
    	PR c/24101
    	* toplev.c (process_options): Initialize debug_hooks early
    	in case lang_hooks.post_options ends up calling a debug_hook.
    
    gcc/testsuite/
    
    	PR c/24101
    	* gcc.dg/pr24101-1.i, gcc.dg/pr24101-2.i: New tests.
    	* gcc.dg/dg.exp: Run main loop also for *.i files.
    
    From-SVN: r106677
    456b8ce5
    History
    re PR c/24101 (Segfault with preprocessed source)
    Uros Bizjak authored
    libcpp/
    
    	PR c/24101
    	* init.c (read_original_filename): Temporarily set
    	state.in_directive before calling _cpp_lex_direct for
    	CPP_HASH tokens.
    
    gcc/
    
    	PR c/24101
    	* toplev.c (process_options): Initialize debug_hooks early
    	in case lang_hooks.post_options ends up calling a debug_hook.
    
    gcc/testsuite/
    
    	PR c/24101
    	* gcc.dg/pr24101-1.i, gcc.dg/pr24101-2.i: New tests.
    	* gcc.dg/dg.exp: Run main loop also for *.i files.
    
    From-SVN: r106677