This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: porting problem: segfault when compiling programs that call malloc
"Tomas Svensson" <idulus@gmail.com> writes:
> On 13 Sep 2007 13:45:21 -0700, Ian Lance Taylor <iant@google.com> wrote:
> > valreg is set around line 2564 of calls.c. It shouldn't be zero at
> > line 2787. Unless you have an malloc function with a return type of
> > void, which seems dubious.
>
> Ok, do you have any idea about what might cause this to happen? Could
> it be something wrong with exception handling or dwarf2 debugging
> output? Or possibly varargs handling? I am complete lost here
> unfortunately... Other function calls work just fine.
No, I have no idea. Sorry.
Ian