This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/85244] [6/7/8 Regression] Bad optimisation with flexible array member (may be related to -ftree-dominator-opts)
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 06 Apr 2018 08:26:38 +0000
- Subject: [Bug tree-optimization/85244] [6/7/8 Regression] Bad optimisation with flexible array member (may be related to -ftree-dominator-opts)
- Auto-submitted: auto-generated
- References: <bug-85244-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85244
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I.e. shouldn't it just be else seen_variable_array_ref = false; rather than if
(next) seen_variable_array_ref = false; ?