------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-12
18:53 -------
Confirmed, reduced testcase:
class Base;
template<typename Type>
inline Base const& operator>>(Base const& rConfiguration, Type& rType) ;
enum { HSize = 6, HMask = 0x3f, VMask = HMask << HSize };
int verData(unsigned int data){ return (int)( (data & VMask) >> HSize ); }
Note it start failing after "2004-12-11".
This is valid code we should reject the template as it does not fit with the
arguments.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |rejects-valid
Last reconfirmed|0000-00-00 00:00:00 |2005-01-12 18:53:44
date| |
Summary|error: |[4.0 Regression] error:
|'QSizePolicy::<anonymous |'QSizePolicy::<anonymous
|enum>' uses anonymous type |enum>' uses anonymous type
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19404