This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/54903] [4.8 Regression] Auto + static in-class constant initalization not working
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 11 Oct 2012 22:53:25 +0000
- Subject: [Bug c++/54903] [4.8 Regression] Auto + static in-class constant initalization not working
- Auto-submitted: auto-generated
- References: <bug-54903-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54903
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-10-11
CC| |jason at gcc dot gnu.org
Target Milestone|--- |4.8.0
Summary|Auto + static in-class |[4.8 Regression] Auto +
|constant initalization not |static in-class constant
|working |initalization not working
Ever Confirmed|0 |1
--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-10-11 22:53:25 UTC ---
In terms of FSF releases, this is accepted by all the 4.7.x releases up to
current 4_7-branch. It's not accepted by current mainline with:
54903.C:14:23: error: use of âAngle<N>::valueâ before deduction of âautoâ
typedef Angle<value> type;
^
54903.C:14:23: error: use of âAngle<N>::valueâ before deduction of âautoâ
Thus it seems a Regression (if anything ;)