[Bug target/70941] [5/6 Regression] Test miscompiled with -O2.

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri May 6 15:24:00 GMT 2016


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

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri May  6 15:23:56 2016
New Revision: 235978

URL: https://gcc.gnu.org/viewcvs?rev=235978&root=gcc&view=rev
Log:
        PR middle-end/70941
        * gcc.dg/torture/pr70941.c (abort): Remove prototype.
        (a, b, c, d): Change type from char to signed char.
        (main): Compare against (signed char) -1634678893 instead of
        hardcoded -109.  Use __builtin_abort instead of abort.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/torture/pr70941.c


More information about the Gcc-bugs mailing list