http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59545

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |trippels at gcc dot gnu.org

--- Comment #3 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
FWIW here's the list issues clang catches on r206105:

gcc/combine.c:11867:14: runtime error: left shift of negative value -4096
gcc/config/i386/i386.c:21805:37: runtime error: left shift of negative value
-1073807360
gcc/config/i386/i386.c:21805:37: runtime error: left shift of negative value
-65537
gcc/config/i386/i386.c:21805:44: runtime error: left shift of negative value
-140739635838976
gcc/config/i386/i386.c:21805:44: runtime error: left shift of negative value
-2305983746702049280
gcc/cp/error.c:448:7: runtime error: call to function
pp_cxx_type_specifier_seq(cxx_pretty_printer*, tree_node*) through pointer to
incorrect function type 'void (*)(c_pretty
_printer *, tree_node *)'
gcc/cselib.c:1121:43: runtime error: signed integer overflow: 4224 +
9223372036854775807 cannot be represented in type 'long'
gcc/dce.c:278:16: runtime error: left shift of negative value -1
gcc/double-int.c:141:13: runtime error: negation of -9223372036854775808 cannot
be represented in type 'long'; cast to an unsigned type to negate this value to
itself
gcc/dwarf2out.c:11516:61: runtime error: left shift of negative value -1
gcc/dwarf2out.c:11531:54: runtime error: left shift of negative value -1
gcc/expmed.c:2986:15: runtime error: left shift of negative value -1
gcc/expr.c:3986:17: runtime error: signed integer overflow: 0 -
-9223372036854775808 cannot be represented in type 'long'
gcc/genattrtab.c:622:27: runtime error: signed integer overflow: 4568797 * 613
cannot be represented in type 'int'
gcc/genautomata.c:3497:23: runtime error: shift exponent 64 is too large for
64-bit type 'set_el_t' (aka 'unsigned long')
gcc/ggc-common.c:133:7: runtime error: call to function gt_ggc_m_S(void const*)
through pointer to incorrect function type 'void (*)(void *)'
gcc/ggc-common.c:501:2: runtime error: call to function gt_pch_n_S(void const*)
through pointer to incorrect function type 'void (*)(void *)'
gcc/haifa-sched.c:1160:24: runtime error: left shift of negative value -1
gcc/haifa-sched.c:1423:26: runtime error: left shift of negative value -1
gcc/ipa-split.c:1051:20: runtime error: load of value 100, which is not a valid
value for type 'bool'
gcc/ipa-split.c:1051:20: runtime error: load of value 108, which is not a valid
value for type 'bool'
gcc/ipa-split.c:1051:20: runtime error: load of value 116, which is not a valid
value for type 'bool'
gcc/ipa-split.c:1051:20: runtime error: load of value 124, which is not a valid
value for type 'bool'
gcc/ipa-split.c:1051:20: runtime error: load of value 12, which is not a valid
value for type 'bool'
gcc/ipa-split.c:1051:20: runtime error: load of value 132, which is not a valid
value for type 'bool'
gcc/ipa-split.c:1051:20: runtime error: load of value 140, which is not a valid
value for type 'bool'
gcc/ipa-split.c:1051:20: runtime error: load of value 156, which is not a valid
value for type 'bool'
gcc/ipa-split.c:1051:20: runtime error: load of value 164, which is not a valid
value for type 'bool'
gcc/ipa-split.c:1051:20: runtime error: load of value 172, which is not a valid
value for type 'bool'
gcc/ipa-split.c:1051:20: runtime error: load of value 188, which is not a valid
value for type 'bool'
gcc/ipa-split.c:1051:20: runtime error: load of value 196, which is not a valid
value for type 'bool'
gcc/ipa-split.c:1051:20: runtime error: load of value 204, which is not a valid
value for type 'bool'
gcc/ipa-split.c:1051:20: runtime error: load of value 20, which is not a valid
value for type 'bool'
gcc/ipa-split.c:1051:20: runtime error: load of value 212, which is not a valid
value for type 'bool'
gcc/ipa-split.c:1051:20: runtime error: load of value 220, which is not a valid
value for type 'bool'
gcc/ipa-split.c:1051:20: runtime error: load of value 224, which is not a valid
value for type 'bool'
gcc/ipa-split.c:1051:20: runtime error: load of value 228, which is not a valid
value for type 'bool'
gcc/ipa-split.c:1051:20: runtime error: load of value 236, which is not a valid
value for type 'bool'
gcc/ipa-split.c:1051:20: runtime error: load of value 244, which is not a valid
value for type 'bool'
gcc/ipa-split.c:1051:20: runtime error: load of value 252, which is not a valid
value for type 'bool'
gcc/ipa-split.c:1051:20: runtime error: load of value 28, which is not a valid
value for type 'bool'
gcc/ipa-split.c:1051:20: runtime error: load of value 36, which is not a valid
value for type 'bool'
gcc/ipa-split.c:1051:20: runtime error: load of value 44, which is not a valid
value for type 'bool'
gcc/ipa-split.c:1051:20: runtime error: load of value 4, which is not a valid
value for type 'bool'
gcc/ipa-split.c:1051:20: runtime error: load of value 52, which is not a valid
value for type 'bool'
gcc/ipa-split.c:1051:20: runtime error: load of value 60, which is not a valid
value for type 'bool'
gcc/ipa-split.c:1051:20: runtime error: load of value 76, which is not a valid
value for type 'bool'
gcc/ipa-split.c:1051:20: runtime error: load of value 84, which is not a valid
value for type 'bool'
gcc/ipa-split.c:1051:20: runtime error: load of value 92, which is not a valid
value for type 'bool'
gcc/ira-color.c:1508:29: runtime error: signed integer overflow: -128583990 *
811 cannot be represented in type 'int'
gcc/ira-color.c:1508:29: runtime error: signed integer overflow: -131071000 *
1000 cannot be represented in type 'int'
gcc/ira-color.c:1508:29: runtime error: signed integer overflow: -131071000 *
590 cannot be represented in type 'int'
gcc/ira-color.c:1508:29: runtime error: signed integer overflow: -17664042 *
500 cannot be represented in type 'int'
gcc/ira-color.c:1508:29: runtime error: signed integer overflow: -20495925 *
135 cannot be represented in type 'int'
gcc/ira-color.c:1508:29: runtime error: signed integer overflow: -262140400 *
125 cannot be represented in type 'int'
gcc/ira-color.c:1508:29: runtime error: signed integer overflow: -28163857 *
191 cannot be represented in type 'int'
gcc/ira-color.c:1508:29: runtime error: signed integer overflow: -33685247 * 90
cannot be represented in type 'int'
gcc/ira-color.c:1508:29: runtime error: signed integer overflow: -4095937 *
1000 cannot be represented in type 'int'
gcc/ira-color.c:1508:29: runtime error: signed integer overflow: -4190144 *
1023 cannot be represented in type 'int'
gcc/ira-color.c:1508:29: runtime error: signed integer overflow: -6373278 * 389
cannot be represented in type 'int'
gcc/ira-color.c:1508:29: runtime error: signed integer overflow: -8191875 * 500
cannot be represented in type 'int'
gcc/ira-color.c:1508:29: runtime error: signed integer overflow: -8847224 * 270
cannot be represented in type 'int'
gcc/passes.c:1627:8: runtime error: call to function
execute_pass_list(opt_pass*) through pointer to incorrect function type 'void
(*)(void *)'
gcc/postreload.c:1769:44: runtime error: signed integer overflow: 0 -
-9223372036854775808 cannot be represented in type 'long'
gcc/postreload.c:1769:44: runtime error: signed integer overflow:
105553116266496 - -9223372036854775808 cannot be represented in type 'long'
gcc/postreload.c:1769:44: runtime error: signed integer overflow: 11 -
-9223372036854775808 cannot be represented in type 'long'
gcc/postreload.c:1769:44: runtime error: signed integer overflow: 20 -
-9223372036854775808 cannot be represented in type 'long'
gcc/postreload.c:1769:44: runtime error: signed integer overflow:
4611123068473966592 - -9223090561878065153 cannot be represented in type 'long'
gcc/postreload.c:1769:44: runtime error: signed integer overflow:
4611404543450677248 - -9223372036854775808 cannot be represented in type 'long'
gcc/postreload.c:1769:44: runtime error: signed integer overflow:
7378697629483820646 - -1844674407370955162 cannot be represented in type 'long'
gcc/postreload.c:1769:44: runtime error: signed integer overflow:
-8446744073709551617 - 999999999999999999 cannot be represented in type 'long'
gcc/postreload.c:1769:44: runtime error: signed integer overflow:
8646911284551352320 - -9223372036854775808 cannot be represented in type 'long'
gcc/postreload.c:1769:44: runtime error: signed integer overflow:
-9223090561878065152 - 9223090561878065151 cannot be represented in type 'long'
gcc/postreload.c:1769:44: runtime error: signed integer overflow:
-9223372036854775784 - 9223372036854775800 cannot be represented in type 'long'
gcc/postreload.c:1769:44: runtime error: signed integer overflow:
9223372036854775807 - -281474976710656 cannot be represented in type 'long'
gcc/postreload.c:1769:44: runtime error: signed integer overflow:
9223372036854775807 - -9223090561878065153 cannot be represented in type 'long'
gcc/postreload.c:1769:44: runtime error: signed integer overflow:
9223372036854775807 - -9223372036854775808 cannot be represented in type 'long'
gcc/postreload.c:1769:44: runtime error: signed integer overflow:
-9223372036854775808 - 8935141660703064064 cannot be represented in type 'long'
gcc/postreload.c:1769:44: runtime error: signed integer overflow:
-9223372036854775808 - 9223372036854775807 cannot be represented in type 'long'
gcc/postreload.c:1769:44: runtime error: signed integer overflow:
999999999999999 - -9223372036854775808 cannot be represented in type 'long'
gcc/postreload.c:1769:44: runtime error: signed integer overflow:
9999999999999999 - -9223372036854775808 cannot be represented in type 'long'
gcc/real.c:2812:25: runtime error: left shift of negative value -1
gcc/real.c:2812:25: runtime error: left shift of negative value -102
gcc/real.c:2812:25: runtime error: left shift of negative value -1021
gcc/real.c:2812:25: runtime error: left shift of negative value -111
gcc/real.c:2812:25: runtime error: left shift of negative value -113
gcc/real.c:2812:25: runtime error: left shift of negative value -114
gcc/real.c:2812:25: runtime error: left shift of negative value -16277
gcc/real.c:2812:25: runtime error: left shift of negative value -16381
gcc/real.c:2812:25: runtime error: left shift of negative value -19
gcc/real.c:2812:25: runtime error: left shift of negative value -2
gcc/real.c:2812:25: runtime error: left shift of negative value -21
gcc/real.c:2812:25: runtime error: left shift of negative value -225
gcc/real.c:2812:25: runtime error: left shift of negative value -23
gcc/real.c:2812:25: runtime error: left shift of negative value -3
gcc/real.c:2812:25: runtime error: left shift of negative value -30
gcc/real.c:2812:25: runtime error: left shift of negative value -31
gcc/real.c:2812:25: runtime error: left shift of negative value -44
gcc/real.c:2812:25: runtime error: left shift of negative value -48
gcc/real.c:2812:25: runtime error: left shift of negative value -54
gcc/real.c:2812:25: runtime error: left shift of negative value -59
gcc/real.c:2812:25: runtime error: left shift of negative value -6
gcc/real.c:2812:25: runtime error: left shift of negative value -63
gcc/real.c:2812:25: runtime error: left shift of negative value -9
gcc/sched-deps.c:110:20: runtime error: left shift of negative value -1
gcc/simplify-rtx.c:1650:10: runtime error: negation of -9223372036854775808
cannot be represented in type 'long'; cast to an unsigned type to negate this
value to itself
gcc/simplify-rtx.c:4120:16: runtime error: signed integer overflow:
-1844674407370955161 + -9223372036854775808 cannot be represented in type
'long'
gcc/simplify-rtx.c:4124:16: runtime error: signed integer overflow:
1844674407370955161 - -9223372036854775808 cannot be represented in type 'long'
gcc/simplify-rtx.c:4128:16: runtime error: signed integer overflow: 3 *
-6148914691236517205 cannot be represented in type 'long'
gcc/stor-layout.c:2524:45: runtime error: signed integer overflow:
-9223372036854775808 - 1 cannot be represented in type 'long'
gcc/stor-layout.c:2537:34: runtime error: left shift of negative value -1
gcc/stor-layout.c:2539:5: runtime error: left shift of negative value -1
libcpp/files.c:675:30: runtime error: left shift of negative value -1
libcpp/symtab.c:235:6: runtime error: call to function count_defs(cpp_reader*,
cpp_hashnode*, void*) through pointer to incorrect function type 'int
(*)(cpp_reader *, ht_iden
tifier *, const void *)'
libcpp/symtab.c:235:6: runtime error: call to function dump_macro(cpp_reader*,
cpp_hashnode*, void*) through pointer to incorrect function type 'int
(*)(cpp_reader *, ht_iden
tifier *, const void *)'
libcpp/symtab.c:235:6: runtime error: call to function save_idents(cpp_reader*,
cpp_hashnode*, void*) through pointer to incorrect function type 'int
(*)(cpp_reader *, ht_ide
ntifier *, const void *)'
libcpp/symtab.c:235:6: runtime error: call to function
undefine_macros(cpp_reader*, cpp_hashnode*, void*) through pointer to incorrect
function type 'int (*)(cpp_reader *, ht
_identifier *, const void *)'
libcpp/symtab.c:235:6: runtime error: call to function write_defs(cpp_reader*,
cpp_hashnode*, void*) through pointer to incorrect function type 'int
(*)(cpp_reader *, ht_iden
tifier *, const void *)'
libcpp/symtab.c:235:6: runtime error: call to function
write_macdef(cpp_reader*, cpp_hashnode*, void*) through pointer to incorrect
function type 'int (*)(cpp_reader *, ht_id
entifier *, const void *)'
../libiberty/md5.c:336:7: runtime error: load of misaligned address
0x7fff2f8e77da for type 'const md5_uint32' (aka 'const unsigned int'), which
requires 4 byte alignment
...
libiberty/md5.c:351:7: runtime error: load of misaligned address 0x7fffafc1d7f6
for type 'const md5_uint32' (aka 'const unsigned int'), which requires 4 byte
alignment
libiberty/regex.c:6970:11: runtime error: left shift of negative value -1
libiberty/regex.c:7165:4: runtime error: left shift of negative value -1

Reply via email to