Firm Bugtracker - cparser
Viewing Issue Advanced Details
7 semantic tweak always 2008-12-03 15:34 2009-01-28 21:55
jeffz  
Tron  
normal  
closed  
fixed  
none    
none  
0000007: erroneous type error: error: destination type 'void' in 'return' is incompatible with type 'void'
void bar(void){return;}
void foo(void){return bar();}
int main(void){foo();}
Issue History
2008-12-03 15:34 jeffz New Issue
2008-12-03 22:03 Tron Note Added: 0000001
2008-12-03 22:03 Tron Status new => assigned
2008-12-03 22:03 Tron Assigned To => Tron
2008-12-03 22:03 Tron Status assigned => resolved
2008-12-03 22:03 Tron Resolution open => fixed
2008-12-05 13:15 Tron Reproducibility have not tried => always
2008-12-05 13:15 Tron Category parser => semantic
2009-01-28 21:55 Matze Status resolved => closed

Notes
(0000001)
Tron   
2008-12-03 22:03   
Thanks for the report. The semantic check for return has been corrected and adjusted to GCC behaviour in r24274.