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 tree-optimization/81705] UBSAN: yet another false positive


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81705

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
I don't see this with g++-7 which has

(void) (a = (-516151698 - NON_LVALUE_EXPR <var_4>) - -NON_LVALUE_EXPR <var_14>)

trunks produces

(void) (a = -516151698 - (-NON_LVALUE_EXPR <var_14> + NON_LVALUE_EXPR <var_4>))

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