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

            Bug ID: 83722
           Summary: [8 Regression] the ICE dumper doesn't comment-out some
                    error messages
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at gcc dot gnu.org
  Target Milestone: ---

Created attachment 43052
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43052&action=edit
preprocessed source

seen with r256272 on i686-linux-gnu, trying to build freespace2

the ICE dumper doesn't comment-out some follow-up lines, leading to an invalid
preprocessed source file.  Unsure how to provide more information.

in line 7699 of the preprocessed source, you see

# 1 "/usr/include/SDL/close_code.h" 1
# 124 "/usr/include/SDL/SDL_timer.h" 2
# 43 "/usr/include/SDL/SDIn file included from ./globalincs/pstypes.h:25,
                 from ./debris/debris.h:15,
                 from debris/debris.cpp:12:
./windows_stub/config.h:67:44: warning: C++11 requires a space between string
literal and macro [-Wc++11-co
mpat]
 #define STUB_FUNCTION nprintf(( "Warning", "STUB: %s in "__FILE__" at line %d,
thread %d\n", __FUNCTION__,
 __LINE__, getpid() ))
                                            ^
In file included from ./globalincs/pstypes.h:25,
                 from ./debris/debris.h:15,
                 from debris/debris.cpp:12:
./windows_stub/config.h:68:42: warning: C++11 requires a space between string
literal and macro [-Wc++11-co
mpat]
 #define DEBUGME(d1) nprintf(( "Warning", "DEBUGME: %s in "__FILE__" at line
%d, msg \"%s\", thread %d\n",
__FUNCTION__, __LINE__, d1, getpid() ))
                                          ^
L.h" 2

complete build log at
https://launchpad.net/ubuntu/+archive/test-rebuild-20171220-gcc8/+build/14094308

Reply via email to