projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9d0837
)
(fake_f_rep): Add missing element name in cast.
author
Richard Kenner
<kenner@gcc.gnu.org>
Sun, 13 Apr 1997 19:29:35 +0000
(15:29 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Sun, 13 Apr 1997 19:29:35 +0000
(15:29 -0400)
From-SVN: r13893
gcc/enquire.c
patch
|
blob
|
history
diff --git
a/gcc/enquire.c
b/gcc/enquire.c
index 2518c732a6b208a85360c5a0bd76532aa6f87157..5bd34d8860a8ac2187210249658d8df4bc1d9eba 100644
(file)
--- a/
gcc/enquire.c
+++ b/
gcc/enquire.c
@@
-932,7
+932,7
@@
char *fake_f_rep(type, val) char *type; Long_double val; {
union { unsigned int i[4]; Long_double ld;} u;
u.i[0] = u.i[1] = u.i[2] = u.i[3] = 0;
u.ld = val;
- sprintf(buf, "(__extension__ ((union __convert_long_double) {
0x%x, 0x%x, 0x%x, 0x%x
}).__convert_long_double_d)",
+ sprintf(buf, "(__extension__ ((union __convert_long_double) {
__convert_long_double_i: {0x%x, 0x%x, 0x%x, 0x%x}
}).__convert_long_double_d)",
u.i[0], u.i[1], u.i[2], u.i[3]);
return buf;
}