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

Kito Cheng <kito at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kito at gcc dot gnu.org

--- Comment #2 from Kito Cheng <kito at gcc dot gnu.org> ---
Revert the commit for now...and I am figure out how to resolve this:

lp64 target will have 2 warnings:

22:7: warning: array subscript 0 is outside array bounds of 'void [0]'
[-Warray-bounds]
19:51: note: object of size 0 allocated by 'operator new []'
22:7: warning: 'void* __builtin_memset(void*, int, long unsigned int)' offset
[0, 3] is out of the bounds [0, 0] [-Warray-bounds]

ilp32 target will have only 1 warning:

22:7: warning: array subscript 0 is outside array bounds of 'void [0]'
[-Warray-bounds]
19:51: note: object of size 0 allocated by 'operator new []'

Reply via email to