This is the mail archive of the gcc@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: Call for testers: MPC-0.6 released


On Wed, 1 Apr 2009, Kaveh R. Ghazi wrote:

Ah, that helps. I was able to reproduce the failure using just -D_FORTIFY_SOURCE=2. However when I used both -D_FORTIFY_SOURCE=2 *and* -fstack-protector the error went away again.

I'm using gcc-4.1.2 if that matters, perhaps there's a bug in -fstack-protector in that version that masks this.

Anyway, thanks both of you for helping to track it down. I'll forward this along to the MPC maintainers.

This could be related to a call to sprintf(str,...,str,...), which according to the doc is undefined behaviour.


--
Marc Glisse


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