This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/8057] [3.3/3.4 regression] Templates/non-templates and warnings about statements without effects
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jul 2003 06:44:53 -0000
- Subject: [Bug c++/8057] [3.3/3.4 regression] Templates/non-templates and warnings about statements without effects
- References: <20020926115600.8057.bangerth@ticam.utexas.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8057
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-07-10 06:44 -------
Actually, the real problem here is that we use the middle-end to issue
diagnostics that need to be emitted from the front end. I've sermonized on this
before: the idea of using the optimizers to detect unused/uninitialized/etc.
variables *sounds* good -- but it leads to all these very real usability
problems, which is why no other compiler does it this way. There is nothing
that can be done to fix this problem with our current infrastructure, so this is
going to have to wait until (at least) GCC 3.4.