Changeset 30cf6b0 for tests/init1.cfa


Ignore:
Timestamp:
Oct 11, 2020, 10:29:06 AM (12 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
aa90b2c
Parents:
a33704d
Message:

remove incompatible-pointer-types warning because compilers do not generate consistent messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/init1.cfa

    ra33704d r30cf6b0  
    1010// Created On       : Thu Jul 16 22:00:00 2020
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Fri Oct  9 23:11:02 2020
    13 // Update Count     : 5
     12// Last Modified On : Sun Oct 11 10:26:50 2020
     13// Update Count     : 8
    1414//
    1515
     
    4141    const float * cpx2 = cpx;
    4242
     43    // FIX ME: Code gen not producing correct cast.
     44#pragma GCC diagnostic push
     45#pragma GCC diagnostic ignored "-Wincompatible-pointer-types"
    4346    int (* fp)( int ) = 0p;
    4447    fp = 0p;
     48#pragma GCC diagnostic pop
    4549
    4650    //
Note: See TracChangeset for help on using the changeset viewer.