aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndrew Pinski <pinskia@physics.uc.edu>2004-11-09 19:44:38 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2004-11-09 11:44:38 -0800
commit3172e26ca4384003dbd1bcdf367f65af061ae1b7 (patch)
treef1794950b38ad16f00c59d77b988184952e3f1ef /gcc
parent27fd69fada9d4edddf9b77f7db0bdd10896c2c5d (diff)
downloadgcc-3172e26ca4384003dbd1bcdf367f65af061ae1b7.zip
gcc-3172e26ca4384003dbd1bcdf367f65af061ae1b7.tar.gz
gcc-3172e26ca4384003dbd1bcdf367f65af061ae1b7.tar.bz2
re PR objc/18406 (ICE compiling Objective C code with long double arguments)
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. From-SVN: r90361
Diffstat (limited to 'gcc')
-rw-r--r--gcc/objc/ChangeLog6
-rw-r--r--gcc/objc/objc-act.c1
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/objc/compile/pr18406.m9
4 files changed, 21 insertions, 0 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog
index bf9096c..6eaa964 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 9e28993..408f257 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 d4e2788..d63447e 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 0000000..d34334f
--- /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