On 10/24/2017 04:35 PM, Jason Merrill wrote:
> This new test will fail with -fsanitize=return, won't it?
Yes, but it's not a run-time test-case.
Martin
>
> The rest of the patch is OK.
>
> Jason
On 10/18/2017 08:47 AM, Martin Liška wrote:
This is first patch that addresses test-suite fallout. All these tests fail in
runtime.
+++ b/gcc/testsuite/g++.dg/missing-return.C
@@ -0,0 +1,8 @@
+/* { dg-do compile } */
+/* { dg-options "-Wreturn-type -fdump-tree-optimized" } */
+
+int foo(int
Hello.
This is first patch that addresses test-suite fallout. All these tests fail in
runtime.
Patch can bootstrap on ppc64le-redhat-linux and survives regression tests.
Ready to be installed?
Martin
>From f945460bccf6d54e790bf7c4cacac7cb5b915a28 Mon Sep 17 00:00:00 2001
From: marxin