diff --git a/gcc/cobol/Make-lang.in b/gcc/cobol/Make-lang.in
index 50ae0cfdab131e4d8ab7de1fe2763c1708b1c8c2..6fa0e2c4a42c2f2e6618052f89ad5a7123933585 100644
--- a/gcc/cobol/Make-lang.in
+++ b/gcc/cobol/Make-lang.in
@@ -199,7 +199,6 @@ cobol/cdf.o: cobol/cdf.c			\
 	$(srcdir)/cobol/util.h			\
 	$(srcdir)/../libgcobol/common-defs.h	\
 	$(srcdir)/../libgcobol/ec.h		\
-	cobol/cdf.h				\
 	include/limits.h			\
 	include/stdint.h			\
 	include/syslimits.h 
@@ -254,7 +253,6 @@ cobol/scan.o: cobol/scan.c			\
 	$(srcdir)/../libgcobol/exceptl.h	\
 	$(srcdir)/../libgcobol/io.h		\
 	auto-host.h				\
-	cobol/cdf.h				\
 	cobol/parse.c				\
 	cobol/parse.h				\
 	config.h 
diff --git a/gcc/cobol/UAT/testsuite.src/syn_definition.at b/gcc/cobol/UAT/testsuite.src/syn_definition.at
index efe6c025d029369f1c26039e89feb18d71b2c946..4a4329903e905e18fab30c0deedafdd007c64ee1 100644
--- a/gcc/cobol/UAT/testsuite.src/syn_definition.at
+++ b/gcc/cobol/UAT/testsuite.src/syn_definition.at
@@ -286,8 +286,12 @@ AT_DATA([prog.cob], [
 ])
 
 AT_CHECK([$COMPILE_ONLY prog.cob], [1], [],
-[prog.cob:12: syntax error: 'X' is not unique, first defined on line 7 at 'END-DISPLAY'
-prog.cob:12: error: symbol 'X' not found at 'END-DISPLAY'
+[prog.cob:12:12: error: X is not unique, first defined on line 7
+   12 |            END-DISPLAY.
+      |            ^
+prog.cob:11:20: error: symbol 'X' not found
+   11 |            DISPLAY X
+      |                    ^
 cobol1: error: failed compiling prog.cob
 ])
 AT_CLEANUP
@@ -311,8 +315,12 @@ AT_DATA([prog.cob], [
 
 
 AT_CHECK([$COMPILE_ONLY prog.cob], [1], [],
-[prog.cob:11: syntax error: 'X' is not unique, first defined on line 7 at 'END-DISPLAY'
-prog.cob:11: error: symbol 'X' not found at 'END-DISPLAY'
+[prog.cob:11:12: error: X is not unique, first defined on line 7
+   11 |            END-DISPLAY.
+      |            ^
+prog.cob:10:20: error: symbol 'X' not found
+   10 |            DISPLAY X
+      |                    ^
 cobol1: error: failed compiling prog.cob
 ])
 AT_CLEANUP