------- Comment #4 from jakub at gcc dot gnu dot org  2008-04-03 07:51 -------
Subject: Bug 35741

Author: jakub
Date: Thu Apr  3 07:51:01 2008
New Revision: 133864

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133864
Log:
        PR c++/35741
        * semantics.c (finish_offsetof): Undo effect of convert_from_reference
        before calling fold_offsetof.

        * g++.dg/other/offsetof5.C: New test.

Added:
    branches/gcc-4_3-branch/gcc/testsuite/g++.dg/other/offsetof5.C
Modified:
    branches/gcc-4_3-branch/gcc/cp/ChangeLog
    branches/gcc-4_3-branch/gcc/cp/semantics.c
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog


-- 


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

Reply via email to