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 tree-optimization/47140] [4.6 Regression] error: conversion of register to a different size


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-01-02 17:09:11 UTC ---
Author: jakub
Date: Sun Jan  2 17:09:08 2011
New Revision: 168402

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168402
Log:
    PR tree-optimization/47140
    * tree-ssa-ccp.c (evaluate_stmt): For binary assignments, use
    TREE_TYPE (lhs) instead of TREE_TYPE (rhs1) as second argument
    to bit_value_binop.

    * gcc.c-torture/compile/pr47140.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr47140.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-ccp.c


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