[Bug sanitizer/80536] [6/7/8 Regression] UBSAN: compile time segfault
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 26 20:26:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80536
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |6.4
Summary|UBSAN: compile time |[6/7/8 Regression] UBSAN:
|segfault |compile time segfault
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Started with
commit c61a1e061d7d208571d26dbb4e0873b0b4e36ec4
Author: jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Tue Nov 17 21:44:08 2015 +0000
Don't fold -(constant) or -0.
* parser.c (cp_parser_unary_expression): Fold -constant here.
* typeck.c (cp_build_unary_op): Not here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230506
138bc75d-0d04-0410-961f-82ee72b054a4
More information about the Gcc-bugs
mailing list