This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Re: Mainline Regression in gcc.target/i386/pr32268.c


Richard Guenther wrote:

I can't explain why it passes for you.  (x86_64 lp64 mode, right?)  I just
redid the tests and I can trigger the failure with either the noinline patch
or -fpic.  I can also trigger it in the unpatched case by adding -O0 instead
of -fpic which avoids the inline as well.

Can anyone else reproduce it?

Ok, if I rebuild libgcc I can reproduce the fail. Care to open a PR for this?

Please don't. The fix is to change soft-float/soft-fp.h a bit. Jakub, is this change acceptable for glibc?


Index: soft-fp.h
===================================================================
--- soft-fp.h   (revision 132367)
+++ soft-fp.h   (working copy)
@@ -189,7 +189,7 @@
typedef USItype UHWtype;
#endif

-#ifndef CMPtype
+#ifdef _LIBC
#define CMPtype                int
#endif

Uros.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]