aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2013-10-27 18:50:01 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2013-10-27 18:50:01 +0000
commitd570872da175ccdd8f3e7326e8051fa5c3ec020a (patch)
tree3f7bc77dbb234a30b5ea4a59ad21c1c815a437dd
parent4962e51350ed05a4ebc5e5dc123ac744ce5c5d59 (diff)
downloadgcc-d570872da175ccdd8f3e7326e8051fa5c3ec020a.zip
gcc-d570872da175ccdd8f3e7326e8051fa5c3ec020a.tar.gz
gcc-d570872da175ccdd8f3e7326e8051fa5c3ec020a.tar.bz2
c-lex.c (interpret_integer): Remove call to cpp_num_sign_extend.
gcc/c-family/ * c-lex.c (interpret_integer): Remove call to cpp_num_sign_extend. From-SVN: r204108
-rw-r--r--gcc/c-family/ChangeLog4
-rw-r--r--gcc/c-family/c-lex.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 1fab5a8..87d0034 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,7 @@
+2013-10-27 Richard Sandiford <rdsandiford@googlemail.com>
+
+ * c-lex.c (interpret_integer): Remove call to cpp_num_sign_extend.
+
2013-10-26 Jeff Law <law@redhat.com>
* c-family/c-common.c (c_define_builtins): Remove mudflap support.
diff --git a/gcc/c-family/c-lex.c b/gcc/c-family/c-lex.c
index 819e9d5..4dfd5d9 100644
--- a/gcc/c-family/c-lex.c
+++ b/gcc/c-family/c-lex.c
@@ -595,12 +595,10 @@ interpret_integer (const cpp_token *token, unsigned int flags,
tree value, type;
enum integer_type_kind itk;
cpp_num integer;
- cpp_options *options = cpp_get_options (parse_in);
*overflow = OT_NONE;
integer = cpp_interpret_integer (parse_in, token, flags);
- integer = cpp_num_sign_extend (integer, options->precision);
if (integer.overflow)
*overflow = OT_OVERFLOW;