This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/11554] [3.3/3.4 Regression] Warning about reordering of initializers doesn't mention location of constructor


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]