[Bug c++/20416] Incorrect lifetime for temporary with static const reference

2014-07-12 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20416 Jason Merrill changed: What|Removed |Added Known to fail|| --- Comment #8 from Jason Merrill ---

[Bug c++/61785] Sigsegv with enabled optimize -Os , -O2 in sample_format_size

2014-07-12 Thread andi-gcc at firstfloor dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61785 Andi Kleen changed: What|Removed |Added CC||andi-gcc at firstfloor dot org --- Comment

[Bug gcov-profile/61790] New: [4.10 Regression] gcov-tool.c uses atoll

2014-07-12 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61790 Bug ID: 61790 Summary: [4.10 Regression] gcov-tool.c uses atoll Product: gcc Version: 4.10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-pr

[Bug fortran/58351] ICE using c_f_pointer subroutine and derived types

2014-07-12 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58351 Dominique d'Humieres changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug fortran/61669] Error recovery ICE

2014-07-12 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61669 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/61615] Failure to resolve correct generic with TYPE(C_PTR) arguments

2014-07-12 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61615 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug fortran/61632] memory corruption in Fortran RTL when writing formatted data

2014-07-12 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61632 --- Comment #4 from Jerry DeLisle --- Created attachment 33114 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33114&action=edit Patch to fix this issue. Th eproblem was some use of pointers in a not so reliable way, calculating offsets fro

[Bug fortran/61527] [4.9/4.10 Regression] class/extends, multiple generic assignment, accept invalid

2014-07-12 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61527 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/61527] [4.9/4.10 Regression] class/extends, multiple generic assignment, accept invalid

2014-07-12 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61527 Tobias Burnus changed: What|Removed |Added Keywords||accepts-invalid CC|

[Bug go/61789] Missing syscall constants

2014-07-12 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61789 Ian Lance Taylor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Version|4.9.0

[Bug fortran/61767] ICE in generate_finalization_wrapper at fortran/class.c:1491

2014-07-12 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61767 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug go/61789] New: Missing syscall constants

2014-07-12 Thread erezh at il dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61789 Bug ID: 61789 Summary: Missing syscall constants Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go Assignee:

[Bug c++/51312] [C++0x] Wrong interpretation of converted constant expressions (for enumerator initializers)

2014-07-12 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51312 --- Comment #6 from Paolo Carlini --- Marc, are you going to send your patch to the mailing list (CC Jason)? I note that current clang too for enum_base.C issues the narrowing diagnostic: as-is patch seems already pretty good to me.

[Bug libfortran/59513] [4.8/4.9/4.10 Regression] Fortran runtime error: Sequential READ or WRITE not allowed after EOF marker, possibly use REWIND or BACKSPACE

2014-07-12 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59513 --- Comment #20 from Jerry DeLisle --- I think gfortran behavior is correct. The problem with the sample code is in the lack of handling in subroutine BOTTOM. The loop is reading past the end of the file. END= is not a true error condition, but

[Bug preprocessor/23827] standard C++ should not have hex float preprocessing tokens

2014-07-12 Thread emsr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23827 emsr at gcc dot gnu.org changed: What|Removed |Added CC||emsr at gcc dot gnu.org --- Com

[Bug fortran/61780] [4.8/4.9/4.10 Regression] Wrong code when shifting elements of a multidimensional array

2014-07-12 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61780 --- Comment #4 from Paul Thomas --- Author: pault Date: Sat Jul 12 19:09:11 2014 New Revision: 212486 URL: https://gcc.gnu.org/viewcvs?rev=212486&root=gcc&view=rev Log: 2014-07-12 Paul Thomas PR fortran/61780 * dependency.c (gfc_dep_

[Bug fortran/61628] [MinGW)Write of medium sized or larger matrix fails without error message.

2014-07-12 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61628 --- Comment #21 from Tobias Burnus --- Author: burnus Date: Sat Jul 12 19:05:52 2014 New Revision: 212485 URL: https://gcc.gnu.org/viewcvs?rev=212485&root=gcc&view=rev Log: 2014-07-12 Tobias Burnus PR fortran/61628 * trans-ty

[Bug libfortran/59513] [4.8/4.9/4.10 Regression] Fortran runtime error: Sequential READ or WRITE not allowed after EOF marker, possibly use REWIND or BACKSPACE

2014-07-12 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59513 --- Comment #19 from Dominique d'Humieres --- I have rebuilt a clean Xfoil with the following patch --- src_orig/xpol.f2007-09-16 03:56:31.0 +0200 +++ src/xpol.f2014-07-12 19:55:40.0 +0200 @@ -606,8 +606,7 @@ C add po

[Bug c++/61288] valgrind finds problem in build_conditional_expr_1

2014-07-12 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61288 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Version|4.9.0

[Bug c++/61288] valgrind finds problem in build_conditional_expr_1

2014-07-12 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61288 --- Comment #4 from Jason Merrill --- Author: jason Date: Sat Jul 12 16:36:25 2014 New Revision: 212482 URL: https://gcc.gnu.org/viewcvs?rev=212482&root=gcc&view=rev Log: PR c++/22434 PR c++/61288 * call.c (build_conditional_expr_1):

[Bug c++/22434] [3.4/4.0/4.1 regression] ICE in simplify_{,gen_}subreg

2014-07-12 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22434 --- Comment #12 from Jason Merrill --- Author: jason Date: Sat Jul 12 16:36:25 2014 New Revision: 212482 URL: https://gcc.gnu.org/viewcvs?rev=212482&root=gcc&view=rev Log: PR c++/22434 PR c++/61288 * call.c (build_conditional_expr_1)

[Bug c++/51352] g++ can't pass variable-length array as a function argument

2014-07-12 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51352 --- Comment #5 from Paolo Carlini --- We have this comment in cp_parser_direct_declarator: /* Normally, the array bound must be an integral constant expression. However, as an extension, we allow VLAs in func

[Bug c++/57644] [C++1y] Cannot bind bitfield to lvalue reference

2014-07-12 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57644 --- Comment #8 from Paolo Carlini --- I wouldn't do that, in particular not now.

[Bug c++/57644] [C++1y] Cannot bind bitfield to lvalue reference

2014-07-12 Thread emsr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57644 --- Comment #7 from emsr at gcc dot gnu.org --- Do you think it's OK to pop this into 4.9 too even though it's slushy? Do I need to ask any one in particular - or is it obvious?

[Bug c++/61788] use of x[nr][nc] as array parameter passing mechanism in mixed language programming

2014-07-12 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61788 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/51352] g++ can't pass variable-length array as a function argument

2014-07-12 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51352 Paolo Carlini changed: What|Removed |Added CC||ian at rhymneyconsulting dot co.uk ---

[Bug c++/57644] [C++1y] Cannot bind bitfield to lvalue reference

2014-07-12 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57644 Paolo Carlini changed: What|Removed |Added Target Milestone|--- |4.9.0 --- Comment #6 from Paolo Carlini

[Bug fortran/61780] [4.8/4.9/4.10 Regression] Wrong code when shifting elements of a multidimensional array

2014-07-12 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61780 --- Comment #3 from paul.richard.thomas at gmail dot com --- Dear Mikael, I didn't see your posting, which was about an hour before mine. At least we came to the same conclusion! Thanks Paul On 12 July 2014 13:43, mikael at gcc dot gnu.org

[Bug libfortran/59513] [4.8/4.9/4.10 Regression] Fortran runtime error: Sequential READ or WRITE not allowed after EOF marker, possibly use REWIND or BACKSPACE

2014-07-12 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59513 --- Comment #18 from Dominique d'Humieres --- > It could be r161021 (pr44477). Read r161020 and the error message has been introduced in libgfortran/io/transfer.c at this revision.

[Bug libfortran/59513] [4.8/4.9/4.10 Regression] Fortran runtime error: Sequential READ or WRITE not allowed after EOF marker, possibly use REWIND or BACKSPACE

2014-07-12 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59513 --- Comment #17 from Dominique d'Humieres --- I wonder if the gfortran present behavior is not the *RIGHT* one. It is obviously for any READ following 'CALL BOTTOM(LU)', I am not 100% confident for WRITE. Not that replacing 90 RETURN with

[Bug fortran/31393] [meta-bug] gfortran compile-time problems with intrinsics

2014-07-12 Thread fxcoudert at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31393 Bug 31393 depends on bug 28378, which changed state. Bug 28378 Summary: Intrinsic extensions should be deselectable via command line https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28378 What|Removed |Added ---

[Bug fortran/28378] Intrinsic extensions should be deselectable via command line

2014-07-12 Thread fxcoudert at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28378 Francois-Xavier Coudert changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug fortran/61780] [4.8/4.9/4.10 Regression] Wrong code when shifting elements of a multidimensional array

2014-07-12 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61780 Paul Thomas changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org --- Commen

[Bug fortran/61775] Allocatable array initialized by implied-do loop array constructor gives invalid memory reference

2014-07-12 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61775 --- Comment #5 from Dominique d'Humieres --- (In reply to comment #4) > This seems to fix it here (not heavily tested): ... Confirmed, regtested without regression and no obvious problem with my other tests.

[Bug fortran/61780] [4.8/4.9/4.10 Regression] Wrong code when shifting elements of a multidimensional array

2014-07-12 Thread mikael at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61780 Mikael Morin changed: What|Removed |Added CC||mikael at gcc dot gnu.org --- Comment #1

[Bug libfortran/59513] [4.8/4.9/4.10 Regression] Fortran runtime error: Sequential READ or WRITE not allowed after EOF marker, possibly use REWIND or BACKSPACE

2014-07-12 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59513 --- Comment #16 from Dominique d'Humieres --- The change occurred between revisions r158253 (2010-04-13, "working?") and r162456 (2010-07-23, error). It could be r161021 (pr44477).

[Bug libfortran/59513] [4.8/4.9/4.10 Regression] Fortran runtime error: Sequential READ or WRITE not allowed after EOF marker, possibly use REWIND or BACKSPACE

2014-07-12 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59513 --- Comment #15 from Dominique d'Humieres --- Reduced test CHARACTER*29 LINE1, LINE2 CHARACTER*128 LINEL, LINED, LINEF, FNPOL INTEGER :: i, IA, IA1, IA2, NBL, NIPOL, NJPOL, LU INTEGER :: IRETYP = 1, IMATYP = 1 INTEG

[Bug c++/61788] New: use of x[nr][nc] as array parameter passing mechanism in mixed language programming

2014-07-12 Thread ian at rhymneyconsulting dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61788 Bug ID: 61788 Summary: use of x[nr][nc] as array parameter passing mechanism in mixed language programming Product: gcc Version: 4.8.1 Status: UNCONFIRMED Sever