[Bug tree-optimization/39367] [4.4 Regression] ICE at tree-inline.c:1042 with -O

2009-03-06 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2009-03-06 12:58 --- Yeah, we should drop TREE_BLOCK from anything not in stmts. Definitely for expressions in the types sizes and domains. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39367

[Bug tree-optimization/39367] [4.4 Regression] ICE at tree-inline.c:1042 with -O

2009-03-06 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2009-03-06 12:48 --- The problem is that mark_all_vars_used only marks blocks used by actual code, but on the testcase the only reference to a one BLOCK is from TYPE_MAX_VALUE (TYPE_DOMAIN (type)) containing a PLUS_EXPR with that BLOCK as

[Bug tree-optimization/39367] [4.4 Regression] ICE at tree-inline.c:1042 with -O

2009-03-04 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2009-03-05 06:04 --- *** Bug 39377 has been marked as a duplicate of this bug. *** -- hjl dot tools at gmail dot com changed: What|Removed |Added ---

[Bug tree-optimization/39367] [4.4 Regression] ICE at tree-inline.c:1042 with -O

2009-03-04 Thread hjl dot tools at gmail dot com
--- Comment #4 from hjl dot tools at gmail dot com 2009-03-05 00:12 --- This is caused by revision 144529. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39367

[Bug tree-optimization/39367] [4.4 Regression] ICE at tree-inline.c:1042 with -O

2009-03-04 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-03-04 22:08 --- Reduced testcase: class QScriptEnginePrivate; class QScriptClassInfo; namespace QScript { enum Type { InvalidType }; }; class QScriptValueImpl { public: inline QScriptValueImpl(); QScript::Type m_type; }

[Bug tree-optimization/39367] [4.4 Regression] ICE at tree-inline.c:1042 with -O

2009-03-04 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-03-04 21:20 --- Reducing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39367

[Bug tree-optimization/39367] [4.4 Regression] ICE at tree-inline.c:1042 with -O

2009-03-04 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||hubicka at gcc dot gnu dot |