gcj/292: Multiple empty instance initializers put compiler into endless malloc loop

bryce@albatross.co.nz bryce@albatross.co.nz
Mon Jul 24 22:20:00 GMT 2000


>Number:         292
>Category:       gcj
>Synopsis:       Multiple empty instance initializers put compiler into endless malloc loop
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apbianco
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 24 22:20:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Bryce McKinlay
>Release:        gcc version 2.96 20000722 (experimental)
>Organization:
>Environment:
any
>Description:
Attempt to compile the following (legal!) code results in 
jc1 trying to consume all memory:

class Skanky
{
  {
  }
  
  {
  }
}

(get ready to press ctrl-C quick, or else run it on an OS that
can deal with an out of memory situation without crashing)
>How-To-Repeat:

>Fix:

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


More information about the Java-prs mailing list