--- Comment #1 from tbm at cyrius dot com 2006-11-19 22:31 ---
Created an attachment (id=12648)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12648&action=view)
testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29902
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Keywords||ice-on-valid-code
Target Milestone|--- |4.2
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-11-20 00:23 ---
Reduced testcase:
int length1();
int g(int);
void f(int capacity_, char *old_storage)
{
try {
length1();
int old_capacity = capacity_;
capacity_ *= 2;
g(capacity_);
for (int i = 1; i < old_capac
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-11-20 00:27 ---
I think after remove empty loops, we should add a DCE pass which should fix the
above reduced testcase but will not fix this reduced testcase:
int length1();
int g(int);
void f(int capacity_, char*old_storage)
{
tr
--
rakdver at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |rakdver at gcc dot gnu dot
|dot org