re PR middle-end/34701 (ICE in tree-ssa-ccp.c with -fipa-struct-reorg)
authorAlon Dayan <alond@il.ibm.com>
Mon, 21 Jan 2008 09:07:12 +0000 (09:07 +0000)
committerOlga Golovanevsky <olga@gcc.gnu.org>
Mon, 21 Jan 2008 09:07:12 +0000 (09:07 +0000)
commitb158b5c6aa0a3773622552c165ee88ebc31ab004
tree0e7ce94084774885f2271b72843dc3ab47004225
parentb8ce93da2d75be94304dbc519156ad0181bcfa36
re PR middle-end/34701 (ICE in tree-ssa-ccp.c with -fipa-struct-reorg)

2008-01-21  Alon Dayan  <alond@il.ibm.com>
    Olga Golovanevsky  <olga@il.ibm.com>

PR tree-optimization/34701
* gcc.dg/struct/wo_prof_array_field.c: New test.

2008-01-21  Alon Dayan  <alond@il.ibm.com>
    Olga Golovanevsky  <olga@il.ibm.com>

PR tree-optimization/34701
* ipa-struct-reorg.c (gen_size): Fix the malloc parameter calculation
when the structure size is not a power of 2.

Co-Authored-By: Olga Golovanevsky <olga@il.ibm.com>
From-SVN: r131689
gcc/ChangeLog
gcc/ipa-struct-reorg.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/struct/wo_prof_array_field.c [new file with mode: 0644]