public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/67338] New: fold-const sanitizer runtime error  in roundup_loc
@ 2015-08-24 12:21 zeccav at gmail dot com
  0 siblings, 0 replies; only message in thread
From: zeccav at gmail dot com @ 2015-08-24 12:21 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 67338
           Summary: fold-const sanitizer runtime error  in roundup_loc
           Product: gcc
           Version: 5.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zeccav at gmail dot com
  Target Milestone: ---

Running a sanitized version of gcc 5.2.0 I get the following: 

// ../../gcc-5.2.0/gcc/fold-const.c:16036:8: runtime error: negation of
-2147483648 cannot be represented in type 'int'; cast to an unsigned type to
negate this value to itself
// fold-const.c:16036 "val &= - (int) divisor;"
// int should be wide_int?
// Target: x86_64-unknown-linux-gnu
// COLLECT_GCC_OPTIONS='-mtune=generic' '-march=x86-64'
struct { __attribute__((aligned (1 << 28))) double a; };


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-08-24 12:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-24 12:21 [Bug c/67338] New: fold-const sanitizer runtime error in roundup_loc zeccav at gmail dot com

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).