projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d7d040
)
(force_fit_type): Abort if T not INTEGER_CST.
author
Richard Stallman
<rms@gnu.org>
Sat, 30 Jan 1993 01:57:54 +0000
(
01:57
+0000)
committer
Richard Stallman
<rms@gnu.org>
Sat, 30 Jan 1993 01:57:54 +0000
(
01:57
+0000)
From-SVN: r3387
gcc/fold-const.c
patch
|
blob
|
history
diff --git
a/gcc/fold-const.c
b/gcc/fold-const.c
index e3a7ca0efbc0494c516f1172f408764f9d2bf05d..a84ec0457a9672762266598331e683c62deb0d50 100644
(file)
--- a/
gcc/fold-const.c
+++ b/
gcc/fold-const.c
@@
-124,6
+124,9
@@
force_fit_type (t)
{
register int prec = TYPE_PRECISION (TREE_TYPE (t));
+ if (TREE_CODE (t) != INTEGER_CST)
+ abort ();
+
if (TREE_CODE (TREE_TYPE (t)) == POINTER_TYPE)
prec = POINTER_SIZE;