--- Comment #7 from jakub at gcc dot gnu dot org 2009-01-10 11:48 ---
Subject: Bug 36695
Author: jakub
Date: Sat Jan 10 11:48:06 2009
New Revision: 143244
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143244
Log:
PR c++/36695
* typeck2.c (build_functional_cast):
--- Comment #6 from pinskia at gcc dot gnu dot org 2008-12-31 01:40 ---
(In reply to comment #5)
> Reverting is a bad approach. We IMHO just want to check for
> TREE_CODE (type) == REFERENCE_TYPE and issue diagnostics that references can't
> be value-initialized.
Yes that seems like a
--- Comment #5 from jakub at gcc dot gnu dot org 2008-12-30 09:51 ---
Reverting is a bad approach. We IMHO just want to check for
TREE_CODE (type) == REFERENCE_TYPE and issue diagnostics that references can't
be value-initialized.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3669
--- 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
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36695
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-12-28 06:46 ---
*** Bug 35975 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
---
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-12-27 22:26 ---
Confirmed, at least a regression for 4.3 and 4.4.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
---