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

            Bug ID: 117039
           Summary: [15 Regression] Build failure:
                    libcpp/directives.cc:2078:34: error: unknown
                    conversion type character '>' in format
                    [-Werror=format=]
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: slyfox at gcc dot gnu.org
  Target Milestone: ---

Noticed build failure on today's gcc-master from r15-4191-g821d56100e1110:

I suspect r15-4191-g821d56100e1110 to be a culprit.

/tmp/gb/./prev-gcc/xg++ -B/tmp/gb/./prev-gcc/
-B/usr/local/x86_64-pc-linux-gnu/bin/ -nostdinc++
-B/tmp/gb/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-B/tmp/gb/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs 
-I/tmp/gb/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu 
-I/tmp/gb/prev-x86_64-pc-linux-gnu/libstdc++-v3/include 
-I/home/slyfox/dev/git/gcc/libstdc++-v3/libsupc++
-L/tmp/gb/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-L/tmp/gb/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs 
-I/home/slyfox/dev/git/gcc/libcpp -I.
-I/home/slyfox/dev/git/gcc/libcpp/../include
-I/home/slyfox/dev/git/gcc/libcpp/include  -g -O2 -fno-checking -gtoggle -W
-Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic
-Wno-long-long -Werror -fno-exceptions -fno-rtti
-I/home/slyfox/dev/git/gcc/libcpp -I.
-I/home/slyfox/dev/git/gcc/libcpp/../include
-I/home/slyfox/dev/git/gcc/libcpp/include    -c -o directives.o -MT
directives.o -MMD -MP -MF .deps/directives.Tpo
/home/slyfox/dev/git/gcc/libcpp/directives.cc
/home/slyfox/dev/git/gcc/libcpp/directives.cc: In function 'void
do_pragma_once(cpp_reader*)':
/home/slyfox/dev/git/gcc/libcpp/directives.cc:2078:20: error: unknown
conversion type character '<' in format [-Werror=format=]
 2078 |                  "%<#pragma once%> in main file");
      |                    ^
/home/slyfox/dev/git/gcc/libcpp/directives.cc:2078:34: error: unknown
conversion type character '>' in format [-Werror=format=]
 2078 |                  "%<#pragma once%> in main file");
      |                                  ^

$ /tmp/gb/./prev-gcc/xg++ -B/tmp/gb/./prev-gcc/ -v
Reading specs from /tmp/gb/./prev-gcc/specs
COLLECT_GCC=/tmp/gb/./prev-gcc/xg++
COLLECT_LTO_WRAPPER=/tmp/gb/./prev-gcc/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /home/slyfox/dev/git/gcc/configure --disable-multilib
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 15.0.0 20241009 (experimental) (GCC)

Reply via email to