Return of bad i386 assembly output bug

Mark Mitchell mark@markmitchell.com
Tue Aug 4 10:03:00 GMT 1998


>>>>> "David" == David Mazieres <dm@reeducation-labor.lcs.mit.edu> writes:

    David> template<class T> class ihash_entry { };

    David> template<class T, ihash_entry<T> T::*field> struct
    David> ihash_core { ihash_core () {} };

    David> template<class T, ihash_entry<T> T::*field> struct ihash :
    David> public ihash_core<T, field> { ihash () {} };

    David> struct element { ihash_entry<element> hlink; };

    David> ihash<element, &element::hlink> etab;

This code compiles for me on the mainline.  Is that true for you, too?
If so, I'm afraid that's just going to be one of those things that
will have to wait for 1.2...  The only recent template changes were
rather large, probably too large to incorporate this late in the
release cycle, unless Jason is feeling rather gutsy.

-- 
Mark Mitchell 			mark@markmitchell.com
Mark Mitchell Consulting	http://www.markmitchell.com



More information about the Gcc-bugs mailing list