[PR45735] "cc1obj" closed unexpectedly
Bug #610851 reported by
Dipak Panchasara
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| gcc |
Fix Released
|
Medium
|
|||
| gcc-4.4 (Ubuntu) |
Invalid
|
Low
|
Unassigned | ||
| gcc-4.5 (Ubuntu) |
Invalid
|
Low
|
Unassigned | ||
Bug Description
Binary package hint: gcc-4.4
at this point i dont know
ProblemType: Crash
Architecture: i386
CheckboxSubmission: d0adcde48d09426
CheckboxSystem: 4ed15c40009aa6f
Date: Wed Jul 28 18:22:12 2010
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/lib/
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
Package: gobjc-4.4 4.4.1-4ubuntu9
ProcVersionSign
SourcePackage: gcc-4.4
Uname: Linux 2.6.31-20-generic i686
| Changed in gcc: | |
| importance: | Unknown → Medium |
| status: | Unknown → Fix Released |
To post a comment you must log in.

seen in 4.3, 4.4, 4.5, 4.6, didn't find an existing report:
$ gcc -c Fraction.m act.c:6941
Fraction.m:9:29: error: expected identifier before ':' token
Fraction.m:9:29: internal compiler error: tree check: expected tree that contains 'decl minimal' structure, have 'error_mark' in objc_add_method, at objc/objc-
Please submit a full bug report,
with preprocessed source if appropriate.
@interface Fraction {
int numaretor;
int denominator;
}
-(void) print;
-(void) setNumaretor: (int) :(int) ;
-(int) numaretor;
-(int) denominator;
@end
@implementation Fraction "%i/%i" ,numaretor, denominator) ;
-(void) print {
printf(
}
-(void) setNumaretor: (int) n: (int) m {
numaretor = n;
denominator = m;
}
-(int) numaretor {
return numaretor;
}
-(int) denominator {
return denominator;
}
@end