This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

java/4318: infinite loop in compiler



>Number:         4318
>Category:       java
>Synopsis:       infinite loop in compiler
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 13 08:56:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     cgarcia@myalert.com
>Release:        gcc-java-2.96-85
>Organization:
>Environment:

>Description:
If the source program being compiled ends with a line
comentary ('//') and there is not a line feed
character (0x10) at the end of this line (the last line
in the program), the compiler enters in a infinite loop:

demo.java:9: Comment not terminated at end of input.
//prueba                                            
        ^
demo.java:10: Comment not terminated at end of input.
<<file too short - unexpected EOF>>                  
^                                  
demo.java:11: Comment not terminated at end of input.
<<file too short - unexpected EOF>>                  
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]