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

            Bug ID: 89383
           Summary: [9 Regression] libcpp/line-map.c:748:15: runtime
                    error: shift exponent 32 is too large for 32-bit type
                    'unsigned int'
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---

One can see it when running self tests:

$ ./xgcc -B./ -B/home/marxin/bin/gcc/x86_64-pc-linux-gnu/bin/ -isystem
/home/marxin/bin/gcc/x86_64-pc-linux-gnu/include -isystem
/home/marxin/bin/gcc/x86_64-pc-linux-gnu/sys-include
-L/dev/shm/objdir/gcc/../ld -xc -nostdinc /dev/null -S -o /dev/null
-fself-test=/home/marxin/Programming/gcc/gcc/testsuite/selftests
../../libcpp/line-map.c:748:15: runtime error: shift exponent 32 is too large
for 32-bit type 'unsigned int'
    #0 0x44cc736 in linemap_line_start(line_maps*, unsigned int, unsigned int)
../../libcpp/line-map.c:748
    #1 0xf66b64 in test_capture_of_dump_calls ../../gcc/dumpfile.c:2192
    #2 0x4460203 in selftest::for_each_line_table_case(void
(*)(selftest::line_table_case const&)) ../../gcc/input.c:3550
    #3 0xf6d91e in selftest::dumpfile_c_tests() ../../gcc/dumpfile.c:2693
    #4 0x4278940 in selftest::run_tests() ../../gcc/selftest-run-tests.c:62
    #5 0x200ffbf in toplev::run_self_tests() ../../gcc/toplev.c:2240
    #6 0x20103e4 in toplev::main(int, char**) ../../gcc/toplev.c:2318
    #7 0x43728f1 in main ../../gcc/main.c:39
    #8 0x7ffff6e7bb7a in __libc_start_main ../csu/libc-start.c:308
    #9 0x861559 in _start
(/home/marxin/Programming/gcc2/objdir/gcc/cc1+0x861559)

Reply via email to