aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fortran')
-rw-r--r--gcc/fortran/ChangeLog4
-rw-r--r--gcc/fortran/primary.c6
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 86aeeae..7f26375 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,7 @@
+2005-10-14 Jakub Jelinek <jakub@redhat.com>
+
+ * primary.c (match_boz_constant): Add missing break after gfc_error.
+
2005-10-12 Paul Thomas <pault@gcc.gnu.org>
PR fortran/24092
diff --git a/gcc/fortran/primary.c b/gcc/fortran/primary.c
index 76eed6b..e3e8127 100644
--- a/gcc/fortran/primary.c
+++ b/gcc/fortran/primary.c
@@ -351,10 +351,13 @@ match_boz_constant (gfc_expr ** result)
{
case 2:
gfc_error ("Empty set of digits in binary constant at %C");
+ break;
case 8:
gfc_error ("Empty set of digits in octal constant at %C");
+ break;
case 16:
gfc_error ("Empty set of digits in hexadecimal constant at %C");
+ break;
default:
gcc_unreachable ();
}
@@ -367,10 +370,13 @@ match_boz_constant (gfc_expr ** result)
{
case 2:
gfc_error ("Illegal character in binary constant at %C");
+ break;
case 8:
gfc_error ("Illegal character in octal constant at %C");
+ break;
case 16:
gfc_error ("Illegal character in hexadecimal constant at %C");
+ break;
default:
gcc_unreachable ();
}