public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/48600] New: [4.6 regression] ICE when using cold attribute
@ 2011-04-14  2:36 matt at use dot net
  2011-04-14  9:23 ` [Bug middle-end/48600] " rguenth at gcc dot gnu.org
                   ` (22 more replies)
  0 siblings, 23 replies; 24+ messages in thread
From: matt at use dot net @ 2011-04-14  2:36 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.6 regression] ICE when using cold attribute
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: matt@use.net


Compiling the attached file at -O1 or above yields a stack overflow:

g++ -O1 ci.cpp
g++: internal compiler error: Segmentation fault (program cc1plus)

valgrind says:

==7379== Stack overflow in thread 1: can't grow stack to 0x7fe801ff8
==7379== Can't extend stack to 0x7fe801410 during signal delivery for thread 1:
==7379==   no stack segment
==7379== 
==7379== Process terminating with default action of signal 11 (SIGSEGV)
==7379==  Access not within mapped region at address 0x7FE801410
==7379==    at 0x89E8D5: ??? (in
/usr/lib/gcc-snapshot/libexec/gcc/x86_64-linux-gnu/4.6.0/cc1plus)
==7379==  If you believe this happened as a result of a stack
==7379==  overflow in your program's main thread (unlikely but
==7379==  possible), you can try to increase the size of the
==7379==  main thread stack using the --main-stacksize= flag.
==7379==  The main thread stack size used in this run was 8388608.
==7379== Stack overflow in thread 1: can't grow stack to 0x7fe801f70

If you remove the cold attribute from Arch::Debugger_entry(), the ICE (and
explosive memory consumption) goes away.

Tested with 4.6.0 RC, final, and another 4.6 variant. They all have the same
problem. Testing with 4.5.2 and 4.4.4 shows no such problem.


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

* [Bug middle-end/48600] [4.6 regression] ICE when using cold attribute
  2011-04-14  2:36 [Bug middle-end/48600] New: [4.6 regression] ICE when using cold attribute matt at use dot net
@ 2011-04-14  9:23 ` rguenth at gcc dot gnu.org
  2011-04-14 17:00 ` matt at use dot net
                   ` (21 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-04-14  9:23 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2011.04.14 09:23:31
   Target Milestone|---                         |4.6.1
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-04-14 09:23:31 UTC ---
-ENOATTACHMENT


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

* [Bug middle-end/48600] [4.6 regression] ICE when using cold attribute
  2011-04-14  2:36 [Bug middle-end/48600] New: [4.6 regression] ICE when using cold attribute matt at use dot net
  2011-04-14  9:23 ` [Bug middle-end/48600] " rguenth at gcc dot gnu.org
@ 2011-04-14 17:00 ` matt at use dot net
  2011-04-15 18:30 ` matt at use dot net
                   ` (20 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: matt at use dot net @ 2011-04-14 17:00 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Matt Hargett <matt at use dot net> 2011-04-14 17:00:19 UTC ---
Created attachment 23983
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23983
source file which elicits the error at -O[123]


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

* [Bug middle-end/48600] [4.6 regression] ICE when using cold attribute
  2011-04-14  2:36 [Bug middle-end/48600] New: [4.6 regression] ICE when using cold attribute matt at use dot net
  2011-04-14  9:23 ` [Bug middle-end/48600] " rguenth at gcc dot gnu.org
  2011-04-14 17:00 ` matt at use dot net
@ 2011-04-15 18:30 ` matt at use dot net
  2011-04-18 11:23 ` jakub at gcc dot gnu.org
                   ` (19 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: matt at use dot net @ 2011-04-15 18:30 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Matt Hargett <matt at use dot net> 2011-04-15 18:30:23 UTC ---
I added the attachment; are you still waiting on something from me? Let me know
:)


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

* [Bug middle-end/48600] [4.6 regression] ICE when using cold attribute
  2011-04-14  2:36 [Bug middle-end/48600] New: [4.6 regression] ICE when using cold attribute matt at use dot net
                   ` (2 preceding siblings ...)
  2011-04-15 18:30 ` matt at use dot net
@ 2011-04-18 11:23 ` jakub at gcc dot gnu.org
  2011-04-26 21:10 ` [Bug middle-end/48600] [4.6/4.7 Regression] " jsm28 at gcc dot gnu.org
                   ` (18 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-04-18 11:23 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
                 CC|                            |hubicka at gcc dot gnu.org,
                   |                            |jakub at gcc dot gnu.org

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-04-18 11:22:48 UTC ---
Simplified testcase for -O:

struct A
{
  ~A ();
};

const A &operator << (const A &, const char *);
void bar () __attribute__ ((cold));

void
foo (void)
{
  for (;;)
    {
      A a;
      a << "foo";
      bar ();
    }
}

Caused by http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161691
found is false and leads into infinite recursion in predict_paths_for_bb
(alternating 3 bbs forever).


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

* [Bug middle-end/48600] [4.6/4.7 Regression] ICE when using cold attribute
  2011-04-14  2:36 [Bug middle-end/48600] New: [4.6 regression] ICE when using cold attribute matt at use dot net
                   ` (3 preceding siblings ...)
  2011-04-18 11:23 ` jakub at gcc dot gnu.org
@ 2011-04-26 21:10 ` jsm28 at gcc dot gnu.org
  2011-06-01 14:36 ` matt at use dot net
                   ` (17 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2011-04-26 21:10 UTC (permalink / raw)
  To: gcc-bugs

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

Joseph S. Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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

* [Bug middle-end/48600] [4.6/4.7 Regression] ICE when using cold attribute
  2011-04-14  2:36 [Bug middle-end/48600] New: [4.6 regression] ICE when using cold attribute matt at use dot net
                   ` (4 preceding siblings ...)
  2011-04-26 21:10 ` [Bug middle-end/48600] [4.6/4.7 Regression] " jsm28 at gcc dot gnu.org
@ 2011-06-01 14:36 ` matt at use dot net
  2011-06-27 16:19 ` jakub at gcc dot gnu.org
                   ` (16 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: matt at use dot net @ 2011-06-01 14:36 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Matt Hargett <matt at use dot net> 2011-06-01 14:36:17 UTC ---
any chance this can be fixed for 4.6.1? this is a critical regression for us.


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

* [Bug middle-end/48600] [4.6/4.7 Regression] ICE when using cold attribute
  2011-04-14  2:36 [Bug middle-end/48600] New: [4.6 regression] ICE when using cold attribute matt at use dot net
                   ` (5 preceding siblings ...)
  2011-06-01 14:36 ` matt at use dot net
@ 2011-06-27 16:19 ` jakub at gcc dot gnu.org
  2011-08-18  6:08 ` jakub at gcc dot gnu.org
                   ` (15 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-06-27 16:19 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.6.1                       |4.6.2

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-06-27 12:32:39 UTC ---
GCC 4.6.1 is being released.


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

* [Bug middle-end/48600] [4.6/4.7 Regression] ICE when using cold attribute
  2011-04-14  2:36 [Bug middle-end/48600] New: [4.6 regression] ICE when using cold attribute matt at use dot net
                   ` (6 preceding siblings ...)
  2011-06-27 16:19 ` jakub at gcc dot gnu.org
@ 2011-08-18  6:08 ` jakub at gcc dot gnu.org
  2011-08-18  9:12 ` rguenth at gcc dot gnu.org
                   ` (14 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-08-18  6:08 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jianghan08 at gmail dot com

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-08-18 06:06:09 UTC ---
*** Bug 50112 has been marked as a duplicate of this bug. ***


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

* [Bug middle-end/48600] [4.6/4.7 Regression] ICE when using cold attribute
  2011-04-14  2:36 [Bug middle-end/48600] New: [4.6 regression] ICE when using cold attribute matt at use dot net
                   ` (7 preceding siblings ...)
  2011-08-18  6:08 ` jakub at gcc dot gnu.org
@ 2011-08-18  9:12 ` rguenth at gcc dot gnu.org
  2011-08-19 22:18 ` hubicka at gcc dot gnu.org
                   ` (13 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-08-18  9:12 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-08-18 09:08:31 UTC ---
Honza?


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

* [Bug middle-end/48600] [4.6/4.7 Regression] ICE when using cold attribute
  2011-04-14  2:36 [Bug middle-end/48600] New: [4.6 regression] ICE when using cold attribute matt at use dot net
                   ` (8 preceding siblings ...)
  2011-08-18  9:12 ` rguenth at gcc dot gnu.org
@ 2011-08-19 22:18 ` hubicka at gcc dot gnu.org
  2011-10-26 17:25 ` jakub at gcc dot gnu.org
                   ` (12 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: hubicka at gcc dot gnu.org @ 2011-08-19 22:18 UTC (permalink / raw)
  To: gcc-bugs

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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot       |hubicka at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #9 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-08-19 22:16:41 UTC ---
mine


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

* [Bug middle-end/48600] [4.6/4.7 Regression] ICE when using cold attribute
  2011-04-14  2:36 [Bug middle-end/48600] New: [4.6 regression] ICE when using cold attribute matt at use dot net
                   ` (9 preceding siblings ...)
  2011-08-19 22:18 ` hubicka at gcc dot gnu.org
@ 2011-10-26 17:25 ` jakub at gcc dot gnu.org
  2011-12-09  9:14 ` rguenth at gcc dot gnu.org
                   ` (11 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-10-26 17:25 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.6.2                       |4.6.3

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-10-26 17:13:23 UTC ---
GCC 4.6.2 is being released.


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

* [Bug middle-end/48600] [4.6/4.7 Regression] ICE when using cold attribute
  2011-04-14  2:36 [Bug middle-end/48600] New: [4.6 regression] ICE when using cold attribute matt at use dot net
                   ` (10 preceding siblings ...)
  2011-10-26 17:25 ` jakub at gcc dot gnu.org
@ 2011-12-09  9:14 ` rguenth at gcc dot gnu.org
  2011-12-09  9:18 ` rguenth at gcc dot gnu.org
                   ` (10 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-12-09  9:14 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #12 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-09 09:11:19 UTC ---
Testcase from PR51460

class mx {
public:
    mx();
};

int main()
{
  while (true) {
      mx *bar = new mx;
      mx *baz = new mx;
      continue;
  }
  return 0;
}

Honza, please work on your bugs!


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

* [Bug middle-end/48600] [4.6/4.7 Regression] ICE when using cold attribute
  2011-04-14  2:36 [Bug middle-end/48600] New: [4.6 regression] ICE when using cold attribute matt at use dot net
                   ` (11 preceding siblings ...)
  2011-12-09  9:14 ` rguenth at gcc dot gnu.org
@ 2011-12-09  9:18 ` rguenth at gcc dot gnu.org
  2012-01-24 10:20 ` jakub at gcc dot gnu.org
                   ` (9 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-12-09  9:18 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fsaresh at ucdavis dot edu

--- Comment #11 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-09 09:10:38 UTC ---
*** Bug 51460 has been marked as a duplicate of this bug. ***


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

* [Bug middle-end/48600] [4.6/4.7 Regression] ICE when using cold attribute
  2011-04-14  2:36 [Bug middle-end/48600] New: [4.6 regression] ICE when using cold attribute matt at use dot net
                   ` (12 preceding siblings ...)
  2011-12-09  9:18 ` rguenth at gcc dot gnu.org
@ 2012-01-24 10:20 ` jakub at gcc dot gnu.org
  2012-01-31 14:55 ` hubicka at gcc dot gnu.org
                   ` (8 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-01-24 10:20 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-24 10:09:38 UTC ---
Honza, ping?


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

* [Bug middle-end/48600] [4.6/4.7 Regression] ICE when using cold attribute
  2011-04-14  2:36 [Bug middle-end/48600] New: [4.6 regression] ICE when using cold attribute matt at use dot net
                   ` (13 preceding siblings ...)
  2012-01-24 10:20 ` jakub at gcc dot gnu.org
@ 2012-01-31 14:55 ` hubicka at gcc dot gnu.org
  2012-01-31 15:07 ` hubicka at gcc dot gnu.org
                   ` (7 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: hubicka at gcc dot gnu.org @ 2012-01-31 14:55 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #14 from Jan Hubicka <hubicka at gcc dot gnu.org> 2012-01-31 14:15:27 UTC ---
Sorry, missed this bug (and for really long file as I see now). It is
originally Zdenek's code. Will check it now.


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

* [Bug middle-end/48600] [4.6/4.7 Regression] ICE when using cold attribute
  2011-04-14  2:36 [Bug middle-end/48600] New: [4.6 regression] ICE when using cold attribute matt at use dot net
                   ` (14 preceding siblings ...)
  2012-01-31 14:55 ` hubicka at gcc dot gnu.org
@ 2012-01-31 15:07 ` hubicka at gcc dot gnu.org
  2012-02-10 12:22 ` hubicka at gcc dot gnu.org
                   ` (6 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: hubicka at gcc dot gnu.org @ 2012-01-31 15:07 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #15 from Jan Hubicka <hubicka at gcc dot gnu.org> 2012-01-31 14:31:56 UTC ---
I am testing the attached patch 
Index: predict.c
===================================================================
--- predict.c   (revision 183666)
+++ predict.c   (working copy)
@@ -1833,6 +1833,10 @@ predict_paths_for_bb (basic_block cur, b
   edge_iterator ei;
   basic_block son;

+  /* AUX is used to detect cycles while walking predictors with only EH/FAKE
+     succestors.  */
+  cur->aux = (void *)(size_t) 1;
+
   /* We are looking for all edges forming edge cut induced by
      set of all blocks postdominated by BB.  */
   FOR_EACH_EDGE (e, ei, cur->preds)
@@ -1848,7 +1852,7 @@ predict_paths_for_bb (basic_block cur, b
        continue;
       gcc_assert (bb == cur || dominated_by_p (CDI_POST_DOMINATORS, cur, bb));

-      /* See if there is how many edge from e->src that is not abnormal
+      /* See if there is an edge from e->src that is not abnormal
         and does not lead to BB.  */
       FOR_EACH_EDGE (e2, ei2, e->src->succs)
        if (e2 != e
@@ -1864,13 +1868,14 @@ predict_paths_for_bb (basic_block cur, b
         leading to e->src.  */
       if (found)
         predict_edge_def (e, pred, taken);
-      else
+      else if (!e->src->aux)
        predict_paths_for_bb (e->src, e->src, pred, taken);
     }
   for (son = first_dom_son (CDI_POST_DOMINATORS, cur);
        son;
        son = next_dom_son (CDI_POST_DOMINATORS, son))
     predict_paths_for_bb (son, bb, pred, taken);
+  cur->aux = (void *)(size_t) NULL;
 }

 /* Sets branch probabilities according to PREDiction and


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

* [Bug middle-end/48600] [4.6/4.7 Regression] ICE when using cold attribute
  2011-04-14  2:36 [Bug middle-end/48600] New: [4.6 regression] ICE when using cold attribute matt at use dot net
                   ` (15 preceding siblings ...)
  2012-01-31 15:07 ` hubicka at gcc dot gnu.org
@ 2012-02-10 12:22 ` hubicka at gcc dot gnu.org
  2012-02-10 12:23 ` [Bug middle-end/48600] [4.7 " hubicka at gcc dot gnu.org
                   ` (5 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: hubicka at gcc dot gnu.org @ 2012-02-10 12:22 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #16 from Jan Hubicka <hubicka at gcc dot gnu.org> 2012-02-10 12:21:24 UTC ---
Author: hubicka
Date: Fri Feb 10 12:21:16 2012
New Revision: 184089

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184089
Log:
    PR middle-end/48600
    * predict.c (predict_paths_for_bb): Prevent looping.
    (predict_paths_leading_to_edge, predict_paths_leading_to): Update.
    * g++.dg/torture/pr48600.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/torture/pr48600.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/predict.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug middle-end/48600] [4.7 Regression] ICE when using cold attribute
  2011-04-14  2:36 [Bug middle-end/48600] New: [4.6 regression] ICE when using cold attribute matt at use dot net
                   ` (16 preceding siblings ...)
  2012-02-10 12:22 ` hubicka at gcc dot gnu.org
@ 2012-02-10 12:23 ` hubicka at gcc dot gnu.org
  2012-03-01 14:55 ` [Bug middle-end/48600] [4.6 " jakub at gcc dot gnu.org
                   ` (4 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: hubicka at gcc dot gnu.org @ 2012-02-10 12:23 UTC (permalink / raw)
  To: gcc-bugs

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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.6/4.7 Regression] ICE    |[4.7 Regression] ICE when
                   |when using cold attribute   |using cold attribute

--- Comment #17 from Jan Hubicka <hubicka at gcc dot gnu.org> 2012-02-10 12:22:50 UTC ---
Fixed in 4.7. Backport to 4.6 should be easy.


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

* [Bug middle-end/48600] [4.6 Regression] ICE when using cold attribute
  2011-04-14  2:36 [Bug middle-end/48600] New: [4.6 regression] ICE when using cold attribute matt at use dot net
                   ` (17 preceding siblings ...)
  2012-02-10 12:23 ` [Bug middle-end/48600] [4.7 " hubicka at gcc dot gnu.org
@ 2012-03-01 14:55 ` jakub at gcc dot gnu.org
  2012-03-23 10:52 ` hubicka at gcc dot gnu.org
                   ` (3 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-03-01 14:55 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.6.3                       |4.6.4

--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-01 14:38:10 UTC ---
GCC 4.6.3 is being released.


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

* [Bug middle-end/48600] [4.6 Regression] ICE when using cold attribute
  2011-04-14  2:36 [Bug middle-end/48600] New: [4.6 regression] ICE when using cold attribute matt at use dot net
                   ` (18 preceding siblings ...)
  2012-03-01 14:55 ` [Bug middle-end/48600] [4.6 " jakub at gcc dot gnu.org
@ 2012-03-23 10:52 ` hubicka at gcc dot gnu.org
  2012-03-23 14:36 ` hubicka at gcc dot gnu.org
                   ` (2 subsequent siblings)
  22 siblings, 0 replies; 24+ messages in thread
From: hubicka at gcc dot gnu.org @ 2012-03-23 10:52 UTC (permalink / raw)
  To: gcc-bugs

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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |deepu.sarmatian at gmail
                   |                            |dot com

--- Comment #19 from Jan Hubicka <hubicka at gcc dot gnu.org> 2012-03-23 10:49:37 UTC ---
*** Bug 52649 has been marked as a duplicate of this bug. ***


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

* [Bug middle-end/48600] [4.6 Regression] ICE when using cold attribute
  2011-04-14  2:36 [Bug middle-end/48600] New: [4.6 regression] ICE when using cold attribute matt at use dot net
                   ` (19 preceding siblings ...)
  2012-03-23 10:52 ` hubicka at gcc dot gnu.org
@ 2012-03-23 14:36 ` hubicka at gcc dot gnu.org
  2012-03-23 14:53 ` hubicka at gcc dot gnu.org
  2012-06-11  9:11 ` jye2 at gcc dot gnu.org
  22 siblings, 0 replies; 24+ messages in thread
From: hubicka at gcc dot gnu.org @ 2012-03-23 14:36 UTC (permalink / raw)
  To: gcc-bugs

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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

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

--- Comment #21 from Jan Hubicka <hubicka at gcc dot gnu.org> 2012-03-23 14:23:23 UTC ---
Fixed.


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

* [Bug middle-end/48600] [4.6 Regression] ICE when using cold attribute
  2011-04-14  2:36 [Bug middle-end/48600] New: [4.6 regression] ICE when using cold attribute matt at use dot net
                   ` (20 preceding siblings ...)
  2012-03-23 14:36 ` hubicka at gcc dot gnu.org
@ 2012-03-23 14:53 ` hubicka at gcc dot gnu.org
  2012-06-11  9:11 ` jye2 at gcc dot gnu.org
  22 siblings, 0 replies; 24+ messages in thread
From: hubicka at gcc dot gnu.org @ 2012-03-23 14:53 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #20 from Jan Hubicka <hubicka at gcc dot gnu.org> 2012-03-23 14:22:35 UTC ---
Author: hubicka
Date: Fri Mar 23 14:22:24 2012
New Revision: 185739

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185739
Log:
    Backport from mainline
    PR middle-end/48600
    * predict.c (predict_paths_for_bb): Prevent looping.
    (predict_paths_leading_to_edge, predict_paths_leading_to): Update.

Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/predict.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog


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

* [Bug middle-end/48600] [4.6 Regression] ICE when using cold attribute
  2011-04-14  2:36 [Bug middle-end/48600] New: [4.6 regression] ICE when using cold attribute matt at use dot net
                   ` (21 preceding siblings ...)
  2012-03-23 14:53 ` hubicka at gcc dot gnu.org
@ 2012-06-11  9:11 ` jye2 at gcc dot gnu.org
  22 siblings, 0 replies; 24+ messages in thread
From: jye2 at gcc dot gnu.org @ 2012-06-11  9:11 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #22 from jye2 at gcc dot gnu.org 2012-06-11 09:10:14 UTC ---
Author: jye2
Date: Mon Jun 11 09:10:07 2012
New Revision: 188381

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188381
Log:
2012-06-11  Joey Ye  <joey.ye@arm.com>

    Backport r184089,184180 from mainline
    2012-02-10  Jan Hubicka  <jh@suse.cz>

    PR middle-end/48600
    * predict.c (predict_paths_for_bb): Prevent looping.
    (predict_paths_leading_to_edge, predict_paths_leading_to): Update.

    2012-02-13  Jan Hubicka  <jh@suse.cz>

    PR middle-end/52214
    * predict.c (predict_paths_for_bb): Fix thinko in prevoius patch.


    Backport partly r181172 from mainline
    2011-11-08  Michael Matz  <matz@suse.de>

    PR bootstrap/51969
    * gengtype.c (write_field_root): Avoid out-of-scope access of newv.

testsuite:

    Backport r184089 from mainline
    2012-02-10  Jan Hubicka  <jh@suse.cz>

    PR middle-end/48600
    * g++.dg/torture/pr48600.C: New testcase.

Added:
    branches/ARM/embedded-4_6-branch/gcc/testsuite/c-c++-common/pr52181.c
    branches/ARM/embedded-4_6-branch/gcc/testsuite/g++.dg/torture/pr48600.C
Modified:
    branches/ARM/embedded-4_6-branch/gcc/ChangeLog.arm
    branches/ARM/embedded-4_6-branch/gcc/gengtype.c
    branches/ARM/embedded-4_6-branch/gcc/predict.c
    branches/ARM/embedded-4_6-branch/gcc/testsuite/ChangeLog.arm


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

end of thread, other threads:[~2012-06-11  9:11 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-14  2:36 [Bug middle-end/48600] New: [4.6 regression] ICE when using cold attribute matt at use dot net
2011-04-14  9:23 ` [Bug middle-end/48600] " rguenth at gcc dot gnu.org
2011-04-14 17:00 ` matt at use dot net
2011-04-15 18:30 ` matt at use dot net
2011-04-18 11:23 ` jakub at gcc dot gnu.org
2011-04-26 21:10 ` [Bug middle-end/48600] [4.6/4.7 Regression] " jsm28 at gcc dot gnu.org
2011-06-01 14:36 ` matt at use dot net
2011-06-27 16:19 ` jakub at gcc dot gnu.org
2011-08-18  6:08 ` jakub at gcc dot gnu.org
2011-08-18  9:12 ` rguenth at gcc dot gnu.org
2011-08-19 22:18 ` hubicka at gcc dot gnu.org
2011-10-26 17:25 ` jakub at gcc dot gnu.org
2011-12-09  9:14 ` rguenth at gcc dot gnu.org
2011-12-09  9:18 ` rguenth at gcc dot gnu.org
2012-01-24 10:20 ` jakub at gcc dot gnu.org
2012-01-31 14:55 ` hubicka at gcc dot gnu.org
2012-01-31 15:07 ` hubicka at gcc dot gnu.org
2012-02-10 12:22 ` hubicka at gcc dot gnu.org
2012-02-10 12:23 ` [Bug middle-end/48600] [4.7 " hubicka at gcc dot gnu.org
2012-03-01 14:55 ` [Bug middle-end/48600] [4.6 " jakub at gcc dot gnu.org
2012-03-23 10:52 ` hubicka at gcc dot gnu.org
2012-03-23 14:36 ` hubicka at gcc dot gnu.org
2012-03-23 14:53 ` hubicka at gcc dot gnu.org
2012-06-11  9:11 ` jye2 at gcc dot gnu.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).