[Bug preprocessor/41445] Debug information is wrong with and without --save-temps.

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Oct 7 07:38:00 GMT 2009



------- Comment #3 from jakub at gcc dot gnu dot org  2009-10-07 07:37 -------
Created an attachment (id=18733)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18733&action=view)
gcc45-pr41445.patch

Updated patch that actually passed bootstrap.  Unfortunately it regresses many
gcc.dg/cpp/ tests, e.g. avoidpaste1.c is now preprocessed as:
# 1 "../../gcc/testsuite/gcc.dg/cpp/avoidpaste1.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "../../gcc/testsuite/gcc.dg/cpp/avoidpaste1.c"
# 25 "../../gcc/testsuite/gcc.dg/cpp/avoidpaste1.c"
:: : : : : :^: 1.0e-
# 14 "../../gcc/testsuite/gcc.dg/cpp/avoidpaste1.c"
                        1
# 26 "../../gcc/testsuite/gcc.dg/cpp/avoidpaste1.c"
: : : .. . 0 0 .


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #18720|0                           |1
        is obsolete|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41445



More information about the Gcc-bugs mailing list