Development

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • New: ICE in dominated_by_p, at dominance.c:827

    6 answers - 440 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    // testcase, compile with -fno-tree-dominator-opts :
    void foo (int p[100], int k, )
    {
    int j, *q;
    __builtin_va_list ap;
    __builtin_va_start (ap, k);
    q = __builtin_va_arg (ap, int *);
    for (j = 0; j < 100; j++)
    p [j] = q [j];
    __builtin_va_end(ap);
    }
    // compiler output:
    capifunc.i: In function 'foo':
    capifunc.i:2: internal compiler error: in dominated_by_p, at dominance.c:827
  • No.1 | | 162 bytes | |

    Additional Comments From pinskia at gcc dot gnu dot org 2005-09-11 14:36
    Note this is only reproducible on x86_64 because of the way var_args are implemented.
  • No.2 | | 147 bytes | |

    Additional Comments From pinskia at gcc dot gnu dot org 2005-09-11 14:38
    Confirmed, it is ICE while doing std args which is also new for 4.1.0.
  • No.3 | | 101 bytes | |

    Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-09-12 14:20
    Patch posted.
  • No.4 | | 139 bytes | |

    Additional Comments From pinskia at gcc dot gnu dot org 2005-09-16 23:05
    (In reply to comment #3)
    Patch posted.
    And approved.
  • No.5 | | 520 bytes | |

    Additional Comments From cvs-commit at gcc dot gnu dot org 2005-09-20 15:29
    Subject: Bug 23818

    CVSRT:/cvs/gcc
    Module name:gcc
    Changes by:jakub (AT) gcc (DOT) gnu.org2005-09-20 15:29:42

    Modified files:
    gcc : ChangeLog tree-stdarg.c
    gcc/testsuite : ChangeLog
    Added files:
    gcc/testsuite/gcc.dg: pr23818.c

    Log message:
    PR tree-optimization/23818
    * tree-stdarg.c (execute_optimize_stdarg): Call
    calculate_dominance_info.

    * gcc.dg/pr23818.c: New test.

    Patches:
  • No.6 | | 83 bytes | |

    Additional Comments From pinskia at gcc dot gnu dot org 2005-09-20 15:56
    Fixed.

Re: New: ICE in dominated_by_p, at dominance.c:827


max 4000 letters.
Your nickname that display:
In order to stop the spam: 1 + 0 =
QUESTION ON "Development"

EMSDN.COM