This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/78950] New: "confused by earlier errors, bailing out" without previous errors, when having duplicate constexpr


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]