This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gfortran] Support INTEGER<->LOGICAL conversion as GNU extension


On Saturday 28 May 2005 01:50, Roger Sayle wrote:
> This patch is a ping/repost/take #2 of my post from February:
> http://gcc.gnu.org/ml/gcc-patches/2005-02/msg00213.html
>
> In addition to some minor clean-ups, it allows implicit conversion
> between LOGICALs and INTEGERs as supported by many compilers including
> g77 (using -fugly-logint) and SGI's MIPSPro f77.  The only comment to
> my original post, was that GNU extensions should be documented in the
> gfortran manual, and this revised patch below includes that requested
> documentation.
>
> The following patch has been tested on i686-pc-linux-gnu with a bootstrap
> including f95, and regression tested with a top-level "make -k check" with
> no regressions.
>
> OK for mainline?

Hmm, I'd rather have the g77 behavior, where -fugly-logint was turned
off by default AFAICT.

Gr.
Steven


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]