[Bug c++/83059] ICE on invalid C++ code: in tree_to_uhwi, at tree.c:6633

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 21 08:07:00 GMT 2017


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Nov 21 08:06:28 2017
New Revision: 254990

URL: https://gcc.gnu.org/viewcvs?rev=254990&root=gcc&view=rev
Log:
        PR c++/83059
        * c-common.c (get_atomic_generic_size): Use TREE_INT_CST_LOW
        instead of tree_to_uhwi, formatting fix.
        * config/i386/i386.c (ix86_memmodel_check): Start
        -Winvalid-memory-model diagnostics with lowercase letter.

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

Added:
    trunk/gcc/testsuite/c-c++-common/pr83059.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-common.c
    trunk/gcc/config/i386/i386.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list