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]
Other format: [Raw text]

java/8608: segmentation fault on compiling bad program


>Number:         8608
>Category:       java
>Synopsis:       segmentation fault on compiling bad program
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 16 04:36:03 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     rOBie <robie@bzh.net>
>Release:        3.2.1 (Debian) (Debian unstable)
>Organization:
The Debian Project
>Environment:
System: Debian GNU/Linux (unstable)
Architecture: i686
host: i386-linux
Configured with: /home/packages/gcc/3.2/gcc-3.2-3.2.1ds5/src/configure -v --enable-languages=c,c++,java,f77,proto,objc,ada --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-java-gc=boehm --enable-objc-gc i386-linux
>Description:
[ Reported to the Debian BTS as report #165635.
  Please CC 165635@bugs.debian.org on replies.
  Log of report can be found at http://bugs.debian.org/165635 ]

[validated with gcj-3.2.1 prerelease and HEAD CVS 20021103]

---
class Bug165635 {
   public static void main (String[] argLigneDeCommande) {
        int i=0;
        int a;
        int b=1;
        for (i=a; i<=b; i++){
	    System.out.println("i = "+i);
	}
   }
}
---

$ gcj-3.2 -C Bug165635.java
Bug165635.java: In class `Bug165635':
Bug165635.java: In method `Bug165635.main(java.lang.String[])':
Bug165635.java:2: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

	
>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]