FDO and LTO on ARM

Mike Hommey mhommey@mozilla.com
Tue Aug 9 13:21:00 GMT 2011


On Mon, Aug 08, 2011 at 05:25:23PM +0100, Jonathan Wakely wrote:
> On 8 August 2011 13:20, Mike Hommey wrote:
> >
> > I unfortunately hit several problems with gcc 4.7 (latest snapshot).
> > One is bug 50022 that I filed today.
> >
> > Another is the following error in stlport headers:
> >  error: invalid use of incomplete type 'std::string {aka struct
> >  std::basic_string<char, std::char_traits<char>, std::allocator<char> >}'

This one only happens with using the -std=gnu++0x flag.

The attached preprocessed file builds fine without -std=gnu++0x, and
fails with -std=gnu++0x. Note the same original file didn't fail with
the same stlport and -std=gnu++0x with gcc 4.6.

Mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debug_util.i.xz
Type: application/octet-stream
Size: 120412 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20110809/682b9779/attachment.obj>


More information about the Gcc mailing list