public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/25224] [4.1/4.2 Regression] ICE in initialize_original_copy_tables
  2005-12-02 15:25 [Bug rtl-optimization/25224] New: [4.1/4.2 Regression] ICE in initialize_original_copy_tables pinskia at gcc dot gnu dot org
@ 2005-12-02 15:25 ` pinskia at gcc dot gnu dot org
  2005-12-02 15:42 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-02 15:25 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.0


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


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

* [Bug rtl-optimization/25224]  New: [4.1/4.2 Regression] ICE in initialize_original_copy_tables
@ 2005-12-02 15:25 pinskia at gcc dot gnu dot org
  2005-12-02 15:25 ` [Bug rtl-optimization/25224] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-02 15:25 UTC (permalink / raw)
  To: gcc-bugs

Testcase, compile with -O2 -funswitch-loops:

static float rgam;
extern void *jmp(void *);

void drotmg(float d1) {
void *labels[] = { &&L170, &&L180, 0 };

  for(;;) {
    goto *jmp(labels);

    if (d1 <= rgam)
      goto L170;

L170:
    if (d1 <= rgam)
      goto L170;
  }

L180:
  goto L170;
}


-- 
           Summary: [4.1/4.2 Regression] ICE in
                    initialize_original_copy_tables
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
GCC target triplet: powerpc64-linux-gnu


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


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

* [Bug rtl-optimization/25224] [4.1/4.2 Regression] ICE in initialize_original_copy_tables
  2005-12-02 15:25 [Bug rtl-optimization/25224] New: [4.1/4.2 Regression] ICE in initialize_original_copy_tables pinskia at gcc dot gnu dot org
  2005-12-02 15:25 ` [Bug rtl-optimization/25224] " pinskia at gcc dot gnu dot org
@ 2005-12-02 15:42 ` pinskia at gcc dot gnu dot org
  2005-12-02 18:21 ` hubicka at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-02 15:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2005-12-02 15:42 -------
Looks to be caused by:
2005-06-16  Jan Hubicka  <jh@suse.cz>

        * cfg.c: Include hashtab.h and alloc-pool.h
        (bb_original, bb_copy, original_copy_bb_pool): New static vars.
        (htab_bb_copy_original_entry): New struct.
        (bb_copy_original_hash, bb_copy_original_eq): New static functions.
        (initialize_original_copy_tables, free_original_copy_tables,
        set_bb_original, get_bb_original, set_bb_copy, get_bb_copy): New
        global functions.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-12-02 15:42:36
               date|                            |


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


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

* [Bug rtl-optimization/25224] [4.1/4.2 Regression] ICE in initialize_original_copy_tables
  2005-12-02 15:25 [Bug rtl-optimization/25224] New: [4.1/4.2 Regression] ICE in initialize_original_copy_tables pinskia at gcc dot gnu dot org
  2005-12-02 15:25 ` [Bug rtl-optimization/25224] " pinskia at gcc dot gnu dot org
  2005-12-02 15:42 ` pinskia at gcc dot gnu dot org
@ 2005-12-02 18:21 ` hubicka at gcc dot gnu dot org
  2005-12-15 23:52 ` hubicka at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2005-12-02 18:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hubicka at gcc dot gnu dot org  2005-12-02 18:21 -------
testing patch:
2005-12-02  Jan Hubicka  <jh@suse.cz>
        * tree-ssa-loop-unswitch.c (tree_unswitch_single_loop): Free copy
        tables.
Index: tree-ssa-loop-unswitch.c
===================================================================
*** tree-ssa-loop-unswitch.c    (revision 107909)
--- tree-ssa-loop-unswitch.c    (working copy)
*************** tree_unswitch_single_loop (struct loops
*** 253,259 ****
    /* Unswitch the loop on this condition.  */
    nloop = tree_unswitch_loop (loops, loop, bbs[i], cond);
    if (!nloop)
!     return changed;

    /* Update the SSA form after unswitching.  */
    update_ssa (TODO_update_ssa);
--- 253,262 ----
    /* Unswitch the loop on this condition.  */
    nloop = tree_unswitch_loop (loops, loop, bbs[i], cond);
    if (!nloop)
!     {
!       free_original_copy_tables ();
!       return changed;
!     }

    /* Update the SSA form after unswitching.  */
    update_ssa (TODO_update_ssa);


-- 

hubicka at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |hubicka at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


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


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

* [Bug rtl-optimization/25224] [4.1/4.2 Regression] ICE in initialize_original_copy_tables
  2005-12-02 15:25 [Bug rtl-optimization/25224] New: [4.1/4.2 Regression] ICE in initialize_original_copy_tables pinskia at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-12-02 18:21 ` hubicka at gcc dot gnu dot org
@ 2005-12-15 23:52 ` hubicka at gcc dot gnu dot org
  2005-12-18 14:36 ` [Bug rtl-optimization/25224] [4.1 " steven at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2005-12-15 23:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from hubicka at gcc dot gnu dot org  2005-12-15 23:52 -------
Subject: Bug 25224

Author: hubicka
Date: Thu Dec 15 23:52:16 2005
New Revision: 108606

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108606
Log:
        PR rtl-optimization/25224
        * tree-ssa-loop-unswitch.c (tree_unswitch_single_loop): Free copy
        tables.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr25224.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-loop-unswitch.c


-- 


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


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

* [Bug rtl-optimization/25224] [4.1 Regression] ICE in initialize_original_copy_tables
  2005-12-02 15:25 [Bug rtl-optimization/25224] New: [4.1/4.2 Regression] ICE in initialize_original_copy_tables pinskia at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-12-15 23:52 ` hubicka at gcc dot gnu dot org
@ 2005-12-18 14:36 ` steven at gcc dot gnu dot org
  2005-12-18 14:51 ` hubicka at gcc dot gnu dot org
  2005-12-18 14:53 ` steven at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: steven at gcc dot gnu dot org @ 2005-12-18 14:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from steven at gcc dot gnu dot org  2005-12-18 14:36 -------
For historic reference, once this is on the 4.1 branch too.


-- 

steven at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2005-
                   |                            |12/msg01216.html


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


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

* [Bug rtl-optimization/25224] [4.1 Regression] ICE in initialize_original_copy_tables
  2005-12-02 15:25 [Bug rtl-optimization/25224] New: [4.1/4.2 Regression] ICE in initialize_original_copy_tables pinskia at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2005-12-18 14:36 ` [Bug rtl-optimization/25224] [4.1 " steven at gcc dot gnu dot org
@ 2005-12-18 14:51 ` hubicka at gcc dot gnu dot org
  2005-12-18 14:53 ` steven at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2005-12-18 14:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from hubicka at gcc dot gnu dot org  2005-12-18 14:51 -------
Subject: Bug 25224

Author: hubicka
Date: Sun Dec 18 14:51:53 2005
New Revision: 108754

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108754
Log:
        PR rtl-optimization/25224
        * tree-ssa-loop-unswitch.c (tree_unswitch_single_loop): Free copy
        tables.

Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/tree-ssa-loop-unswitch.c


-- 


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


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

* [Bug rtl-optimization/25224] [4.1 Regression] ICE in initialize_original_copy_tables
  2005-12-02 15:25 [Bug rtl-optimization/25224] New: [4.1/4.2 Regression] ICE in initialize_original_copy_tables pinskia at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2005-12-18 14:51 ` hubicka at gcc dot gnu dot org
@ 2005-12-18 14:53 ` steven at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: steven at gcc dot gnu dot org @ 2005-12-18 14:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from steven at gcc dot gnu dot org  2005-12-18 14:53 -------
fixeth yet


-- 

steven at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Known to fail|4.1.0                       |
      Known to work|4.0.3 4.2.0                 |4.0.3 4.1.0 4.2.0
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2005-12-18 14:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-02 15:25 [Bug rtl-optimization/25224] New: [4.1/4.2 Regression] ICE in initialize_original_copy_tables pinskia at gcc dot gnu dot org
2005-12-02 15:25 ` [Bug rtl-optimization/25224] " pinskia at gcc dot gnu dot org
2005-12-02 15:42 ` pinskia at gcc dot gnu dot org
2005-12-02 18:21 ` hubicka at gcc dot gnu dot org
2005-12-15 23:52 ` hubicka at gcc dot gnu dot org
2005-12-18 14:36 ` [Bug rtl-optimization/25224] [4.1 " steven at gcc dot gnu dot org
2005-12-18 14:51 ` hubicka at gcc dot gnu dot org
2005-12-18 14:53 ` steven 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).