This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [c++ patch] Fix PRs 30849/30850/30851


Lee Millward wrote:
Hi Nathan,

On 7/22/07, Nathan Sidwell <nathan@codesourcery.com> wrote:
Why not just have cp_parser_asm_operand_list return error_mark_node in the face
of any bogus operand? (with suitable operand eating in that case)?

The attached patch implements this suggestion by modifying cp_parser_asm_operand_list to track whether any of the operands are invalid and to return error_mark_node in that case, adjusting the checks in cp_parser_asm_definition accordingly.

Bootstrapped and regression tested with no new failures on
i686-pc-linux-gnu. Ok to apply?

ok thanks.


nathan

--
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]