https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78950

            Bug ID: 78950
           Summary: "confused by earlier errors, bailing out" without
                    previous errors, when having duplicate constexpr
           Product: gcc
           Version: 6.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: yannick at tedworld dot de
  Target Milestone: ---

When having a duplicate constexpr no error message other than "confused by
earlier errors, bailing out" gets displayed.

Simple example:

$ cat dupconstexpr.cpp
constexpr int test = 1;
constexpr int test = 1;

$ g++ dupconstexpr.cpp
‘
dupconstexpr.cpp:2: confused by earlier errors, bailing out

Reply via email to