[Bug c++/82000] Missed optimization of char_traits::length() on constant string
glisse at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Aug 29 08:17:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82000
--- Comment #3 from Marc Glisse <glisse at gcc dot gnu.org> ---
(In reply to Louis Dionne from comment #2)
> > Downloading the one from godbolt, we simplify it to: [...]
>
> I have no idea what this is and how you feed that to GCC, but I'm curious.
That's what -fdump-tree-optimized shows (end of high-level optimizations). You
don't feed it to gcc (it is missing all information about internal_buffer for
instance), although with -fgimple there are variants that gcc could read.
More information about the Gcc-bugs
mailing list