[Bug target/27629] SIGSEGV in printstack()

ebotcazou at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed May 17 18:10:00 GMT 2006



------- Comment #6 from ebotcazou at gcc dot gnu dot org  2006-05-17 18:10 -------
> I'm told that the fault is due to a known problem in the Sun libc:
>   6372620 printstack() segfaults when called from static function
> 
> It this doesn't provide sufficient detail to work around the bug in gcc
> (assuming you choose to do so) let me know.

Well, you'll first have to define "static" because it's not clear why "main"
would be static.  You could also try to compile your testcase with -S and post
the diff between what GCC 4.0.2 and GCC 4.1.0 generate.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27629



More information about the Gcc-bugs mailing list