java/1314: Multiple empty instance initializers put compiler into endless malloc loop

bryce@albatross.co.nz bryce@albatross.co.nz
Wed Dec 20 12:24:00 GMT 2000


>Number:         1314
>Category:       java
>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:   Wed Dec 20 12:18:57 PST 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:

Formerly PR gcj/292

>Unformatted:



More information about the Gcc-prs mailing list