summaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>2012-05-29 09:42:28 +0000
committerdodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>2012-05-29 09:42:28 +0000
commit40e83228d9e0c139a4496548260568cd4575d6de (patch)
tree36bf60e6e456d55a5ac2e764c579be596bf99f02 /libcpp
parent8c6425eb9fc0fe573a3345665723f3b8fc05b074 (diff)
downloadgcc-40e83228d9e0c139a4496548260568cd4575d6de.tar.gz
Revert "PR bootstrap/53459 - unused local typedef when building on altivec"
This reverts commit r187853 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187946 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp')
-rw-r--r--libcpp/ChangeLog5
-rw-r--r--libcpp/lex.c1
2 files changed, 1 insertions, 5 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index 19936fe431d..0d25c4d633f 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -23,11 +23,6 @@
(enter_macro_context): Set the cpp_reader::about_to_expand_macro_p
flag until we really start expanding the macro.
-2012-05-24 Dodji Seketeli <dodji@redhat.com>
-
- PR bootstrap/53459
- * lex.c (search_line_fast): Remove unused typedef check_count.
-
2012-05-16 Dodji Seketeli <dodji@redhat.com>
PR preprocessor/7263
diff --git a/libcpp/lex.c b/libcpp/lex.c
index 2ebbee967c2..c4dd6035c9b 100644
--- a/libcpp/lex.c
+++ b/libcpp/lex.c
@@ -590,6 +590,7 @@ search_line_fast (const uchar *s, const uchar *end ATTRIBUTE_UNUSED)
{
#define N (sizeof(vc) / sizeof(long))
+ typedef char check_count[(N == 2 || N == 4) * 2 - 1];
union {
vc v;
unsigned long l[N];