From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18130 invoked by alias); 3 Mar 2015 09:16:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 18096 invoked by uid 48); 3 Mar 2015 09:16:54 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined Date: Tue, 03 Mar 2015 09:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-03/txt/msg00257.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 --- Comment #4 from Markus Trippelsdorf --- Here's the list of issues found today on ppc64le: gcc/c/c-typeck.c:8239:42: runtime error: load of address 0x3fffefac3e10 with insufficient space for an object of type 'long int' gcc/c/c-typeck.c:8239:42: runtime error: store to address 0x3fffd838e360 with insufficient space for an object of type 'long int' gcc/c-family/c-ada-spec.c:105:22: runtime error: load of address 0x3fffd57d3a88 with insufficient space for an object of type 'int' gcc/c-family/c-ada-spec.c:93:34: runtime error: load of address 0x3fffd57d3a88 with insufficient space for an object of type 'int' gcc/c-family/c-ada-spec.c:97:23: runtime error: load of address 0x3fffd57d3a88 with insufficient space for an object of type 'int' gcc/expmed.c:3024:42: runtime error: signed integer overflow: -9223372036854775808 - 1 cannot be represented in type 'long int' gcc/fortran/data.c:181:32: runtime error: null pointer passed as argument 2, which is declared to never be null gcc/fortran/interface.c:2701:33: runtime error: load of value 1818451807, which is not a valid value for type 'expr_t' gcc/fortran/interface.c:2949:42: runtime error: load of value 272321136, which is not a valid value for type 'ar_type' gcc/fortran/module.c:2361:28: runtime error: load of value 271605604, which is not a valid value for type 'bt' gcc/fortran/trans-array.c:2223:27: runtime error: load of value 100, which is not a valid value for type 'bool' gcc/fortran/trans-array.c:2223:27: runtime error: load of value 100, which is not a valid value for type 'bool' gcc/fortran/trans-expr.c:2384:48: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int [3]'; cast to an unsigned type to negate this value to itself gcc/fortran/trans-expr.c:5454:19: runtime error: member call on null pointer of type 'struct vec' gcc/fortran/trans-expr.c:5457:19: runtime error: member call on null pointer of type 'struct vec' gcc/fortran/trans-expr.c:5460:19: runtime error: member call on null pointer of type 'struct vec' gcc/gcov-io.c:376:38: runtime error: null pointer passed as argument 2, which is declared to never be null gcc/hwint.h:250:19: runtime error: shift exponent 64 is too large for 64-bit type 'long int' gcc/ipa-prop.c:2489:30: runtime error: member call on null pointer of type 'struct ipa_polymorphic_call_context' gcc/loop-iv.c:2670:25: runtime error: signed integer overflow: 100 - -9223372036854775808 cannot be represented in type 'long int' gcc/simplify-rtx.c:5189:10: runtime error: shift exponent -56 is negative gcc/tree-data-ref.c:2411:38: runtime error: signed integer overflow: 1073741824 + 1073741824 cannot be represented in type 'int' gcc/tree-data-ref.c:2500:16: runtime error: signed integer overflow: 131072 * -131072 cannot be represented in type 'int' gcc/tree-data-ref.c:2501:16: runtime error: negation of -2147483648 cannot be represented in type 'int'; cast to an unsigned type to negate this value to itself gcc/tree-data-ref.c:2502:16: runtime error: negation of -2147483648 cannot be represented in type 'int'; cast to an unsigned type to negate this value to itself libiberty/cp-demangle.c:4074:40: runtime error: variable length array bound evaluates to non-positive value 0 libiberty/cp-demangle.c:4075:43: runtime error: variable length array bound evaluates to non-positive value 0