public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/64256] New: [5.0 Regression] Pointer Bounds Checker builtins enum overflows stabstring length
@ 2014-12-10 15:43 dje at gcc dot gnu.org
  2014-12-10 15:45 ` [Bug bootstrap/64256] " dje at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: dje at gcc dot gnu.org @ 2014-12-10 15:43 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 64256
           Summary: [5.0 Regression] Pointer Bounds Checker builtins enum
                    overflows stabstring length
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dje at gcc dot gnu.org

The implementation of pointer bounds checking added an extra version of all
builtins with _CHKP appended, even when -fcheck-pointer-bounds is not enabled.

tree-core.h

/* Codes that identify the various built in functions
   so that expand_call can identify them quickly.  */
#define DEF_BUILTIN(ENUM, N, C, T, LT, B, F, NA, AT, IM, COND) ENUM,
enum built_in_function {
#include "builtins.def"

  BEGIN_CHKP_BUILTINS,

#undef DEF_BUILTIN
#define DEF_BUILTIN(ENUM, N, C, T, LT, B, F, NA, AT, IM, COND) ENUM##_CHKP,
#include "builtins.def"

  END_CHKP_BUILTINS,

the first _CHKP builtin is 1156
END_CHKP_BUILTINS is 2381
END_BUILTINS is 2388

creating a stabstring for the enum over the 64K limit.

This fails when building stage 1 GCC.  All currently deployed GCC compilers
will fail to bootstrap GCC trunk.  Note that AIX VAC++ cannot bootstrap the C++
code in current GCC.


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-02-07 10:51 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-10 15:43 [Bug bootstrap/64256] New: [5.0 Regression] Pointer Bounds Checker builtins enum overflows stabstring length dje at gcc dot gnu.org
2014-12-10 15:45 ` [Bug bootstrap/64256] " dje at gcc dot gnu.org
2014-12-10 15:49 ` rguenth at gcc dot gnu.org
2014-12-10 16:30 ` jakub at gcc dot gnu.org
2014-12-10 17:09 ` jakub at gcc dot gnu.org
2015-01-31 18:59 ` zoltan at hidvegi dot com
2015-02-04 23:46 ` zoltan at hidvegi dot com
2015-02-04 23:53 ` zoltan at hidvegi dot com
2015-02-05  1:58 ` dje at gcc dot gnu.org
2015-02-05  4:39 ` zoltan at hidvegi dot com
2015-02-06 17:04 ` dje at gcc dot gnu.org
2015-02-06 17:58 ` zoltan at hidvegi dot com
2015-02-07  2:35 ` dje at gcc dot gnu.org
2015-02-07 10:51 ` [Bug bootstrap/64256] [5 " jakub at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).