OSDN Git Service

2004-11-09 Andrew Pinski <pinskia@physics.uc.edu>
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Nov 2004 19:44:38 +0000 (19:44 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Nov 2004 19:44:38 +0000 (19:44 +0000)
        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

gcc/objc/ChangeLog
gcc/objc/objc-act.c
gcc/testsuite/ChangeLog
gcc/testsuite/objc/compile/pr18406.m [new file with mode: 0644]

index bf9096c..6eaa964 100644 (file)
@@ -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.
index 9e28993..408f257 100644 (file)
@@ -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 ();
        }
index d4e2788..d63447e 100644 (file)
@@ -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 (file)
index 0000000..d34334f
--- /dev/null
@@ -0,0 +1,9 @@
+@interface Test
+- (void)test: (long double)val;
+@end
+
+@implementation Test
+- (void)test: (long double)val
+{
+}
+@end