Thanks for clarification! Dmitry
2013/5/20 Yang Chen <[email protected]>: > Yes, it's expected. > > Note that declarations without a type specifier is invalid, like main(). I > disabled transformations on this kind of code. > > - Yang > > > On 5/19/13 9:12 PM, Дмитрий Дьяченко wrote: >> >> Thanks Yang >> >> i try crash-files with the latest creduce and receive message "Error: >> The counter value exceeded the number of transformation instances!" >> Is this expected? >> >> Dmitry >> >> >> [dimhen@dim gcc-4.9]$ cat clang_delta_crash_tmp_file39lrq4.ii >> extern "C" extern "C" void soap_call_lcdpanel__ShowLCDPanelMessage ( ); >> main ( ) >> { >> soap_call_lcdpanel__ShowLCDPanelMessage ( ); >> } >> >> >> // this should reproduce the crash: >> // /usr/local/libexec/clang_delta --transformation=return-void >> --counter=1 /home/dimhen/errs/gcc-4.9/clang_delta_crash_tmp_file39lrq4.ii >> [dimhen@dim gcc-4.9]$ /usr/local/libexec/clang_delta >> --transformation=return-void --counter=1 >> /home/dimhen/errs/gcc-4.9/clang_delta_crash_tmp_file39lrq4.ii >> Error: The counter value exceeded the number of transformation instances! >> >> 2013/5/20 Yang Chen<[email protected]>: >> >>> >>> Fixed in b0768a0. Thanks! >>> >>> >>> - Yang >>> >>> On 5/19/13 3:08 PM, Дмитрий Дьяченко wrote: >>> >>>> >>>> Hi! >>>> with creduce-current i got crash-input-files to send to list :) >>>> >>>> But, probably, its my fault : i can incorrectly modify creduce to >>>> clang-3.4-current... >>>> >>>> At least, there are crash files. >>>> >>>> Thank You! >>>> >>>> Dmitry >>>> >>>> --------------------------- >>>> $ cat clang_delta_crash_tmp_file0M1yxx.ii >>>> extern "C" extern "C" >>>> >>>> int soap_call_lcdpanel__ShowLCDPanelMessage ( ); >>>> >>>> int main_res; >>>> main ( ) >>>> { >>>> soap_call_lcdpanel__ShowLCDPanelMessage ( ); >>>> } >>>> >>>> >>>> // this should reproduce the crash: >>>> // /usr/local/libexec/clang_delta --transformation=return-void >>>> --counter=2 >>>> /home/dimhen/errs/gcc-4.9/clang_delta_crash_tmp_file0M1yxx.ii >>>> >>>> [dimhen@dim gcc-4.9]$ /usr/local/libexec/clang_delta >>>> --transformation=return-void --counter=2 >>>> /home/dimhen/errs/gcc-4.9/clang_delta_crash_tmp_file0M1yxx.ii >>>> clang_delta: ReturnVoid.cpp:191: bool >>>> RVASTVisitor::rewriteFuncDecl(clang::FunctionDecl*): Assertion `Offset >>>> >>>> >>>>> >>>>> = 0' failed. >>>>> >>>>> >>>> >>>> Stack dump: >>>> 0.<eof> parser at end of file >>>> Aborted (core dumped) >>>> ----------------- >>>> >>>> >>>> >>> >>> >>> > >
