Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

New gfortran bug

6 views
Skip to first unread message

Al Greynolds

unread,
Jun 1, 2010, 5:22:26 PM6/1/10
to
Can somebody submit the following (minor) bug in gfortran 4.6 for me?
I haven't had much luck with Bugzilla.

character(1) c
read(*,*) c
! latest 4.6 doesn't like the following unless broken into separate
lines
if (c=='y') stop; if (c=='Y') stop
end

Al Greynolds
www.ruda-cardinal.com

steve

unread,
Jun 1, 2010, 5:29:54 PM6/1/10
to
On Jun 1, 2:22 pm, Al Greynolds <awgreyno...@earthlink.net> wrote:
> Can somebody submit the following (minor) bug in gfortran 4.6 for me?
> I haven't had much luck with Bugzilla.
>
> character(1) c
>   read(*,*) c
> ! latest 4.6 doesn't like the following unless broken into separate
> lines
>   if (c=='y') stop; if (c=='Y') stop
> end
>

Can you define latest?

It works for me with gfortran 4.6.0 20100510.

--
steve

Al Greynolds

unread,
Jun 1, 2010, 5:44:55 PM6/1/10
to

I know an equation.com Window's build from 20100515 showed the
problem.

Al

steve

unread,
Jun 1, 2010, 9:59:03 PM6/1/10
to

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44371

This appears to be regression introduced when STOP
and ALL_STOP were updated to F2008 features. I've
posted a suggested fix in the PR.

--
steve

Jerry DeLisle

unread,
Jun 2, 2010, 12:56:54 AM6/2/10
to
I just committed the fix to 4.6 trunk. Thanks Al for the report. If Bugzilla
bugs you, one can post to for...@gcc.gnu.org. Thanks Steve for help with the
test cases. Thanks Tobias for submitting the bugzilla so I would see this. My
apologies for the breakage.

Regards,

Jerry

0 new messages