public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Request to merge Undefined Behavior Sanitizer in (take 3)
@ 2013-08-15 15:08 Marek Polacek
  2013-08-20  8:40 ` Marek Polacek
  2013-08-22 18:19 ` Marek Polacek
  0 siblings, 2 replies; 11+ messages in thread
From: Marek Polacek @ 2013-08-15 15:08 UTC (permalink / raw)
  To: GCC Patches; +Cc: Jakub Jelinek, Jason Merrill, Joseph S. Myers

[-- Attachment #1: Type: text/plain, Size: 1738 bytes --]

I've fixed a few unpleasant bugs; mainly the bug that introduced
various uninitialized variable warnings was bothersome.
Now it is possible to do bootstrap with -fsanitize=undefined,
even though there are some comparison failures at the end.

v3:
 - Fix Wuninitialized warnings because of SAVE_EXPRs
   http://gcc.gnu.org/ml/gcc-patches/2013-08/msg00861.html
 - [ubsan] Add -lpthread to POSTSTAGE1_LDFLAGS
   http://gcc.gnu.org/ml/gcc-patches/2013-08/msg00793.html
 - [ubsan] Fix assert in c-ubsan.c
   http://gcc.gnu.org/ml/gcc-patches/2013-08/msg00802.html
 - [ubsan] Properly create const char type
   http://gcc.gnu.org/ml/gcc-patches/2013-08/msg00213.html

v2:
 - [ubsan] Add -static-libubsan
   http://gcc.gnu.org/ml/gcc-patches/2013-07/msg01467.html
 - [ubsan] Don't try to sanitize shifts outside of functions
   http://gcc.gnu.org/ml/gcc-patches/2013-07/msg01468.html
 - [ubsan] Use build_constructor_va where possible
   http://gcc.gnu.org/ml/gcc-patches/2013-07/msg01469.html
 - [ubsan] Add bootstrap-ubsan.mk
   http://gcc.gnu.org/ml/gcc-patches/2013-07/msg01470.html
 - [ubsan] Rename obsolete variable
   http://gcc.gnu.org/ml/gcc-patches/2013-07/msg01473.html
 - [ubsan] Instrument expr only when doing shift or division
   http://gcc.gnu.org/ml/gcc-patches/2013-07/msg01529.html
 - [ubsan] Improve documentation of -fsanitize=undefined
   http://gcc.gnu.org/ml/gcc-patches/2013-07/msg01540.html
 - [ubsan] Add missing ubsan tests in g++.dg/dg.exp
   http://gcc.gnu.org/ml/gcc-patches/2013-07/msg01563.html

Regtested/bootstrapped on x86_64-linux and ppc64-linux.

One patch is not in yet, but that isn't anything important:
   http://gcc.gnu.org/ml/gcc-patches/2013-08/msg00376.html

Ok to merge ubsan into trunk?

	Marek

[-- Attachment #2: U.tar.bz2 --]
[-- Type: application/x-bzip2, Size: 39658 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-08-30 12:29 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-15 15:08 Request to merge Undefined Behavior Sanitizer in (take 3) Marek Polacek
2013-08-20  8:40 ` Marek Polacek
2013-08-22 18:19 ` Marek Polacek
2013-08-22 19:05   ` Marek Polacek
2013-08-27 14:36     ` Marek Polacek
2013-08-30  8:15       ` Marek Polacek
2013-08-30  8:23         ` Jakub Jelinek
2013-08-30  8:40           ` Marek Polacek
2013-08-30  8:45             ` Jakub Jelinek
2013-08-30 12:25               ` Marek Polacek
2013-08-30 13:09                 ` Jakub Jelinek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).