[Bug c/78408] C loop initial declarations generate wrong code

2025-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78408 --- Comment #13 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:94f275432f7ea4781ec7c05fa9d1d81ef6cb3fc1 commit r16-22-g94f275432f7ea4781ec7c05fa9d1d81ef6cb3fc1 Author: Andrew Pinski Date: Thu

[Bug c/78408] C loop initial declarations generate wrong code

2016-12-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78408 --- Comment #12 from Jakub Jelinek --- Author: jakub Date: Fri Dec 16 15:57:43 2016 New Revision: 243753 URL: https://gcc.gnu.org/viewcvs?rev=243753&root=gcc&view=rev Log: PR c/78408 * tree-ssa-ccp.c: Include tree-dfa.h.

[Bug c/78408] C loop initial declarations generate wrong code

2016-11-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78408 --- Comment #11 from Jakub Jelinek --- (In reply to Richard Biener from comment #10) > (In reply to Jakub Jelinek from comment #9) > > Note in the testcase a = (struct buf) {}, b = (struct buf) {} generates > > significantly more efficient code t

[Bug c/78408] C loop initial declarations generate wrong code

2016-11-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78408 --- Comment #10 from Richard Biener --- (In reply to Jakub Jelinek from comment #9) > Note in the testcase a = (struct buf) {}, b = (struct buf) {} generates > significantly more efficient code than a = b = (struct buf) {} - the former > is 2x me

[Bug c/78408] C loop initial declarations generate wrong code

2016-11-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78408 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #9

[Bug c/78408] C loop initial declarations generate wrong code

2016-11-17 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78408 Markus Trippelsdorf changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/78408] C loop initial declarations generate wrong code

2016-11-17 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78408 --- Comment #7 from joseph at codesourcery dot com --- I can't reproduce this with recent GCC 6 branch. Possibly a duplicate of bug 72747?

[Bug c/78408] C loop initial declarations generate wrong code

2016-11-17 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78408 --- Comment #6 from Marc Glisse --- I don't think this is related to the loop, a = b = (struct buf) {} loses the assignment to b even if you put it alone on its line.

[Bug c/78408] C loop initial declarations generate wrong code

2016-11-17 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78408 Markus Trippelsdorf changed: What|Removed |Added Summary|Aggressive optimization of |C loop initial declarations