This is the mail archive of the gcc-bugs@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]

[Bug tree-optimization/26833] [4.2 Regression] ICE Segmentation fault



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-03-23 22:19 -------
Reduced testcase:
void yasm_lc3b__parse_insn( int num_info, int *num_operands
 , int *operands, int op)
{
  int found = 0;
  int i;
  for (; num_info>0 && !found; num_info--)
   {
    int mismatch = 0;
     for(i = 0;op && (i<*num_operands)&& !mismatch; i++)
     {
       if (!(int)(operands[i] & 0x1))
         mismatch = 1;
       if (mismatch)
         break;
     }
    if (!mismatch)
      found = 1;
  }
}

This is different from the previous testcase as far as I can tell.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |law at redhat dot com
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-03-23 22:19:09
               date|                            |


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


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