[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#808432: gcc-6: internal compile error building mplayer pngdec.c



Control: tags -1 + moreinfo

this bug report is useless without the full stacktrace, the command line options used, and the preprocessed source.

On 20.12.2015 04:16, Arthur Marsh wrote:
Package: gcc-6
Version: 6-20151211-1
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

    * What led up to the situation?

Attempting to build mplayer source from:

svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer

with ./configure --cc=gcc-6 --host-cc=gcc-6

CC      libavcodec/pngdec.o
libavcodec/pngdec.c: In function 'decode_frame_common.isra.7':
libavcodec/pngdec.c:1021:43: warning: 'background_alpha' may be used uninitialized in this function [-Wmaybe-uninitialized]
                  uint8_t foreground_alpha, background_alpha, output_alpha;
                                            ^~~~~~~~~~~~~~~~

libavcodec/pngdec.c:1060:30: warning: 'foreground_alpha' may be used uninitialized in this function [-Wmaybe-uninitialized]

libavcodec/pngdec.c:1086:12: internal compiler error: in contains_point, at diagnostic-show-locus.c:340
  static int decode_frame_common(AVCodecContext *avctx, PNGDecContext *s,
             ^~~~~~~~~~~~~~~~~~~

0x102bf6f contains_point
         ../../src/gcc/diagnostic-show-locus.c:340
0x102bf6f get_state_at_point
         ../../src/gcc/diagnostic-show-locus.c:684
0x102c518 print_source_line
         ../../src/gcc/diagnostic-show-locus.c:538
0x102c518 diagnostic_show_locus(diagnostic_context*, diagnostic_info const*)
         ../../src/gcc/diagnostic-show-locus.c:803
0x63e6d0 c_diagnostic_finalizer
         ../../src/gcc/c-family/c-opts.c:167
0x102a248 diagnostic_report_diagnostic(diagnostic_context*, diagnostic_info*)
         ../../src/gcc/diagnostic.c:800
0x102b2f0 warning_at(unsigned int, int, char const*, ...)
         ../../src/gcc/diagnostic.c:1029
0xb3cfd1 warn_uninit
         ../../src/gcc/tree-ssa-uninit.c:157
0xb42446 warn_uninitialized_phi
         ../../src/gcc/tree-ssa-uninit.c:2366
0xb42446 execute
         ../../src/gcc/tree-ssa-uninit.c:2459




Reply to: