Gentoo Archives: gentoo-dev

From: Luca Barbato <lu_zero@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] strict-aliasing rules, don't break them
Date: Sat, 17 Jun 2006 11:50:01
Message-Id: 4493EADC.6060702@gentoo.org
In Reply to: Re: [gentoo-dev] strict-aliasing rules, don't break them by "Diego 'Flameeyes' Pettenò"
1 Diego 'Flameeyes' Pettenò wrote:
2 > On Saturday 17 June 2006 12:17, Luca Barbato wrote:
3 >> Long term solution:
4 > The best long term solution would have been to fix the code, but actually I
5 > didn't ever found a quick explanation of how to fix this kind of code...
6 >
7
8 you can use unions or rewrite completely the line using it in another
9 way, in certain case the type pun is the quickest solution so it's
10 better to append -fno-strict-aliasing in the Makefile.
11
12 lu
13
14 --
15
16 Luca Barbato
17
18 Gentoo/linux Gentoo/PPC
19 http://dev.gentoo.org/~lu_zero
20
21 --
22 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] strict-aliasing rules, don't break them "Diego 'Flameeyes' Pettenò" <flameeyes@g.o>