[Bug c++/8057] [3.3/3.4 regression] Templates/non-templates and warnings about statements without effects
mmitchel at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Jul 10 06:44:00 GMT 2003
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.
More information about the Gcc-bugs
mailing list