This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/31095] [4.3 Regression] ICE in expand_expr_real_1, at expr.c:8786



------- Comment #10 from pinskia at gcc dot gnu dot org  2007-05-22 22:21 -------
#5  0x102946e0 in expand_expr_real_1 (exp=0xf7d53630, target=0x0,
tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0)
    at /home/apinski/src/ptrplus/gcc/gcc/expr.c:8872

(gdb) p debug_generic_expr (exp)
past = then;, (void *) &past;

The problem is in expand_builtin_memmove_args, even though we do:
3475          while (TREE_CODE (result) == COMPOUND_EXPR)

We have a NOP_EXPR around the COMPOUND_EXPR, working on a fix because I was the
one who introduced the NOP_EXPR.


-- 

pinskia at gcc dot gnu dot org changed:

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]