------- Comment #5 from paulthomas2 at wanadoo dot fr 2006-10-01 19:59 ------- Subject: Re: [4.1/4.2 Regression] ICE for optional subroutine argument
Dear All, >PS: Just curious.. >Why isn't this part of gfc_conv_function_call() coded to check for fsym once >and only then have the additional checks? > >if (fsym) > { > CHECKS_NOT_INVOLVING_e; > if (e) > { > CHECK_e_STUFF; > } > } > >It doesn't look like the order of most of these is significant since very >different things are checked, so there should be no risk in writing this in a >sleek manner. > > > > ...because it grew like Topsy. An occasion was always going to occur, like now, when it would get rationlised. Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29284