https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69927
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-02-24
CC| |trippels at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #3 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
markus@x4 tmp % cat vf_dejudder.i
typedef struct { long long pts; } AVFrame;
typedef struct { long ringbuff; } DejudderContext;
int a, b, c;
void filter_frame(AVFrame *p1) {
int d = c;
DejudderContext s;
long long *e = s.ringbuff;
if (p1->pts == 9223372036854775808)
return;
if (p1->pts)
for (; a < 2; a++)
e[a] += s.ringbuff;
for (; a < &s;)
av_log(d, s.ringbuff);
ff_filter_frame(b);
}
% /usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3/gcc -march=haswell -O3 -c
vf_dejudder.i
Thread 2.1 "cc1" received signal SIGSEGV, Segmentation fault.
[Switching to process 19730]
0x0000000000c0146e in remove_pseudos(rtx_def**, rtx_def*) ()
(gdb) bt
#0 0x0000000000c0146e in remove_pseudos(rtx_def**, rtx_def*) ()
#1 0x0000000000c00ddc in lra_spill() ()
#2 0x0000000000bdf4d7 in lra(_IO_FILE*) ()
#3 0x0000000000ba3d83 in (anonymous namespace)::pass_reload::execute() ()
#4 0x0000000000c07e6b in execute_one_pass(opt_pass*) ()
#5 0x0000000000c09b1f in execute_pass_list(opt_pass*) ()
#6 0x0000000000ad0766 in expand_function(cgraph_node*) ()
#7 0x0000000000e6c352 in compile() ()
#8 0x0000000000e6bcba in finalize_compilation_unit() ()
#9 0x0000000000a522df in c_write_global_declarations() ()
#10 0x0000000000ea7f82 in compile_file() ()
#11 0x0000000000ea7998 in toplev_main(int, char**) ()
#12 0x00007ffff76a76b1 in __libc_start_main (main=0xa49300 <main>, argc=13,
argv=0x7fffffffe3b8, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>,
stack_end=0x7fffffffe3a8) at ../csu/libc-start.c:289
#13 0x0000000000e5e2a9 in _start () at ../sysdeps/x86_64/start.S:118
(gdb) quit
A debugging session is active.
Inferior 2 [process 19730] will be killed.
Quit anyway? (y or n) y