[Bug inline-asm/79552] [6 Regression] Wrong code generation due to -fschedule-insns, with __restrict__ and inline asm

2017-06-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79552 --- Comment #12 from Richard Biener --- Author: rguenth Date: Thu Jun 22 11:46:45 2017 New Revision: 249552 URL: https://gcc.gnu.org/viewcvs?rev=249552=gcc=rev Log: 2017-06-22 Richard Biener Backport from mainline

[Bug inline-asm/79552] [6 Regression] Wrong code generation due to -fschedule-insns, with __restrict__ and inline asm

2017-06-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79552 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug inline-asm/79552] [6 Regression] Wrong code generation due to -fschedule-insns, with __restrict__ and inline asm

2017-02-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79552 --- Comment #10 from Richard Biener --- Author: rguenth Date: Fri Feb 17 10:43:27 2017 New Revision: 245528 URL: https://gcc.gnu.org/viewcvs?rev=245528=gcc=rev Log: 2017-02-17 Richard Biener PR

[Bug inline-asm/79552] [6 Regression] Wrong code generation due to -fschedule-insns, with __restrict__ and inline asm

2017-02-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79552 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Known to work|

[Bug inline-asm/79552] [6 Regression] Wrong code generation due to -fschedule-insns, with __restrict__ and inline asm

2017-02-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79552 Richard Biener changed: What|Removed |Added Depends on||43434 --- Comment #8 from Richard

[Bug inline-asm/79552] [6 Regression] Wrong code generation due to -fschedule-insns, with __restrict__ and inline asm

2017-02-16 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79552 --- Comment #7 from Uroš Bizjak --- (In reply to Katsunori Kumatani from comment #3) > In my case, I explicitly told GCC what memory I was going to clobber (with > the "=m"(*m) output operand). In fact, without telling it I was going to >

[Bug inline-asm/79552] [6 Regression] Wrong code generation due to -fschedule-insns, with __restrict__ and inline asm

2017-02-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79552 --- Comment #6 from Jakub Jelinek --- So your patch is effectively revesal of PR48885. But then we need some other fix for it.

[Bug inline-asm/79552] [6 Regression] Wrong code generation due to -fschedule-insns, with __restrict__ and inline asm

2017-02-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79552 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5

[Bug inline-asm/79552] [6 Regression] Wrong code generation due to -fschedule-insns, with __restrict__ and inline asm

2017-02-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79552 --- Comment #4 from Richard Biener --- Ah... FOR_EACH_IMM_USE_STMT (use_stmt, ui, ptr) { /* ??? Calls and asms. */ if (!gimple_assign_single_p (use_stmt)) continue; and at PTA

[Bug inline-asm/79552] [6 Regression] Wrong code generation due to -fschedule-insns, with __restrict__ and inline asm

2017-02-16 Thread katsunori.kumatani at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79552 --- Comment #3 from Katsunori Kumatani --- (In reply to Uroš Bizjak from comment #1) > (In reply to Katsunori Kumatani from comment #0) > > > Things to note: > > > > This happens on GCC 6 and up to 7 only, GCC 5.4 generates correct output. > >

[Bug inline-asm/79552] [6 Regression] Wrong code generation due to -fschedule-insns, with __restrict__ and inline asm

2017-02-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79552 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug inline-asm/79552] [6 Regression] Wrong code generation due to -fschedule-insns, with __restrict__ and inline asm

2017-02-16 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79552 --- Comment #1 from Uroš Bizjak --- (In reply to Katsunori Kumatani from comment #0) > Things to note: > > This happens on GCC 6 and up to 7 only, GCC 5.4 generates correct output. > This happens once you turn on the -fschedule-insns option.

[Bug inline-asm/79552] [6 Regression] Wrong code generation due to -fschedule-insns, with __restrict__ and inline asm

2017-02-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79552 Richard Biener changed: What|Removed |Added Target Milestone|--- |6.4 Summary|[Regression GCC