Changeset 561dec5 in rtems


Ignore:
Timestamp:
Mar 21, 2016, 3:53:32 PM (3 years ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
037f7a6
Parents:
596bfe3b
git-author:
Joel Sherrill <joel@…> (03/21/16 15:53:32)
git-committer:
Joel Sherrill <joel@…> (03/24/16 16:41:22)
Message:

powerpc/shared/openpic/openpic.c: Ignore warnings for builtin_frame_address() usage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/shared/openpic/openpic.c

    r596bfe3b r561dec5  
    5454
    5555#if 1
     56/* This software deliberately uses non-zero values to the method
     57 * __builtin_return_address() and we want to avoid the GCC warning.
     58 */
     59#pragma GCC diagnostic push
     60#pragma GCC diagnostic ignored "-Wframe-address"
    5661#define check_arg_ipi(ipi) \
    5762    if (ipi < 0 || ipi >= OPENPIC_NUM_IPI) \
Note: See TracChangeset for help on using the changeset viewer.