This is the mail archive of the gcc-bugs@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]

[Bug c++/79641] [5 Regression] ICE with const variable and attribute


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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue May 30 08:02:18 2017
New Revision: 248648

URL: https://gcc.gnu.org/viewcvs?rev=248648&root=gcc&view=rev
Log:
        Backported from mainline
        2017-02-21  Jakub Jelinek  <jakub@redhat.com>

        PR c++/79641
        * c-common.c (handle_mode_attribute): Use build_qualified_type to
        preserve quals.

        * c-c++-common/pr79641.c: New test.

Added:
    branches/gcc-5-branch/gcc/testsuite/c-c++-common/pr79641.c
Modified:
    branches/gcc-5-branch/gcc/c-family/ChangeLog
    branches/gcc-5-branch/gcc/c-family/c-common.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog

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