This is the mail archive of the gcc-help@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: may be undefined operation warning


On Sun, Feb 24, 2008 at 8:21 PM, Diego Novillo <dnovillo@google.com> wrote:
> On Sun, Feb 24, 2008 at 23:09, Wesley Smith <wesley.hoke@gmail.com> wrote:
>
>  >                                 for(i=0; i < width; i++)
>  >                                 {
>  >                                         uchar *out_pix = (uchar *)(bop + i*oplanecount + (voffset -
>  >  (*cp++))*out_rowstride);
>  >                                         *out_pix++ = 255;
>  >                                         *out_pix++ = MAX_CHAR(*out_pix, accum);
>
>  I assume the warning happens here?  Looks like the warning machinery
>  is confusing itself here.  Could you file a bugzilla PR?  You will
>  need to submit a compilable snippet, preferably in the form of a .i
>  file.
>

Yes, it happens on the last line.  I'll need to make a simple C app
that shows the behavior to submit.  How does one make a .i file?

thanks again,
wes


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