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++/12367] Incorrect code generation for meta/expression templates


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


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