Commit 7aff2f28 by Scott Snyder Committed by Toon Moene

re PR fortran/11299 (f771 ICE on line directive)

2003-06-24  Scott Snyder  <snyder@fnal.gov>

	PR fortran/11299
	* com.c (ffe_init): Call push_srcloc() to ensure that
	input_file_stack is initialized.

From-SVN: r68437
parent 1b6f0a56
2003-06-24 Scott Snyder <snyder@fnal.gov>
PR fortran/11299
* com.c (ffe_init): Call push_srcloc() to ensure that
input_file_stack is initialized.
Sat Jun 21 21:29:38 2003 Neil Booth <neil@daikokuya.co.uk> Sat Jun 21 21:29:38 2003 Neil Booth <neil@daikokuya.co.uk>
* lang.opt: Add -fpreprocessed. * lang.opt: Add -fpreprocessed.
......
...@@ -14246,6 +14246,8 @@ ffe_init () ...@@ -14246,6 +14246,8 @@ ffe_init ()
to try doing this. */ to try doing this. */
ffelex_hash_kludge (finput); ffelex_hash_kludge (finput);
push_srcloc (input_filename, 0);
/* FIXME: The ffelex_hash_kludge code needs to be cleaned up to /* FIXME: The ffelex_hash_kludge code needs to be cleaned up to
set the new file name. Maybe in ffe_post_options. */ set the new file name. Maybe in ffe_post_options. */
return true; return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment