http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59155
Bug ID: 59155 Summary: ICE: in reg_overlap_mentioned_p, at rtlanal.c:1473 Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: inline-asm Assignee: unassigned at gcc dot gnu.org Reporter: glisse at gcc dot gnu.org Target: x86_64-unknown-linux-gnu double f(double x){ asm volatile("":"+X"(x)); return x; } double g(double x,double y){ return f(f(x)+f(y)); } compiled with -O2: a.c: In function 'g': a.c:7:1: internal compiler error: in reg_overlap_mentioned_p, at rtlanal.c:1473 } ^ 0x967015 reg_overlap_mentioned_p(rtx_def const*, rtx_def const*) /data/repos/gcc/pristine/gcc/rtlanal.c:1473 0x7cde02 match_asm_constraints_1 /data/repos/gcc/pristine/gcc/function.c:7164 0x7cdfda rest_of_match_asm_constraints /data/repos/gcc/pristine/gcc/function.c:7207 0x7cdfda execute /data/repos/gcc/pristine/gcc/function.c:7239 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions.