public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/23549] New: gij swallows args after -ea
@ 2005-08-24 19:00 green at redhat dot com
2005-08-24 19:16 ` [Bug java/23549] " fitzsim at redhat dot com
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: green at redhat dot com @ 2005-08-24 19:00 UTC (permalink / raw)
To: java-prs
gij.cc says:
else if (! strcmp (arg, "-enableassertions") || ! strcmp (arg, "-ea"))
{
if (i >= argc - 1)
goto no_arg;
// FIXME: hook up assertion support
++i;
continue;
}
I think the ++i shouldn't be there.
since -ea doesn't take an arg, does it?
Try, for instance, "gij -ea -classpath Bar.jar Foo"
the -ea processing is swallowing the -classpath arg and gij
complains about not being able to load the class Bar.jar.
--
Summary: gij swallows args after -ea
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: green at redhat dot com
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23549
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/23549] gij swallows args after -ea
2005-08-24 19:00 [Bug java/23549] New: gij swallows args after -ea green at redhat dot com
@ 2005-08-24 19:16 ` fitzsim at redhat dot com
2005-08-24 22:07 ` fitzsim at redhat dot com
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: fitzsim at redhat dot com @ 2005-08-24 19:16 UTC (permalink / raw)
To: java-prs
------- Additional Comments From fitzsim at redhat dot com 2005-08-24 19:16 -------
Yes; also these should be strncmp calls, since these options can be followed by
:<packagename> etc..
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |fitzsim at redhat dot com
|dot org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-08-24 19:16:01
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23549
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/23549] gij swallows args after -ea
2005-08-24 19:00 [Bug java/23549] New: gij swallows args after -ea green at redhat dot com
2005-08-24 19:16 ` [Bug java/23549] " fitzsim at redhat dot com
@ 2005-08-24 22:07 ` fitzsim at redhat dot com
2005-08-24 22:13 ` [Bug libgcj/23549] " pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: fitzsim at redhat dot com @ 2005-08-24 22:07 UTC (permalink / raw)
To: java-prs
--
What |Removed |Added
----------------------------------------------------------------------------
Priority|P2 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23549
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libgcj/23549] gij swallows args after -ea
2005-08-24 19:00 [Bug java/23549] New: gij swallows args after -ea green at redhat dot com
2005-08-24 19:16 ` [Bug java/23549] " fitzsim at redhat dot com
2005-08-24 22:07 ` fitzsim at redhat dot com
@ 2005-08-24 22:13 ` pinskia at gcc dot gnu dot org
2005-08-30 16:19 ` cvs-commit at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-24 22:13 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-24 22:13 -------
Gij is considered part of libgcj and not part of the front-end.
--
What |Removed |Added
----------------------------------------------------------------------------
Component|java |libgcj
Last reconfirmed|2005-08-24 19:16:01 |2005-08-24 22:13:13
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23549
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libgcj/23549] gij swallows args after -ea
2005-08-24 19:00 [Bug java/23549] New: gij swallows args after -ea green at redhat dot com
` (2 preceding siblings ...)
2005-08-24 22:13 ` [Bug libgcj/23549] " pinskia at gcc dot gnu dot org
@ 2005-08-30 16:19 ` cvs-commit at gcc dot gnu dot org
2005-08-30 16:22 ` fitzsim at redhat dot com
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-08-30 16:19 UTC (permalink / raw)
To: java-prs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-30 16:19 -------
Subject: Bug 23549
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: fitzsim@gcc.gnu.org 2005-08-30 16:19:16
Modified files:
libjava : ChangeLog gij.cc
Log message:
2005-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
PR libgcj/23549
* gij.cc (main): Don't expect arguments to -enableassertions, -ea,
-disableassertions and -da.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.3731&r2=1.3732
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gij.cc.diff?cvsroot=gcc&r1=1.28&r2=1.29
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23549
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libgcj/23549] gij swallows args after -ea
2005-08-24 19:00 [Bug java/23549] New: gij swallows args after -ea green at redhat dot com
` (3 preceding siblings ...)
2005-08-30 16:19 ` cvs-commit at gcc dot gnu dot org
@ 2005-08-30 16:22 ` fitzsim at redhat dot com
2005-09-02 17:15 ` tromey at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: fitzsim at redhat dot com @ 2005-08-30 16:22 UTC (permalink / raw)
To: java-prs
------- Additional Comments From fitzsim at redhat dot com 2005-08-30 16:22 -------
Fixed on CVS HEAD. Closing.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23549
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libgcj/23549] gij swallows args after -ea
2005-08-24 19:00 [Bug java/23549] New: gij swallows args after -ea green at redhat dot com
` (4 preceding siblings ...)
2005-08-30 16:22 ` fitzsim at redhat dot com
@ 2005-09-02 17:15 ` tromey at gcc dot gnu dot org
2005-09-09 1:25 ` cvs-commit at gcc dot gnu dot org
2005-09-09 3:04 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: tromey at gcc dot gnu dot org @ 2005-09-02 17:15 UTC (permalink / raw)
To: java-prs
------- Additional Comments From tromey at gcc dot gnu dot org 2005-09-02 17:14 -------
I set the target milestone.
This patch looks like a 4.0 candidate to me.
Could you put it there?
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23549
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libgcj/23549] gij swallows args after -ea
2005-08-24 19:00 [Bug java/23549] New: gij swallows args after -ea green at redhat dot com
` (5 preceding siblings ...)
2005-09-02 17:15 ` tromey at gcc dot gnu dot org
@ 2005-09-09 1:25 ` cvs-commit at gcc dot gnu dot org
2005-09-09 3:04 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-09 1:25 UTC (permalink / raw)
To: java-prs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-09-09 01:25 -------
Subject: Bug 23549
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: fitzsim@gcc.gnu.org 2005-09-09 01:25:03
Modified files:
libjava : ChangeLog gij.cc
Log message:
2005-09-08 Thomas Fitzsimmons <fitzsim@redhat.com>
PR libgcj/23549
* gij.cc (main): Don't expect arguments to -enableassertions, -ea,
-disableassertions and -da.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.3391.2.96&r2=1.3391.2.97
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gij.cc.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.25.2.3&r2=1.25.2.4
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23549
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libgcj/23549] gij swallows args after -ea
2005-08-24 19:00 [Bug java/23549] New: gij swallows args after -ea green at redhat dot com
` (6 preceding siblings ...)
2005-09-09 1:25 ` cvs-commit at gcc dot gnu dot org
@ 2005-09-09 3:04 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-09 3:04 UTC (permalink / raw)
To: java-prs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.1.0 |4.0.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23549
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-09-09 3:04 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-24 19:00 [Bug java/23549] New: gij swallows args after -ea green at redhat dot com
2005-08-24 19:16 ` [Bug java/23549] " fitzsim at redhat dot com
2005-08-24 22:07 ` fitzsim at redhat dot com
2005-08-24 22:13 ` [Bug libgcj/23549] " pinskia at gcc dot gnu dot org
2005-08-30 16:19 ` cvs-commit at gcc dot gnu dot org
2005-08-30 16:22 ` fitzsim at redhat dot com
2005-09-02 17:15 ` tromey at gcc dot gnu dot org
2005-09-09 1:25 ` cvs-commit at gcc dot gnu dot org
2005-09-09 3:04 ` pinskia at gcc dot gnu dot org
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).