[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#347697: odd gcc bug reappears in 4.0.3

Falk Hueffner wrote:
> the fact that your program crashes in glibc memory manangement makes
> it quite unlikely that this is a compiler bug. Can you try valgrind?
> Also, your test case is quite large, would it be possible to get
> something smaller?

Then why does it work find with -finline-functions?  It seems very obvious
given the gdb output that somehow a constant function argument is being
changed.  What this has to do with glibc or memory management escapes me.

As far as the test case, I'm not sure what I can remove -- the program is a
fairly complete unit, and its size probably has something to do with the issue.

Chris Howie

Version: 3.1
GCS/IT d-(--) s:- a--->? C++(+++)$> UL++++ P++++$ L+++>++++ E---
W++ N o++ K? w--$ O M- V- PS--(---) PE++ Y+ PGP++ t+ 5? X-
R(+)>- tv-(--) b- DI+> D++ G>+++ e>++ h(--)>--- !r>+++ y->+++

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: