Re: gcc & C++ instead of g++

2009-09-09 Thread Ian Lance Taylor
Mohsen Pahlevanzadeh writes: > How do i write C++ with gcc instead of g++? The question is not appropriate for the mailing list g...@gcc.gnu.org. It is appropriate for gcc-h...@gcc.gnu.org. Please take any followups to gcc-help. Thanks. There is no particular reason to use gcc instead of g++.

RE: Implementing C++1x and C1x atomics (really an aside on SFENCE)

2009-09-09 Thread Boehm, Hans
> From: Lawrence Crowl [mailto:cr...@google.com] > > On 8/20/09, Boehm, Hans wrote: > > > -Original Message- > > > From: Lawrence Crowl [mailto:cr...@google.com] The > problem is that > > > gcc does support 80386. It also supports other > processors that have > > > less-than-complet

The return of the bootstrap comparison failure on i386

2009-09-09 Thread Gerald Pfeifer
i386-unknown-freebsd7.2, specifically, now PR 41326, after it has been originally fixed a few days ago. Gerald -- Forwarded message -- GCC_SOURCE is /usr/test/gcc Building in /usr/nabil-files/pfeifer/OBJ-0909-2216 Installing to /files/pfeifer/gcc Uconfigure Ulibtool.m4

Re: Implementing C++1x and C1x atomics (really an aside on SFENCE)

2009-09-09 Thread Lawrence Crowl
On 8/20/09, Boehm, Hans wrote: > > -Original Message- > > From: Lawrence Crowl [mailto:cr...@google.com] > > The problem is that gcc does support 80386. It also supports > > other processors that have less-than-complete support for > > concurrency. Just in the x86 line, we get some addit

Re: i370 port

2009-09-09 Thread Paul Edwards
2. I am unable to do an optimized compile even as a cross-compile, I get an internal error in this function: gcse.c: static void compute_hash_table_work (struct hash_table *table) { ... if (!current_bb) /* +++ why are we getting NULL here? */ It appears I have misdiagnosed this. The code wil

Re: question about DSE

2009-09-09 Thread Richard Henderson
On 09/09/2009 09:59 AM, Alex Turjan wrote: 1.What do you think about this implementation? using define_insn_and_split If this port uses BITS_PER_WORD=16, then the lower-subreg pass may be able to give you better register allocation by disconnecting the low and high parts of the 32-bit value. I

Re: question about DSE

2009-09-09 Thread Alex Turjan
Hi Michael, > My assumption would be these two split loads of HImode are > generated by your backend from a given SImode MEM. Indeed your asumption is right. Bellow I have a mulsi3 expand in which I generate insns of mode HI. operands[1] gets spilled: in the produced BB as a single SI store wh

Joseph Myers appointed GCC driver reviewer

2009-09-09 Thread David Edelsohn
I am pleased to announce that the GCC Steering Committee has appointed Joseph Myers as GCC driver reviewer. Please join me in congratulating Joseph on his new role. Joseph, please update your listing in the MAINTAINERS file. Happy hacking! David

Re: The reincarnation of PR15242

2009-09-09 Thread Ian Lance Taylor
Andrew Haley writes: > I've been thinking about that. How would one go about writing a testcase? > I guess we're looking for a lot of jmp instrs all bracnhing to the same > label. Yeah. I would probably just wimp out and write a couple of target specific test cases. Ian

Re: hppa testsuite stalls?

2009-09-09 Thread Dave Korn
Martin Jambor wrote: > Since I started looking at where this happens it has > always hanged when running the libstdc++ testsuite, albeit at a > different place in that suite (as far as the log file tells, the last > few lines from the libstc++.log of one such run file are below but > don't reveal

Re: The reincarnation of PR15242

2009-09-09 Thread Andrew Haley
Ian Lance Taylor wrote: > Andrew Haley writes: > >> This seems to be an an old bug that has come back. We're generating >> >> L1210: >> jmp *%eax >> .L4: >> .L5: >> ... >> jmp .L1210 >> .L1171: >> .L1172: >> ... >> jmp .L1210 >> .L1168: >> .L11