public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/9848] [3.3/3.4 regression] missing 'unused parameter' warning.
       [not found] <20030225140600.9848.yotamm@mellanox.co.il>
@ 2003-06-08 18:56 ` pinskia@physics.uc.edu
  2003-06-27 21:27 ` mmitchel at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: pinskia@physics.uc.edu @ 2003-06-08 18:56 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9848


pinskia@physics.uc.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.3.1


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

* [Bug c++/9848] [3.3/3.4 regression] missing 'unused parameter' warning.
       [not found] <20030225140600.9848.yotamm@mellanox.co.il>
  2003-06-08 18:56 ` [Bug c++/9848] [3.3/3.4 regression] missing 'unused parameter' warning pinskia@physics.uc.edu
@ 2003-06-27 21:27 ` mmitchel at gcc dot gnu dot org
  2003-09-06 19:42 ` nathan at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2003-06-27 21:27 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9848


mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.3.1                       |3.4


------- Additional Comments From mmitchel at gcc dot gnu dot org  2003-06-27 21:27 -------
This problem is essentially unfixable given our current infrastructure.

Due to the fact that there are multiple entry points for constructors, we must
either warn twice about some programs, or never about others.  We elected to
avoid warning twice because that was very confusing to people.

There is another PR, of which this is a duplicate, but I cannot find it at the
moment.

I have retargeted this PR to 3.4 because we certainly will not fix it in GCC 3.3.x.


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

* [Bug c++/9848] [3.3/3.4 regression] missing 'unused parameter' warning.
       [not found] <20030225140600.9848.yotamm@mellanox.co.il>
  2003-06-08 18:56 ` [Bug c++/9848] [3.3/3.4 regression] missing 'unused parameter' warning pinskia@physics.uc.edu
  2003-06-27 21:27 ` mmitchel at gcc dot gnu dot org
@ 2003-09-06 19:42 ` nathan at gcc dot gnu dot org
  2003-09-18 17:35 ` nathan at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: nathan at gcc dot gnu dot org @ 2003-09-06 19:42 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9848


nathan at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |nathan at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


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

* [Bug c++/9848] [3.3/3.4 regression] missing 'unused parameter' warning.
       [not found] <20030225140600.9848.yotamm@mellanox.co.il>
                   ` (2 preceding siblings ...)
  2003-09-06 19:42 ` nathan at gcc dot gnu dot org
@ 2003-09-18 17:35 ` nathan at gcc dot gnu dot org
  2003-09-18 17:41 ` cvs-commit at gcc dot gnu dot org
  2003-09-18 17:49 ` nathan at gcc dot gnu dot org
  5 siblings, 0 replies; 6+ messages in thread
From: nathan at gcc dot gnu dot org @ 2003-09-18 17:35 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9848



------- Additional Comments From nathan at gcc dot gnu dot org  2003-09-18 17:06 -------
2003-09-18  Nathan Sidwell  <nathan@codesourcery.com>

	PR c++/9848
	* optimize.c (maybe_clone_body): Don't set MARK_USED on parameters
	here.
	* semantics.c (expand_body): Set it here on the remaining clones.


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

* [Bug c++/9848] [3.3/3.4 regression] missing 'unused parameter' warning.
       [not found] <20030225140600.9848.yotamm@mellanox.co.il>
                   ` (3 preceding siblings ...)
  2003-09-18 17:35 ` nathan at gcc dot gnu dot org
@ 2003-09-18 17:41 ` cvs-commit at gcc dot gnu dot org
  2003-09-18 17:49 ` nathan at gcc dot gnu dot org
  5 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-09-18 17:41 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9848



------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-09-18 17:08 -------
Subject: Bug 9848

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	nathan@gcc.gnu.org	2003-09-18 17:07:54

Modified files:
	gcc/cp         : ChangeLog optimize.c semantics.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/g++.dg/warn: Wunused-4.C 

Log message:
	cp:
	PR c++/9848
	* optimize.c (maybe_clone_body): Don't set MARK_USED on parameters
	here.
	* semantics.c (expand_body): Set it here on the remaining clones.
	testsuite:
	PR c++/9848
	* g++.dg/warn/Wunused-4.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3690&r2=1.3691
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/optimize.c.diff?cvsroot=gcc&r1=1.98&r2=1.99
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcc&r1=1.364&r2=1.365
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3063&r2=1.3064
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/warn/Wunused-4.C.diff?cvsroot=gcc&r1=NONE&r2=1.1


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

* [Bug c++/9848] [3.3/3.4 regression] missing 'unused parameter' warning.
       [not found] <20030225140600.9848.yotamm@mellanox.co.il>
                   ` (4 preceding siblings ...)
  2003-09-18 17:41 ` cvs-commit at gcc dot gnu dot org
@ 2003-09-18 17:49 ` nathan at gcc dot gnu dot org
  5 siblings, 0 replies; 6+ messages in thread
From: nathan at gcc dot gnu dot org @ 2003-09-18 17:49 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9848


nathan at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


------- Additional Comments From nathan at gcc dot gnu dot org  2003-09-18 17:11 -------
fixed


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

end of thread, other threads:[~2003-09-18 17:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20030225140600.9848.yotamm@mellanox.co.il>
2003-06-08 18:56 ` [Bug c++/9848] [3.3/3.4 regression] missing 'unused parameter' warning pinskia@physics.uc.edu
2003-06-27 21:27 ` mmitchel at gcc dot gnu dot org
2003-09-06 19:42 ` nathan at gcc dot gnu dot org
2003-09-18 17:35 ` nathan at gcc dot gnu dot org
2003-09-18 17:41 ` cvs-commit at gcc dot gnu dot org
2003-09-18 17:49 ` nathan 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).