[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#102353: -fno-bounds-check in combination with -W gives strange message



Package: gcj-3.0
Version: 1:3.0-3
Severity: normal

  > Hello.java << EOF
  public class Hello {
      public static void main(String[] args) {
          System.out.println("Hello!");
      }
  }
  EOF
  gcj -W -fno-bounds-check --main=Hello Hello.java


  jc1: warning: Ignoring command line option '-fno-bounds-check'
  jc1: warning: (It is valid for Fortran but not the selected language)

The comments in gcc/toplev.c indicates that -fno-check-bounds can
be used instead, but that doesn't work at all.


-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux robyn 2.4.4 #1 tor maj 31 09:14:36 CEST 2001 i686
Locale: LANG=sv_SE.ISO8859-1, LC_CTYPE=sv_SE.ISO8859-1

Versions of packages gcj-3.0 depends on:
ii  gcc-3.0                       1:3.0-3    The GNU C compiler.               
ii  gcc-3.0-base                  1:3.0-3    The GNU compiler collection (base 
ii  java-common                   0.7        Base of all Java packages         
ii  libc6                         2.2.3-6    GNU C Library: Shared libraries an
ii  libgcj2-dev                   1:3.0-3    Java development headers and stati
ii  zlib1g                        1:1.1.3-15 compression library - runtime     




Reply to: