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

            Bug ID: 57826
           Summary: "Internal compiler error: Error reporting routines
                    re-entered" with -Weffc++ and weak_ptr<bool>
           Product: gcc
           Version: 4.7.3
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: anders at knatten dot org

Created attachment 30461
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30461&action=edit
As requested by "Preprocessed source stored into /tmp/ccEQ3cyg.out file, please
attach this to your bugreport."

When compiling bar.cpp with

g++ -o bar.o -c -std=c++0x -Wall -Wextra -Weffc++ bar.cpp

I get "Internal compiler error: Error reporting routines re-entered.
Please submit a full bug report"

I created the minimum example I could think of that triggers the bug. If you
omit -Weffc++, it compiles. If you omit the weak_ptr<bool> member from Foo, it
also compiles.

I have attached the preprocessed source as requested.

Reply via email to