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]

Re: [PATCH] Remove maybe_encapsulate_block


On Sat, May 31, 2008 at 8:50 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> Hi Steven,
>
> I think this patch caused
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36398
>
> You can reproduce it on Linux/x86-64 with -m32.

This is -ftrapv suddenly working as expected.  I.e. it is actually
"fixing" the test case, instead of breaking it.

The reason is that -ftrapv is broken, see:
http://gcc.gnu.org/PR19020. See also:
http://gcc.gnu.org/ml/gcc/2008-03/msg00000.html
http://gcc.gnu.org/ml/gcc/2008-03/msg00006.html
...and the long thread that followed.

I shouldn't have overlooked this in my testing, though. Sorry for that.

I suggest we XFAIL the test case for now, until someone fixes -ftrapv.

Gr.
Steven

Attachment: t
Description: Binary data


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