--- Comment #8 from jamborm at gcc dot gnu dot org 2009-06-03 11:56 ---
Subject: Bug 40323
Author: jamborm
Date: Wed Jun 3 11:56:05 2009
New Revision: 148126
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=148126
Log:
2009-06-03 Martin Jambor mjam...@suse.cz
PR
--- Comment #9 from jamborm at gcc dot gnu dot org 2009-06-03 12:54 ---
I have just verified this is fixed on the current trunk.
--
jamborm at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #10 from ich at az2000 dot de 2009-06-03 15:00 ---
Thanks a lot, works just fine. :)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40323
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Keywords||compile-time-hog
Summary|compiling just takes
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-06-02 10:45 ---
Works fine with rev. 147285, fails with rev. 147953.
Martin - obviously
static inline tree
get_ssa_def_if_simple_copy (tree rhs)
{
while (TREE_CODE (rhs) == SSA_NAME !SSA_NAME_IS_DEFAULT_DEF (rhs))
{
--- Comment #6 from jamborm at gcc dot gnu dot org 2009-06-02 10:51 ---
Apparently I was not careful enough when turning an if branch to a while loop.
I'll prepare and test a patch straight away.
--
jamborm at gcc dot gnu dot org changed:
What|Removed
--- Comment #7 from jamborm at gcc dot gnu dot org 2009-06-02 17:06 ---
Created an attachment (id=17946)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17946action=view)
Fix
Ok, creating a simple testcase was not easy for me but here is a patch
that includes one (and fixes the