Commit 6ad0466f by Jason Merrill

Use -Wno-deprecated for std::uncaught_exception tests.

	* g++.dg/eh/uncaught1.C: Pass -Wno-deprecated.
	* g++.dg/eh/uncaught2.C: Pass -Wno-deprecated.
	* g++.dg/eh/uncaught4.C: Pass -Wno-deprecated.
	* g++.old-deja/g++.mike/eh48.C: Pass -Wno-deprecated.

From-SVN: r253262
parent ff299487
// PR libstdc++/10606
// { dg-do run }
// { dg-options "-fuse-cxa-get-exception-ptr" { target powerpc*-*-darwin* } }
// { dg-options "-Wno-deprecated" }
// { dg-options "-fuse-cxa-get-exception-ptr -Wno-deprecated" { target powerpc*-*-darwin* } }
#include <exception>
#include <cstdlib>
......
// { dg-do compile }
// { dg-final { scan-assembler-not "__cxa_get_exception" } }
// { dg-options "-fno-use-cxa-get-exception-ptr" }
// { dg-options "-fno-use-cxa-get-exception-ptr -Wno-deprecated" }
#include <exception>
#include <cstdlib>
......
// PR c++/41174
// { dg-do run }
// { dg-options "-Wno-deprecated" }
#include <exception>
......
// { dg-do run { xfail sparc64-*-elf arm-*-pe } }
// { dg-options "-fexceptions" }
// { dg-options "-fexceptions -Wno-deprecated" }
#include <exception>
#include <stdlib.h>
......
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