[Bug objc/19321] New: [4.0 regression] objc ignores volatile in argument types for messages

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Jan 7 22:58:00 GMT 2005


#include <objc/Object.h>

@interface Test : Object
-(void) test2: (volatile int )a;
@end

@implementation Test
-(void) test2: (volatile int) a
{
  a = 1;
}
@end

void f(volatile int a)
{
  a = 1;
}

-- 
           Summary: [4.0 regression] objc ignores volatile in argument types
                    for messages
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: critical
          Priority: P2
         Component: objc
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19321



More information about the Gcc-bugs mailing list