public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug inline-asm/23399] ICE in create_tmp_var, at gimplify.c:387
       [not found] <bug-23399-7667@http.gcc.gnu.org/bugzilla/>
@ 2006-06-12 19:27 ` pluto at agmk dot net
  2006-09-01 19:58 ` dtemirbulatov at gmail dot com
  2007-06-25 22:33 ` pluto at agmk dot net
  2 siblings, 0 replies; 4+ messages in thread
From: pluto at agmk dot net @ 2006-06-12 19:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pluto at agmk dot net  2006-06-12 19:15 -------
still ice.


-- 

pluto at agmk dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|2.95 3.0.4 3.2.2 4.0.0 3.4.0|2.95 3.0.4 3.2.2 4.0.0 3.4.0
                   |3.3.3                       |3.3.3 4.1.2


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


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

* [Bug inline-asm/23399] ICE in create_tmp_var, at gimplify.c:387
       [not found] <bug-23399-7667@http.gcc.gnu.org/bugzilla/>
  2006-06-12 19:27 ` [Bug inline-asm/23399] ICE in create_tmp_var, at gimplify.c:387 pluto at agmk dot net
@ 2006-09-01 19:58 ` dtemirbulatov at gmail dot com
  2007-06-25 22:33 ` pluto at agmk dot net
  2 siblings, 0 replies; 4+ messages in thread
From: dtemirbulatov at gmail dot com @ 2006-09-01 19:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from dtemirbulatov at gmail dot com  2006-09-01 19:57 -------
I have got the same ICE on mainline gcc-20060815
bug.cc:4: internal compiler error: in create_tmp_var, at gimplify.c:487


-- 


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


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

* [Bug inline-asm/23399] ICE in create_tmp_var, at gimplify.c:387
       [not found] <bug-23399-7667@http.gcc.gnu.org/bugzilla/>
  2006-06-12 19:27 ` [Bug inline-asm/23399] ICE in create_tmp_var, at gimplify.c:387 pluto at agmk dot net
  2006-09-01 19:58 ` dtemirbulatov at gmail dot com
@ 2007-06-25 22:33 ` pluto at agmk dot net
  2 siblings, 0 replies; 4+ messages in thread
From: pluto at agmk dot net @ 2007-06-25 22:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pluto at agmk dot net  2007-06-25 22:32 -------
fixed by patch for PR32190.


-- 

pluto at agmk dot net changed:

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


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


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

* [Bug inline-asm/23399] ICE in create_tmp_var, at gimplify.c:387
  2005-08-15 14:12 [Bug other/23399] New: " pluto at agmk dot net
@ 2005-08-15 14:53 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-15 14:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-15 14:50 -------
Confirmed, reduced testcase:
template<typename T> bool cas(const T& test_val) 
{
  bool ret;
  __asm__ ("": :"r"(test_val));
}
struct atomic_ptr         {
  atomic_ptr(){}
  atomic_ptr(const volatile atomic_ptr& a) {  }
};
void pop()
{
  atomic_ptr ne;
  cas(ne);
}

This is invalid code as you are passing a struct to an inline-asm as a register (the code used to use "a" 
constriant but I changed it to a "r" constaint to make it general across targets).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|other                       |inline-asm
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-invalid-code
      Known to fail|                            |2.95 3.0.4 3.2.2 4.0.0 3.4.0
                   |                            |3.3.3
   Last reconfirmed|0000-00-00 00:00:00         |2005-08-15 14:51:00
               date|                            |


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


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

end of thread, other threads:[~2007-06-25 22:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-23399-7667@http.gcc.gnu.org/bugzilla/>
2006-06-12 19:27 ` [Bug inline-asm/23399] ICE in create_tmp_var, at gimplify.c:387 pluto at agmk dot net
2006-09-01 19:58 ` dtemirbulatov at gmail dot com
2007-06-25 22:33 ` pluto at agmk dot net
2005-08-15 14:12 [Bug other/23399] New: " pluto at agmk dot net
2005-08-15 14:53 ` [Bug inline-asm/23399] " pinskia at gcc dot gnu dot org

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).