Re: [fpc-devel] crash with -gt -O2 (regvar) in trunk

2010-06-07 Thread Martin
On 06/06/2010 20:44, Martin wrote: It seems it is RegVar ( and -gt ) -gh -gt -g -gl -gw -godwarfsets-CX -XX -Xs -O2 -OpPENTIUMM -Oonoregvar -gh -gt -g -gl -gw -godwarfsets-CX -XX -Xs -O2 -OpPENTIUMM the first one, works fine, the 2nd causes the crash. I have no idea

Re: [fpc-devel] crash with -gt -O2 (regvar) in trunk

2010-06-07 Thread Jonas Maebe
On 07 Jun 2010, at 18:40, Martin wrote: In this case the result should be the same, and since both cases are using both registers, the 2 registers should in both cases be avail for usage. I wonder if in other cases, eax may drop in for edx (or vice versa) where it may cause a proble

Re: [fpc-devel] crash with -gt -O2 (regvar) in trunk

2010-06-07 Thread Martin
On 06/06/2010 20:44, Martin wrote: On 05/06/2010 19:57, Jonas Maebe wrote: One thing that was added is the node level CSE optimiser. You can disable it with the -Oonocse command line option (put it in the command line after -O2). There are no changes to -gt that I remember. Comparing the

Register usage with -gt [Re: [fpc-devel] crash with -gt -O2 (regvar) in trunk]

2010-06-07 Thread Martin
I found another thing, I don't understand (or I suspect to be not ok) ( see also the 0 initialization by -gt as indicated in the other mail / below) First method in buttons.pp .section .text.n_buttons_getlcldefaultbtnglyph$tbitbtnkind$$tgraphic .balign 16,0x90 .balign 16,0x90 .globl

[fpc-devel] fpWeb recursive tag replace

2010-06-07 Thread Leonardo M . Ramé
Hi, when I use html templates with tags that contains inner tags, the ReplaceTag event is fired only once, for the 1st order tag, but not for the inner tags. Example, a home page containing a header (a tag) and a body which contains another tag like, for example {+search_form+}. The search_form

Re: [fpc-devel] fpWeb recursive tag replace

2010-06-07 Thread ABorka
On 6/7/2010 16:40, Leonardo M. Ramé wrote: Hi, when I use html templates with tags that contains inner tags, the ReplaceTag event is fired only once, for the 1st order tag, but not for the inner tags. Example, a home page containing a header (a tag) and a body which contains another tag like,

Re: [fpc-devel] fpWeb recursive tag replace

2010-06-07 Thread Leonardo M . Ramé
Thanks I have forgotten the listings example. Leonardo M. Ramé http://leonardorame.blogspot.com --- On Mon, 6/7/10, ABorka fpc-de...@aborka.com wrote: From: ABorka fpc-de...@aborka.com Subject: Re: [fpc-devel] fpWeb recursive tag replace To: FPC developers' list fpc-devel@lists.freepascal.org