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
This commit is contained in:
Andrew Pinski 2004-11-09 19:44:38 +00:00 committed by Andrew Pinski
parent 27fd69fada
commit 3172e26ca4
4 changed files with 21 additions and 0 deletions

View 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.

View 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 ();
}

View 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.

View File

@ -0,0 +1,9 @@
@interface Test
- (void)test: (long double)val;
@end
@implementation Test
- (void)test: (long double)val
{
}
@end