aboutsummaryrefslogtreecommitdiff
path: root/gcc/diagnostic.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2016-04-22 10:57:56 +0000
committerSzabolcs Nagy <nsz@gcc.gnu.org>2016-04-22 10:57:56 +0000
commite4ccecd5d0a991e22d34a631aff2792a41fff22a (patch)
treee72a355d115ef6ed970eb201d335c82ed82a474d /gcc/diagnostic.c
parent9a13d066d74c4842a453297b9d2ad9b07348e623 (diff)
downloadgcc-e4ccecd5d0a991e22d34a631aff2792a41fff22a.zip
gcc-e4ccecd5d0a991e22d34a631aff2792a41fff22a.tar.gz
gcc-e4ccecd5d0a991e22d34a631aff2792a41fff22a.tar.bz2
[PATCH 1/2] (header usage fix) remove unused system header includes
2016-04-22 Szabolcs Nagy <szabolcs.nagy@arm.com> * auto-profile.c: Remove <string.h> include. * ipa-icf-gimple.c: Remove <list> include. * diagnostic.c: Remove <new> include. * genmatch.c: Likewise. * pretty-print.c: Likewise. * toplev.c: Likewise * c/c-objc-common.c: Likewise. * cp/error.c: Likewise. * fortran/error.c: Likewise. From-SVN: r235361
Diffstat (limited to 'gcc/diagnostic.c')
-rw-r--r--gcc/diagnostic.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c
index 6a679cb..8106172 100644
--- a/gcc/diagnostic.c
+++ b/gcc/diagnostic.c
@@ -40,8 +40,6 @@ along with GCC; see the file COPYING3. If not see
# include <sys/ioctl.h>
#endif
-#include <new> // For placement new.
-
#define pedantic_warning_kind(DC) \
((DC)->pedantic_errors ? DK_ERROR : DK_WARNING)
#define permissive_error_kind(DC) ((DC)->permissive ? DK_WARNING : DK_ERROR)