This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/66630] Missing ubsan/ftrapv error
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 23 Jun 2015 08:17:22 +0000
- Subject: [Bug middle-end/66630] Missing ubsan/ftrapv error
- Auto-submitted: auto-generated
- References: <bug-66630-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66630
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
For -ftrapv I never got around to commit some of the fixes I posted last
year...
(guard CCP properly for example). Eventually at least CCP should be more
aggressive and simplify trapping stuff to __builtin_trap () (but the optab
implementations in libgcc use abort ()).