[Bug c/70747] New: ICE on valid code on x86_64-linux-gnu: verify_gimple failed

2016-04-20 Thread su at cs dot ucdavis.edu
--disable-bootstrap Thread model: posix gcc version 7.0.0 20160420 (experimental) [trunk revision 235250] (GCC) $ $ gcc-5.3 -c -w small.c $ $ gcc-trunk -c -w small.c small.c: In function ‘fn1’: small.c:3:6: error: non-trivial conversion at assignment void fn1 () ^~~ int _Bool b = 0

[Bug libstdc++/70745] Wrong handling of regex_constant::match_not_eow and regex_constant::match_not_bow

2016-04-20 Thread timshen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70745 Tim Shen changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug sanitizer/70746] New: UBSAN runtime fail: undefined symbol: __ubsan_handle_nonnull_arg

2016-04-20 Thread ch3root at openwall dot com
Milestone: --- $ cat fprintf-zero-ptr.c #include int main() { fprintf(0, "Hi\n"); } $ gcc --version gcc (GCC) 7.0.0 20160420 (experimental) Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; no

[Bug tree-optimization/26854] Inordinate compile times on large routines

2016-04-20 Thread alphaetapi at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26854 --- Comment #138 from Adam H. Peterson --- Disregard my comment above. I was dropped into the wrong bug.

[Bug c++/69078] [C++14] function local static not initialized when only used in a generic/variadic lambda

2016-04-20 Thread alphaetapi at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69078 --- Comment #2 from Adam H. Peterson --- Incidentally, my GCC version is 5.3: $ g++ --version g++ (Debian 5.3.1-13) 5.3.1 20160323 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying co

[Bug tree-optimization/26854] Inordinate compile times on large routines

2016-04-20 Thread alphaetapi at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26854 Adam H. Peterson changed: What|Removed |Added CC||alphaetapi at hotmail dot com --- Com

[Bug c++/69078] [C++14] function local static not initialized when only used in a generic/variadic lambda

2016-04-20 Thread alphaetapi at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69078 Adam H. Peterson changed: What|Removed |Added CC||alphaetapi at hotmail dot com --- Com

[Bug gcov-profile/69004] Building t-engine on ARM fails during -fprofile-use stage

2016-04-20 Thread tulipawn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69004 --- Comment #14 from PeteVine --- Tried it again using gcc 5.3.0: Building physfs (release) physfs.c ../src/physfs/physfs.c:76:5: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] &__PHYSFS_Arch

[Bug libstdc++/70745] New: Wrong handling of regex_constant::match_not_eow and regex_constant::match_not_bow

2016-04-20 Thread frrrwww at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70745 Bug ID: 70745 Summary: Wrong handling of regex_constant::match_not_eow and regex_constant::match_not_bow Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severit

[Bug target/30354] -Os doesn't optimize a/CONST even if it saves size.

2016-04-20 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30354 Manuel López-Ibáñez changed: What|Removed |Added Last reconfirmed|2012-06-29 00:00:00 |2016-4-21 CC|

[Bug target/67400] -fno-plt doesn't work with function pointers

2016-04-20 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67400 --- Comment #2 from H.J. Lu --- *** Bug 70743 has been marked as a duplicate of this bug. ***

[Bug target/70743] Extend -fno-plt to function pointer

2016-04-20 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70743 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/70744] New: preincrements possibly double-evaluated in GNU ternaries

2016-04-20 Thread donald.chai at synopsys dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70744 Bug ID: 70744 Summary: preincrements possibly double-evaluated in GNU ternaries Product: gcc Version: 5.2.1 Status: UNCONFIRMED Severity: normal Prior

[Bug target/70743] New: Extend -fno-plt to function pointer

2016-04-20 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70743 Bug ID: 70743 Summary: Extend -fno-plt to function pointer Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug c/70742] Support div as a builtin

2016-04-20 Thread daniel.gutson at tallertechnologies dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70742 --- Comment #6 from Daniel Gutson --- (In reply to Marc Glisse from comment #5) > It seems to me that the reason we don't already have div as a builtin is > that we need to know the layout of div_t. > > In a header, you don't really need inline

[Bug c/70742] Support div as a builtin

2016-04-20 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70742 --- Comment #5 from Marc Glisse --- It seems to me that the reason we don't already have div as a builtin is that we need to know the layout of div_t. In a header, you don't really need inline asm: inline div_t div(int a, int b){ div_t q; q.quot

[Bug c/70742] Support div as a builtin

2016-04-20 Thread daniel.gutson at tallertechnologies dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70742 --- Comment #4 from Daniel Gutson --- Please assign this to andres.tirabos...@tallertechnologies.com

[Bug c/70742] Support div as a builtin

2016-04-20 Thread daniel.gutson at tallertechnologies dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70742 --- Comment #3 from Daniel Gutson --- (In reply to Andrew Pinski from comment #1) > Let me reword the summary. what you want is div and ldiv and imaxdiv to be and lldiv > supported as a builtin, in that it expands correctly to do the div/mod

[Bug tree-optimization/70725] Internal compiler error (ICE) on valid code

2016-04-20 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70725 --- Comment #10 from H.J. Lu --- It also fails on x86-64: /export/build/gnu/gcc/build-x86_64-linux/gcc/xgcc -B/export/build/gnu/gcc/build-x86_64-linux/gcc/ /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.dg/pr70725.c -fno-diagnostics-show-c

[Bug c/70742] Support div as a builtin

2016-04-20 Thread daniel.gutson at tallertechnologies dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70742 --- Comment #2 from Daniel Gutson --- (In reply to Andrew Pinski from comment #1) > Let me reword the summary. what you want is div and ldiv and imaxdiv to be > supported as a builtin, in that it expands correctly to do the div/mod > inlined. >

[Bug c/70742] Support div as a builtin

2016-04-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70742 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Status|U

[Bug c/70742] New: Add a builtin for obtaining a quotient and remainder of an integer division

2016-04-20 Thread daniel.gutson at tallertechnologies dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70742 Bug ID: 70742 Summary: Add a builtin for obtaining a quotient and remainder of an integer division Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: enhan

[Bug c++/70741] New: segfault when jumping into statement expression in array initializer

2016-04-20 Thread donald.chai at synopsys dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70741 Bug ID: 70741 Summary: segfault when jumping into statement expression in array initializer Product: gcc Version: 5.2.1 Status: UNCONFIRMED Severity: minor

[Bug c++/66067] [6 Regression] tree check ICE: accessed elt 1 of tree_vec with 0 elts in write_template_args, at cp/mangle.c:2574

2016-04-20 Thread victoria.stepanyan at amd dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66067 Victoria changed: What|Removed |Added CC||victoria.stepanyan at amd dot com --- Commen

[Bug target/52910] xop-mul-1:f13 miscompiled on bulldozer (-mxop)

2016-04-20 Thread victoria.stepanyan at amd dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52910 Victoria changed: What|Removed |Added CC||victoria.stepanyan at amd dot com --- Commen

[Bug target/50774] Internal Compiler Error when march=bdver1

2016-04-20 Thread victoria.stepanyan at amd dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50774 Victoria changed: What|Removed |Added CC||victoria.stepanyan at amd dot com --- Commen

[Bug tree-optimization/70740] [7 Regression] ICE when compiling the Linux kernel (net/wireless/util.o)

2016-04-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70740 --- Comment #5 from Marek Polacek --- Cleaned up testcase: extern int foo (void); extern void *memcpy (void *, const void *, __SIZE_TYPE__); struct { char a[6]; } d; struct { int a1[0]; int a2[0]; int a3[0]; int a4[]; } a, c; int b;

[Bug c++/55635] Deallocation function ("operator delete") not called when destructor throws exception

2016-04-20 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55635 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/55635] Deallocation function ("operator delete") not called when destructor throws exception

2016-04-20 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55635 --- Comment #5 from Nathan Sidwell --- Author: nathan Date: Wed Apr 20 19:59:56 2016 New Revision: 235297 URL: https://gcc.gnu.org/viewcvs?rev=235297&root=gcc&view=rev Log: cp/ PR c++/55635 * init.c (build_vec_delete_1):

[Bug tree-optimization/70725] Internal compiler error (ICE) on valid code

2016-04-20 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70725 H.J. Lu changed: What|Removed |Added Status|REOPENED|NEW --- Comment #9 from H.J. Lu --- gdb) f 1

[Bug tree-optimization/70725] Internal compiler error (ICE) on valid code

2016-04-20 Thread hjl.tools at gmail dot com
ersion 7.0.0 20160420 (experimental) (GCC) [hjl@gnu-6 gcc]$

[Bug tree-optimization/70740] [7 Regression] ICE when compiling the Linux kernel (net/wireless/util.o)

2016-04-20 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70740 Markus Trippelsdorf changed: What|Removed |Added Status|WAITING |NEW Component|c

[Bug c/70740] ICE when compiling the Linux kernel (net/wireless/util.o)

2016-04-20 Thread gcc-bugs at engestrom dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70740 --- Comment #3 from Eric Engeström --- (In reply to Marek Polacek from comment #1) > The kernel .config is of no great use for us; could you please attach the > preprocessed testcase (should be generated automagically and stored into > /tmp/)? T

[Bug c/70740] ICE when compiling the Linux kernel (net/wireless/util.o)

2016-04-20 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70740 Markus Trippelsdorf changed: What|Removed |Added CC||trippels at gcc dot gnu.org --- Co

[Bug libstdc++/69703] char16_t conversions broken in filesystem::path

2016-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69703 --- Comment #9 from Jonathan Wakely --- Author: redi Date: Wed Apr 20 17:40:02 2016 New Revision: 235293 URL: https://gcc.gnu.org/viewcvs?rev=235293&root=gcc&view=rev Log: Fix std::codecvt_utf8* for big-endian targets PR libstdc++/69703

[Bug middle-end/70282] cc1plus hangs taking 100% CPU

2016-04-20 Thread tulipawn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70282 --- Comment #3 from PeteVine --- I've just tried building with g++ 5.3.0 and `-flto` which to my surprise didn't hang unlike 5.3.0 without lto.

[Bug c/70740] ICE when compiling the Linux kernel (net/wireless/util.o)

2016-04-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70740 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/70468] [4.9/5/6/7 Regression] ICE on invalid code on x86_64-linux-gnu in emit_mem_initializers, at cp/init.c:1109

2016-04-20 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70468 Paolo Carlini changed: What|Removed |Added CC||paolo.carlini at oracle dot com --- Comm

[Bug c/70740] New: ICE when compiling the Linux kernel (net/wireless/util.o)

2016-04-20 Thread gcc-bugs at engestrom dot ch
) 7.0.0 20160420 (experimental) GCC built with default options (ie. by just running `./configure; make`) from commit a8876617811b8999e71d100cdd682b4e76c04b67 $ uname -rm 3.16.0-67-generic x86_64 To reproduce: 1 - Checkout commit 9a0e3eea25d3ab267aff9d4eaed83fbe46d989d0 from the Linux kernel. 2 -

[Bug libstdc++/69703] char16_t conversions broken in filesystem::path

2016-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69703 --- Comment #8 from Jonathan Wakely --- There's a silly typo that breaks the facets for big-endian targets, testing the fix now.

[Bug ipa/70646] [4.9/5/6/7 Regression] Corrupt truncated function

2016-04-20 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70646 --- Comment #29 from Martin Jambor --- Created attachment 38316 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38316&action=edit Fix storing access size to conditions Honza asked me to also come up with a version of the patch where we stor

[Bug other/69582] [meta-bug] Cilk+

2016-04-20 Thread iverbin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69582 Bug 69582 depends on bug 69363, which changed state. Bug 69363 Summary: ICE when doing a pragma simd reduction with max https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69363 What|Removed |Added

[Bug c++/69363] ICE when doing a pragma simd reduction with max

2016-04-20 Thread iverbin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69363 iverbin at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|

[Bug c++/60796] Default move constructor not generated by explicit template instantiation

2016-04-20 Thread zerolo at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60796 Daniel Vollmer changed: What|Removed |Added CC||zerolo at gmail dot com --- Comment #2

[Bug libgomp/65385] [libgomp] omp task untied test case fails

2016-04-20 Thread howarth.at.gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65385 Jack Howarth changed: What|Removed |Added CC||howarth.at.gcc at gmail dot com --- Comme

[Bug tree-optimization/69489] missed vectorization for boolean loop, missed if-conversion

2016-04-20 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69489 --- Comment #6 from amker at gcc dot gnu.org --- Author: amker Date: Wed Apr 20 15:57:01 2016 New Revision: 235292 URL: https://gcc.gnu.org/viewcvs?rev=235292&root=gcc&view=rev Log: PR tree-optimization/69489 * tree-if-conv.c (phi

[Bug c++/69363] ICE when doing a pragma simd reduction with max

2016-04-20 Thread iverbin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69363 --- Comment #6 from iverbin at gcc dot gnu.org --- Author: iverbin Date: Wed Apr 20 15:48:53 2016 New Revision: 235290 URL: https://gcc.gnu.org/viewcvs?rev=235290&root=gcc&view=rev Log: Fix PR c++/69363 gcc/c-family/ PR c++/69363

[Bug tree-optimization/56625] After if-conversion vectorizer doesn't recognize similar loads

2016-04-20 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56625 --- Comment #3 from amker at gcc dot gnu.org --- Author: amker Date: Wed Apr 20 15:41:45 2016 New Revision: 235289 URL: https://gcc.gnu.org/viewcvs?rev=235289&root=gcc&view=rev Log: PR tree-optimization/56625 PR tree-optimization/

[Bug tree-optimization/70700] ICE using -fdump-tree-all-graph option

2016-04-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70700 --- Comment #6 from Marek Polacek --- Could be just --- a/gcc/tree-ssa-structalias.c +++ b/gcc/tree-ssa-structalias.c @@ -2241,7 +2241,11 @@ dump_pred_graph (struct scc_info *si, FILE *file) if (graph->points_to[i] && !bitmap_empty_

[Bug tree-optimization/69489] missed vectorization for boolean loop, missed if-conversion

2016-04-20 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69489 --- Comment #5 from amker at gcc dot gnu.org --- Author: amker Date: Wed Apr 20 15:41:45 2016 New Revision: 235289 URL: https://gcc.gnu.org/viewcvs?rev=235289&root=gcc&view=rev Log: PR tree-optimization/56625 PR tree-optimization/

[Bug bootstrap/70704] [6 Regression] AIX bootstrap comparison failure

2016-04-20 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70704 --- Comment #29 from David Edelsohn --- Flex 2.6.0 works.

[Bug libstdc++/69703] char16_t conversions broken in filesystem::path

2016-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69703 --- Comment #7 from Jonathan Wakely --- Thanks, I'll fix it asap.

[Bug libstdc++/69703] char16_t conversions broken in filesystem::path

2016-04-20 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69703 --- Comment #6 from Andreas Schwab --- The tests fail on m68k. Output: 66855.exe: /daten/aranym/gcc/gcc-20160420/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8_utf16/66855.cc:68: void test02(): Assertion `buf[0] == utf16[0]' f

[Bug target/70454] --with-arch=native isn't applied to 32-bit x86 target library

2016-04-20 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70454 --- Comment #4 from hjl at gcc dot gnu.org --- Author: hjl Date: Wed Apr 20 14:41:55 2016 New Revision: 235287 URL: https://gcc.gnu.org/viewcvs?rev=235287&root=gcc&view=rev Log: Don't build 32-bit libatomic with -march=i486 on x86-64 Gcc uses t

[Bug tree-optimization/70700] ICE using -fdump-tree-all-graph option

2016-04-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70700 --- Comment #5 from Marek Polacek --- (gdb) p varmap.length() $5 = 13 (gdb) p n $6 = 21 so yeah - we're out-of-range.

[Bug tree-optimization/70700] ICE using -fdump-tree-all-graph option

2016-04-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70700 --- Comment #4 from Marek Polacek --- struct S { long m; }; struct S fn1 (struct S *a) { if (a->m) a->m |= 2; return *a; }

[Bug libstdc++/70503] [4.9/5 Regression] extern "C" functions in src/c++11/thread.cc are global in libstdc++.a

2016-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70503 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/69478] [4.9/5 Regression] std::copy/std::move broken with trivial move-only types

2016-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69478 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/69478] [4.9/5 Regression] std::copy/std::move broken with trivial move-only types

2016-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69478 --- Comment #6 from Jonathan Wakely --- Author: redi Date: Wed Apr 20 14:30:39 2016 New Revision: 235285 URL: https://gcc.gnu.org/viewcvs?rev=235285&root=gcc&view=rev Log: Fix assertions for move assignment of trivial types Backport from mainli

[Bug libstdc++/70503] [4.9/5 Regression] extern "C" functions in src/c++11/thread.cc are global in libstdc++.a

2016-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70503 --- Comment #8 from Jonathan Wakely --- Author: redi Date: Wed Apr 20 14:30:33 2016 New Revision: 235284 URL: https://gcc.gnu.org/viewcvs?rev=235284&root=gcc&view=rev Log: Ensure std::thread helpers have internal linkage Backport from mainline

[Bug c++/70735] [5/6/7 Regression] problem combining std::function, generic lambdas and static variables

2016-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70735 --- Comment #11 from Jonathan Wakely --- The local static variable seems to be captured by copy at the point when the closure's call operator is instantiated, so it captures the current value of the variable. extern "C" int printf(const char*, .

[Bug c++/70735] [5/6/7 Regression] problem combining std::function, generic lambdas and static variables

2016-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70735 --- Comment #10 from Jonathan Wakely --- (In reply to Allan McRae from comment #6) > gcc 5.3.1 built from a snapshot tarball is calling itself 5.3.0 unless you > use "--with-pkgversion". I do not consider this a problem with Arch if gcc > does n

[Bug c++/70735] [5/6/7 Regression] problem combining std::function, generic lambdas and static variables

2016-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70735 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|NEW Component|libstdc++

[Bug tree-optimization/70700] ICE using -fdump-tree-all-graph option

2016-04-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70700 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/70735] [5/6/7 Regression] problem combining std::function, generic lambdas and static variables

2016-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70735 --- Comment #7 from Jonathan Wakely --- (In reply to Allan McRae from comment #6) > (In reply to Jonathan Wakely from comment #5) > > (In reply to Jonathan Wakely from comment #4) > > > > This shows that Arch is using a snapshot from the gcc-5-b

[Bug libstdc++/70735] [5/6/7 Regression] problem combining std::function, generic lambdas and static variables

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

[Bug fortran/70739] New: VALUE attribute interpretation in a non-interoperable procedure

2016-04-20 Thread zmi007 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70739 Bug ID: 70739 Summary: VALUE attribute interpretation in a non-interoperable procedure Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal

[Bug target/64971] [5 Regression] gcc.c-torture/compile/pr37433.c ICEs with -mabi=ilp32

2016-04-20 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64971 ktkachov at gcc dot gnu.org changed: What|Removed |Added Known to work||6.0, 7.0 Target Milestone

[Bug c++/70735] [5/6/7 Regression] problem combining std::function, generic lambdas and static variables

2016-04-20 Thread allan at archlinux dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70735 --- Comment #6 from Allan McRae --- (In reply to Jonathan Wakely from comment #5) > (In reply to Jonathan Wakely from comment #4) > > This shows that Arch is using a snapshot from the gcc-5-branch on 20160209, > > which means it's 5.3.1, but the

[Bug target/64971] [5/6/7 Regression] gcc.c-torture/compile/pr37433.c ICEs with -mabi=ilp32

2016-04-20 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64971 --- Comment #14 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Wed Apr 20 13:38:31 2016 New Revision: 235282 URL: https://gcc.gnu.org/viewcvs?rev=235282&root=gcc&view=rev Log: [AArch64] Work around PR target/64971 2016-04-20 Andrew

[Bug target/70738] New: Add -minteger-only option

2016-04-20 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70738 Bug ID: 70738 Summary: Add -minteger-only option Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee

[Bug target/64971] [5/6/7 Regression] gcc.c-torture/compile/pr37433.c ICEs with -mabi=ilp32

2016-04-20 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64971 --- Comment #13 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Wed Apr 20 13:29:32 2016 New Revision: 235281 URL: https://gcc.gnu.org/viewcvs?rev=235281&root=gcc&view=rev Log: [AArch64] Work around PR target/64971 2016-04-20 Andrew

[Bug c++/70737] Invalid C++ code compiles when using explicit template conversions

2016-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70737 Jonathan Wakely changed: What|Removed |Added Keywords||accepts-invalid Status|UNC

[Bug c++/70735] [5/6/7 Regression] problem combining std::function, generic lambdas and static variables

2016-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70735 Jonathan Wakely changed: What|Removed |Added CC||allan at archlinux dot org --- Comment

[Bug c++/66543] False positive warning "variable set but not used"

2016-04-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66543 --- Comment #4 from Jason Merrill --- Author: jason Date: Wed Apr 20 13:24:17 2016 New Revision: 235279 URL: https://gcc.gnu.org/viewcvs?rev=235279&root=gcc&view=rev Log: PR c++/66543 - -Wunused-but-set* false positives * expr.c

[Bug c++/70735] [5/6/7 Regression] problem combining std::function, generic lambdas and static variables

2016-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70735 --- Comment #4 from Jonathan Wakely --- (In reply to Paolo Monteverde from comment #2) > Sorry, on Ubuntu the version is actually 5.3.1, but on Arch is 5.3.0, as far > as I can see. Unfortunately you are being misled by Arch lying. > gcc -v on

[Bug c++/70737] Invalid C++ code compiles when using explicit template conversions

2016-04-20 Thread agriff at tin dot it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70737 --- Comment #1 from Andrea Griffini --- Forgot to mention that this a stripped-down version of a problem we had in production code where indeed the result was an un-initialized value (resulting in a random huge number).

[Bug c++/70737] New: Invalid C++ code compiles when using explicit template conversions

2016-04-20 Thread agriff at tin dot it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70737 Bug ID: 70737 Summary: Invalid C++ code compiles when using explicit template conversions Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/69478] [4.9/5 Regression] std::copy/std::move broken with trivial move-only types

2016-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69478 --- Comment #5 from Jonathan Wakely --- Author: redi Date: Wed Apr 20 13:00:43 2016 New Revision: 235278 URL: https://gcc.gnu.org/viewcvs?rev=235278&root=gcc&view=rev Log: Fix assertions for move assignment of trivial types Backport from mainli

[Bug bootstrap/69464] [6 Regression]: bootstrap failure on CentOS 5.11: error: ‘swap’ is not a member of ‘std’

2016-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69464 --- Comment #13 from Jonathan Wakely --- Author: redi Date: Wed Apr 20 13:00:24 2016 New Revision: 235276 URL: https://gcc.gnu.org/viewcvs?rev=235276&root=gcc&view=rev Log: Avoid including all of in Backport from mainline 2016-01-25 Jonathan

[Bug libstdc++/70503] [4.9/5 Regression] extern "C" functions in src/c++11/thread.cc are global in libstdc++.a

2016-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70503 --- Comment #7 from Jonathan Wakely --- Author: redi Date: Wed Apr 20 13:00:37 2016 New Revision: 235277 URL: https://gcc.gnu.org/viewcvs?rev=235277&root=gcc&view=rev Log: Ensure std::thread helpers have internal linkage Backport from mainline

[Bug c++/70735] [5/6/7 Regression] problem combining std::function, generic lambdas and static variables

2016-04-20 Thread paolo.monteverde at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70735 --- Comment #3 from Paolo Monteverde --- Created attachment 38315 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38315&action=edit preprocessed file

[Bug c++/70735] [5/6/7 Regression] problem combining std::function, generic lambdas and static variables

2016-04-20 Thread paolo.monteverde at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70735 --- Comment #2 from Paolo Monteverde --- (In reply to Jonathan Wakely from comment #1) > I can reproduce this with 5.3.1 and later, but not 5.3.0 > > As requested at https://gcc.gnu.org/bugs/ please provide the output of 'gcc > -v', on both Debi

[Bug libfortran/70684] [4.9/5/6/7 Regression] incorrect reading of values from file on Windows

2016-04-20 Thread mingw.android at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70684 Ray Donnelly changed: What|Removed |Added CC||mingw.android at gmail dot com --- Commen

[Bug rtl-optimization/70703] [6/7 regression] Regression in register usage on x86

2016-04-20 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70703 Bernhard Reutner-Fischer changed: What|Removed |Added CC||aldot at gcc dot gnu.org,

[Bug c/70736] false positive uninitialized warning

2016-04-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70736 Richard Biener changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRM

[Bug c++/70735] [5/6/7 Regression] problem combining std::function, generic lambdas and static variables

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

[Bug c/70736] New: false positive uninitialized warning

2016-04-20 Thread willy6545 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70736 Bug ID: 70736 Summary: false positive uninitialized warning Product: gcc Version: 5.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug target/70734] __builtin_add_overflow emits poor code on x86-64

2016-04-20 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70734 --- Comment #7 from Marc Glisse --- (In reply to Richard Biener from comment #3) > It's not unused, it's stored to memory. Of course, I read the testcase too quickly and thought *r was a throw-away local variable... Sorry about that.

[Bug tree-optimization/66646] small loop turned into memmove because of tree ldist

2016-04-20 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66646 --- Comment #4 from rguenther at suse dot de --- On Wed, 20 Apr 2016, amker at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66646 > > --- Comment #3 from amker at gcc dot gnu.org --- > BTW, shall we version the loop in

[Bug tree-optimization/66646] small loop turned into memmove because of tree ldist

2016-04-20 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66646 --- Comment #3 from amker at gcc dot gnu.org --- BTW, shall we version the loop in ldist pass if # of iterations can't be computed at compilation time. We can check the target dependent value when deciding which version should be executed. It do

[Bug target/30354] -Os doesn't optimize a/CONST even if it saves size.

2016-04-20 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30354 --- Comment #19 from Bernhard Reutner-Fischer --- (In reply to Denis Vlasenko from comment #17) > Any chance of this being finally done? > > I proposed a simple, working patch in 2007, it's 2016 now and all these > years users of -Os suffer from

[Bug target/70734] __builtin_add_overflow emits poor code on x86-64

2016-04-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70734 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #6

[Bug target/70734] __builtin_add_overflow emits poor code on x86-64

2016-04-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70734 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/70734] __builtin_add_overflow emits poor code on x86-64

2016-04-20 Thread arigo at tunes dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70734 --- Comment #4 from Armin Rigo --- Ah, sorry about that; I only checked the 5.x branch. My mistake.

[Bug target/70734] __builtin_add_overflow emits poor code on x86-64

2016-04-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70734 --- Comment #3 from Richard Biener --- (In reply to Marc Glisse from comment #2) > (In reply to Marc Glisse from comment #1) > > movl%edi, (%rdx) > > Looks like we fail to notice that the result of the addition is unused and > keep this

[Bug tree-optimization/70729] Loop marked with omp simd pragma is not vectorized

2016-04-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70729 --- Comment #9 from Richard Biener --- Oh, and I believe to make nests with only outer safelen > 0 work correctly we need to move the check elsewhere: Index: gcc/tree-ssa-loop-im.c

[Bug target/70734] __builtin_add_overflow emits poor code on x86-64

2016-04-20 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70734 --- Comment #2 from Marc Glisse --- (In reply to Marc Glisse from comment #1) > movl%edi, (%rdx) Looks like we fail to notice that the result of the addition is unused and keep this dead store...

[Bug target/70734] __builtin_add_overflow emits poor code on x86-64

2016-04-20 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70734 --- Comment #1 from Marc Glisse --- gcc-6 produces .cfi_startproc addl%esi, %edi movl%edi, (%rdx) jo .L9 rep ret .L9: pushq %rax .cfi_def_cfa_offset 16 callabort

[Bug tree-optimization/70729] Loop marked with omp simd pragma is not vectorized

2016-04-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70729 --- Comment #8 from Richard Biener --- Index: gcc/passes.def === --- gcc/passes.def (revision 235237) +++ gcc/passes.def (working copy) @@ -244,6 +244,7 @@ along with GCC;

  1   2   >