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

--- Comment #19 from Thomas Henlich <thenlich at users dot sourceforge.net> 
2011-06-01 06:26:27 UTC ---
> Also, the test case, pr20755.f was originally intended to pass only with
> -std=legacy.  This is to mimic g77 which does not ignore the scale factor.  At
> least recently, gfortran passes this test case regardless of the -std=.  I am
> tempted to delete the test case, since it looks like it goes against current
> standards.  Any opinions about this?

Now you've lost me.

>From what I understand PR20755 was about G editing resetting the scale factor
in certain cases (to 0 in the example) and not restoring it afterwards (to 1 in
this case). This is a bug both in legacy and in Fortran standard modes. The bug
was fixed and a testcase was created. The result is standard-compliant. Why
would you want to remove the testcase? The point of having a testcase is to
prevent a reappearing of the same bug in the future, so maybe we should keep
it.

Reply via email to