This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11554] [3.3/3.4 Regression] Warning about reordering of initializers doesn't mention location of constructor
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Jul 2003 23:41:51 -0000
- Subject: [Bug c++/11554] [3.3/3.4 Regression] Warning about reordering of initializers doesn't mention location of constructor
- References: <20030716233217.11554.bangerth@dealii.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11554
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-07-16 23:41:51
date| |
Summary|Warning about reordering of |[3.3/3.4 Regression] Warning
|initializers doesn't mention|about reordering of
|location of constructor |initializers doesn't mention
| |location of constructor
Target Milestone|3.4 |3.3.2
------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-16 23:41 -------
I can confirm this on 3.3.1 (20030707) and the mainline (20030716), but on 3.2.3, gcc gives the
line number:
pr11554.cc: In constructor `Y::Y()':
pr11554.cc:3: warning: member initializers for `int Y::i2'
pr11554.cc:3: warning: and `int Y::i1'
pr11554.cc:6: warning: will be re-ordered to match declaration order
I do not know why this was changed.