Re: Fix PR 61461: -fdump-rtl-all-slim causes ICE

2014-07-17 Thread Jeff Law
On 07/14/14 20:25, Bernd Edlinger wrote: Hi, When I try to print the dumps of fold-const.c with -fdump-rtl-all-slim cc1plus crashes. This is caused by pretty-printing the ADDR_VEC pattern, which has a single argument, a vector of LABEL_REFs at position 0. But instead XEXP(x,0) is printed, which

Fix PR 61461: -fdump-rtl-all-slim causes ICE

2014-07-14 Thread Bernd Edlinger
Hi, When I try to print the dumps of fold-const.c with -fdump-rtl-all-slim cc1plus crashes. This is caused by pretty-printing the ADDR_VEC pattern, which has a single argument, a vector of LABEL_REFs at position 0. But instead XEXP(x,0) is printed, which causes the ICE. However also ADDR_DIFF_VEC