[Bug c++/123128] New: Recent gcc trunk build fail with clang

dcb314 at hotmail dot com gcc-bugzilla@gcc.gnu.org
Mon Dec 15 11:36:04 GMT 2025


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

            Bug ID: 123128
           Summary: Recent gcc trunk build fail with clang
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Thursday's build of gcc trunk with clang went fine.

Today, I get 

../../trunk/gcc/cp/parser.cc:43087:17: error: cannot initialize a variable of
type 'cp_token *' with an rvalue of type 'location_t' (aka 'unsigned long')
working $ 

git blame says:

d5320610cd36 gcc/cp/parser.cc (Jakub Jelinek             2025-12-13 10:02:55
+0100 43087)       cp_token *next = UNKNOWN_LOCATION;

I assume this works fine with gcc.


More information about the Gcc-bugs mailing list