[Bug target/85968] gcc/config/arc/arc.c:9805: bad test ?

egallager at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 28 06:37:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85968

Eric Gallager <egallager at gcc dot gnu.org> changed:

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

--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Claudiu Zissulescu from comment #1)
> Fixed by commit:
> 
> r261623 | claziss | 2018-06-15 14:22:10 +0300 (Fri, 15 Jun 2018) | 9 lines
> Changed paths:
>    M /trunk/gcc/ChangeLog
>    M /trunk/gcc/config/arc/arc.c
> 
> [ARC] Fix warning in arc_return_address_register.
> 
> The if condition in arc_return_address_register which selects the arc
> return address is not correct. The issue is signalized in bugzilla 85968.
> 
> gcc/
> 2018-06-15  Claudiu Zissulescu  <claziss@synopsys.com>
> 
>         * config/arc/arc.c (arc_return_address_register): Fix if-condition.

(In reply to claziss from comment #2)
> Author: claziss
> Date: Wed Nov 14 11:31:12 2018
> New Revision: 266107
> 
> URL: https://gcc.gnu.org/viewcvs?rev=266107&root=gcc&view=rev
> Log:
> [ARC] Backport form mainline
> 	PR target/85968
> 	* config/arc/arc.c (arc_return_address_register): Fix
> 	if-condition.
> 
> 
> Modified:
>     branches/gcc-8-branch/gcc/ChangeLog
>     branches/gcc-8-branch/gcc/config/arc/arc.c

So can this be closed now, or does it need to be backported to 7, as well?


More information about the Gcc-bugs mailing list