2017-10-18 Martin Liska <mliska@suse.cz>
PR sanitizer/82545
* asan.c (asan_expand_poison_ifn): Do not put gimple stmt
on an abnormal edge.
2017-10-18 Martin Liska <mliska@suse.cz>
PR sanitizer/82545
* gcc.dg/asan/pr82545.c: New test.
From-SVN: r253845
+2017-10-18 Martin Liska <mliska@suse.cz>
+
+ PR sanitizer/82545
+ * asan.c (asan_expand_poison_ifn): Do not put gimple stmt
+ on an abnormal edge.
+
2017-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
* doc/invoke.texi (ffunction-sections and fdata-sections):
{
edge e = gimple_phi_arg_edge (phi, i);
+ /* Do not insert on an edge we can't split. */
+ if (e->flags & EDGE_ABNORMAL)
+ continue;
+
if (call_to_insert == NULL)
call_to_insert = gimple_copy (call);
+2017-10-18 Martin Liska <mliska@suse.cz>
+
+ PR sanitizer/82545
+ * gcc.dg/asan/pr82545.c: New test.
+
2017-10-18 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/69057
--- /dev/null
+/* PR sanitizer/82545. */
+/* { dg-do compile } */
+
+extern void c(int);
+extern void d(void);
+
+void *buf[5];
+
+void a(void) {
+ {
+ int b;
+ &b;
+ __builtin_setjmp(buf);
+ c(b);
+ }
+ d();
+}