Commit 3172e26c by Andrew Pinski Committed by Andrew Pinski

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
parent 27fd69fa
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> 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
* objc-act.c: Use %q, %< and %> for quoting in diagnostics. * objc-act.c: Use %q, %< and %> for quoting in diagnostics.
......
...@@ -7245,6 +7245,7 @@ encode_type (tree type, int curtype, int format) ...@@ -7245,6 +7245,7 @@ encode_type (tree type, int curtype, int format)
{ {
case 32: c = 'f'; break; case 32: c = 'f'; break;
case 64: case 64:
case 96:
case 128: c = 'd'; break; case 128: c = 'd'; break;
default: abort (); default: abort ();
} }
......
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> 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
* gcc.dg/builtin-prefetch-1.c: Update expected diagnostic. * gcc.dg/builtin-prefetch-1.c: Update expected diagnostic.
......
@interface Test
- (void)test: (long double)val;
@end
@implementation Test
- (void)test: (long double)val
{
}
@end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment