minimal repro for incorrect compilation with -Os on clang++ version 3.2-1

Dear clang devs,

I hope this is the right place to post a bug report.
You’ll find below a simple reproductible example for an incorrect compilation bug that shows up using -Os on clang 3.2-1 (from the latest ubuntu beta).

Thank you for making such a great product.

Yours Sincerely,
Gurg Hackpof

This is a great bug report, but we'd really appreciate it if you could take a couple extra steps:
- please file a formal bug report at http://llvm.org/bugs/; this is a lot easier for us to track than an email, and it lets you get updated on status
- please attach the preprocessed source for your program using -E; this saves us the trouble from trying to figure out exactly which copy of boost you're using

Thanks!

John.

It’s a great bug report cause it’s a great bug.

Ok, it’s been filed with the info you wanted.
http://llvm.org/bugs/show_bug.cgi?id=15574

It’s a great bug report cause it’s a great bug.

We do our best. :slight_smile:

Ok, it’s been filed with the info you wanted.
http://llvm.org/bugs/show_bug.cgi?id=15574

Thanks! Really appreciated.

John.