[Bug optimization/12917] [tree-ssa][eh] compiler fails to build mozilla

falk at debian dot org gcc-bugzilla@gcc.gnu.org
Wed Nov 5 23:16:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


falk at debian dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1


------- Additional Comments From falk at debian dot org  2003-11-05 23:16 -------
confirmed on alpha-linux 3.5-tree-ssa 20031105. Here's a test case:

template <class T> struct already_AddRefed {
    already_AddRefed(T* aRawPtr);
};
template <class T> struct nsCOMPtr   {
    ~nsCOMPtr() {}
};

class nsStyleContext;

already_AddRefed<nsStyleContext>
ReParentStyleContext()
{
    nsCOMPtr<int> pseudoTag;
    return 0;
    already_AddRefed<nsStyleContext> result = 0;
    return result;
}



More information about the Gcc-bugs mailing list