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

--- Comment #3 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Mon Aug 20 14:20:59 2018
New Revision: 263664

URL: https://gcc.gnu.org/viewcvs?rev=263664&root=gcc&view=rev
Log:
        PR target/86984
        * expr.c (expand_assignment): Assert that bitpos is positive.
        (store_field): Likewise
        (expand_expr_real_1): Make sure that bitpos is positive.
        * config/alpha/alpha.h (CONSTANT_ADDRESS_P): Avoid signed
        integer overflow.

        PR target/86984
        * gcc.target/alpha/pr86984.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/alpha/pr86984.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/alpha/alpha.h
    trunk/gcc/expr.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to