diff options
author | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-09 19:44:38 +0000 |
---|---|---|
committer | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-09 19:44:38 +0000 |
commit | 02fc645a90d105c647fa1c0a854b4a453fac45b3 (patch) | |
tree | f1794950b38ad16f00c59d77b988184952e3f1ef | |
parent | 740f575d38d505f003b9a7dfc15f14676cf899b1 (diff) | |
download | gcc-02fc645a90d105c647fa1c0a854b4a453fac45b3.tar.gz |
2004-11-09 Andrew Pinski <pinskia@physics.uc.edu>
PR objc/18406
* obj-act.c (encode_type): 96bits doubles are encoded the
same way as 64bit and 128bit doubles are.
2004-11-09 Andrew Pinski <pinskia@physics.uc.edu>
PR objc/18406
* objc/compile/pr18406.m: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90361 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/objc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/objc/objc-act.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/objc/compile/pr18406.m | 9 |
4 files changed, 21 insertions, 0 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index bf9096c799b..6eaa96429da 100644 --- a/gcc/objc/ChangeLog +++ b/gcc/objc/ChangeLog @@ -1,3 +1,9 @@ +2004-11-09 Andrew Pinski <pinskia@physics.uc.edu> + + PR objc/18406 + * obj-act.c (encode_type): 96bits doubles are encoded the + same way as 64bit and 128bit doubles are. + 2004-11-09 Joseph S. Myers <joseph@codesourcery.com> * objc-act.c: Use %q, %< and %> for quoting in diagnostics. diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 9e289936f26..408f25709a4 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -7245,6 +7245,7 @@ encode_type (tree type, int curtype, int format) { case 32: c = 'f'; break; case 64: + case 96: case 128: c = 'd'; break; default: abort (); } diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d4e2788818a..d63447e978a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-11-09 Andrew Pinski <pinskia@physics.uc.edu> + + PR objc/18406 + * objc/compile/pr18406.m: New test. + 2004-11-09 Joseph S. Myers <joseph@codesourcery.com> * gcc.dg/builtin-prefetch-1.c: Update expected diagnostic. diff --git a/gcc/testsuite/objc/compile/pr18406.m b/gcc/testsuite/objc/compile/pr18406.m new file mode 100644 index 00000000000..d34334f00fb --- /dev/null +++ b/gcc/testsuite/objc/compile/pr18406.m @@ -0,0 +1,9 @@ +@interface Test +- (void)test: (long double)val; +@end + +@implementation Test +- (void)test: (long double)val +{ +} +@end |