Re: GCC stack backtraces

2012-09-14 Thread Richard Guenther
On Thu, 13 Sep 2012, Diego Novillo wrote: > > Thanks for the patch! > > > On 2012-09-13 08:46 , Richard Guenther wrote: > > > Index: gcc/testsuite/g++.dg/ext/builtin-location.C > > === > > *** /dev/null 1970-01-01 00:00:00.0

Re: GCC stack backtraces

2012-09-14 Thread Pedro Larroy
If you link with -rdynamic you can show a backtrace with something like the attached code. On Wed, Aug 29, 2012 at 9:22 AM, Ian Lance Taylor wrote: > I've spent the last couple of days working on a stack backtrace library. > > It uses the GCC unwind interface to collect a stack trace, and parses

Re: Are Decimal operations are fully implemented/tested ?

2012-09-14 Thread Vincent Lefevre
On 2012-09-13 16:46:04 +, Joseph S. Myers wrote: > On Thu, 13 Sep 2012, Vincent Lefevre wrote: > > But if you want an example, I don't think that the formatOf > > arithmetic operations (IEEE 754-2008 ยง5.4.1 -- that's a "shall") > > are implemented by GCC, either for binary or for decimal, say >

GCC 4.7.2 Release Candidate available from gcc.gnu.org

2012-09-14 Thread Jakub Jelinek
The first release candidate for GCC 4.7.2 is available from ftp://gcc.gnu.org/pub/gcc/snapshots/4.7.2-RC-20120914 and shortly its mirrors. It has been generated from SVN revision 191287. I have so far bootstrapped and tested the release candidate on x86_64-linux. Please test it and report

GCC 4.7.2 Status Report (2012-09-14), branch frozen

2012-09-14 Thread Jakub Jelinek
The GCC 4.7 branch is now frozen for creating a first release candidate of the GCC 4.7.2 release. All changes need explicit release manager approval until the final release of GCC 4.7.2 which should happen roughly one week after the release candidate if no issues show up with it. Previous Repor

Re: Are Decimal operations are fully implemented/tested ?

2012-09-14 Thread Joseph S. Myers
On Fri, 14 Sep 2012, Vincent Lefevre wrote: > round-to-odd would be a good solution if it were provided directly > in hardware. Otherwise a "direct" implementation would probably be > more efficient (in particular when the implementation of the usual > operation is done in software, like for decim

C++ code in cgraph.h breaking Ada builds?

2012-09-14 Thread Lawrence Crowl
I added some reference returning member functions in cgraph.h, and now Ada appears to break while including cgraph.h. Huh? gnatbind -nostdinc -I- -I. -Iada -I../../src2/gcc/ada -I../../src2/gcc/ada/gcc-interface -o b_gnat1.adb -n ada/gnat1drv.ali mv b_gnat1.adb b_gnat1.ads ada/ build/gengtype -S

Re: C++ code in cgraph.h breaking Ada builds?

2012-09-14 Thread Arnaud Charlet
> I added some reference returning member functions in cgraph.h, > and now Ada appears to break while including cgraph.h. Huh? I suspect you are doing a parallel build (make -jxx), and the error is actually unrelated to the lines you quoted, but occurs above. Do a 'make' and you'll see the error

[OT] Control Flow Graph(CFG) into Abstract Syntax Tree(AST)

2012-09-14 Thread James Courtier-Dutton
Hi, I know most compilers go from AST to CFG. I am writing a decompiler, so I was wondering if anyone knew of any documents describing how best to get from CFG to AST. The decompiler project is open source. https://github.com/jcdutton/libbeauty The decompiler already contains a disassembler and a

Re: C++ code in cgraph.h breaking Ada builds?

2012-09-14 Thread Lawrence Crowl
On 9/14/12, Arnaud Charlet wrote: >> I added some reference returning member functions in cgraph.h, >> and now Ada appears to break while including cgraph.h. Huh? > > I suspect you are doing a parallel build (make -jxx), and the error > is actually unrelated to the lines you quoted, but occurs ab

Re: [OT] Control Flow Graph(CFG) into Abstract Syntax Tree(AST)

2012-09-14 Thread Mike Dupont
thanks for sharing, will check this out. mike On Fri, Sep 14, 2012 at 9:05 PM, James Courtier-Dutton wrote: > Hi, > > I know most compilers go from AST to CFG. > I am writing a decompiler, so I was wondering if anyone knew of any > documents describing how best to get from CFG to AST. > The decom

gcc-4.6-20120914 is now available

2012-09-14 Thread gccadmin
Snapshot gcc-4.6-20120914 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.6-20120914/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.6 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches