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/27558] [4.0/4.1 Regression] Wrong type in warning



------- Comment #7 from jsm28 at gcc dot gnu dot org  2006-08-25 15:44 -------
I see no evidence for HOST_WIDE_INT dependence or for this still being present
in 4.2 on any platform.  It looks like it was fixed by

2006-04-20  Jakub Jelinek  <jakub@redhat.com>

        * c-pretty-print.c (pp_c_direct_abstract_declarator): Print
        TYPE_MAX_VALUE (TYPE_DOMAIN (t)) + 1 for ARRAY_TYPE rather
        than plain TYPE_MAX_VALUE (TYPE_DOMAIN (t)).

and I'll test a backport of that to 4.1 and 4.0.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 GCC target triplet|HWI=32                      |
            Summary|[4.0/4.1/4.2 Regression]    |[4.0/4.1 Regression] Wrong
                   |Wrong type in warning       |type in warning


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


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