[Bug c++/25152] [4.0 only] no warning from -Wstrict-aliasing for C++ code
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Dec 8 12:30:00 GMT 2005
------- Comment #8 from jakub at gcc dot gnu dot org 2005-12-08 12:30 -------
-Wstrict-aliasing backport has been committed today to gcc-4_1-branch:
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108226
For 4.0, it is IMHO a bad idea to backport this, there are tons of programs
built with -Werror and if we suddenly start issuing a huge amount of new
warnings (and this warning has sometimes many false positives), we'd force
people to change packages a lot. People are used to do this kind of things
when porting to a newer major GCC version, but e.g. when upgrading from
x.y.z to x.y.z+1 it is not expected.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.0/4.1 only] no warning |[4.0 only] no warning from -
|from -Wstrict-aliasing for |Wstrict-aliasing for C++
|C++ code |code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25152
More information about the Gcc-bugs
mailing list