Commit 0af06385 by Bernd Edlinger Committed by Bernd Edlinger

re PR testsuite/77411 (object-size-9.c -fpic -m32 failure)

2016-09-23  Bernd Edlinger  <bernd.edlinger@hotmail.de>
            Tom de Vries  <tom@codesourcery.com>

        PR testsuite/77411
        * c-c++-common/ubsan/object-size-9.c: Call __builtin_exit in C++.

Co-Authored-By: Tom de Vries <tom@codesourcery.com>

From-SVN: r240437
parent 8f01b67a
2016-09-23 Bernd Edlinger <bernd.edlinger@hotmail.de>
Tom de Vries <tom@codesourcery.com>
PR testsuite/77411
* c-c++-common/ubsan/object-size-9.c: Call __builtin_exit in C++.
2016-09-23 Marek Polacek <polacek@redhat.com>
* c-c++-common/gomp/atomic-12.c: Skip for C++1z.
......
......@@ -93,5 +93,9 @@ main (void)
#endif
f4 (12);
f5 (12);
#ifdef __cplusplus
/* Stack may be smashed by f2/f3 above. */
__builtin_exit (0);
#endif
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment