http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47662

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-02-10 
10:05:26 UTC ---
BTW, it would be good to have testcases covering all headers compiled with
-fno-operator-names to make sure it doesn't reappear.  Perhaps with turning off
PCH first.  So something like:
// { dg-do compile }
// { dg-options "-fno-operator-names" }

// Avoid using PCH
#include <cerrno>
#include <bits/stdc++.h>
#include <bits/stdtr1c++.h>
#include <bits/extc++.h>

int or, xor, and;

(and similarly with -std=gnu++0x -fno-operator-names).

Reply via email to