diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2007-03-09 15:10:33 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2007-03-09 15:10:33 +0000 |
commit | 0de2ae02735c71f5318af4486444d33c26fc211a (patch) | |
tree | 5358725df8c01e01f2900a7a0802152c4430cf73 /gcc/final.c | |
parent | 3d8864c06f474e854cdfd0dd0b238ee9f7b79fe3 (diff) | |
download | gcc-0de2ae02735c71f5318af4486444d33c26fc211a.zip gcc-0de2ae02735c71f5318af4486444d33c26fc211a.tar.gz gcc-0de2ae02735c71f5318af4486444d33c26fc211a.tar.bz2 |
rtl.h (gen_rtx_ASM_INPUT): Use "" instead of NULL file name.
* rtl.h (gen_rtx_ASM_INPUT): Use "" instead of NULL file name.
* final.c (final_scan_insn): Test for non-"" file name.
From-SVN: r122750
Diffstat (limited to 'gcc/final.c')
-rw-r--r-- | gcc/final.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/final.c b/gcc/final.c index d7d1daf..5715a71 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -2081,7 +2081,7 @@ final_scan_insn (rtx insn, FILE *file, int optimize ATTRIBUTE_UNUSED, loc.file = ASM_INPUT_SOURCE_FILE (body); loc.line = ASM_INPUT_SOURCE_LINE (body); #endif - if (loc.file && loc.line) + if (*loc.file && loc.line) fprintf (asm_out_file, "%s %i \"%s\" 1\n", ASM_COMMENT_START, loc.line, loc.file); fprintf (asm_out_file, "\t%s\n", string); |