MetaC++ announcement

2005-03-05 Thread Stefan Strasser
y language constructs(its name, what namespace it is in, etc.) XML format? - You can use the library for reading and writing. However, the xml format is automatically derived from the object model,data field "isVirtual" in class "BaseSpecifier" is called "BaseSpecifier.IsVirtual" in xml files. Normal fields and pointer<>'s are attributes, element<>'s and list<>'s are subnodes. -- Stefan Strasser

Re: MetaC++ announcement

2005-03-05 Thread Stefan Strasser
compatible with unprocessed source. it does not read any variable alignment information(except c++ bitfield size) and I don't see a reason to do that. but in case you need that it can be added quite easily, search for "Parse(object -- Stefan Strasser

Re: GCC3 to GCC4 performance regression. Bug?

2005-03-17 Thread Stefan Strasser
_s *) malloc (sizeof (struct dpmatrix_s)); AllocPlan7Body(hmm, 10); for (i = 0; i < 60; i++) { P7Viterbi(500, 10, hmm, mx->mmx); } } -- Stefan Strasser

inefficient code output?

2005-03-22 Thread Stefan Strasser
no "volatile" involved. -- Stefan Strasser

Re: i want to connect gcc's front-end to my'back-end

2005-03-29 Thread Stefan Strasser
ttp://www.gccxml.org if you want to port gcc to another CPU or similar I'm sure there is some backend-howto on gcc website, but gimple trees are not the right way. there are more than one IRs in gcc so you need to be more clear. and note that gcc debugging outputs are not designed to be processed. -- Stefan Strasser

Re: Use Bohem's GC for compiler proper in 4.1?

2005-04-01 Thread Stefan Strasser
p here since it is a generational collector. -- Stefan Strasser

Re: i want to connect gcc's front-end to my'back-end

2005-04-01 Thread Stefan Strasser
> my project is change EDG's front-end to GCC's front-end because GPL expect some work to do. gcc does some transformations while parsing already, e.g. when calling virtual functions -- Stefan Strasser

Re: Use Bohem's GC for compiler proper in 4.1?

2005-04-01 Thread Stefan Strasser
Mike Stump schrieb: On Friday, April 1, 2005, at 08:48 AM, Stefan Strasser wrote: if gcc uses more memory than physically available it spends a _very_ long time swapping Swapping, what's that? Here's $20, go buy a gigabyte. expect memory to become a problem again with the advent of

Re: Use Bohem's GC for compiler proper in 4.1?

2005-04-02 Thread Stefan Strasser
tual tables involved. are there any known performance bugs in this area or should I file a PR? any suggestions on how to simplify the testcase? (preprocessed is ~60k lines) -- Stefan Strasser

Re: Use Bohem's GC for compiler proper in 4.1?

2005-04-02 Thread Stefan Strasser
file a PR. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20733 -- Stefan Strasser

Re: Use Bohem's GC for compiler proper in 4.1?

2005-04-02 Thread Stefan Strasser
Andrew Pinski schrieb: On Apr 2, 2005, at 6:12 PM, Stefan Strasser wrote: gcc-Version 4.0.0 20041218 (experimental) this 4.0.0 is almost 4 months old. That is not a far comparison as there was speedups after that and other bug fixes. you're right, I wasn't prepared to do performance

Re: GCC 4.0 Status Report (2005-04-05)

2005-04-04 Thread Stefan Strasser
bug on the list is known to cause silent miscompilation of Qt, a very major package, and it's not easy to know where the problem is. what is the workaround to this? (in the case the class the pointer target is a member of is a template parameter, unlike in the PR test case) -- Stefan Strasser

Re: Questions about a constant array reference in the C++ front end

2005-05-08 Thread Stefan Strasser
codes including STL, boost and custom code including function bodies and I have never seen a RANGE_EXPR. I suppose it's only used at later stages or only in other language's frontends. Regards, -- Stefan Strasser

Re: Questions about a constant array reference in the C++ front end

2005-05-08 Thread Stefan Strasser
Nathan Sidwell schrieb: Stefan Strasser wrote: I don't know anything about fold but in general a c++ array in the frontend is cv-qualified, not its elements. this is untrue. the elements hold the qualification. right I have been processing large source codes including STL, boost and custom

Re: C++ math optimization problem...

2005-02-23 Thread Stefan Strasser
NNER; // calc result result=0; for (int i = 0; i < OUTER; ++i) for (int j = 1; j < INNER; ++j) result += d[j]*d[j-1] + d[j-1]; } else exit(-1); printf("result = %f\n",result); return 0; } --- end testcase -- -- Stefan Strasser

Re: C++ math optimization problem...

2005-02-23 Thread Stefan Strasser
edx cmpl $1000, %eax mulsd %xmm0, %xmm1 addsd %xmm1, %xmm0 addsd %xmm0, %xmm2 jne .L124 -- Stefan Strasser

gcc leaking?

2005-02-26 Thread Stefan Strasser
(gc pages are released). Thanks, -- Stefan Strasser

Re: gcc leaking?

2005-02-26 Thread Stefan Strasser
not used at all(at least when compiling c++). would it help to do leak checking on libiberty alloc functions or is than done regularily anyway? -- Stefan Strasser