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 fortran/79929] [7/8 Regression] Bogus Warning: '__builtin_memset': specified size 4294967291 exceeds maximum object size 2147483647


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

Alexander Ivchenko <aivchenk at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aivchenk at gmail dot com

--- Comment #20 from Alexander Ivchenko <aivchenk at gmail dot com> ---
Not sure whether it is connected, but when I bootstrap with:
>../gcc_ref/configure  --with-system-zlib --with-demangler-in-ld --with-arch=corei7 --with-cpu=corei7 --with-fpmath=sse                     --enable-shared --enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl --enable-languages=c --enable-libmpx=yes --with-build-config=bootstrap-lto
>make

In function ‘rtvec_alloc’,
    inlined from ‘copy_rtx_for_iterators’ at
../../gcc_ref/gcc/read-rtl.c:448:32:
../../gcc_ref/gcc/rtl.c:155:10: error: ‘memset’: specified size
18446744073709551608 exceeds maximum object size 9223372036854775807
[-Werror=stringop-overflow=]
   memset (&rt->elem[0], 0, n * sizeof (rtx));

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