https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59155
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59155
Arseny Solokha changed:
What|Removed |Added
CC||asolokha at gmx dot com
--- Comment #9
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59155
--- Comment #8 from Segher Boessenkool ---
*** Bug 69034 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59155
--- Comment #7 from Bernd Edlinger ---
Created attachment 37216
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37216&action=edit
proposed patch
this patch bootstraps cleanly and passes regression tests
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59155
--- Comment #6 from Bernd Edlinger ---
(In reply to Marc Glisse from comment #1)
> By the way, the following:
>
> double f(double x){
> asm volatile("":"+X"(x));
> return x;
> }
> double g(){
> return f(1.);
> }
>
> is rejected with:
>
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59155
--- Comment #5 from Bernd Edlinger ---
Oh no! The X constraint allows just everything.
and combine combines everything that is OK for
check_asm_operands. But reg_overlap_mentioned_p
is not expecting anything that complicated.
How about:
Index
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59155
--- Comment #4 from Bernd Edlinger ---
234r.ud_dce:
(insn 12 10 13 2 (set (reg:DF 93)
(plus:DF (reg:DF 91 [ xD.1775 ])
(reg:DF 90 [ xD.1777 ]))) t3.c:6 813 {*fop_df_comm_mixed}
(expr_list:REG_DEAD (reg:DF 91 [ xD.1775 ])
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59155
Bernd Edlinger changed:
What|Removed |Added
CC||bernd.edlinger at hotmail dot
de
--- C
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59155
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59155
--- Comment #1 from Marc Glisse ---
By the way, the following:
double f(double x){
asm volatile("":"+X"(x));
return x;
}
double g(){
return f(1.);
}
is rejected with:
c.c: In function 'g':
c.c:2:3: error: inconsistent operand constraints
10 matches
Mail list logo