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 target/70941] [5/6 Regression] Test miscompiled with -O2.


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

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