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: Fix powerpc64 g77


Alan Modra <amodra@bigpond.net.au> writes:

| On Thu, Aug 01, 2002 at 01:05:40PM +0200, Gabriel Dos Reis wrote:
| > Alan Modra <amodra@bigpond.net.au> writes:
| > 
| > [...]
| > 
| > | +#if HOST_BITS_PER_WIDE_INT == 32
| > 
| > I think the preferred construct in such case is
| > 
| >    if (HOST_BITS_PER_WIDE_INT == 32)
| >      {
| >      }
| 
| I'd love to rewrite rs6000.c using that style, but the powerpc
| maintainers like #if and #ifdef.

However, the if (...) is now part of our coding style.  I'm not
suggesting you to rewrite rs6000.c; new codes should at least follow
the agreed upon GNU convention.

-- Gaby


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