This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/21719] program using "initgroups()" fails with stack corruption
- From: "Ulrich dot Windl at rz dot uni-regensburg dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 May 2005 08:32:01 -0000
- Subject: [Bug target/21719] program using "initgroups()" fails with stack corruption
- References: <20050523135827.21719.Ulrich.Windl@rz.uni-regensburg.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From Ulrich dot Windl at rz dot uni-regensburg dot de 2005-05-24 08:31 -------
Created an attachment (id=8958)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8958&action=view)
Log file with revised source, disassemblies for both compilers
I've revised the source to fix all warnings (except unused formal parameters).
Including the declaration or not does not make any difference BTW. I've also
added gdb's disassembly of function main for both compilers; gcc-3.4.3, and
that of HP-UX 11.11. Finally let me remark that the OS runs 64 bit, but all
binaries are 32 bit (which is no problem at all).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21719