[Patch, Fortran] PR 50070: Segmentation fault at size_binop_loc in fold-const.c

2011-08-16 Thread Janus Weil
Hi all, here is a small patch for an ICE-on-invalid problem with COMMON and character length. I was kinda surprised that we don't catch this already. The fix is rather simple, but after the amount of discussion (that I had with myself) in the PR, I probably cannot claim that it was 'obvious' to

Re: [Patch, Fortran] PR 50070: Segmentation fault at size_binop_loc in fold-const.c

2011-08-16 Thread Tobias Burnus
Janus Weil wrote: In any case, the patch was regtested on x86_64-unknown-linux-gnu. Ok for trunk? OK. Thanks for the patch! Tobias 2011-08-16 Janus Weilja...@gcc.gnu.org PR fortran/50070 * resolve.c (resolve_fl_variable): Reject non-constant character lengths in