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


Stuart Hastings wrote:

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 ?

No -- we do that when we fix the bug. Thanks for including a tidy test case, though; that will make it much easier to include once the bug is fixed.


Thanks,

--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com


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