This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug c++/54899] -fpredictive-commoning and -ftree-vectorize optimizations generate a nonsensical binary which segfaults


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

--- Comment #2 from Zdenek Sojka <zsojka at seznam dot cz> 2012-10-11 10:47:09 UTC ---
(In reply to comment #1)
> bug2.ii:57
>     Thing thing(Vec<>(0.0, 1.0, 0.0), Vec<>(0.0, 1.0, 1.0));
> bug2.ii:33
>    inline VecBinaryExpr(const Vec<>& e1, const Vec<>& e2) : Exp1(e1), Exp2(e2)
> {}
> bug2.ii:31
>    const Vec<>& Exp1;
>    const Vec<>& Exp2;
> 

Sorry, I was in a hurry and mistaked Thing and VecBinaryExpr.


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