]> gcc.gnu.org Git - gcc.git/commitdiff
re PR c/17538 (Filename and IMA)
authorAndrew Pinski <pinskia@physics.uc.edu>
Thu, 21 Oct 2004 16:31:54 +0000 (16:31 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Thu, 21 Oct 2004 16:31:54 +0000 (09:31 -0700)
2004-10-21  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c/17538
        * c-opts.c (push_command_line_include): Use the current file
        name instead of the main one.

From-SVN: r89385

gcc/ChangeLog
gcc/c-opts.c

index ba84e868f7d554c0c1c79045e35cead32831b94c..f36508315ef5cb744cb916f3bdb644bbb6629452 100644 (file)
@@ -1,3 +1,9 @@
+2004-10-21  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR c/17538
+       * c-opts.c (push_command_line_include): Use the current file
+       name instead of the main one.
+
 2004-10-21  Andrew Pinski  <pinskia@physics.uc.edu>
 
        PR objc/17923
index 82932cec4f3a66ea296f7bf5b1a13d5774f2875f..146ef578c9ec6b2501a045cea2d1fc615271f71f 100644 (file)
@@ -1353,7 +1353,7 @@ push_command_line_include (void)
       cpp_opts->warn_unused_macros = warn_unused_macros;
       /* Restore the line map from <command line>.  */
       if (!cpp_opts->preprocessed)
-       cpp_change_file (parse_in, LC_RENAME, main_input_filename);
+       cpp_change_file (parse_in, LC_RENAME, this_input_filename);
 
       /* Set this here so the client can change the option if it wishes,
         and after stacking the main file so we don't trace the main file.  */
This page took 0.093718 seconds and 5 git commands to generate.