summaryrefslogtreecommitdiff
path: root/gcc/c-lex.c
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-03-08 23:25:19 -0800
committerYamaArashi <shadow962@live.com>2016-03-08 23:25:19 -0800
commit7444c4f6f7881c4700f8c8cd4c87d3648f9c85a3 (patch)
tree2501ee3e1dbcdb1147a80588ae9dfb2e6d06aa68 /gcc/c-lex.c
parent08234586501ffddc186f6e254ce6847faa139f5f (diff)
remove big-endian target support
Diffstat (limited to 'gcc/c-lex.c')
-rwxr-xr-xgcc/c-lex.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c
index 895163f..c82fc96 100755
--- a/gcc/c-lex.c
+++ b/gcc/c-lex.c
@@ -1972,10 +1972,7 @@ yylex ()
value = 0;
else
value = (c >> (byte * width)) & bytemask;
- if (BYTES_BIG_ENDIAN)
- p[WCHAR_BYTES - byte - 1] = value;
- else
- p[byte] = value;
+ p[byte] = value;
}
p += WCHAR_BYTES;
}