__sync_sychronize on ARM

2012-01-29 Thread Jon Masters
Greetings, I have been trying to help diagnose a failure to build in the icu package for Fedora on ARM systems, with gcc 4.7. I should very much like to know the answer to a few questions, so that I can help fix this. I would like to say at the outset that I believe I am a reasonably competent pro

Re: expected '=', ',', ';', 'asm' or '__attribute__' before 'foo'

2012-01-29 Thread Miles Bader
Chris Lattner writes: >> Int foo (void) { return 1; } >> >> A message like >> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'foo' >> >> is just pain to the eyes, and apart from that it is not more helpful >> than a simple "syntax error before 'foo': > > FWIW, Clang produces: > >

Did you get my previous email?

2012-01-29 Thread Burhan Kaya
Good Day, I pray my mail gets to you this time. I'd write you on two occasions concerning your assistance to help certify a piece of document due to some similarities in location with the supposed care-taker to enable a safe transfer of securities proceeds out of Turkey. Please let me know if

Re: expected '=', ',', ';', 'asm' or '__attribute__' before 'foo'

2012-01-29 Thread Chris Lattner
On Jan 29, 2012, at 1:30 PM, Georg-Johann Lay wrote: > Hi, > > may I propose to change this message to a more user-friendly one? > > In most cases, the message is triggered by a typo like here: > > Int foo (void) > { >return 1; > } > > A message like > > error: expected '=', ',', ';', 'a

expected '=', ',', ';', 'asm' or '__attribute__' before 'foo'

2012-01-29 Thread Georg-Johann Lay
Hi, may I propose to change this message to a more user-friendly one? In most cases, the message is triggered by a typo like here: Int foo (void) { return 1; } A message like error: expected '=', ',', ';', 'asm' or '__attribute__' before 'foo' is just pain to the eyes, and apart from tha

Is it possible to get virtual function indication from mangled name?

2012-01-29 Thread Sergei Dyshel
Hi all, I need to profile a C++ program with 'gprof' but I'm only interested in virtual functions. Is it possible to get indication of virtual function in flat profile? As of now, virtual functions aren't marked in any special way inside demangled names. PS. A more general question, in case i

Re: new port LINK_SPEC changes allowed during phase 4?

2012-01-29 Thread Joseph S. Myers
On Sat, 28 Jan 2012, Joern Rennecke wrote: > I find that I'll have to change the epiphany LINK_SPEC to allow sane > interaction > between libc and libgloss. The latter might need errno / __errno from the > former. > May I apply a patch to config/epiphany/epiphany.h to fix this during phase 4? Fo

Re: pointer modes for Harvard architecture....

2012-01-29 Thread Georg-Johann Lay
Alan Lehotsky schrieb: I'm working on a port to a Harvard architecture where the data memory addresses are only 14 bits wide (e.g. 16kb) and the instruction address space is 21 bits wide. I do not want to define Pmode as PSImode; the machine has separate address registers for data memory AND wit

Re: RTL AND Instruction

2012-01-29 Thread Matt Davis
On Sun, Jan 29, 2012 at 8:21 PM, James Courtier-Dutton wrote: > > On Jan 22, 2012 5:21 AM, "Matt Davis" wrote: >>  Essentially, I just want to emit:  "and %eax, $0x7" >> > Assuming at&t format, does that instruction actually exist? > How can you store the result in the constant number 7? > Did yo