public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* java/1905: segfault when compiling class file
@ 2001-04-01  0:00 paul
  0 siblings, 0 replies; only message in thread
From: paul @ 2001-04-01  0:00 UTC (permalink / raw)
  To: java-gnats

>Number:         1905
>Category:       java
>Synopsis:       segfault when compiling class file
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apbianco
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 07 13:36:00 PST 2001
>Closed-Date:    
>Last-Modified:  Tue Feb  6 12:16:00 PST 2001
>Originator:     paul@dawa.demon.co.uk
>Release:        gcc version 2.97 20010205
>Organization:
>Environment:
RedHat Linux 7.0 (x86)
>Description:
Compiling the attached class segfaults gcj

begin 664 SnmpMibTree$1.class
MROZZO@```"X`$@<`#P<`$`<`$0H``P`%#``(``8!``,H*58!``$Q`0`&/&EN
M:70^`0`$0V]D90$`#$EN;F5R0VQA<W-E<P$`#TQI;F5.=6UB97)486)L90$`
M$%-N;7!-:6)4<F5E+FIA=F$!``I3;W5R8V5&:6QE`0`)4WEN=&AE=&EC`0`=
M8V]M+W-U;B]J9&UK+V-O;6TO4VYM<$UI8E1R964!`!]C;VTO<W5N+VID;6LO
M8V]M;2]3;FUP36EB5')E920Q`0`0:F%V82]L86YG+T]B:F5C=``@``(``P``
M`````0````@`!@`"``D````9``$``0````4JMP`$L0````$`"P````(````.
D```````#``T````"``P`#@``````"@````H``0`"````!P`(
`
end
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:

Formerly PR gcj/385


From: Alexandre Petit-Bianco <apbianco@cygnus.com>
To: paul@dawa.demon.co.uk
Cc: java-gnats@sourceware.cygnus.com
Subject: Re: gcj/385: segfault when compiling class file
Date: Tue, 6 Feb 2001 11:59:55 -0800 (PST)

 paul@dawa.demon.co.uk writes:
 
 > Compiling the attached class segfaults gcj
 
 We found some side problems with the code trying to handle the
 `Synthetic' attribute on fields. So the patch could have been this:
 
 Index: jcf-parse.c
 ===================================================================
 RCS file: /cvs/gcc/gcc/gcc/java/jcf-parse.c,v
 retrieving revision 1.75
 diff -u -p -r1.75 jcf-parse.c
 --- jcf-parse.c 2001/02/04 22:44:02     1.75
 +++ jcf-parse.c 2001/02/06 19:57:08
 @@ -227,7 +227,7 @@ set_source_filename (jcf, index)
    /* Irrelevant decls should have been nullified by the END macros. */ \
    if (current_method)                                                  \
      DECL_ARTIFICIAL (current_method) = 1;                              \
 -  else                                                                 \
 +  else if (current_field)                                              \
      DECL_ARTIFICIAL (current_field) = 1;                               \
  }
 
 But it really should be this:
 
   http://gcc.gnu.org/ml/java/2001-02/msg00053.html
 
 ./A
>Unformatted:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-04-01  0:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-01  0:00 java/1905: segfault when compiling class file paul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).