+Fri Apr 10 13:40:20 1998 Nick Clifton <nickc@cygnus.com>
+
+ * rtl.c (read_skip_spaces): Prevent infinite loops upon
+ encountering unterminated comments.
+
Fri Apr 10 10:43:41 1998 Jeffrey A Law (law@cygnus.com)
* emit-rtl.c (operand_subword): Properly handle CONST_INTs for
;
else if (c == ';')
{
- while ((c = getc (infile)) && c != '\n') ;
+ while ((c = getc (infile)) && c != '\n' && c != EOF)
+ ;
}
else if (c == '/')
{
dump_and_abort ('*', c, infile);
prevc = 0;
- while ((c = getc (infile)))
+ while ((c = getc (infile)) && c != EOF)
{
if (prevc == '*' && c == '/')
break;