[FFmpeg-devel] GCC 5.1 warning: -Warray-bounds

Ganesh Ajjanagadde gajjanag at mit.edu
Tue Jul 21 23:31:28 CEST 2015


On Tue, Jul 21, 2015 at 5:14 PM, Michael Niedermayer
<michael at niedermayer.cc> wrote:
> On Thu, Jun 25, 2015 at 01:25:08AM -0300, James Almer wrote:
>> On 04/06/15 6:55 PM, Ganesh Ajjanagadde wrote:
>> > I have created a small test case which gets at the heart of one of
>> > these spurious
>> > warnings, namely the one for libavfilter/vf_swapuv.c.
>> >
>> > Here is the ticket on the GCC Bugzilla:
>> >
>> > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66422
>> >
>> > Note that as of the moment, -Warray-bounds appears quite broken on GCC
>> > (especially on -O3), and the bugzilla is full of bug reports on this.
>>
>> For the record, these bogus warnings have been fixed on the gcc 5 branch.
>
> do any warnings remain for ffmpeg ?
> are they real issues or false positives as well ?

Most are gone, only two files trigger these, namely
libavformat/dvenc.c and libavcodec/dca_x11.c.
I have attached a logfile from the build and will investigate this to
see whether they are real or false positives.

>
> [...]
> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> I am the wisest man alive, for I know one thing, and that is that I know
> nothing. -- Socrates
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.log
Type: text/x-log
Size: 106844 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150721/7256017b/attachment.bin>


More information about the ffmpeg-devel mailing list