This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/27629] SIGSEGV in printstack()
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 May 2006 18:10:24 -0000
- Subject: [Bug target/27629] SIGSEGV in printstack()
- References: <bug-27629-1186@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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