Re: Plan for removing global state from GCC's internals

2013-06-26 Thread David Malcolm
On Wed, 2013-06-26 at 20:21 +, Joseph S. Myers wrote: > For a shared library you need a well-defined namespace for GCC functions / > variables so it doesn't interfere with users. Are you going to put > everything inside a "gcc" namespace or similar? FWIW I deliberately avoided talking abo

Re: remove an old post

2013-06-26 Thread Ian Lance Taylor
On Wed, Jun 26, 2013 at 4:40 PM, Hristina Fidanoska wrote: > http://gcc.gnu.org/ml/gcc-help/2010-02/msg00202.html > > Could you please delete the content of this post? Our policy is to not delete the contents of posts that are not spam. List policies may be found at http://gcc.gnu.org/lists.html

remove an old post

2013-06-26 Thread Hristina Fidanoska
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, some years ago I have posted on GCC-Help mailing list and it still shows up on Google search with my name: http://gcc.gnu.org/ml/gcc-help/2010-02/msg00202.html Could you please delete the content of this post? Thank you, Hristina -BEGIN PGP

Re: Plan for removing global state from GCC's internals

2013-06-26 Thread Joseph S. Myers
For a shared library you need a well-defined namespace for GCC functions / variables so it doesn't interfere with users. Are you going to put everything inside a "gcc" namespace or similar? (You also need to avoid host libraries such as libiberty - which have C interfaces - interfering with u

Re: Plan for removing global state from GCC's internals

2013-06-26 Thread Dmitry Mikushin
Yes, generation of both binary code and LLVM IR in a single GCC invocation. So, first toplev_main goes as usual, and another one - with DragonEgg plugin enabled. LLVM IR ends up as GPU kernels code a bit later. Yes, that is the right patch. Of course, not thread-safe, not generally portable and v

Re: Plan for removing global state from GCC's internals

2013-06-26 Thread David Malcolm
On Wed, 2013-06-26 at 15:19 -0400, Dmitry Mikushin wrote: > FWIW, we also needed to perform multiple invocations of toplev_main from > a single execution of GCC frontend, which seems to be quite similar. Interesting. Yes, this sounds very similar to the kinds of use-cases I'm considering. Am I

Re: Plan for removing global state from GCC's internals

2013-06-26 Thread David Edelsohn
GCC is hosted on platforms other than SVR4 ABI and ELF file format. - David On Wed, Jun 26, 2013 at 3:19 PM, Dmitry Mikushin wrote: > FWIW, we also needed to perform multiple invocations of toplev_main from > a single execution of GCC frontend, which seems to be quite similar. The > dirty dirty

Purchase!!

2013-06-26 Thread Mrs Linda Coal
Dear Sir/Madam, I write to inform you that we are interested in your products. And we would like to inquire about the following: *Minimum Order Quantity *Your delivery time *Payment terms But My payment term is T/T or Letter of Credit. Best Regards, C&B Group Limited Head

Re: Plan for removing global state from GCC's internals

2013-06-26 Thread Dmitry Mikushin
FWIW, we also needed to perform multiple invocations of toplev_main from a single execution of GCC frontend, which seems to be quite similar. The dirty dirty hack is to save the backup the content of .data and .bss symbols with ELF API before the first call to toplev_main and reset them to backup v

Plan for removing global state from GCC's internals

2013-06-26 Thread David Malcolm
I've been looking at removing global state from GCC with a view to making it be usable as a shared library. I've been posting various patches relating to this, but I thought it was time to post a comprehensive plan so you can see how I think it all ought to fit together. You can see an HTML versi

Re: Proposal

2013-06-26 Thread Daniel Santos
Well I'm certainly interested! I would like a venti, tripple-shot, cafe mocha, go easy on the syrup and one of those cute little birthday pops. Also, I want one of those drink carriers because my dog likes to play with them. On 06/26/2013 01:15 PM, Paolo Carlini wrote: > Are you also a barman

Re: Proposal

2013-06-26 Thread Paolo Carlini
Are you also a barman? I'm looking for a barman rather

Re: Way to tell in libcpp if something is a macro...

2013-06-26 Thread Tom Tromey
Jakub> Though, for all such changes consider what will happen if people Jakub> compile with -save-temps, or preprocess separately from Jakub> compilation (ccache etc.). Yes, good point. It is useful as a hack but doubtful in other ways. Tom

Proposal

2013-06-26 Thread Barrister David Lopez Esq
My name is Barrister David Lopez Esq of the MMS Law Firm in Madrid .I have a proposal for you, if you are interested,email me at davlop...@aol.com Best regards. Barrister David davlop...@aol.com

Proposal

2013-06-26 Thread Barrister David Lopez Esq
My name is Barrister David Lopez Esq of the MMS Law Firm in Madrid .I have a proposal for you, if you are interested,email me at davlop...@aol.com Best regards. Barrister David davlop...@aol.com

Re: Way to tell in libcpp if something is a macro...

2013-06-26 Thread Jakub Jelinek
On Wed, Jun 26, 2013 at 11:39:17AM -0600, Tom Tromey wrote: > Call ht_lookup and convert to a cpp hash node, e.g., from grepping: > > return CPP_HASHNODE (ht_lookup (pfile->hash_table, > buf, bufp - buf, HT_ALLOC)); > > Then see if the node's 'type' field is NT_

Re: Way to tell in libcpp if something is a macro...

2013-06-26 Thread Tom Tromey
> "Ed" == Ed Smith-Rowland <3dw...@verizon.net> writes: Ed> I have a situation where I would like to detect if a string is a Ed> currently defined macro. Ed> Something like a Ed> bool cpp_is_macro(const unsigned char *); Ed> would be great. Ed> Or perhaps I could construct something from t

follow up - dead link + potential fix

2013-06-26 Thread Nicole Stoff
Hi, Just wanted to send a follow up note to one I sent a while back - and my apologies for the delay! I wrote to you because I’d come across your site while researching for a project I was working on. Since I last wrote, I have completed that project (yay!), but have since started another (find

Way to tell in libcpp if something is a macro...

2013-06-26 Thread Ed Smith-Rowland
Greetings, I have a situation where I would like to detect if a string is a currently defined macro. Something like a bool cpp_is_macro(const unsigned char *); would be great. Or perhaps I could construct something from the string and test that. If something like this doesn't exist does

File to download: LOVE ONE.jpeg

2013-06-26 Thread Adera Mugambe via Sprend
Message from the sender: Hello, It's My Pleasure Am Adera Mugambe, interested in you, & wish to have you as my friend, for friendship is all about Respect, Admiration and love passion, and sharing of ideas, i intend to send my picture for you, if you reply me. thanks from In order to download the

Delay scheduling due to possible future multiple issue in VLIW

2013-06-26 Thread Paulo Matos
Hello, We have a port for a VLIW machine using gcc head 4.8 with an maximum issue of 2 per clock cycle (sometimes only 1 due to machine constraints). We are seeing the following situation in sched2: ;; --- forward dependences: ;; --- Region Dependences --- b 3 bb

Re: GCC 4.6 missing plugin headers

2013-06-26 Thread Alex Leach
On Tue, 25 Jun 2013 21:54:35 +0100, Ryan Hill wrote: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo/src/patchsets/gcc/4.6.4/gentoo/76_all_4.7.0_c-family-headers.patch?revision=1.1&view=markup Thanks for sending that link over! It looks exactly like the patch that'd be needed. I've j