[Bug sanitizer/70541] New: unnoticed invalid dereference when using address sanitizer

2016-04-04 Thread christof.warlich at siemens dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70541 Bug ID: 70541 Summary: unnoticed invalid dereference when using address sanitizer Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal

[Bug c++/70540] New: ICE on invalid code on x86_64-linux-gnu in cxx_incomplete_type_diagnostic, at cp/typeck2.c:569

2016-04-04 Thread su at cs dot ucdavis.edu
++,lto --prefix=/usr/local/gcc-trunk --disable-bootstrap Thread model: posix gcc version 6.0.0 20160404 (experimental) [trunk revision 234712] (GCC) $ $ g++-5.3 -c small.cpp small.cpp: In function ‘void foo()’: small.cpp:4:8: error: ‘f’ does not name a type auto f = [&] { retu

[Bug c++/70538] deprecated "access declaration" evokes gcc_unreachable ICE

2016-04-04 Thread jim at meyering dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70538 --- Comment #2 from jim at meyering dot net --- Small correction: It's not "while attempting to emit...", but rather "after emitting that warning".

[Bug c++/70538] deprecated "access declaration" evokes gcc_unreachable ICE

2016-04-04 Thread jim at meyering dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70538 --- Comment #1 from jim at meyering dot net --- FYI, that same ICE strikes also with gcc-4.9.3, gcc-5.1.0 and gcc-5.3.0 when using -std=c++11

[Bug c++/70538] New: deprecated "access declaration" evokes gcc_unreachable ICE

2016-04-04 Thread jim at meyering dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70538 Bug ID: 70538 Summary: deprecated "access declaration" evokes gcc_unreachable ICE Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal

[Bug driver/70537] New: ICE segfault compiling jar with gcj

2016-04-04 Thread guy at ivorydungeon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70537 Bug ID: 70537 Summary: ICE segfault compiling jar with gcj Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver

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

2016-04-04 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70452 --- Comment #9 from Patrick Palka --- Author: ppalka Date: Tue Apr 5 01:20:00 2016 New Revision: 234732 URL: https://gcc.gnu.org/viewcvs?rev=234732=gcc=rev Log: Remove class cache_map and use ggc hash_maps instead (PR c++/70452)

[Bug middle-end/14505] __builtin_constant_p(__func__) is not true

2016-04-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14505 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|NEW --- Comment #5 from Martin Sebor

[Bug target/70117] ppc long double isinf() is wrong?

2016-04-04 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70117 --- Comment #14 from Alan Modra --- > if (fmt == _extended_double) No, there is mips_extended_format too.

[Bug middle-end/14505] __builtin_constant_p(__func__) is not true

2016-04-04 Thread alexr at leftfield dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14505 Alex Rosenberg changed: What|Removed |Added Status|RESOLVED|ASSIGNED Resolution|WONTFIX

[Bug c++/70536] g++ doesn't emit DW_AT_name for DW_TAG_GNU_formal_parameter_pack

2016-04-04 Thread ed at catmur dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70536 Ed Catmur changed: What|Removed |Added CC||ed at catmur dot co.uk --- Comment #1 from

[Bug c++/70536] New: g++ doesn't emit DW_AT_name for DW_TAG_GNU_formal_parameter_pack

2016-04-04 Thread ed at catmur dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70536 Bug ID: 70536 Summary: g++ doesn't emit DW_AT_name for DW_TAG_GNU_formal_parameter_pack Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal

[Bug target/67172] [5/6 regression] i686-w64-mingw32 dwarf2 bootstrap fails with undefined reference to __EH_FRAME_BEGIN__

2016-04-04 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67172 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/67172] [5/6 regression] i686-w64-mingw32 dwarf2 bootstrap fails with undefined reference to __EH_FRAME_BEGIN__

2016-04-04 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67172 --- Comment #9 from Eric Botcazou --- Author: ebotcazou Date: Mon Apr 4 22:29:02 2016 New Revision: 234727 URL: https://gcc.gnu.org/viewcvs?rev=234727=gcc=rev Log: PR target/67172 * libgcc2.c (L__main): Undefine

[Bug target/67172] [5/6 regression] i686-w64-mingw32 dwarf2 bootstrap fails with undefined reference to __EH_FRAME_BEGIN__

2016-04-04 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67172 --- Comment #10 from Eric Botcazou --- Author: ebotcazou Date: Mon Apr 4 22:29:45 2016 New Revision: 234728 URL: https://gcc.gnu.org/viewcvs?rev=234728=gcc=rev Log: PR target/67172 * libgcc2.c (L__main): Undefine

[Bug c++/58062] [C++11] bogus __func__ lookup in lambda body

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

[Bug c++/54367] [meta-bug] lambda expressions

2016-04-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 58062, which changed state. Bug 58062 Summary: [C++11] bogus __func__ lookup in lambda body https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58062 What|Removed |Added

[Bug target/70359] [6 Regression] Code size increase for ARM compared to gcc-5.3.0

2016-04-04 Thread fredrik.hederstie...@securitas-direct.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70359 --- Comment #15 from Fredrik Hederstierna --- Created attachment 38185 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38185=edit tok.c I took another example for CSiBE and stripped it down. I'm

[Bug rtl-optimization/30971] Wrong return value (Tail call optimization)

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

[Bug middle-end/14505] __builtin_constant_p(__func__) is not true

2016-04-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14505 Martin Sebor changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug rtl-optimization/70461] [6 Regression] Performance regression after r234527

2016-04-04 Thread afomin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70461 Alexander Fomin changed: What|Removed |Added Attachment #38134|0 |1 is obsolete|

[Bug c++/55004] [meta-bug] constexpr issues

2016-04-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 66460, which changed state. Bug 66460 Summary: ICE using __func__ in constexpr function. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66460 What|Removed |Added

[Bug c++/70353] [5 regression] ICE on __PRETTY_FUNCTION__ in a constexpr function

2016-04-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70353 Martin Sebor changed: What|Removed |Added CC||redi at gcc dot gnu.org --- Comment #20

[Bug c++/66460] ICE using __func__ in constexpr function.

2016-04-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66460 Martin Sebor changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/70532] An "constexpr + variable template" example that gives an "internal compiler error"

2016-04-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70532 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/70353] [5 regression] ICE on __PRETTY_FUNCTION__ in a constexpr function

2016-04-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70353 Martin Sebor changed: What|Removed |Added CC||vincent.picaud at laposte dot net ---

[Bug middle-end/70535] New: broken nested reductions in openacc parallel regions

2016-04-04 Thread cesar at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70535 Bug ID: 70535 Summary: broken nested reductions in openacc parallel regions Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: openacc Severity: normal

[Bug middle-end/70534] New: openacc parallel reductions aren't neutered

2016-04-04 Thread cesar at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70534 Bug ID: 70534 Summary: openacc parallel reductions aren't neutered Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug middle-end/70534] openacc parallel reductions aren't neutered

2016-04-04 Thread cesar at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70534 cesar at gcc dot gnu.org changed: What|Removed |Added Keywords||openacc

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

2016-04-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70512 --- Comment #5 from Marek Polacek --- (In reply to Nathan Sidwell from comment #3) > Are you working on that? If so, please reassign this bug. I'm not currently. But I think the approach you outlines makes sense; I just didn't get round to

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

2016-04-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70512 --- Comment #4 from Jakub Jelinek --- I'd note that we likely need to modify them in-place, as PARM_DECLs etc. with those types already will be around. for (t = TYPE_POINTER_TO (to_type); t; t = TYPE_NEXT_PTR_TO (t)) and for (t =

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

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

[Bug middle-end/70533] New: reductions on reference-typed variables are broken in OpenACC

2016-04-04 Thread cesar at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70533 Bug ID: 70533 Summary: reductions on reference-typed variables are broken in OpenACC Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: openacc

[Bug tree-optimization/70357] [openacc][gomp4] ICE on reduction (+:sum) private (sum)

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

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

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

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

2016-04-04 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70018 Jan Hubicka changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug middle-end/70307] [6 Regression] ICE: in gimplify_expr, at gimplify.c:10915 on valid code

2016-04-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70307 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Mon Apr 4 17:20:53 2016 New Revision: 234723 URL: https://gcc.gnu.org/viewcvs?rev=234723=gcc=rev Log: PR middle-end/70307 * gcc.dg/torture/pr70307.c: Add -Wno-psabi to

[Bug c++/70532] New: An "constexpr + variable template" example that gives an "internal compiler error"

2016-04-04 Thread vincent.picaud at laposte dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70532 Bug ID: 70532 Summary: An "constexpr + variable template" example that gives an "internal compiler error" Product: gcc Version: 5.3.1 Status: UNCONFIRMED

[Bug tree-optimization/70373] [openacc] ICE with reduction clause in set_parm_rtl, at cfgexpand.c

2016-04-04 Thread cesar at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70373 cesar at gcc dot gnu.org changed: What|Removed |Added CC||cesar at gcc dot gnu.org

[Bug libstdc++/70379] c99_classification_macros_c++98.cc failing with newlib

2016-04-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70379 Jonathan Wakely changed: What|Removed |Added CC||craie at acm dot org --- Comment #3

[Bug libstdc++/70176] Regression with C++03 Issue cstdio

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

[Bug bootstrap/70173] make distclean: leaves stage_final and libcc1/compiler-name.h

2016-04-04 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70173 --- Comment #5 from Segher Boessenkool --- Author: segher Date: Mon Apr 4 16:37:58 2016 New Revision: 234721 URL: https://gcc.gnu.org/viewcvs?rev=234721=gcc=rev Log: gnattools: Clean config.cache (PR70173) The config.cache file should be

[Bug c++/70529] Unhelpful diagnostic for hex float literals, inconsistent parsing

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

[Bug libstdc++/70379] c99_classification_macros_c++98.cc failing with newlib

2016-04-04 Thread andre.simoesdiasvieira at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70379 Andre Vieira changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

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

2016-04-04 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66223 Jan Hubicka changed: What|Removed |Added Summary|[5/6 Regression] Diagnostic |[5 Regression] Diagnostic

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

2016-04-04 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66223 --- Comment #14 from Jan Hubicka --- Author: hubicka Date: Mon Apr 4 15:54:39 2016 New Revision: 234719 URL: https://gcc.gnu.org/viewcvs?rev=234719=gcc=rev Log: PR ipa/66223 * ipa-devirt.c (maybe_record_node): Do not optimize

[Bug c++/70528] [5/6 Regression] bogus error: constructor required before non-static data member

2016-04-04 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70528 --- Comment #10 from Ville Voutilainen --- (In reply to Jonathan Wakely from comment #8) > I don't know how to implement is_default_constructible without using that > decltype, or something similar that will cause the same problem. > > If we

[Bug middle-end/70457] ICE (segfault) in gimple_expand_builtin_pow on powerpc64le-linux-gnu

2016-04-04 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70457 Bill Schmidt changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/70457] ICE (segfault) in gimple_expand_builtin_pow on powerpc64le-linux-gnu

2016-04-04 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70457 --- Comment #15 from Bill Schmidt --- Matthias, the code is now fixed everywhere upstream. Do you need a merge into ibm/gcc-5-branch?

[Bug middle-end/70457] ICE (segfault) in gimple_expand_builtin_pow on powerpc64le-linux-gnu

2016-04-04 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70457 --- Comment #14 from Bill Schmidt --- Author: wschmidt Date: Mon Apr 4 15:47:51 2016 New Revision: 234718 URL: https://gcc.gnu.org/viewcvs?rev=234718=gcc=rev Log: [gcc] 2016-04-04 Bill Schmidt Jakub

[Bug middle-end/70457] ICE (segfault) in gimple_expand_builtin_pow on powerpc64le-linux-gnu

2016-04-04 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70457 --- Comment #13 from Bill Schmidt --- Author: wschmidt Date: Mon Apr 4 15:45:59 2016 New Revision: 234717 URL: https://gcc.gnu.org/viewcvs?rev=234717=gcc=rev Log: [gcc] 2016-04-04 Bill Schmidt Jakub

[Bug middle-end/70457] ICE (segfault) in gimple_expand_builtin_pow on powerpc64le-linux-gnu

2016-04-04 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70457 --- Comment #12 from Bill Schmidt --- Author: wschmidt Date: Mon Apr 4 15:42:19 2016 New Revision: 234716 URL: https://gcc.gnu.org/viewcvs?rev=234716=gcc=rev Log: [gcc] 2016-04-04 Bill Schmidt Jakub

[Bug c++/70528] [5/6 Regression] bogus error: constructor required before non-static data member

2016-04-04 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70528 --- Comment #9 from Patrick Palka --- Here's something strange. gcc rejects and clang accepts the following test case, but if decltype (A()) is replaced by decltype (T()) then gcc accepts and clang rejects it. template struct H { template

[Bug tree-optimization/70499] internal compiler error: in make_ssa_name_fn, at tree-ssanames.c:266

2016-04-04 Thread matthias.hochsteger at tuwien dot ac.at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70499 --- Comment #6 from Matthias Hochsteger --- Oh, now I get it, sorry for the misunderstanding.

[Bug tree-optimization/70499] internal compiler error: in make_ssa_name_fn, at tree-ssanames.c:266

2016-04-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70499 --- Comment #5 from Jakub Jelinek --- I haven't been talking on what you should be using in your project, but rather what testcase we want to include in GCC sources. And there the immintrin.h dependency IMHO is unnecessary etc.

[Bug c++/70528] [5/6 Regression] bogus error: constructor required before non-static data member

2016-04-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70528 --- Comment #8 from Jonathan Wakely --- I don't know how to implement is_default_constructible without using that decltype, or something similar that will cause the same problem. If we had a __is_constructible(_Tp, _Args...) builtin we could

[Bug c++/70507] integer overflow builtins not constant expressions

2016-04-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70507 --- Comment #2 from Martin Sebor --- Thank you for the suggestion. Storing values via pointers is not C++ 14 specific so the answer to your question is that having the builtins be treated as constexpr would be useful in both C++ 11 and C++ 14

[Bug tree-optimization/70499] internal compiler error: in make_ssa_name_fn, at tree-ssanames.c:266

2016-04-04 Thread matthias.hochsteger at tuwien dot ac.at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70499 --- Comment #4 from Matthias Hochsteger --- This testcase is just a very striped-down version of the actual code to reproduce the error, so it may seem useless at some spots, like the missing initialization. We already have a workaround by

[Bug testsuite/70516] [4.9/5/6 Regression] Regtesting acats hangs on x86_64-apple-darwin15.4

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

[Bug c++/70528] [5/6 Regression] bogus error: constructor required before non-static data member

2016-04-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70528 --- Comment #7 from Jakub Jelinek --- Yeah, and it rejects both #c1 and #c5 and the variants with K() = default; So, unlike PR58328 here both compilers agree, and the disagreement is just whether it is ok for libstdc++ to use the decltype?

[Bug tree-optimization/70499] internal compiler error: in make_ssa_name_fn, at tree-ssanames.c:266

2016-04-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70499 --- Comment #3 from Jakub Jelinek --- The function needs to deal with cases where e.g. DECL_VALUE_EXPR is added to various VAR_DECLs and the IL needs to be updated accordingtly. It is mostly used by OpenMP lowering, and that is done not in SSA

[Bug c++/70528] [5/6 Regression] bogus error: constructor required before non-static data member

2016-04-04 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70528 --- Comment #6 from Markus Trippelsdorf --- (In reply to Patrick Palka from comment #5) > If comment #1 should be accepted, then should this be accepted too? > > template > struct I { > }; > > struct J { > struct K { > int First = J::N;

[Bug c++/70528] [5/6 Regression] bogus error: constructor required before non-static data member

2016-04-04 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70528 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment

[Bug libstdc++/70437] [6 Regression] Instantiation loop with pair and is_constructible

2016-04-04 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70437 --- Comment #2 from Ville Voutilainen --- Created attachment 38179 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38179=edit First stab at a patch Initial patch done, testsuite additions to follow, will submit once compile-farm testing is

[Bug libstdc++/70437] [6 Regression] Instantiation loop with pair and is_constructible

2016-04-04 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70437 Ville Voutilainen changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug target/70117] ppc long double isinf() is wrong?

2016-04-04 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70117 --- Comment #13 from Michael Meissner --- In gcc/builtins.c it is probably better to use: const struct real_format *fmt = FLOAT_MODE_FORMAT (mode); if (fmt == _extended_double) { // ... }

[Bug target/70117] ppc long double isinf() is wrong?

2016-04-04 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70117 Alan Modra changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug c++/70531] Turning optimisation level 2 causes the output program to go into infinite loop

2016-04-04 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70531 James Greenhalgh changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug tree-optimization/68953] [6 Regression] [graphite] Wrong code w/ -O[12] -floop-nest-optimize

2016-04-04 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68953 --- Comment #4 from vries at gcc dot gnu.org --- Created attachment 38178 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38178=edit UDIFF

[Bug rtl-optimization/70526] GCC 6 miscompiles Firefox JIT compiler

2016-04-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70526 --- Comment #4 from Jakub Jelinek --- This changed with r223126. The *.optimized dump is the same between r223124 and r223126, but already there we can see that SRA used the TypedOrValueRegister type for the read: MEM[(struct &)] ={v}

[Bug tree-optimization/68953] [6 Regression] [graphite] Wrong code w/ -O[12] -floop-nest-optimize

2016-04-04 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68953 --- Comment #3 from vries at gcc dot gnu.org --- A way to look at the problem is to compare against the dump info for the variant without the extra (redundant) dimension. So, compare dump-info for -DEXTRADIM={0,1} for this source: ... #if

[Bug rtl-optimization/70526] GCC 6 miscompiles Firefox JIT compiler

2016-04-04 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70526 --- Comment #3 from Markus Trippelsdorf --- Started with r223126. Richi?

[Bug lto/68881] [6 Regression] UNRESOLVED/FAIL: gcc.dg/lto/attr-weakref-1 -O2 -flto

2016-04-04 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68881 Jan Hubicka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/70525] generating 'vpandn' without the mode suffix, gnu as fails to assemble (-mavx512bw)

2016-04-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70525 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/70527] Missed fold for "(long int) x * 12 - (long int)(x + 1) * 12"

2016-04-04 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70527 --- Comment #2 from Marc Glisse --- (In reply to amker from comment #0) > Seems "(long int) x * 12 - (long int)(x + 1) * 12" is missed in > generic-simplify. Interestingly, we manage just fine if 12 is replaced with a variable. The issue seems

[Bug libstdc++/70530] [DR2468] You should probably add addressof (a) != addressof (b) check to std::swap

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

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

2016-04-04 Thread nickc at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62254 --- Comment #19 from Nick Clifton --- (In reply to Julien Margetts from comment #17) > The following test case still fails with the patch applied (originally bug > 70362) > > arm-none-eabi-gcc -march=armv3m -c -o c_compat_x_tst.o >

[Bug rtl-optimization/70526] GCC 6 miscompiles Firefox JIT compiler

2016-04-04 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70526 --- Comment #2 from Marc Glisse --- (In reply to Markus Trippelsdorf from comment #1) > -Wstrict-aliasing=2 warns: > > markus@x4 tmp % g++ -O2 -Wstrict-aliasing=2 test_fire.cpp > test_fire.cpp: In instantiation of ‘const T*

[Bug target/70362] Segmentation fault compiling scalar-by-value-4_x.c for ARM arch < 4

2016-04-04 Thread nickc at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70362 --- Comment #8 from Nick Clifton --- (In reply to Ramana Radhakrishnan from comment #6) > Fails at O0 in this case, I cannot type. I still think this is a tail from > PR62254 and that should just be reopened. I cannot reproduce this failure.

[Bug c++/70528] [5/6 Regression] bogus error: constructor required before non-static data member

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

[Bug c++/70528] [5/6 Regression] bogus error: constructor required before non-static data member

2016-04-04 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70528 --- Comment #3 from Markus Trippelsdorf --- (In reply to Jonathan Wakely from comment #2) > Seems related to PR 58328 Hmm, does it makes sense to compute exception specifications even with -fno-exceptions (LLVM default build flag)?

[Bug c++/53220] [4.7/4.8 Regression] g++ mis-compiles compound literals

2016-04-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53220 --- Comment #22 from Jonathan Wakely --- The added diagnostic rejects this, which clang and EDG accept: extern "C" int printf(const char*, ...); int main() { using A = int[1]; printf("%p\n", A{1} ); } ts.c:4:18: error: taking address of

[Bug c++/70531] New: Turning optimisation level 2 causes the output program to go into infinite loop

2016-04-04 Thread iliyabo at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70531 Bug ID: 70531 Summary: Turning optimisation level 2 causes the output program to go into infinite loop Product: gcc Version: 5.3.1 Status: UNCONFIRMED

[Bug tree-optimization/70527] Missed fold for "(long int) x * 12 - (long int)(x + 1) * 12"

2016-04-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70527 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/70528] [5/6 Regression] bogus error: constructor required before non-static data member

2016-04-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70528 --- Comment #2 from Jonathan Wakely --- Seems related to PR 58328

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

2016-04-04 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70336 --- Comment #10 from Manuel López-Ibáñez --- (In reply to Jakub Jelinek from comment #8) > Here -Wconversion will warn for many casesm even in 4.9, eventhough one > could argue that say in the f4 case nothing is lost during conversion, or There

[Bug c++/70528] [5/6 Regression] bogus error: constructor required before non-static data member

2016-04-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70528 Richard Biener changed: What|Removed |Added Keywords||rejects-valid Target Milestone|---

[Bug other/70433] backslashes lost in dot file

2016-04-04 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70433 vries at gcc dot gnu.org changed: What|Removed |Added Keywords||patch --- Comment #2 from

[Bug c++/70528] [5/6 Regression] bogus error: constructor required before non-static data member

2016-04-04 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70528 --- Comment #1 from Ville Voutilainen --- A shorter reproducer for the funny part where the error arises: template struct I { }; struct J { struct K { int First = 0; }; I FunctionMDInfo; };

[Bug rtl-optimization/70526] GCC 6 miscompiles Firefox JIT compiler

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

[Bug libstdc++/70530] New: You should probably add addressof (a) != addressof (b) check to std::swap

2016-04-04 Thread safinaskar at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70530 Bug ID: 70530 Summary: You should probably add addressof (a) != addressof (b) check to std::swap Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal

[Bug c++/70529] New: Unhelpful diagnostic for hex float literals, inconsistent parsing

2016-04-04 Thread g...@axel-naumann.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70529 Bug ID: 70529 Summary: Unhelpful diagnostic for hex float literals, inconsistent parsing Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/70499] internal compiler error: in make_ssa_name_fn, at tree-ssanames.c:266

2016-04-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70499 Richard Biener changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug c++/70528] New: [5/6 Regression] bogus error: constructor required before non-static data member

2016-04-04 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70528 Bug ID: 70528 Summary: [5/6 Regression] bogus error: constructor required before non-static data member Product: gcc Version: 6.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/70527] New: Missed fold for "(long int) x * 12 - (long int)(x + 1) * 12"

2016-04-04 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70527 Bug ID: 70527 Summary: Missed fold for "(long int) x * 12 - (long int)(x + 1) * 12" Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/70526] New: GCC 6 miscompiles Firefox JIT compiler

2016-04-04 Thread jandemooij+gccbugs at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70526 Bug ID: 70526 Summary: GCC 6 miscompiles Firefox JIT compiler Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/70524] [5/6 Regression] ICE when using -frepack-arrays -Warray-temporaries

2016-04-04 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70524 --- Comment #3 from vehre at gcc dot gnu.org --- Oh no, not again gfc_trans_dummy_array_bias...

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

2016-04-04 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62254 Christophe Lyon changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug target/64387] ICE: in extract_insn, at recog.c:2327 (unrecognizable insn) with -ffloat-store -mavx512er

2016-04-04 Thread kyukhin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64387 Kirill Yukhin changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

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

2016-04-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70336 --- Comment #9 from Jakub Jelinek --- (In reply to Manuel López-Ibáñez from comment #7) > (In reply to Jakub Jelinek from comment #6) > > Created attachment 38173 [details] > > gcc6-pr70336.patch > > > > Patch to revert (for GENERIC only) the

  1   2   >