public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/39275] -funroll-loop fails
       [not found] <bug-39275-4@http.gcc.gnu.org/bugzilla/>
@ 2012-01-19  7:33 ` pinskia at gcc dot gnu.org
  2012-01-21  8:11 ` pinskia at gcc dot gnu.org
  2021-12-23  5:54 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-01-19  7:33 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-19 06:22:27 UTC ---
ICEs for me with 4.4.5 but works on the trunk.


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

* [Bug middle-end/39275] -funroll-loop fails
       [not found] <bug-39275-4@http.gcc.gnu.org/bugzilla/>
  2012-01-19  7:33 ` [Bug middle-end/39275] -funroll-loop fails pinskia at gcc dot gnu.org
@ 2012-01-21  8:11 ` pinskia at gcc dot gnu.org
  2021-12-23  5:54 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-01-21  8:11 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-21 07:20:42 UTC ---
Here is a reduced testcase:
struct vector
{
  char *_M_start;
  char *_M_finish;
};
struct LoopBase
{
  static LoopBase *f();
  LoopBase *ParentLoop;
  vector SubLoops;
  ~LoopBase() 
  {
    for (int i = 0, e = SubLoops._M_finish - SubLoops._M_start; i != e; ++i)  
      delete f();
  }
};
void deleteLoopFromQueue(LoopBase *L, int b)
{
  if (L->ParentLoop)
    while (L->SubLoops._M_start != L->SubLoops._M_finish)return;
  else 
   while (L->SubLoops._M_start != L->SubLoops._M_finish)return;
  delete L;
}

--- CUT ---
The delete loop is actually an empty loop but the tree level does not see that
for some reason:
  # prephitmp.36_112 = PHI <prephitmp.36_6(4), prephitmp.36_3(3)>
  # prephitmp.36_21 = PHI <prephitmp.36_6(4), prephitmp.36_3(3)>
  D.2385_15 = (long int) prephitmp.36_21;
  D.2387_17 = (long int) prephitmp.36_112;

Those PHIs are the same.


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

* [Bug middle-end/39275] -funroll-loop fails
       [not found] <bug-39275-4@http.gcc.gnu.org/bugzilla/>
  2012-01-19  7:33 ` [Bug middle-end/39275] -funroll-loop fails pinskia at gcc dot gnu.org
  2012-01-21  8:11 ` pinskia at gcc dot gnu.org
@ 2021-12-23  5:54 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-23  5:54 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39275

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
   Target Milestone|---                         |4.5.3
         Resolution|---                         |FIXED

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed a long time ago, I have no idea what by though.

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

* [Bug middle-end/39275] -funroll-loop fails
  2009-02-23 16:10 [Bug middle-end/39275] New: " linuxl4 at sohu dot com
  2009-02-23 16:15 ` [Bug middle-end/39275] " linuxl4 at sohu dot com
@ 2009-04-19 17:30 ` linuxl4 at sohu dot com
  1 sibling, 0 replies; 5+ messages in thread
From: linuxl4 at sohu dot com @ 2009-04-19 17:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from linuxl4 at sohu dot com  2009-04-19 17:30 -------
can anybody comfirm?


-- 


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


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

* [Bug middle-end/39275] -funroll-loop fails
  2009-02-23 16:10 [Bug middle-end/39275] New: " linuxl4 at sohu dot com
@ 2009-02-23 16:15 ` linuxl4 at sohu dot com
  2009-04-19 17:30 ` linuxl4 at sohu dot com
  1 sibling, 0 replies; 5+ messages in thread
From: linuxl4 at sohu dot com @ 2009-02-23 16:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from linuxl4 at sohu dot com  2009-02-23 16:15 -------
Created an attachment (id=17348)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17348&action=view)
source


-- 


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


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

end of thread, other threads:[~2021-12-23  5:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-39275-4@http.gcc.gnu.org/bugzilla/>
2012-01-19  7:33 ` [Bug middle-end/39275] -funroll-loop fails pinskia at gcc dot gnu.org
2012-01-21  8:11 ` pinskia at gcc dot gnu.org
2021-12-23  5:54 ` pinskia at gcc dot gnu.org
2009-02-23 16:10 [Bug middle-end/39275] New: " linuxl4 at sohu dot com
2009-02-23 16:15 ` [Bug middle-end/39275] " linuxl4 at sohu dot com
2009-04-19 17:30 ` linuxl4 at sohu dot com

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