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] new MMX testcase


On Mon, 4 Oct 2004, Stuart Hastings wrote:
In simplify-rtx.c(simplify_binary_operation), an assertion of
"VECTOR_MODE_P (GET_MODE (trueop0))" causes an unnecessary ICE.  This
patch relaxes the assertion into a "if (non-vector-mode) then return
0".  Given the returned zero, the caller (combiner) realizes the given
RTX is illegal, and it eventually figures out something else that will
work.

This testcase currently provokes an ICE with the mainline GCC for x86.


Also available in Bugzilla:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17853

May I commit this testcase to mainline under gcc/config/testsuite/gcc.dg ?

Attachment: i386-mmx-5.c
Description: Text document



2004-10-06 Stuart Hastings <stuart@apple.com>

* gcc/testsuite/gcc.dg/i386-mmx-5.c: New testcase.

stuart hastings
Apple Computer

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