[Bug tree-optimization/70509] wrong code with extract from a v64qi

2016-04-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70509 --- Comment #10 from Jakub Jelinek --- Author: jakub Date: Tue Apr 5 17:01:52 2016 New Revision: 234755 URL: https://gcc.gnu.org/viewcvs?rev=234755&root=gcc&view=rev Log: PR tree-optimization/70509 * simplify-rtx.c (simplify_bin

[Bug c++/70551] member function of template instantiated even though only declaration is needed

2016-04-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70551 --- Comment #1 from Jonathan Wakely --- Your interpretation would mean that whether a compiler performs copy elision would change whether a program is well-formed or not (rather than only changing whether any side effects of the constructor call

[Bug rtl-optimization/70542] [6 Regression] Wrong code with -O3 -mavx2.

2016-04-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70542 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Tue Apr 5 17:05:23 2016 New Revision: 234756 URL: https://gcc.gnu.org/viewcvs?rev=234756&root=gcc&view=rev Log: PR rtl-optimization/70542 * ree.c (add_removable_extension

[Bug rtl-optimization/70542] [6 Regression] Wrong code with -O3 -mavx2.

2016-04-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70542 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

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

2016-04-05 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70503 --- Comment #5 from Uroš Bizjak --- (In reply to Jonathan Wakely from comment #4) > Fixed on trunk so far. The testcase probably needs some special handling due to -static, it fails on Fedora 23 with: spawn -ignore SIGHUP /ssd/uros/gcc-build/./

[Bug c++/70513] [4.9/5/6 Regression] ICE on invalid C++ code on x86_64-linux-gnu: Segmentation fault

2016-04-05 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70513 --- Comment #4 from Marek Polacek --- All right, I've got it now: we need to catch the extra qualification, similarly as in struct T { struct U; struct T::U {}; }; I've got a patch.

[Bug c++/70552] New: __builtin_constant_p fails to reflect the constness of constexpr calls

2016-04-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70552 Bug ID: 70552 Summary: __builtin_constant_p fails to reflect the constness of constexpr calls Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal

[Bug c++/70552] __builtin_constant_p fails to reflect the constness of constexpr calls

2016-04-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70552 Martin Sebor changed: What|Removed |Added Keywords||wrong-code Blocks|

[Bug c++/70452] [5/6 Regression] Regression in C++ parsing performance between 4.9.3 and 5.3.1

2016-04-05 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70452 --- Comment #11 from Patrick Palka --- gcc 5 shows: Execution times (seconds) phase setup : 0.00 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%) wall 1311 kB ( 0%) ggc phase parsing : 2.10 (100%) usr 0.28 (100%) sys 2.

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

2016-04-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70503 --- Comment #6 from Jonathan Wakely --- That should be fixed at r234757

[Bug testsuite/70553] New: pr70496.c should exclude Thumb only targets

2016-04-05 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70553 Bug ID: 70553 Summary: pr70496.c should exclude Thumb only targets Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsui

[Bug libstdc++/70554] New: [6 Regression] _GLIBCXX_ATOMIC_BUILTINS changed value

2016-04-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70554 Bug ID: 70554 Summary: [6 Regression] _GLIBCXX_ATOMIC_BUILTINS changed value Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug libstdc++/70554] [6 Regression] _GLIBCXX_ATOMIC_BUILTINS changed value

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

[Bug c++/70552] __builtin_constant_p fails to reflect the constness of constexpr calls

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

[Bug libstdc++/70554] [6 Regression] _GLIBCXX_ATOMIC_BUILTINS changed value

2016-04-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70554 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 CC|

[Bug target/70510] ICE: output_operand: invalid %-code with -mavx512bw -masm=intel when emitting vpbroatcast

2016-04-05 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70510 --- Comment #5 from uros at gcc dot gnu.org --- Author: uros Date: Tue Apr 5 18:03:55 2016 New Revision: 234758 URL: https://gcc.gnu.org/viewcvs?rev=234758&root=gcc&view=rev Log: PR target/70510 * config/i386/sse.md (iptr): Add V

[Bug c++/70551] member function of template instantiated even though only declaration is needed

2016-04-05 Thread rbock at eudoxos dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70551 --- Comment #2 from Roland B --- (In reply to Jonathan Wakely from comment #1) > Your interpretation would mean that whether a compiler performs copy elision > would change whether a program is well-formed or not (rather than only > changing whet

[Bug c/70475] -Wmisleading-indentation quetionable in Eigen

2016-04-05 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70475 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org --- Commen

[Bug tree-optimization/70547] Optimize multiplication of booleans to bit_and

2016-04-05 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70547 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org --- Commen

[Bug target/70510] ICE: output_operand: invalid %-code with -mavx512bw -masm=intel when emitting vpbroatcast

2016-04-05 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70510 Uroš Bizjak changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/70510] ICE: output_operand: invalid %-code with -mavx512bw -masm=intel when emitting vpbroatcast

2016-04-05 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70510 --- Comment #6 from uros at gcc dot gnu.org --- Author: uros Date: Tue Apr 5 18:48:26 2016 New Revision: 234760 URL: https://gcc.gnu.org/viewcvs?rev=234760&root=gcc&view=rev Log: PR target/70510 * config/i386/sse.md (iptr): Add V

[Bug libstdc++/70554] [6 Regression] _GLIBCXX_ATOMIC_BUILTINS changed value

2016-04-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70554 --- Comment #1 from Jonathan Wakely --- Author: redi Date: Tue Apr 5 19:03:46 2016 New Revision: 234761 URL: https://gcc.gnu.org/viewcvs?rev=234761&root=gcc&view=rev Log: Restore atomic builtins usage in libstdc++-v3 PR libstdc++/70554

[Bug libstdc++/70554] [6 Regression] _GLIBCXX_ATOMIC_BUILTINS changed value

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

[Bug tree-optimization/70547] Optimize multiplication of booleans to bit_and

2016-04-05 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70547 --- Comment #3 from Marc Glisse --- In this case, the code was deliberately written this way, presumably to avoid the branching in &&. Using & would be better (and that's what I am suggesting we optimize it to), but * doesn't seem nonsensical to

[Bug c++/70552] __builtin_constant_p fails to reflect the constness of constexpr calls

2016-04-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70552 --- Comment #3 from Martin Sebor --- Yes, thanks for pointing that out. I think the change is r233671. I certainly agree that it's useful to be able to step through constexpr functions in non-constexpr contexts. In the test case below, however

[Bug c++/70552] __builtin_constant_p fails to reflect the constness of constexpr calls

2016-04-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70552 --- Comment #4 from Martin Sebor --- As an aside, Clang does evaluate both __builtin_constant_p(foo()) expressions in the test case consistently to 1, and like GCC, also without emitting code for foo(). Also like GCC, it emits a definition of fo

[Bug c++/70549] insn does not satisfy its constraints aarch64 gcc-4.8

2016-04-05 Thread softadmin.lesia at obspm dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70549 --- Comment #5 from softadmin.lesia at obspm dot fr --- finally i can use gcc 4.9 thanks

[Bug ipa/66223] [5 Regression] Diagnostic of pure virtual function call broken, including __cxa_pure_virtual

2016-04-05 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66223 --- Comment #16 from Jan Hubicka --- Author: hubicka Date: Tue Apr 5 20:58:56 2016 New Revision: 234762 URL: https://gcc.gnu.org/viewcvs?rev=234762&root=gcc&view=rev Log: PR ipa/66223 * ipa-devirt.c (maybe_record_node): Fix com

[Bug c++/70336] [5/6 regression] Incorrect Wconversion warning

2016-04-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70336 --- Comment #11 from Jakub Jelinek --- Author: jakub Date: Tue Apr 5 21:33:37 2016 New Revision: 234764 URL: https://gcc.gnu.org/viewcvs?rev=234764&root=gcc&view=rev Log: PR c++/70336 * match.pd (nested int casts): Limit to GIMP

[Bug c++/70336] [5 regression] Incorrect Wconversion warning

2016-04-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70336 Jakub Jelinek changed: What|Removed |Added Summary|[5/6 regression] Incorrect |[5 regression] Incorrect

[Bug fortran/65173] ICE while compiling wrong code

2016-04-05 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65173 Harald Anlauf changed: What|Removed |Added CC||anlauf at gmx dot de --- Comment #2 from

[Bug c++/70555] New: ICE in expand_expr_real_1 accessing a multi-dimensional VLA via lambda-capture

2016-04-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70555 Bug ID: 70555 Summary: ICE in expand_expr_real_1 accessing a multi-dimensional VLA via lambda-capture Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: no

[Bug c++/70555] ICE in expand_expr_real_1 accessing a multi-dimensional VLA via lambda-capture

2016-04-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70555 Martin Sebor changed: What|Removed |Added Keywords||ice-on-valid-code Blocks|

[Bug c++/70555] ICE in expand_expr_real_1 accessing a multi-dimensional VLA via lambda-capture

2016-04-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70555 --- Comment #2 from Martin Sebor --- Actually, I did find where N3366 (http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3639.html) disallows the test case in vla7.C: Change in 8.3.4 dcl.array paragraph 1 ...: In a declaration T D wh

[Bug other/8757] GCC crash when sizeof (long) > sizeof (char *), (splay_tree_compare_fn)strcmp is wrong

2016-04-05 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=8757 Manuel López-Ibáñez changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/69733] -Wignored-qualifiers points to wrong const

2016-04-05 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69733 Manuel López-Ibáñez changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/8960] invalid error mode `SI' applied to inappropriate type

2016-04-05 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=8960 Manuel López-Ibáñez changed: What|Removed |Added Keywords|ice-on-valid-code | Last reconfirmed|2008-12-06 09:3

[Bug c++/14379] accepts invalid duplicate definition of member template

2016-04-05 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14379 Manuel López-Ibáñez changed: What|Removed |Added Keywords|ice-on-valid-code | Last reconfirmed|2012-01-22 00:

[Bug target/45683] Segmentation fault on large unsigned integer values in C99 mode

2016-04-05 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45683 Manuel López-Ibáñez changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/46002] ICE: in update_copy_costs, at ira-color.c:319 with -fira-algorithm=priority

2016-04-05 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46002 Manuel López-Ibáñez changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/70556] New: ICE in cxx_eval_vec_init_1 on a ill-formed lambda capture of a VLA in a template

2016-04-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70556 Bug ID: 70556 Summary: ICE in cxx_eval_vec_init_1 on a ill-formed lambda capture of a VLA in a template Product: gcc Version: 6.0 Status: UNCONFIRMED Severity:

[Bug c++/70018] [4.9/5/6 Regression] Possible issue around IPO and C++ comdats discovered as pure/const

2016-04-05 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70018 --- Comment #12 from Jan Hubicka --- Created attachment 38195 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38195&action=edit Patch I am testing This patch handles const->pure transition for all functions detected const that are not neces

[Bug c++/70556] ICE in cxx_eval_vec_init_1 on a ill-formed lambda capture of a VLA in a template

2016-04-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70556 Martin Sebor changed: What|Removed |Added Keywords||ice-on-invalid-code Blocks|

[Bug other/70557] New: uint64_t zeroing on 32-bit hardware

2016-04-05 Thread acahalan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70557 Bug ID: 70557 Summary: uint64_t zeroing on 32-bit hardware Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other

[Bug target/62254] [4.9/5/6 Regression] gcc-4.9 ICEs on linux kernel zlib for armv3

2016-04-05 Thread jmargetts at ocz dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62254 --- Comment #20 from Julien Margetts --- It is the gcc_assert (REG_P (operands[0])); in arm_reload_in_hi which fires, which as far as I can see is still in trunk today. At this point rtx operands[0] looks like this: 08 2d c2 7a 53 2b 00 00 The

[Bug c++/70512] [6 Regression] ICE on valid code on x86_64-linux-gnu: canonical types differ for identical types

2016-04-05 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70512 --- Comment #6 from Nathan Sidwell --- Author: nathan Date: Tue Apr 5 23:47:21 2016 New Revision: 234768 URL: https://gcc.gnu.org/viewcvs?rev=234768&root=gcc&view=rev Log: PR c++/70512 * class.c (fixup_may_alias): New. (

[Bug c++/70512] [6 Regression] ICE on valid code on x86_64-linux-gnu: canonical types differ for identical types

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

[Bug target/69617] PowerPC/e6500: Atomic byte/halfword operations not properly supported

2016-04-05 Thread scottwood at freescale dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69617 Scott wood changed: What|Removed |Added CC||scottwood at freescale dot com --- Comment

[Bug other/70557] uint64_t zeroing on 32-bit hardware

2016-04-05 Thread acahalan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70557 --- Comment #1 from Albert Cahalan --- For the 32-bit i386, gcc 4.8.4 doesn't zero a pair of registers. I doubt gcc is doing the best for -Os regarding addressing, but at least the i386 is getting better code than the m68k coldfire.

[Bug c++/70452] [5/6 Regression] Regression in C++ parsing performance between 4.9.3 and 5.3.1

2016-04-05 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70452 --- Comment #12 from Patrick Palka --- Turns out that a single line of code is responsible for the 50MB increase in memory usage relative to 4.9, and that's the call to unshare_expr in cxx_eval_call_expression: /* Associate the binding

[Bug c++/70558] New: POD datatype array crash in initialization when using optimization

2016-04-05 Thread hlprasu at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70558 Bug ID: 70558 Summary: POD datatype array crash in initialization when using optimization Product: gcc Version: 5.2.1 Status: UNCONFIRMED Severity: major

[Bug target/69617] PowerPC/e6500: Atomic byte/halfword operations not properly supported

2016-04-05 Thread sebastian.hu...@embedded-brains.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69617 --- Comment #2 from Sebastian Huber --- Yes, sorry, I meant the load with reservation and store conditional instructions.

<    1   2