Re: GCC 3.4 Heads-up

From: Ingo Oeser
Date: Mon Jan 05 2004 - 19:02:46 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 05 January 2004 02:38, Måns Rullgård wrote:
> What's wrong with
>
> d = long_expression;
> if (a)
> b = d;
> else
> c = d;
>
> Your long expression is still only in one place.

This seperates control and data flow quite nicely, which is good
programming practise anyway and helps the compiler optimizing, AFAIK.

Regards

Ingo Oeser

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/+fgMU56oYWuOrkARAlOIAJ0c9QMsQRrXYv3RIV3r+8uAnJgETQCfQ7PJ
Zscp0VfGY2jS1RvWnuCAqoc=
=kY28
-----END PGP SIGNATURE-----

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/