[Bug c++/54158] [4.6, 4.7, 4.8 Regression] Silently accepts sizeof to non-static member without object in C++03 mode

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Thu Aug 2 10:51:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54158

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-08-02 10:51:32 UTC ---
2009-03-31  Jason Merrill  <jason@redhat.com>

    C++ DR 613
    * semantics.c (finish_non_static_data_member): Allow such references
    without an associated object in sizeof/decltype/alignof.



More information about the Gcc-bugs mailing list