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

2011-08-17 Thread Janus Weil
>> In any case, the patch was regtested on x86_64-unknown-linux-gnu. Ok for >> trunk? > > OK. Thanks for the patch! Thanks, Tobias. Committed as r177825. Cheers, Janus >> 2011-08-16  Janus Weil >> >>        PR fortran/50070 >>        * resolve.c (resolve_fl_variable): Reject non-constant chara

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 Weil PR fortran/50070 * resolve.c (resolve_fl_variable): Reject non-constant character lengths in COMMON variables.

[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 me