This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/50588] gcc produce bad inlined code with -march=athlon -O2
- From: "mikpe at it dot uu.se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 03 Oct 2011 08:35:31 +0000
- Subject: [Bug target/50588] gcc produce bad inlined code with -march=athlon -O2
- Auto-submitted: auto-generated
- References: <bug-50588-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50588
--- Comment #10 from Mikael Pettersson <mikpe at it dot uu.se> 2011-10-03 08:35:31 UTC ---
(In reply to comment #8)
> (In reply to comment #6)
> > So which libc was this originally compiled against? Some things in
> > traceroute.i make me think it's glibc, but I don't see any indication of which
> > version it was.
>
> The glibc version is 2.14 and is compiled with the attached patches.
Using the non-preprocessed traceroute.c I can reproduce the segfault with
gcc-4.6.1 and glibc-2.13 (Fedora 14) but not with glibc-2.12.2 (Fedora 13).