--- 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
--- 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
--- 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
---
--- 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
--- 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;
}
--- 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
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
CC||hubicka at gcc dot gnu dot
|