summaryrefslogtreecommitdiff
path: root/gcc/diagnostic.c
diff options
context:
space:
mode:
authornsz <nsz@138bc75d-0d04-0410-961f-82ee72b054a4>2016-04-22 10:57:56 +0000
committernsz <nsz@138bc75d-0d04-0410-961f-82ee72b054a4>2016-04-22 10:57:56 +0000
commit67d05b1bc4798c247603d11f25aa143e8e6e74f0 (patch)
treee72a355d115ef6ed970eb201d335c82ed82a474d /gcc/diagnostic.c
parentf29d86c738a2783d0a96ea0c5652f4409effdf2b (diff)
downloadgcc-67d05b1bc4798c247603d11f25aa143e8e6e74f0.tar.gz
[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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@235361 138bc75d-0d04-0410-961f-82ee72b054a4
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 6a679cb45a4..810617243f2 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)