Andy Dougherty wrote:
On Mon, 13 Jun 2005, Andy Dougherty wrote:
On Mon, 13 Jun 2005, Leopold Toetsch via RT wrote:
Chip Salzenberg wrote:
On Mon, Jun 13, 2005 at 02:57:09PM -0400, Andy Dougherty wrote:
Yes. The compiler does the right thing. It sensibly reports
The following patch fixes the core dump for me. The problem appears to be
in <stacks.h>, where the 'data' segment is declared as a (void *), but is
then assumed to be aligned suitably for holding a double.
Good catch, thanks applied.
While hunting for a solution, I saw a lot of places in the code that
appear to be worried about alignment. In many cases it was not clear to
me what needs to be aligned with what and why. Is it for alignment of
doubles?
Mostly not, but each has to be looked at.
Gcc currently gives the warning:
cast increases required alignment of target type 7,151 times. One of
those was actually the key to solving this problem. Eventually, it'd be
nice to get rid of the other 7150, even if they are all false alarms.
Any other clue what needs a dummy union to silent gcc?
leo