public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/21428] New: bogus warning: unused parameter 'this'
@ 2005-05-06 21:04 kon at iki dot fi
2005-05-06 21:13 ` [Bug java/21428] " mark at gcc dot gnu dot org
` (6 more replies)
0 siblings, 7 replies; 9+ messages in thread
From: kon at iki dot fi @ 2005-05-06 21:04 UTC (permalink / raw)
To: java-prs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2574 bytes --]
kalle@Astalo:~/pikkuohjelmat/java/TESTIT$ echo 'class foo {}' > foo.java
kalle@Astalo:~/pikkuohjelmat/java/TESTIT$ gcj -v -O2 -Wall -W -c foo.java
Using built-in specs.
Reading specs from
/home/kalle/stow/gcc/i686-pc-linux-gnu/bin/../lib/gcc/i686-pc-linux-gnu/4.1.0/../../../libgcj.spec
rename spec lib to liborig
Target: i686-pc-linux-gnu
Configured with: /home/kalle/src/FOREIGN-CVS/gcc/configure --prefix=/home/kalle
--exec-prefix=/home/kalle/i686-pc-linux-gnu --host=i686-pc-linux-gnu
--build=i686-pc-linux-gnu --with-x-toolkit=gtk --with-gjdoc
--enable-java-awt=gtk,xlib
Thread model: posix
gcc version 4.1.0 20050505 (experimental)
/home/kalle/stow/gcc/i686-pc-linux-gnu/bin/../libexec/gcc/i686-pc-linux-gnu/4.1.0/jc1 foo.java -fhash-synchronization -fno-use-divide-subroutine -fuse-boehm-gc
-fnon-call-exceptions -fno-omit-frame-pointer -fkeep-inline-functions -quiet
-dumpbase foo.java -mtune=pentiumpro -auxbase foo -O2 -Wall -W -version -o
/tmp/ccProouV.s
GNU Java version 4.1.0 20050505 (experimental) (i686-pc-linux-gnu)
compiled by GNU C version 4.1.0 20050430 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Class path starts here:
/home/kalle/pikkuohjelmat/java/
/home/kalle/stow/gcc/i686-pc-linux-gnu/bin/../lib/gcc/../../../share/java/libgcj-4.1.0.jar/ (system) (zip)
foo.java: In class 'foo':
foo.java: In constructor '()':
foo.java:0: warning: unused parameter â**thisâ**
as -V -Qy -o foo.o /tmp/ccProouV.s
GNU assembler version 2.15 (i386-linux) using BFD version 2.15
kalle@Astalo:~/pikkuohjelmat/java/TESTIT$
GCJ should not output that warning.
This causes trouble when building gjdoc with "CFLAGS=-O2 -g -Wall -W"
in the environment. For some reason, Libtool 1.5.6 passes $CFLAGS to
the Java compiler when checking whether it supports the -c and -o
options together. Because of the warning, Libtool assumes the
compiler did not support the options. This breaks the build later
because --resource requires -o.
--
Summary: bogus warning: unused parameter 'this'
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kon at iki dot fi
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21428
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/21428] bogus warning: unused parameter 'this'
2005-05-06 21:04 [Bug java/21428] New: bogus warning: unused parameter 'this' kon at iki dot fi
@ 2005-05-06 21:13 ` mark at gcc dot gnu dot org
2005-05-06 21:22 ` [Bug java/21428] [3.4/4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: mark at gcc dot gnu dot org @ 2005-05-06 21:13 UTC (permalink / raw)
To: java-prs
------- Additional Comments From mark at gcc dot gnu dot org 2005-05-06 21:13 -------
This also happens with 4.0 and 3.4, but 3.3 doesn't show any warning.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-05-06 21:13:10
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21428
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/21428] [3.4/4.0/4.1 Regression] bogus warning: unused parameter 'this'
2005-05-06 21:04 [Bug java/21428] New: bogus warning: unused parameter 'this' kon at iki dot fi
2005-05-06 21:13 ` [Bug java/21428] " mark at gcc dot gnu dot org
@ 2005-05-06 21:22 ` pinskia at gcc dot gnu dot org
2005-05-16 13:06 ` aph at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-06 21:22 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-06 21:22 -------
Lets mark this as a regression then.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Summary|bogus warning: unused |[3.4/4.0/4.1 Regression]
|parameter 'this' |bogus warning: unused
| |parameter 'this'
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21428
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/21428] [3.4/4.0/4.1 Regression] bogus warning: unused parameter 'this'
2005-05-06 21:04 [Bug java/21428] New: bogus warning: unused parameter 'this' kon at iki dot fi
2005-05-06 21:13 ` [Bug java/21428] " mark at gcc dot gnu dot org
2005-05-06 21:22 ` [Bug java/21428] [3.4/4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
@ 2005-05-16 13:06 ` aph at gcc dot gnu dot org
2005-05-26 18:54 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: aph at gcc dot gnu dot org @ 2005-05-16 13:06 UTC (permalink / raw)
To: java-prs
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21428
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/21428] [3.4/4.0/4.1 Regression] bogus warning: unused parameter 'this'
2005-05-06 21:04 [Bug java/21428] New: bogus warning: unused parameter 'this' kon at iki dot fi
` (2 preceding siblings ...)
2005-05-16 13:06 ` aph at gcc dot gnu dot org
@ 2005-05-26 18:54 ` pinskia at gcc dot gnu dot org
2005-06-30 5:34 ` tromey at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-26 18:54 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-26 18:54 -------
Yes this fixes it for me.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |aph at gcc dot gnu dot org
|dot org |
Status|WAITING |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21428
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/21428] [3.4/4.0/4.1 Regression] bogus warning: unused parameter 'this'
2005-05-06 21:04 [Bug java/21428] New: bogus warning: unused parameter 'this' kon at iki dot fi
` (3 preceding siblings ...)
2005-05-26 18:54 ` pinskia at gcc dot gnu dot org
@ 2005-06-30 5:34 ` tromey at gcc dot gnu dot org
2005-06-30 8:58 ` aph at redhat dot com
2005-08-22 3:30 ` mmitchel at gcc dot gnu dot org
6 siblings, 0 replies; 9+ messages in thread
From: tromey at gcc dot gnu dot org @ 2005-06-30 5:34 UTC (permalink / raw)
To: java-prs
------- Additional Comments From tromey at gcc dot gnu dot org 2005-06-30 05:33 -------
I don't see this in cvs; is there a reason not to check it in?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21428
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/21428] [3.4/4.0/4.1 Regression] bogus warning: unused parameter 'this'
2005-05-06 21:04 [Bug java/21428] New: bogus warning: unused parameter 'this' kon at iki dot fi
` (4 preceding siblings ...)
2005-06-30 5:34 ` tromey at gcc dot gnu dot org
@ 2005-06-30 8:58 ` aph at redhat dot com
2005-08-22 3:30 ` mmitchel at gcc dot gnu dot org
6 siblings, 0 replies; 9+ messages in thread
From: aph at redhat dot com @ 2005-06-30 8:58 UTC (permalink / raw)
To: java-prs
------- Additional Comments From aph at redhat dot com 2005-06-30 08:58 -------
Ah, thanks. It was a causalty of a hard disk crash I had.
I'll do it once 4.0 is thawed.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21428
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/21428] [3.4/4.0/4.1 Regression] bogus warning: unused parameter 'this'
2005-05-06 21:04 [Bug java/21428] New: bogus warning: unused parameter 'this' kon at iki dot fi
` (5 preceding siblings ...)
2005-06-30 8:58 ` aph at redhat dot com
@ 2005-08-22 3:30 ` mmitchel at gcc dot gnu dot org
6 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-08-22 3:30 UTC (permalink / raw)
To: java-prs
------- Additional Comments From mmitchel at gcc dot gnu dot org 2005-08-22 03:30 -------
Java bugs are not release-critical; removing target milestone.
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.1.0 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21428
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/21428] [3.4/4.0/4.1 Regression] bogus warning: unused parameter 'this'
[not found] <bug-21428-9521@http.gcc.gnu.org/bugzilla/>
@ 2005-10-30 22:17 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-30 22:17 UTC (permalink / raw)
To: java-prs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P2 |P5
Target Milestone|--- |4.1.0
Flag| |4.1blocker-
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21428
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-10-30 22:17 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-06 21:04 [Bug java/21428] New: bogus warning: unused parameter 'this' kon at iki dot fi
2005-05-06 21:13 ` [Bug java/21428] " mark at gcc dot gnu dot org
2005-05-06 21:22 ` [Bug java/21428] [3.4/4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
2005-05-16 13:06 ` aph at gcc dot gnu dot org
2005-05-26 18:54 ` pinskia at gcc dot gnu dot org
2005-06-30 5:34 ` tromey at gcc dot gnu dot org
2005-06-30 8:58 ` aph at redhat dot com
2005-08-22 3:30 ` mmitchel at gcc dot gnu dot org
[not found] <bug-21428-9521@http.gcc.gnu.org/bugzilla/>
2005-10-30 22:17 ` 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).