This is the mail archive of the gcc-patches@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]

Re: [C++ PATCH]: size_zero_node


    G++ had been assuming that all incomplete types had either NULL or
    size_zero_node TYPE_SIZE. This is no longer true.

    Here's a patch which stops G++ making that assumption. Ok? Or would
    it be better to restore the use of size_zero_node?

I think it's better to check for zero since that has more semantic meaning
and is probably cleaner.

In any event, TYPE_SIZE should have always had a node of bitsizetype anyway!

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