[Bug tree-optimization/42714] [4.5 Regression] ICE in create_tmp_var, at gimplify.c:504

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jan 13 09:55:00 GMT 2010



------- Comment #2 from rguenth at gcc dot gnu dot org  2010-01-13 09:55 -------
struct QVectorData {
    static QVectorData shared_null;
};
template <typename T> class QVector {
    union {
        QVectorData *d;
    };
public:
    inline QVector() : d(&QVectorData::shared_null) { }
    inline QVector(const QVector<T> &v) : d(v.d) { }
};
class QXmlStreamAttribute { };
class QXmlStreamAttributes : public QVector<QXmlStreamAttribute> { };
class __attribute__ ((visibility("default"))) Smoke {
public:
    union StackItem;
    typedef StackItem* Stack;
    typedef short Index;
};
class SmokeBinding { };
namespace __smokeqt {
    class x_QXmlStreamAttributes : public QXmlStreamAttributes {
        SmokeBinding* _binding;
    public:
        static void x_11(Smoke::Stack x) {
            x_QXmlStreamAttributes* xret = new x_QXmlStreamAttributes();
        }
        explicit x_QXmlStreamAttributes() : QXmlStreamAttributes() { }
    };
    void xcall_QXmlStreamAttributes(Smoke::Index xi, void *obj,
                                    Smoke::Stack args)
      {
        switch(xi) {
            case 11: x_QXmlStreamAttributes::x_11(args);
        }
      }
}


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-01-13 09:55:43
               date|                            |
   Target Milestone|---                         |4.5.0


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



More information about the Gcc-bugs mailing list