[Bug tree-optimization/60971] [4.9/4.10 Regression] Wrong code when coercing unsigned char to bool

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 29 14:46:00 GMT 2014


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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Apr 29 14:45:24 2014
New Revision: 209901

URL: http://gcc.gnu.org/viewcvs?rev=209901&root=gcc&view=rev
Log:
    PR tree-optimization/60971
    * tree-tailcall.c (process_assignment): Reject conversions which
    reduce precision.

    * c-c++-common/turtore/pr60971.c: New test.

Added:
    branches/gcc-4_9-branch/gcc/testsuite/c-c++-common/torture/pr60971.c
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_9-branch/gcc/tree-tailcall.c



More information about the Gcc-bugs mailing list