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/49721] convert_memory_address_addr_space may generate invalid new insns


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

--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> 2011-08-02 15:58:56 UTC ---
(In reply to comment #6)
> (In reply to comment #5)
> > Another testcase:
> 
> Program received signal SIGSEGV, Segmentation fault.
> try_combine (i3=<optimized out>, i2=<optimized out>, i1=0x0, i0=<optimized
> out>, new_direct_jump_p=0x7fffffffdf54, 
>     last_combined_insn=0x7ffff1a12c60) at
> ../../gcc-svn/trunk/gcc/combine.c:4154
> 4154              if (link->insn == i2)
> 
> #0  try_combine (i3=<optimized out>, i2=<optimized out>, i1=0x0, i0=<optimized
> out>, new_direct_jump_p=0x7fffffffdf54, 
>     last_combined_insn=0x7ffff1a12c60) at
> ../../gcc-svn/trunk/gcc/combine.c:4154

That is because simplify-rtx.c generates new insns via
convert_memory_address_addr_space.


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