Devang,
it looks like your patch is responsible for misscompilation of stage2
at
x86-64 compiler (so we die building libgcc with memory corruption). I
checked it by disabling the pass from tree-optimize and we got past it.
Would be possible to look into it soon? I've got similarly looking
failure on PPC-linux too:
/abuild/gcc-test/gcc/gcc/libgcc2.c:359: internal compiler error: in
pool_free, at alloc-pool.c:287
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
/abuild/gcc-test/gcc/gcc/libgcc2.c: In function `__ashldi3':
/abuild/gcc-test/gcc/gcc/libgcc2.c:387: internal compiler error:
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
/abuild/gcc-test/gcc/gcc/libgcc2.c: In function `__ashrdi3':
/abuild/gcc-test/gcc/gcc/libgcc2.c:416: internal compiler error: in
pool_free, at alloc-pool.c:287
Please submit a full bug report,
with preprocessed source if appropriate.