[Bug tree-optimization/63551] [4.9/5 Regression] wrong code (segfaults) at -Os on x86_64-linux-gnu

jamborm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Dec 1 12:53:00 GMT 2014


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

--- Comment #9 from Martin Jambor <jamborm at gcc dot gnu.org> ---
Author: jamborm
Date: Mon Dec  1 12:52:58 2014
New Revision: 218208

URL: https://gcc.gnu.org/viewcvs?rev=218208&root=gcc&view=rev
Log:
2014-12-01  Martin Jambor  <mjambor@suse.cz>

    PR ipa/63551
    * ipa-inline-analysis.c (evaluate_conditions_for_known_args): Convert
    value of the argument to the type of the value in the condition.

testsuite/
    * gcc.dg/ipa/pr63551.c: New test.
    * gcc.dg/ipa/pr64041.c: Likewise.


Added:
    branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/ipa/pr63551.c
    branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/ipa/pr64041.c
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/ipa-inline-analysis.c
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list