This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/25791] -O2 execution fails, -O and -g work
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jan 2006 18:33:32 -0000
- Subject: [Bug rtl-optimization/25791] -O2 execution fails, -O and -g work
- References: <bug-25791-12018@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #26 from ebotcazou at gcc dot gnu dot org 2006-01-19 18:33 -------
> In your closing arguments you said these static object need to be members of
> an array. How would I do that?
You need to use a single array for your table if all the elements have the same
type or a single big structure with a specific field for each element.
> I'm perfectly willing to 'enclose' this entire bundle if I knew how. But I'm
> not sure how. Specific members inside have specific names, like PRT above.
> These have to be 'referenced' from outside the array. I don't think we can
> give names to array members.
array[0], array[1], ...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25791