* gfortran.dg/boz_5.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105420
138bc75d-0d04-0410-961f-
82ee72b054a4
+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
{
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 ();
}
{
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 ();
}
+2005-10-14 Jakub Jelinek <jakub@redhat.com>
+
+ * gfortran.dg/boz_5.f90: New test.
+
2005-10-14 Nathan Sidwell <nathan@codesourcery.com>
PR c++/22551
--- /dev/null
+! { dg-do compile }
+ integer, dimension (2) :: i
+ i = (/Z'abcde', Z'abcde/) ! { dg-error "Illegal character" }
+end