Re: [PATCH] Properly parse invariant &MEM addresses in the GIMPLE FE

2021-10-06 Thread Joseph Myers
On Wed, 6 Oct 2021, Richard Biener via Gcc-patches wrote: > Currently the frontend rejects those addresses as not lvalues > because the C frontend doens't expect MEM_REF or TARGET_MEM_REF > to appear (but they would be valid lvalues there). The following > fixes that by amending lvalue_p. > > Th

[PATCH] Properly parse invariant &MEM addresses in the GIMPLE FE

2021-10-06 Thread Richard Biener via Gcc-patches
Currently the frontend rejects those addresses as not lvalues because the C frontend doens't expect MEM_REF or TARGET_MEM_REF to appear (but they would be valid lvalues there). The following fixes that by amending lvalue_p. The change also makes the dumping of the source of the testcase valid for