Changeset 03ecdcf


Ignore:
Timestamp:
Jan 15, 2021, 3:20:32 PM (3 years ago)
Author:
m3zulfiq <m3zulfiq@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
77ff383
Parents:
7222630
git-author:
m3zulfiq <m3zulfiq@…> (01/15/21 15:19:12)
git-committer:
m3zulfiq <m3zulfiq@…> (01/15/21 15:20:32)
Message:

Ignored array-bounds and stringop-overflow= warnings in alloc_internal : memcpy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/stdlib.hfa

    r7222630 r03ecdcf  
    191191                } else if(Fill.tag == 't') {
    192192                        for ( int i = copy_end; i < Dim * size; i += size ) {
     193#pragma GCC diagnostic push
     194#pragma GCC diagnostic ignored "-Warray-bounds"
     195#pragma GCC diagnostic push
     196#pragma GCC diagnostic ignored "-Wstringop-overflow="
    193197                                memcpy( (char *)ptr + i, &Fill.t, size );
     198#pragma GCC diagnostic pop
     199#pragma GCC diagnostic pop
    194200                        }
    195201                } else if(Fill.tag == 'a') {
Note: See TracChangeset for help on using the changeset viewer.