This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34178] [4.1/4.2/4.3 Regression] Compilation using -frepo fails
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Nov 2007 18:44:21 -0000
- Subject: [Bug c++/34178] [4.1/4.2/4.3 Regression] Compilation using -frepo fails
- References: <bug-34178-15404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from jakub at gcc dot gnu dot org 2007-11-27 18:44 -------
Additionally, repo_emit_p should IMHO use DECL_INTEGRAL_CONSTANT_VAR_P
rather than DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P check - if a static
data member isn't const, then it really doesn't matter if it is initialized
by constant expression or not.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34178