http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57915

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu.org

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I'd say if (plus:SI (symbol_ref:SI ...) (const_int ...)) not surrounded by
(const:SI ) is considered invalid IL, then trying to workaround cprop bug in
some other pass is still workaround rather than fix.
So, either we make sure that it is simplified (will attach an untested patch
for that), or do some minimal sanity checking for 'X' operands in
asm_operand_ok (basically verify it is valid RTL, say start with testing for
this missing CONST), or both.

Reply via email to