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/48165] [4.6/4.7 Regression] gcc-4.6: internal compiler error: in build2_stat


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

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-17 13:19:05 UTC ---
Author: rguenth
Date: Thu Mar 17 13:19:01 2011
New Revision: 171092

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171092
Log:
2011-03-17  Richard Guenther  <rguenther@suse.de>

    PR middle-end/48165
    * tree-object-size.c (compute_object_offset): Properly return
    the offset operand of MEM_REFs as sizetype.

    * g++.dg/torture/pr48165.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/torture/pr48165.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-object-size.c


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