This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/78587] New: dwarf2out.c:1517:45: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int [4]'; cast to an unsigned type to negate this value to itself


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

            Bug ID: 78587
           Summary: dwarf2out.c:1517:45: runtime error: negation of
                    -9223372036854775808 cannot be represented in type
                    'long int [4]'; cast to an unsigned type to negate
                    this value to itself
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org
  Target Milestone: ---

Building with -fsanitize=undefined shows:

dwarf2out.c:1517:45: runtime error: negation of -9223372036854775808 cannot be
represented in type 'long int [4]'; cast to an unsigned type to negate this
value to itself

and 

dwarf2out.c:13855:54: runtime error: left shift of negative value -80

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]