public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* java/3492: -fno-bounds-check in combination with -W gives strange message
@ 2001-06-30  3:46 Matthias Klose
  0 siblings, 0 replies; 2+ messages in thread
From: Matthias Klose @ 2001-06-30  3:46 UTC (permalink / raw)
  To: gcc-gnats, debian-gcc; +Cc: java

>Number:         3492
>Category:       java
>Synopsis:       -fno-bounds-check in combination with -W gives strange message
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 30 03:46:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Patrik Hagglund <patha@softlab.ericsson.se>
>Release:        3.0 (Debian GNU/Linux)
>Organization:
The Debian project
>Environment:
System: Debian GNU/Linux (testing/unstable)
Architecture: i686
	
host: i386-linux
build: i386-linux
target: i386-linux
configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-checking --enable-threads=posix --enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc i386-linux
>Description:
[ Reported to the Debian BTS as report #102353.
  Please CC 102353-quiet@bugs.debian.org on replies.
  Log of report can be found at http://bugs.debian.org/102353 ]
 	

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

Omitting -W or replacing -W with -Wall suppresses the warning.

>How-To-Repeat:
	
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: java/3492: -fno-bounds-check in combination with -W gives strange message
@ 2001-07-18 10:55 tromey
  0 siblings, 0 replies; 2+ messages in thread
From: tromey @ 2001-07-18 10:55 UTC (permalink / raw)
  To: 102353-quiet, gcc-bugs, gcc-prs, java-prs, nobody, patha, tromey

Synopsis: -fno-bounds-check in combination with -W gives strange message

Responsible-Changed-From-To: unassigned->tromey
Responsible-Changed-By: tromey
Responsible-Changed-When: Wed Jul 18 10:55:16 2001
Responsible-Changed-Why:
    I'm handling it.
State-Changed-From-To: open->closed
State-Changed-By: tromey
State-Changed-When: Wed Jul 18 10:55:16 2001
State-Changed-Why:
    I couldn't reproduce this with gcj 3.1 (from CVS).
    However, I could reproduce it with gcj 3.0.
    I don't think this is important enough for us to fix
    on the 3.0 branch (the branch is limited to critical
    bug fixes, new host ports, and regressions, as I 
    understand it).  So I am closing the PR.
    If you think it should be fixed, feel free to respond...

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3492&database=gcc


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-07-18 10:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-30  3:46 java/3492: -fno-bounds-check in combination with -W gives strange message Matthias Klose
2001-07-18 10:55 tromey

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).