This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/24928] static const objects should go to .rodata



------- Comment #3 from gdr at integrable-solutions dot net  2005-11-18 01:31 -------
Subject: Re:   New: Trivial static const objects should go to .rodata

"msharov at hotmail dot com" <gcc-bugzilla@gcc.gnu.org> writes:

| With the object being initialized at runtime as if it mattered. Because the
| values of the member variables can not be changed after initialization, there
| is no reason to do this at runtime. Because the constructor doesn't do
| anything, this would not conflict with C++'s create-on-call mandate.

Completely agreed.

-- Gaby


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24928


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]