>> Be quick, though; 4.6.2 was due for release now-ish - > > I know. I'll try to do it today.
Alrighty. Just committed the patch to the 4.6 branch as r180099. Seems we're down to three open Fortran front-end regressions for the upcoming 4.6.2 release: * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42954 (TARGET_*_CPP_BUILDINS issues with gfortran) * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50410 (ICE in record_reference) * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50684 (Incorrect error for move_alloc on element inside intent(in) pointer) I had started on the third one, but I'm not sure if I can finish it in time for 4.6.2. Anyone up to looking at the second one? Cheers, Janus >> On Sun, Oct 16, 2011 at 9:45 PM, Janus Weil <ja...@gcc.gnu.org> wrote: >>> Hi Paul, >>> >>>> This is OK for trunk. Thanks fo rthe patch. >>> >>> Thanks. Committed to trunk as r180062. What about 4.6? >>> >>> Cheers, >>> Janus >>> >>> >>> >>>> On Sun, Oct 16, 2011 at 2:58 PM, Janus Weil <ja...@gcc.gnu.org> wrote: >>>>> Hi all, >>>>> >>>>> here is a patch which fixes the regression in comment #2 of the PR in >>>>> the subject line. What it does is setting the 'ts.is_c_interop' flag >>>>> correctly for constants with kind-parameter specification (such as >>>>> '0.0_c_double'), as is already being done for variables. >>>>> >>>>> Regtested on x86_64-unknown-linux-gnu. Ok for trunk and 4.6? >>>>> >>>>> Cheers, >>>>> Janus >>>>> >>>>> >>>>> 2011-10-16 Janus Weil <ja...@gcc.gnu.org> >>>>> >>>>> PR fortran/47023 >>>>> * primary.c (match_kind_param): Detect ISO_C_BINDING kinds. >>>>> (get_kind): Pass on 'is_iso_c' flag. >>>>> >>>>> (match_integer_constant,match_real_constant,match_logical_constant): >>>>> Set 'ts.is_c_interop'. >>>>> >>>>> >>>>> 2011-10-16 Janus Weil <ja...@gcc.gnu.org> >>>>> >>>>> PR fortran/47023 >>>>> * gfortran.dg/c_kind_tests_3.f03: New. >>>>> >>>> >>>> >>>> >>>> -- >>>> The knack of flying is learning how to throw yourself at the ground and >>>> miss. >>>> --Hitchhikers Guide to the Galaxy >>>> >>> >> >> >> >> -- >> The knack of flying is learning how to throw yourself at the ground and miss. >> --Hitchhikers Guide to the Galaxy >> >