This is the mail archive of the gcc-patches@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]

Re: [patch] cilkplus: Array notation for C patch



  We need to do EXPR_LOCATION (array2) and then issue the error....

note: original mismatching rank at:
     array[:][:] = array2[:];
>>            ^

Yes.



Or something similar... the note can be emitted with inform().  So you need to
save the original rank location to emit the note.

...and we take the location information in "loc" and print that out in inform?

Did I get it right?

Yes.  Provided "loc" is the location of the original location.


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