public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/20810] ICE in reload_cse_simplify_operands, at postreload.c:391
       [not found] <bug-20810-8116@http.gcc.gnu.org/bugzilla/>
@ 2008-02-10 13:43 ` manu at gcc dot gnu dot org
  2009-12-22 22:06 ` ramana at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: manu at gcc dot gnu dot org @ 2008-02-10 13:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from manu at gcc dot gnu dot org  2008-02-10 13:43 -------
CCing ARM maintainers.


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |richard dot earnshaw at arm
                   |                            |dot com, nickc at redhat dot
                   |                            |com


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug target/20810] ICE in reload_cse_simplify_operands, at postreload.c:391
       [not found] <bug-20810-8116@http.gcc.gnu.org/bugzilla/>
  2008-02-10 13:43 ` [Bug target/20810] ICE in reload_cse_simplify_operands, at postreload.c:391 manu at gcc dot gnu dot org
@ 2009-12-22 22:06 ` ramana at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: ramana at gcc dot gnu dot org @ 2009-12-22 22:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from ramana at gcc dot gnu dot org  2009-12-22 22:06 -------
Can't reproduce with 4.3 branch, 4.4 branch , trunk and arm-eabi / arm-elf

Tested with 

-O2 , -O3 , -Os
-march=armv5te, armv4t , armv7-a
-marm -mthumb


-- 

ramana at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug target/20810] ICE in reload_cse_simplify_operands, at postreload.c:391
  2005-04-07 13:55 [Bug target/20810] New: [ARM thumb] ICE with C++ bitsets in thumb mode jifl-bugzilla at jifvik dot org
@ 2005-04-15 19:57 ` belyshev at depni dot sinp dot msu dot ru
  0 siblings, 0 replies; 3+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-04-15 19:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From belyshev at depni dot sinp dot msu dot ru  2005-04-15 19:57 -------
// reduced testcase, compile with -O2 -mthumb

extern void foo (void);

struct bitset
{
  int a[4];
  
  void set(int pos, bool val = true)
  {
    if (val)
      a[pos/32] = 1;
  }
  
  bitset& flip()
  {
    return *this;
  }
  
  bitset operator~()
  {
    return bitset(*this).flip();
  }
  
  bool operator != (const bitset& x)
  {
    for (int i = 0; i < 4; ++i)
      if (a[i] != x.a[i])
	return false;

    return true;
  }
  
  bool test(int position)
  {
    if (position >= 64)
      foo ();
    return a[position / 32] != 0;
  }
};

int main( int argc, char *argv[] )
{
  unsigned int i, j;
  bitset b1, b2;

  b2 = ~b1;
  if (b2 != ~b1);

  for (i = j = 0; i < 65; i++)
    {
      b2.set (j);
      if (i != b1.test(j))
	foo ();
      j++;
    }
  b2 = ~b2;
}


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
  GCC build triplet|i686-pc-linux-gnu           |
   GCC host triplet|i686-pc-linux-gnu           |
           Keywords|                            |ice-on-valid-code
      Known to fail|                            |3.4.4
   Last reconfirmed|0000-00-00 00:00:00         |2005-04-15 19:57:02
               date|                            |
            Summary|[ARM thumb] ICE with C++    |ICE in
                   |bitsets in thumb mode       |reload_cse_simplify_operands
                   |                            |, at postreload.c:391


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-12-22 22:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-20810-8116@http.gcc.gnu.org/bugzilla/>
2008-02-10 13:43 ` [Bug target/20810] ICE in reload_cse_simplify_operands, at postreload.c:391 manu at gcc dot gnu dot org
2009-12-22 22:06 ` ramana at gcc dot gnu dot org
2005-04-07 13:55 [Bug target/20810] New: [ARM thumb] ICE with C++ bitsets in thumb mode jifl-bugzilla at jifvik dot org
2005-04-15 19:57 ` [Bug target/20810] ICE in reload_cse_simplify_operands, at postreload.c:391 belyshev at depni dot sinp dot msu dot ru

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).