[Bug c++/36695] [4.3/4.4 Regression] Value-initialization of reference type is allowed.
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Dec 30 03:28:00 GMT 2008
------- Comment #4 from pinskia at gcc dot gnu dot org 2008-12-30 03:27 -------
The patch which fixed PR 21210 caused this regression. There needs to be an
extra check if we are moving away from using build_c_cast. In fact reverting
that patch fixes the issue and gets us back to where we were before for this
bug plus does not regress for the other bug. I think other patches fixed PR
21210 correctly.
Testing the reverting of the patch right now.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sayle at gcc dot gnu dot org
AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
GCC build triplet|x86_64-unknown-linux-gnu |
GCC host triplet|x86_64-unknown-linux-gnu |
GCC target triplet|x86_64-unknown-linux-gnu |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36695
More information about the Gcc-bugs
mailing list