Re: Clobber REG_CC only for some constraint alternatives?

2020-09-01 Thread Hans-Peter Nilsson
On Wed, 26 Aug 2020, Pip Cet via Gcc wrote: > Note that whether there is a CC-setting variant depends not just on > the "cc" attr, but also on the precise operands for some values of the > "cc" attr, which requires hairy C code to figure out. > > Is it possible to avoid this situation by avoiding

Re: Built-in Specs ignored... unless -specs=dump is specified

2020-09-01 Thread Giacomo Tesio
On Mon, 31 Aug 2020 19:04:13 -0700 Andrew Pinski wrote: > On Mon, Aug 31, 2020 at 4:34 PM Giacomo Tesio > wrote: > > So I defined in the gcc/config/jehanne.h (see attachment) the macros > > LINK_SPEC, LIB_SPEC and CPP_SPEC that substitute such command line > > options as required. > > You mig

Re: [RFC] Add new flag to specify output constraint in match.pd

2020-09-01 Thread Richard Biener via Gcc
On Mon, Aug 24, 2020 at 8:20 AM Feng Xue OS via Gcc wrote: > > >> There is a match-folding issue derived from pr94234. A piece of code > >> like: > >> > >> int foo (int n) > >> { > >> int t1 = 8 * n; > >> int t2 = 8 * (n - 1); > >> > >> return t1 - t2; > >> } > >> > >> It