[Bug middle-end/57286] [4.9 regression] infinite recursion in fold-const.c:10037

2013-05-23 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57286 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug middle-end/57286] [4.9 regression] infinite recursion in fold-const.c:10037

2013-05-16 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57286 --- Comment #7 from Marc Glisse glisse at gcc dot gnu.org --- Should be fixed by r198964 (sorry, I changed my mind about where to break the cycle). Could you check that it works now? Thanks for the report.

[Bug middle-end/57286] [4.9 regression] infinite recursion in fold-const.c:10037

2013-05-15 Thread jojelino at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57286 --- Comment #5 from gee jojelino at gmail dot com --- Created attachment 30129 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30129action=edit proposed patch

[Bug middle-end/57286] [4.9 regression] infinite recursion in fold-const.c:10037

2013-05-15 Thread jojelino at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57286 --- Comment #6 from gee jojelino at gmail dot com --- (In reply to Marc Glisse from comment #3) Intuitively, I'd say: @@ -10041,7 +10041,7 @@ if (TREE_CODE (arg1) == COND_EXPR || TREE_CODE (arg1) == VEC_COND_EXPR -