summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2001-10-08 21:23:52 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2001-10-08 21:23:52 +0000
commitda905677f1192d67ba9ec28235674ab91437cbbf (patch)
tree88aedfd75b2a5db23810eae6089343f63c2077bd
parent9d1e9f93a936c30220a46964ea49fc461f8ccb88 (diff)
downloadgcc-da905677f1192d67ba9ec28235674ab91437cbbf.tar.gz
3b1.h (ASM_OUTPUT_SOURCE_LINE): Don't reference `last_linenum'.
* m68k/3b1.h (ASM_OUTPUT_SOURCE_LINE): Don't reference `last_linenum'. * m68k/auxas.h (ASM_OUTPUT_SOURCE_LINE): Likewise. * m68k/crds.h (ASM_OUTPUT_SOURCE_LINE): Likewise. * m68k/mot3300.h (ASM_OUTPUT_SOURCE_LINE): Likewise. From-SVN: r46100
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/m68k/3b1.h2
-rw-r--r--gcc/config/m68k/auxas.h2
-rw-r--r--gcc/config/m68k/crds.h2
-rw-r--r--gcc/config/m68k/mot3300.h2
5 files changed, 11 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 854f28ad127..9069a13f935 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2001-10-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * m68k/3b1.h (ASM_OUTPUT_SOURCE_LINE): Don't reference `last_linenum'.
+ * m68k/auxas.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
+ * m68k/crds.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
+ * m68k/mot3300.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
+
2001-10-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* unroll.c (loop_iterations): Extend check for multiple back edges.
diff --git a/gcc/config/m68k/3b1.h b/gcc/config/m68k/3b1.h
index 0dac874744f..9a64f43c514 100644
--- a/gcc/config/m68k/3b1.h
+++ b/gcc/config/m68k/3b1.h
@@ -178,7 +178,7 @@ do { long l; \
#define ASM_OUTPUT_SOURCE_LINE(FILE, LINENO) \
fprintf (FILE, "\tln\t%d\n", \
(sdb_begin_function_line \
- ? last_linenum - sdb_begin_function_line : 1))
+ ? (LINENO) - sdb_begin_function_line : 1))
/* Yet another null terminated string format. */
diff --git a/gcc/config/m68k/auxas.h b/gcc/config/m68k/auxas.h
index 014d1ecea33..91b9e8ba910 100644
--- a/gcc/config/m68k/auxas.h
+++ b/gcc/config/m68k/auxas.h
@@ -180,7 +180,7 @@ do { fprintf (asm_out_file, "\tdef\t"); \
#define ASM_OUTPUT_SOURCE_LINE(FILE, LINE) \
fprintf((FILE), "\tln\t%d\n", \
(sdb_begin_function_line > 1 ? \
- last_linenum - sdb_begin_function_line : 1))
+ (LINE) - sdb_begin_function_line : 1))
#define ASM_MOV_INSN "mov.l"
diff --git a/gcc/config/m68k/crds.h b/gcc/config/m68k/crds.h
index b2442d48770..be9141e5781 100644
--- a/gcc/config/m68k/crds.h
+++ b/gcc/config/m68k/crds.h
@@ -457,7 +457,7 @@ do { int i; \
#define ASM_OUTPUT_SOURCE_LINE(FILE, LINENO) \
fprintf (FILE, "\t; ln\t%d\n", \
(sdb_begin_function_line \
- ? last_linenum - sdb_begin_function_line : 1))
+ ? (LINENO) - sdb_begin_function_line : 1))
/* Must put address in %a0 , not %d0 . -- LGM, 7/15/88 */
/* UNOS ?? */
diff --git a/gcc/config/m68k/mot3300.h b/gcc/config/m68k/mot3300.h
index 5cfe659740a..d78aba24cb9 100644
--- a/gcc/config/m68k/mot3300.h
+++ b/gcc/config/m68k/mot3300.h
@@ -412,7 +412,7 @@ do { long l; \
#define ASM_OUTPUT_SOURCE_LINE(FILE, LINENO) \
fprintf (FILE, "\tln\t%d\n", \
(sdb_begin_function_line \
- ? last_linenum - sdb_begin_function_line : 1))
+ ? (LINENO) - sdb_begin_function_line : 1))
/* Yet another null terminated string format. */