Tobias Burnus wrote:
It converts the remaining fatal error calls to the common diagnostic
infrastructure and retires (removes) the old gfc_fatal_error_1.
I will build and regtest it after Manuel's commit.
OK, when it succeeds?
The patch needed additionally a '...' added in two test-suite files due
to %<...%> and the attached patch, which was committed as Rev. 218029.
Tobias
Index: gcc/testsuite/ChangeLog
===================================================================
--- gcc/testsuite/ChangeLog (Revision 218028)
+++ gcc/testsuite/ChangeLog (Arbeitskopie)
@@ -1,6 +1,12 @@
+2014-11-24 Tobias Burnus <bur...@net-b.de>
+
+ * gfortran.dg/coarray_collectives_3.f90: Add dg-excess-errors.
+ * gfortran.dg/dollar_sym_1.f90: Ditto.
+ * gfortran.dg/dollar_sym_3.f: Ditto.
+
2014-11-24 Alan Lawrence <alan.lawre...@arm.com>
- * lib/target-supports.exp (check_effective_target_whole_vector_shift):
+ * lib/target-supports.exp (check_effective_target_whole_vector_shift):
Add aarch64{,_be}.
2014-11-24 Richard Biener <rguent...@suse.de>
@@ -43,7 +49,7 @@
2014-11-24 Tobias Burnus <bur...@net-b.de>
* gfortran.dg/dollar_sym_3.f: Update dg-error.
- * gfortran.dg/dollar_sym_3.f: Ditto.
+ * gfortran.dg/coarray_collectives_3.f90: Ditto.
2014-11-23 David Edelsohn <dje....@gmail.com>
Index: gcc/testsuite/gfortran.dg/coarray_collectives_3.f90
===================================================================
--- gcc/testsuite/gfortran.dg/coarray_collectives_3.f90 (Revision 218028)
+++ gcc/testsuite/gfortran.dg/coarray_collectives_3.f90 (Arbeitskopie)
@@ -8,3 +8,4 @@ program test
integer :: val
call co_max(val) ! { dg-error "Coarrays disabled at .1., use '-fcoarray=' to enable" }
end program test
+! { dg-excess-errors "compilation terminated" }
Index: gcc/testsuite/gfortran.dg/dollar_sym_1.f90
===================================================================
--- gcc/testsuite/gfortran.dg/dollar_sym_1.f90 (Revision 218028)
+++ gcc/testsuite/gfortran.dg/dollar_sym_1.f90 (Arbeitskopie)
@@ -7,3 +7,4 @@
PARAMETER (PLT$B_OPC=0) ! Unreachable as the error above is now fatal
common /abc$def/ PLT$C_HOUSTPIX, PLT$C_COMMAND ! Unreachable as the error above is now fatal
end
+! { dg-excess-errors "compilation terminated" }
Index: gcc/testsuite/gfortran.dg/dollar_sym_3.f
===================================================================
--- gcc/testsuite/gfortran.dg/dollar_sym_3.f (Revision 218028)
+++ gcc/testsuite/gfortran.dg/dollar_sym_3.f (Arbeitskopie)
@@ -8,3 +8,4 @@ c Segmentation fault in gfc_restore_last_undo_chec
COMMON RADE3155V62$JUTMU9L9E(3,3,3), LADE314JUTMP9 ! { dg-error "Invalid character '\\$' at .1.. Use '-fdollar-ok' to allow it as an extension" }
+LHEDDJNTMP9L(3,3,3)
end
+! { dg-excess-errors "compilation terminated" }