[Bug fortran/78122] [5/6/7 Regression] [F08] ICE in get, at cgraph.h:395

2016-11-07 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78122 janus at gcc dot gnu.org changed: What|Removed |Added Depends on||55207 --- Comment #5 from janu

[Bug fortran/78009] [OOP] polymorphic component of derived type array slice handling error

2016-11-07 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78009 janus at gcc dot gnu.org changed: What|Removed |Added Keywords||wrong-code CC|

[Bug middle-end/77784] duplicate warning for snprintf when n > object size

2016-11-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77784 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug libstdc++/77459] [6/7 Regression] undefined reference to `snprintf' when building mingw-w64 cross-compiler

2016-11-07 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77459 --- Comment #6 from François Dumont --- Created attachment 39984 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39984&action=edit Stop using __builtin_snprintf until __has_builtin is supported. Could you try this patch ? Until we have __ha

[Bug fortran/78239] [5/6/7 Regression] ICE in char_len_param_value, at fortran/decl.c:926, with -fimplicit-none

2016-11-07 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78239 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4 Status|UNCONFIRMED

[Bug fortran/70601] [5/6/7 Regression] [OOP] ICE on procedure pointer component call

2016-11-07 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70601 janus at gcc dot gnu.org changed: What|Removed |Added Known to work||4.9.4 Target Milestone|---

[Bug fortran/78238] ICE: verify_gimple failed, with -fdefault-integer-8

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

[Bug libfortran/51119] MATMUL slow for large matrices

2016-11-07 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51119 --- Comment #32 from Jerry DeLisle --- Created attachment 39985 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39985&action=edit Proposed patch to get testing going This patch works pretty good for me. My results are as follows: gfortran

[Bug fortran/78240] ICE in match_clist_expr, at fortran/decl.c:728

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

[Bug testsuite/78242] New: Error in testsuite/gcc.dg/asan/use-after-scope-8.c since its introduction

2016-11-07 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78242 Bug ID: 78242 Summary: Error in testsuite/gcc.dg/asan/use-after-scope-8.c since its introduction Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug c++/72822] libiberty/ demangler crash

2016-11-07 Thread orion at cora dot nwra.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72822 Orion Poplawski changed: What|Removed |Added CC||orion at cora dot nwra.com --- Comment

[Bug libstdc++/77459] [6/7 Regression] undefined reference to `snprintf' when building mingw-w64 cross-compiler

2016-11-07 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77459 --- Comment #7 from Jonathan Wakely --- (In reply to François Dumont from comment #6) > Created attachment 39984 [details] > Stop using __builtin_snprintf until __has_builtin is supported. > > Could you try this patch ? Until we have __has_built

[Bug libstdc++/66146] call_once not C++11-compliant on ppc64le

2016-11-07 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66146 Jonathan Wakely changed: What|Removed |Added CC||simon.heybrock at esss dot se --- Comm

[Bug libstdc++/78184] std::call_once freezes on second execution if the callable threw an exception on first execution

2016-11-07 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78184 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/78167] experimental/filesystem calls behave differently between Linux gcc 5.3.0 and Windows Visual Studio 2015

2016-11-07 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78167 --- Comment #4 from Jonathan Wakely --- I'm going to backport all the fixes to the gcc-5-branch soon, so this will be fixed for 5.5

[Bug libstdc++/78156] constexpr basic_string_view::basic_string_view(const charT *) calls non-constexpr char_traits::length

2016-11-07 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78156 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/78231] Should std::sort use unqualifed iter_swap?

2016-11-07 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78231 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/78236] regex_iterator constructor is incomplete and creates uninitialized values that may be used

2016-11-07 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78236 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/71313] [Filesystem TS] remove_all fails to remove directory contents recursively

2016-11-07 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71313 Jonathan Wakely changed: What|Removed |Added CC||david_bjornbak at keysight dot com --

[Bug libstdc++/78167] experimental/filesystem calls behave differently between Linux gcc 5.3.0 and Windows Visual Studio 2015

2016-11-07 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78167 Jonathan Wakely changed: What|Removed |Added Resolution|FIXED |DUPLICATE --- Comment #5 from Jonathan

[Bug libstdc++/64735] std::future broken on armel

2016-11-07 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64735 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED Component|c++

[Bug libfortran/51119] MATMUL slow for large matrices

2016-11-07 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51119 --- Comment #33 from Jerry DeLisle --- With #pragma GCC optimize ( "-O3" ) $ gfc -static -O2 -finline-matmul-limit=0 compare.f90 $ ./a.out = MEASURED GIGAFLO

[Bug target/78229] [6/7 Regression] ICE in redirect_eh_edge_1, at tree-eh.c:2305

2016-11-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78229 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Mon Nov 7 22:35:43 2016 New Revision: 241942 URL: https://gcc.gnu.org/viewcvs?rev=241942&root=gcc&view=rev Log: PR target/78229 * config/i386/i386.c (ix86_gimple_fold_bui

[Bug target/78243] New: incorrect byte offset in vextractuh with -mcpu=power9

2016-11-07 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78243 Bug ID: 78243 Summary: incorrect byte offset in vextractuh with -mcpu=power9 Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal

[Bug fortran/78238] [7 Regression] ICE: verify_gimple failed, with -fdefault-integer-8

2016-11-07 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78238 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4 Status|WAITING

[Bug c++/78244] New: Narrowing conversion is accepted in a function template, but it should be rejected

2016-11-07 Thread michele.caini at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78244 Bug ID: 78244 Summary: Narrowing conversion is accepted in a function template, but it should be rejected Product: gcc Version: 6.2.0 Status: UNCONFIRMED Severi

[Bug middle-end/78245] New: missing -Wformat-length on an overflow of a dynamically allocated buffer

2016-11-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78245 Bug ID: 78245 Summary: missing -Wformat-length on an overflow of a dynamically allocated buffer Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/78245] missing -Wformat-length on an overflow of a dynamically allocated buffer

2016-11-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78245 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRMED

[Bug fortran/71723] [5/6/7 Regression] [F08] ICE on invalid pointer initialization

2016-11-07 Thread w6ws at earthlink dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71723 --- Comment #4 from Walter Spector --- As you are surmising, there are actually two problems in the example. First, 'data' needs the 'target' attribute in order to be pointed to. Second, 'data' must either have the 'target' or a 'pointer' attri

[Bug c/71924] missing -Wreturn-local-addr returning alloca result

2016-11-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71924 --- Comment #3 from Martin Sebor --- On second thought, the right fix is to report the problem consistently for all kinds of storage, including auto variables, alloca-ted storage, and compound literals.

[Bug libstdc++/78231] Should std::sort use unqualifed iter_swap?

2016-11-07 Thread correaa at llnl dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78231 --- Comment #2 from Alfredo --- @Jonathan, Can you link to the part of the line in the standard? I found that standard to be very vague, for example in defining ValueSwappable. Is ValueSwappable something that can be called with `std::iter_swap`,

[Bug target/78246] New: Incorrect vector variable set but not used warning

2016-11-07 Thread zoltan at hidvegi dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78246 Bug ID: 78246 Summary: Incorrect vector variable set but not used warning Product: gcc Version: 6.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug target/78246] Incorrect vector variable set but not used warning

2016-11-07 Thread zoltan at hidvegi dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78246 --- Comment #1 from Zoltan Hidvegi --- Created attachment 39986 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39986&action=edit gcc -O2 -S -Wall warning_test.C gives incorrect warning: variable ‘sm’ set but not used

[Bug c++/72803] [7 Regression] ICE on invalid code in linemap_position_for_loc_and_offset, at libcpp/line-map.c:891

2016-11-07 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72803 --- Comment #6 from Aldy Hernandez --- In cp_lexer_new_main() we read all the tokens from the preprocessor: /* Get the remaining tokens from the preprocessor. */ while (token.type != CPP_EOF) { cp_lexer_get_preprocessor_token (lexer

[Bug libfortran/51119] MATMUL slow for large matrices

2016-11-07 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51119 --- Comment #34 from Jerry DeLisle --- Created attachment 39987 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39987&action=edit A test program Just ran some tests comparing reference results and results using -Ofast. -Ofast does reorder

[Bug libstdc++/78231] Should std::sort use unqualifed iter_swap?

2016-11-07 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78231 --- Comment #3 from Jonathan Wakely --- See 17.6.3.2 [swappable.requirements]. ValueSwappable is defined in terms of swappable, which is defined in terms of swappable with, which is defined in terms of an unqualified call to swap. It has nothing

[Bug libstdc++/78231] Should std::sort use unqualifed iter_swap?

2016-11-07 Thread correaa at llnl dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78231 --- Comment #4 from Alfredo --- ok, thanks for the clarification. So algorithms on iterators that swap use `::std::iter_swap`? (I didn't know that.) That is step forward. Is then one allowed to overload/specialize `std::iter_swap`? Just like o

[Bug libstdc++/78231] Should std::sort use unqualifed iter_swap?

2016-11-07 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78231 --- Comment #5 from Jonathan Wakely --- The correct way to implement swap for your own type is to overload it in your type's namespace, and it will be found by ADL. http://stackoverflow.com/questions/11562/how-to-overload-stdswap http://stackover

[Bug debug/78247] New: Unused inline function returning u32string causes u32string debuginfo to be emitted.

2016-11-07 Thread toojays at toojays dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78247 Bug ID: 78247 Summary: Unused inline function returning u32string causes u32string debuginfo to be emitted. Product: gcc Version: 6.2.0 Status: UNCONFIRMED Seve

[Bug fortran/78059] Pointer to variable length array, debug info

2016-11-07 Thread bernhard.heckel at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78059 --- Comment #6 from Bernhard Heckel --- Ping

[Bug libstdc++/78236] regex_iterator constructor is incomplete and creates uninitialized values that may be used

2016-11-07 Thread timshen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78236 Tim Shen changed: What|Removed |Added CC||timshen at gcc dot gnu.org --- Comment #2 fro

[Bug debug/78247] Unused inline function returning u32string causes u32string debuginfo to be emitted.

2016-11-07 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78247 --- Comment #1 from Andrew Pinski --- I don't think this is anything we can fix for dwarf2; maybe for dwarf4 (or 5) with split debugging.

[Bug libstdc++/78236] regex_iterator constructor is incomplete and creates uninitialized values that may be used

2016-11-07 Thread christophe.monat at st dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78236 --- Comment #3 from Christophe Monat --- (In reply to Tim Shen from comment #2) > I proposed another way to fix this in the list: > https://gcc.gnu.org/ml/libstdc++/2016-11/msg8.html Looks perfect - I was somewhat annoyed by the _M_match() c

[Bug c++/70909] Libiberty Demangler segfaults (4)

2016-11-07 Thread rschiele at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70909 Robert Schiele changed: What|Removed |Added CC||rschiele at gmail dot com --- Comment #

[Bug other/67738] infinite recursion in libiberty/cp-demangle.c

2016-11-07 Thread rschiele at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67738 Robert Schiele changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/78238] [7 Regression] ICE: verify_gimple failed, with -fdefault-integer-8

2016-11-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78238 Richard Biener changed: What|Removed |Added CC|rguenth at gcc dot gnu.org | Target Milestone|---

<    1   2