Re: GCC 4.7.2 Released

2012-09-20 Thread Thierry Reding
On Thu, Sep 20, 2012 at 08:13:02PM -0700, H.J. Lu wrote: > On Thu, Sep 20, 2012 at 8:27 AM, Jakub Jelinek wrote: > > The GNU Compiler Collection version 4.7.2 has been released. > > > > GCC 4.7.2 is the first bug-fix release containing important fixes > > for regressions and serious bugs in GCC 4.

Tree loop if conversion at O2

2012-09-20 Thread Igor Zamyatin
Hi All! Is there any particular reason why tree loop if conversion (tree-if-conv.c) isn't enabled by default on O2 (as far as I can see it's true for any platforms)? Thanks, Igor

Re: GCC 4.7.2 Released

2012-09-20 Thread H.J. Lu
On Thu, Sep 20, 2012 at 8:27 AM, Jakub Jelinek wrote: > The GNU Compiler Collection version 4.7.2 has been released. > > GCC 4.7.2 is the first bug-fix release containing important fixes > for regressions and serious bugs in GCC 4.7.1 with over 70 bugs > fixed since the previous release. This rel

Re: Compiler crash with block numbers

2012-09-20 Thread Dehao Chen
Hi, Ian, This patch fixed the bootstrap problem, as well as the problem posted in http://gcc.gnu.org/ml/gcc-patches/2012-09/msg01441.html However, the libstdc++ problem is not fixed, they are related to the my line_table implementation for PCH. I'll send another patch later for that. Shall I sti

MELT plugin 0.9.7 release candidate 1 for GCC 4.6, 4.7 and future 4.8

2012-09-20 Thread Basile Starynkevitch
Dear All, It is my pleasure to announce the MELT plugin 0.9.7 release candidate 1 for GCC 4.6, 4.7 and future 4.8 available on http://gcc-melt.org/melt-0.9.7-rc1-plugin-for-gcc-4.6-or-4.7-or-4.8.tar.gz MELT is a high-level domain specific language to extend GCC and the [meta-]plugin provid

Re: Compiler crash with block numbers

2012-09-20 Thread Dehao Chen
IS_UNKNOWN_LOCATION checks if the source location is unknown. == UNKNONW_LOCATION checks if source location is unknown and the block is NULL. Yes, they are error-prone, I'll have a separate patch to clean up IS_UNKNOWN_LOCATION later. On Fri, Sep 21, 2012 at 4:17 AM, Ian Lance Taylor wrote: > On

Re: Compiler crash with block numbers

2012-09-20 Thread Ian Lance Taylor
On Thu, Sep 20, 2012 at 12:59 PM, Dehao Chen wrote: > > gcc/ChangeLog: > tree-eh.c (lower_try_finally_dup_block): Use correct way to > check unknown location. While you think about my questions, let's fix the bootstrap. This patch is OK if it passes bootstrap and a gcc and libstdc++ test

Re: Compiler crash with block numbers

2012-09-20 Thread Ian Lance Taylor
On Thu, Sep 20, 2012 at 12:59 PM, Dehao Chen wrote: > The bug is in tree-eh.c. IS_UNKNOWN_LOCATION is mistakenly used, thus > the block info for a call stmt is cleared. > > A patch to fix the problem is atached: > > gcc/ChangeLog: > tree-eh.c (lower_try_finally_dup_block): Use correct way

Re: Compiler crash with block numbers

2012-09-20 Thread Dehao Chen
The bug is in tree-eh.c. IS_UNKNOWN_LOCATION is mistakenly used, thus the block info for a call stmt is cleared. A patch to fix the problem is atached: gcc/ChangeLog: tree-eh.c (lower_try_finally_dup_block): Use correct way to check unknown location. Index: tree-eh.c

Re: Compiler crash with block numbers

2012-09-20 Thread H.J. Lu
On Thu, Sep 20, 2012 at 11:46 AM, Dehao Chen wrote: > Sure, I'll look into this problem today. > > Thanks, > Dehao > > On Fri, Sep 21, 2012 at 2:25 AM, Ian Lance Taylor wrote: >> Hi Dehao, I suspect that your recent patch changing block handling has >> broken bootstrap with --enable-languages=go.

Re: Compiler crash with block numbers

2012-09-20 Thread Dehao Chen
Sure, I'll look into this problem today. Thanks, Dehao On Fri, Sep 21, 2012 at 2:25 AM, Ian Lance Taylor wrote: > Hi Dehao, I suspect that your recent patch changing block handling has > broken bootstrap with --enable-languages=go. I reduced the test case > to this C++ code: > > #include > > s

Compiler crash with block numbers

2012-09-20 Thread Ian Lance Taylor
Hi Dehao, I suspect that your recent patch changing block handling has broken bootstrap with --enable-languages=go. I reduced the test case to this C++ code: #include std::string f(bool is_string, bool is_constant) { if (is_string) { std::string left_string; std::string right_

GCC 4.7.3 Status Report (2012-09-20)

2012-09-20 Thread Jakub Jelinek
Status == The GCC 4.7.2 release tarballs have been created and were uploaded to ftp.gnu.org. The GCC 4.7 branch is thus open again for regression and documentation fixes. Quality Data Priority # Change from Last Report --- --- P

GCC 4.7.2 Released

2012-09-20 Thread Jakub Jelinek
The GNU Compiler Collection version 4.7.2 has been released. GCC 4.7.2 is the first bug-fix release containing important fixes

gfortran error: Statement order error: declaration after DATA

2012-09-20 Thread David N. Bradley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am trying to compile the cactuscode package and can not get past the error : Statement order error: declaration after DATA can you point me in the direction of a fix. I included offending file as an attachment. Dave kb9qhd Amateur Radio Serv