Hi Wilco On 7 November 2017 at 13:28, Wilco Dijkstra <wilco.dijks...@arm.com> wrote: > Sudi Das wrote: > >> Thanks, I have made the changes to the patch. >> Also can someone please apply it for me. I do not have commit access. >> >> 2017-10-10 Sudakshina Das <sudi....@arm.com> >> >> PR middle-end/80131 >> * match.pd: Simplify 1 << (C - x) where C = precision (x) - 1. >> >> 2017-10-10 Sudakshina Das <sudi....@arm.com> >> >> PR middle-end/80131 >> * testsuite/gcc.dg/pr80131-1.c: New Test. >> >> >> With regards to the existing missed optimizations needed to the x86 RTL >> expansion, >> I think the discussions can take place on the bug report that I created and >> maybe someone will pick it up. > > I've committed this as r254496.
This causes my builds (all arm and aarch64 targets) to fail: g++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -Wno-unused -DHAVE_CONFIG_H -I. -I. -I/tmp/1717606_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc -I/tmp/1717606_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/. -I/tmp/1717606_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/../include -I/tmp/1717606_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/../libcpp/include -I/tmp/1717606_6.tmpdir/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64-none-linux-gnu/gcc1/./gmp -I/tmp/1717606_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gmp -I/tmp/1717606_6.tmpdir/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64-none-linux-gnu/gcc1/./mpfr/src -I/tmp/1717606_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/mpfr/src -I/tmp/1717606_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/mpc/src -I/tmp/1717606_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/../libdecnumber -I/tmp/1717606_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/../libdecnumber/dpd -I../libdecnumber -I/tmp/1717606_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/../libbacktrace -o gimple-match.o -MT gimple-match.o -MMD -MP -MF ./.deps/gimple-match.TPo gimple-match.c In file included from /tmp/1717606_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/coretypes.h:397, from /tmp/1717606_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/gimple-match-head.c:22, from gimple-match.c:4: /tmp/1717606_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/wide-int.h: In function ‘bool wi::eq_p(const T1&, const T2&) [with T1 = tree_node*, T2 = int]’: gimple-match.c:49533: instantiated from here /tmp/1717606_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/wide-int.h:1764: error: incomplete type ‘wi::int_traits<tree_node*>’ used in nested name specifier gimple-match.c:49533: instantiated from here /tmp/1717606_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/wide-int.h:1764: error: incomplete type ‘wi::int_traits<tree_node*>’ used in nested name specifier /tmp/1717606_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/wide-int.h:1764: error: incomplete type ‘wi::int_traits<tree_node*>’ used in nested name specifier /tmp/1717606_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/wide-int.h:1764: error: incomplete type ‘wi::int_traits<tree_node*>’ used in nested name specifier /tmp/1717606_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/wide-int.h:1764: error: incomplete type ‘wi::int_traits<tree_node*>’ used in nested name specifier /tmp/1717606_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/wide-int.h:1764: error: incomplete type ‘wi::int_traits<tree_node*>’ used in nested name specifier /tmp/1717606_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/wide-int.h:1764: error: incomplete type ‘wi::int_traits<tree_node*>’ used in nested name specifier /tmp/1717606_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/wide-int.h:1764: error: incomplete type ‘wi::int_traits<tree_node*>’ used in nested name specifier /tmp/1717606_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/wide-int.h:1764: error: incomplete type ‘wi::int_traits<tree_node*>’ used in nested name specifier /tmp/1717606_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/wide-int.h:1764: error: incomplete type ‘wi::int_traits<tree_node*>’ used in nested name specifier /tmp/1717606_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/wide-int.h: In function ‘unsigned int wi::get_binary_precision(const T1&, const T2&) [with T1 = tree_node*, T2 = int]’: /tmp/1717606_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/wide-int.h:1763: instantiated from ‘bool wi::eq_p(const T1&, const T2&) [with T1 = tree_node*, T2 = int]’ gimple-match.c:49533: instantiated from here /tmp/1717606_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/wide-int.h:1696: error: incomplete type ‘wi::int_traits<tree_node*>’ used in nested name specifier make[2]: *** [gimple-match.o] Error 1 Can you have a look? > > Wilco