[Bug c++/42251] [4.5 Regression] failure detecting constant integral expression
rwgk at yahoo dot com
gcc-bugzilla@gcc.gnu.org
Sun Dec 6 19:18:00 GMT 2009
------- Comment #2 from rwgk at yahoo dot com 2009-12-06 19:18 -------
With a binary search in the svn history I found that the change below lead to
the regression.
I believe it is a major problem. Could someone confirm it?
I think it should be a P1.
------------------------------------------------------------------------
r154768 | dodji | 2009-11-30 01:58:20 -0800 (Mon, 30 Nov 2009) | 9 lines
Fix PR c++/42069
gcc/cp/ChangeLog:
PR c++/42069
* pt.c (convert_template_argument): Strip typedefs from SCOPE_REFs.
gcc/testsuite/ChangeLog:
PR c++/42069
* g++.dg/template/typedef23.C: New test.
------------------------------------------------------------------------
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42251
More information about the Gcc-bugs
mailing list