aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDaniel Berlin <dberlin@dberlin.org>2002-03-31 00:36:47 +0000
committerDaniel Berlin <dberlin@gcc.gnu.org>2002-03-31 00:36:47 +0000
commit606cc0562db3ee50a1e6182fe748d092f9417b5a (patch)
tree9b4fdedaf95fd552689976ff5ddd5d283a0d5e8a /gcc
parent320d7e7ad640266aa2eab1561f737dd309578b8d (diff)
downloadgcc-606cc0562db3ee50a1e6182fe748d092f9417b5a.zip
gcc-606cc0562db3ee50a1e6182fe748d092f9417b5a.tar.gz
gcc-606cc0562db3ee50a1e6182fe748d092f9417b5a.tar.bz2
dwarf2out.c (dwarf2out_define): Remove start_source_file call, CPP will start the file for us.
2002-03-30 Daniel Berlin <dan@dberlin.org> * dwarf2out.c (dwarf2out_define): Remove start_source_file call, CPP will start the file for us. From-SVN: r51621
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/dwarf2out.c7
2 files changed, 5 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 21c516c..be40f66 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-03-30 Daniel Berlin <dan@dberlin.org>
+
+ * dwarf2out.c (dwarf2out_define): Remove start_source_file call,
+ CPP will start the file for us.
+
2002-03-30 Richard Henderson <rth@redhat.com>
PR target/5446
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 3528bc8..5a00bf4 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -11947,13 +11947,6 @@ dwarf2out_define (lineno, buffer)
unsigned lineno ATTRIBUTE_UNUSED;
const char *buffer ATTRIBUTE_UNUSED;
{
- static int initialized = 0;
- if (!initialized)
- {
- dwarf2out_start_source_file (0, primary_filename);
- initialized = 1;
- }
-
if (debug_info_level >= DINFO_LEVEL_VERBOSE)
{
named_section_flags (DEBUG_MACINFO_SECTION, SECTION_DEBUG);