This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12367] Incorrect code generation for meta/expression templates
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Sep 2003 15:15:26 -0000
- Subject: [Bug c++/12367] Incorrect code generation for meta/expression templates
- References: <20030922150454.12367.opetzold@wit.regiocom.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12367
------- Additional Comments From bangerth at dealii dot org 2003-09-22 15:15 -------
Olaf,
thanks for your report. However, I think it will be some time until
someone comes around and looks at it -- that code is just to
complicated if you are not familiar with what it does. Can you
try to reduce it somehow? Some suggestions are here:
http://gcc.gnu.org/bugs/minimize.html
In your case, leave in the includes, as they should be fine, but
it would be tremendously helpful if you replaced classes by structs
and removed accessor functions, reduced the number of template
arguments by hardwiring their types or values, etc. Everything
that makes the testcase shorter is ok. Basically, the shorter it
is, the higher chances are that people are able to see what's supposed
to happen and what is really going on.
I think, looking at the code, that you are quite close to getting it
down to a page or two, and that it should be possible in a reasonable
amount of time if you know what the code does.
Thanks
Wolfgang