[Bug c++/84582] [8 Regression] Rejected valid C++ code since r257961

2018-02-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84582 Martin Liška changed: What|Removed |Added Known to work||7.3.0 Target Milestone|---

[Bug c++/84582] New: [8 Regression] Rejected valid C++ code since r257961

2018-02-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84582 Bug ID: 84582 Summary: [8 Regression] Rejected valid C++ code since r257961 Product: gcc Version: unknown Status: UNCONFIRMED Keywords: rejects-valid Severity: normal

[Bug tree-optimization/84468] [8 Regression] bogus -Wstringop-truncation despite assignment after conditional strncpy

2018-02-27 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84468 --- Comment #15 from Romain Geissler --- Hi, This latest patch seems to fix the occurences I have in my own code. Thanks ;) Cheers, Romain

[Bug tree-optimization/84562] -faggressive-loop-optimizations makes decisions based on weak data structures

2018-02-27 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84562 --- Comment #4 from rguenther at suse dot de --- On Tue, 27 Feb 2018, jnordholz at sect dot tu-berlin.de wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84562 > > Jan Nordholz changed: > >What|Removed

[Bug target/84528] [8 Regression] gcc.c-torture/execute/960419-2.c -O3 fails with -fno-omit-frame-pointer

2018-02-27 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84528 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug target/84528] [8 Regression] gcc.c-torture/execute/960419-2.c -O3 fails with -fno-omit-frame-pointer

2018-02-27 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84528 --- Comment #5 from rsandifo at gcc dot gnu.org --- Created attachment 43519 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43519=edit Alternative fix Here's an alternative fix that I'll run through multi-target testing. It's more

[Bug c++/84599] New: following code gives different output for normal compilation and -O2 compiler.

2018-02-27 Thread sushvish1 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84599 Bug ID: 84599 Summary: following code gives different output for normal compilation and -O2 compiler. Product: gcc Version: 4.8.4 Status: UNCONFIRMED Severity:

[Bug c++/84496] [6/7 Regression] Internal compiler error with lambda, static and auto since r236615

2018-02-27 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84496 --- Comment #3 from Jason Merrill --- Author: jason Date: Tue Feb 27 15:31:29 2018 New Revision: 258037 URL: https://gcc.gnu.org/viewcvs?rev=258037=gcc=rev Log: PR c++/84496 - ICE with generic lambda in lambda. * pt.c

[Bug fortran/51434] ICE with scalar init of an array parameter, used in DT default init with transfer

2018-02-27 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51434 --- Comment #19 from Steve Kargl --- On Tue, Feb 27, 2018 at 01:54:11PM +, dominiq at lps dot ens.fr wrote: > > In addition, I don't understand why > > type t > character :: z > end type t > type(t), parameter :: s(5) = t('a') >

[Bug c++/84582] [8 Regression] Rejected valid C++ code since r257961

2018-02-27 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84582 --- Comment #6 from Marek Polacek --- (In reply to Jason Merrill from comment #5) > (In reply to Jakub Jelinek from comment #2) > > Given: > > class C { > > static const long b = 0; > > static const unsigned c = (b); > > }; > > class D { > >

[Bug target/84534] [8 regression] several powerpc test cases fail starting with r257915

2018-02-27 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84534 Peter Bergner changed: What|Removed |Added CC||bergner at gcc dot gnu.org --- Comment

[Bug tree-optimization/84485] [6/7 Regression] Vectorising zero-stride rmw operation

2018-02-27 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84485 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug testsuite/84597] New: [8 regression] test case g++.dg/ext/timevar2.C fails starting with r258029

2018-02-27 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84597 Bug ID: 84597 Summary: [8 regression] test case g++.dg/ext/timevar2.C fails starting with r258029 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity:

[Bug c++/84598] New: internal compiler error: Segmentation fault (cp_default_conversion())

2018-02-27 Thread vegard.nossum at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84598 Bug ID: 84598 Summary: internal compiler error: Segmentation fault (cp_default_conversion()) Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal

[Bug c++/84599] following code gives different output for normal compilation and -O2 compiler.

2018-02-27 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84599 --- Comment #1 from Marc Glisse --- Did you try -fsanitize=undefined before reporting?

[Bug c++/84599] following code gives different output for normal compilation and -O2 compiler.

2018-02-27 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84599 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug target/52991] [6/7/8 Regression] attribute packed broken on mingw32?

2018-02-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52991 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug c++/84588] internal compiler error: Segmentation fault (contains_struct_check())

2018-02-27 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84588 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/84595] __builtin_trap() causes optimizer to remove code

2018-02-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84595 --- Comment #2 from Andrew Pinski --- https://github.com/scottt/debugbreak

[Bug c/84600] New: function inlining is confused by char * type cast

2018-02-27 Thread popinet at basilisk dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84600 Bug ID: 84600 Summary: function inlining is confused by char * type cast Product: gcc Version: 6.3.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug testsuite/83983] FAIL: g++.dg/lto/pr83121 (test for LTO warnings, pr83121_0.C line 8)

2018-02-27 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83983 Eric Botcazou changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org ---

[Bug target/52991] [6/7/8 Regression] attribute packed broken on mingw32?

2018-02-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52991 --- Comment #29 from Jakub Jelinek --- Created attachment 43522 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43522=edit gcc8-pr52991.patch Full untested patch (except for make check-gcc RUNTESTFLAGS='--target_board=unix\{-m32,-m64\}

[Bug c++/84596] New: internal compiler error: unexpected expression '(bool)c' of kind implicit_conv_expr (cxx_eval_constant_expression)

2018-02-27 Thread vegard.nossum at gmail dot com
om git fdae6180ad24fa6303fa046114f3e4b66b8db34d Version 7.3.0 don't seem to be affected AFAICS. gcc trunk on godbolt.org (8.0.1 20180227) gives: : In function 'void b(int)': :3:23: error: non-constant condition for static assertion static_assert(c); ^ :3:23: internal compiler

[Bug target/84528] [8 Regression] gcc.c-torture/execute/960419-2.c -O3 fails with -fno-omit-frame-pointer

2018-02-27 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84528 --- Comment #6 from rsandifo at gcc dot gnu.org --- (In reply to rsand...@gcc.gnu.org from comment #5) > Created attachment 43519 [details] > Alternative fix > > Here's an alternative fix that I'll run through multi-target testing. > It's more

[Bug c++/84596] [8 Regression] internal compiler error: unexpected expression '(bool)c' of kind implicit_conv_expr (cxx_eval_constant_expression)

2018-02-27 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84596 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/84595] __builtin_trap() causes optimizer to remove code

2018-02-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84595 --- Comment #4 from Andrew Pinski --- (In reply to Daniel Gutson from comment #3) > OK. That was my second suggested alternative. > BTW I didn't see __builtin_trap documented as noreturn in the documentation. Depends on the reading of

[Bug target/84534] [8 regression] several powerpc test cases fail starting with r257915

2018-02-27 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84534 --- Comment #2 from seurer at gcc dot gnu.org --- xxlor counting failures are really common for powerpc test cases. Perhaps we should look at all the ones that do that to see if those xxlor count checks are actually testing for anything useful?

[Bug c++/84489] [6/7/8 Regression] Non-type template parameter dependency

2018-02-27 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84489 --- Comment #2 from Jason Merrill --- Author: jason Date: Tue Feb 27 17:26:47 2018 New Revision: 258039 URL: https://gcc.gnu.org/viewcvs?rev=258039=gcc=rev Log: PR c++/84489 - dependent default template argument * pt.c

[Bug target/84534] [8 regression] several powerpc test cases fail starting with r257915

2018-02-27 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84534 --- Comment #3 from Vladimir Makarov --- Actually, it is not a failure. I believe it is an improvement. We have less move insns now. The easiest way to fix is to change the expected move insns to the current number. I'd prefer changing the

[Bug target/84482] 437.leslie3d regresses on Haswell and SandyBridge at -O3 and -Ofast with generic march and tuning

2018-02-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84482 --- Comment #6 from Richard Biener --- So we vectorize less. Given the caused revision I wonder if this is the same issue as in PR84512 where I just committed a fix for? So ... fixed?

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2018-02-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 84512, which changed state. Bug 84512 Summary: [8 Regression] Missed optimization: should be precalculated in compile-time https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84512 What|Removed

[Bug tree-optimization/84512] [8 Regression] Missed optimization: should be precalculated in compile-time

2018-02-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84512 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/84595] __builtin_trap() causes optimizer to remove code

2018-02-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84595 --- Comment #1 from Andrew Pinski --- What you want is __builtin_breakpoint (if that existed). Trap is considered as noreturn just like abort/exit.

[Bug c++/84588] internal compiler error: Segmentation fault (contains_struct_check())

2018-02-27 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84588 --- Comment #2 from David Malcolm --- Both testcases used to ICE with -std=c++11, but that was fixed sometime between r218865 (ICE) and r218948 (no ICE). Both testcases ICE on trunk with -std=c++14, in both cases starting with r208426.

[Bug c++/84578] [6/7/8 Regression] ICE with flexible array member and constexpr

2018-02-27 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84578 Martin Sebor changed: What|Removed |Added Keywords|ice-on-valid-code |ice-on-invalid-code --- Comment #2 from

[Bug c++/84582] [8 Regression] Rejected valid C++ code since r257961

2018-02-27 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84582 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #5

[Bug libstdc++/84601] New: std::optional<std::pair<int, int>> is not assignment copyable

2018-02-27 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84601 Bug ID: 84601 Summary: std::optional> is not assignment copyable Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal

[Bug c++/84496] [6 Regression] Internal compiler error with lambda, static and auto since r236615

2018-02-27 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84496 Jason Merrill changed: What|Removed |Added Depends on||81045 Summary|[6/7

[Bug tree-optimization/84595] __builtin_trap() causes optimizer to remove code

2018-02-27 Thread danielgutson at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84595 --- Comment #3 from Daniel Gutson --- (In reply to Andrew Pinski from comment #1) > What you want is __builtin_breakpoint (if that existed). Trap is considered > as noreturn just like abort/exit. OK. That was my second suggested alternative.

[Bug tree-optimization/84595] __builtin_trap() causes optimizer to remove code

2018-02-27 Thread danielgutson at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84595 --- Comment #5 from Daniel Gutson --- (In reply to Andrew Pinski from comment #4) > (In reply to Daniel Gutson from comment #3) > > OK. That was my second suggested alternative. > > BTW I didn't see __builtin_trap documented as noreturn in the

[Bug target/52991] [6/7/8 Regression] attribute packed broken on mingw32?

2018-02-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52991 --- Comment #28 from Jakub Jelinek --- Trying: --- gcc/stor-layout.c.jj2018-02-22 14:35:33.135216198 +0100 +++ gcc/stor-layout.c 2018-02-27 17:32:17.934820133 +0100 @@ -1038,7 +1038,7 @@ update_alignment_for_field (record_layou

[Bug tree-optimization/84512] [8 Regression] Missed optimization: should be precalculated in compile-time

2018-02-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84512 --- Comment #2 from Richard Biener --- Author: rguenth Date: Tue Feb 27 15:25:33 2018 New Revision: 258036 URL: https://gcc.gnu.org/viewcvs?rev=258036=gcc=rev Log: 2018-02-27 Richard Biener PR

[Bug tree-optimization/84595] New: __builtin_trap() causes optimizer to remove code

2018-02-27 Thread danielgutson at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84595 Bug ID: 84595 Summary: __builtin_trap() causes optimizer to remove code Product: gcc Version: 7.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/84596] [8 Regression] internal compiler error: unexpected expression '(bool)c' of kind implicit_conv_expr (cxx_eval_constant_expression)

2018-02-27 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84596 Marek Polacek changed: What|Removed |Added Keywords||ice-on-invalid-code --- Comment #2 from

[Bug tree-optimization/84470] test for address of member being null not eliminated

2018-02-27 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84470 --- Comment #4 from Martin Sebor --- When p is null p->a is not valid if it's evaluated. offsetof (along with sizeof and alignof and the like) don't evaluate their operands so they are exempt.

[Bug c/84563] GCC interpretation of C11 atomics (DR 459)

2018-02-27 Thread torvald at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84563 torvald at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/84582] [8 Regression] Rejected valid C++ code since r257961

2018-02-27 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84582 --- Comment #7 from Jason Merrill --- (In reply to Marek Polacek from comment #6) > So do you think that we don't want the patch in Comment 3? Correct, that patch is wrong.

[Bug c++/84598] internal compiler error: Segmentation fault (cp_default_conversion())

2018-02-27 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84598 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/84601] [8 Regression] std::optional<std::pair<int, int>> is not assignment copyable

2018-02-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84601 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/84426] [8 Regression] ICE with conflicting class member names

2018-02-27 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84426 --- Comment #2 from Nathan Sidwell --- Author: nathan Date: Tue Feb 27 20:52:15 2018 New Revision: 258042 URL: https://gcc.gnu.org/viewcvs?rev=258042=gcc=rev Log: [PR c++/84426] ICE after conflicting member decl

[Bug fortran/84594] Warning: Use of the NUMERIC_STORAGE_SIZE named constant from intrinsic module ISO_FORTRAN_ENV at (1) is incompatible with option -fdefault-integer-8

2018-02-27 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84594 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug fortran/51434] ICE with scalar init of an array parameter, used in DT default init with transfer

2018-02-27 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51434 --- Comment #20 from kargl at gcc dot gnu.org --- (In reply to Dominique d'Humieres from comment #18) > > After several people including have gone down rabbit > > holes trying to fix this bug, I have found a patch! > > The patch at

[Bug middle-end/84443] powerpc suboptimal code generation (shrink wrap unlikely path) for Linux spinlocks

2018-02-27 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84443 --- Comment #2 from Segher Boessenkool --- If you want some specific machine code for something complex like this, it is much easier to write the machine code than to fight the compiler. That said: 1) "flags" is stored in the same register

[Bug middle-end/84603] New: -finline-limit not accepted in attribute and #pragma optimize

2018-02-27 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84603 Bug ID: 84603 Summary: -finline-limit not accepted in attribute and #pragma optimize Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug c++/71546] lambda capture fails with "was not declared in this scope"

2018-02-27 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71546 Jason Merrill changed: What|Removed |Added Keywords||rejects-valid Status|NEW

[Bug target/84534] [8 regression] several powerpc test cases fail starting with r257915

2018-02-27 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84534 Peter Bergner changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

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

2018-02-27 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 71546, which changed state. Bug 71546 Summary: lambda capture fails with "was not declared in this scope" https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71546 What|Removed |Added

[Bug testsuite/84597] [8 regression] test case g++.dg/ext/timevar2.C fails starting with r258029

2018-02-27 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84597 --- Comment #1 from seurer at gcc dot gnu.org --- I missed that timevar1.C is also failing. > FAIL: g++.dg/ext/timevar1.C -std=gnu++11 (test for excess errors) > FAIL: g++.dg/ext/timevar1.C -std=gnu++14 (test for excess errors) > FAIL:

[Bug c++/84602] [8 Regression] internal compiler error: in search_anon_aggr, at cp/name-lookup.c:1218

2018-02-27 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84602 David Malcolm changed: What|Removed |Added Keywords||ice-on-invalid-code

[Bug c++/84602] [8 Regression] internal compiler error: in search_anon_aggr, at cp/name-lookup.c:1218

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

[Bug tree-optimization/57534] [6/7/8 Regression]: Performance regression versus 4.7.3, 4.8.1 is ~15% slower

2018-02-27 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57534 --- Comment #19 from Marc Glisse --- (In reply to Aldy Hernandez from comment #16) > It seems tree-ssa-reassoc.c avoids reassociating most non-bit expressions by > design (because of signed overflows): [...] > So instead of whacking

[Bug target/52991] [6/7/8 Regression] attribute packed broken on mingw32?

2018-02-27 Thread dev at benjarobin dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52991 --- Comment #30 from Benjamin Robin --- The test cases bf-ms-layout.c and bf-ms-layout-2.c are valid. You can test it with an online compiler, for example: http://rextester.com/l/c_online_compiler_visual

[Bug c++/71546] lambda capture fails with "was not declared in this scope"

2018-02-27 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71546 --- Comment #1 from Jason Merrill --- Author: jason Date: Tue Feb 27 20:57:35 2018 New Revision: 258043 URL: https://gcc.gnu.org/viewcvs?rev=258043=gcc=rev Log: PR c++/71546 - lambda init-capture with qualified-id. * parser.c

[Bug libstdc++/84601] [8 Regression] std::optional<std::pair<int, int>> is not assignment copyable

2018-02-27 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84601 Ville Voutilainen changed: What|Removed |Added CC||ville.voutilainen at gmail dot com

[Bug c++/84426] [8 Regression] ICE with conflicting class member names

2018-02-27 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84426 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/57534] [6/7/8 Regression]: Performance regression versus 4.7.3, 4.8.1 is ~15% slower

2018-02-27 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57534 --- Comment #17 from Jeffrey A. Law --- It could well end up being a case where we need to look to see if the expressions are likely to CSE to determine which is better. I'm not sure if reassoc has that kind of capability.

[Bug c++/39751] ICE in cp_lexer_new_from_tokens, at cp/parser.c:342

2018-02-27 Thread vegard.nossum at gmail dot com
--- Comment #10 from Vegard Nossum --- Original test case still causes a crash in trunk (8.0.1 20180227), here 8.0.1 20180204: :5:1: error: types may not be defined in template arguments :6:4: error: ISO C++ forbids declaration of 'f' with no type [-fpermissive] :6:6: error: expected '}' at end of input

[Bug c/84600] function inlining is confused by char * type cast

2018-02-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84600 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/84595] Add __builtin_break() built-in for a breakpointing mechanism

2018-02-27 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84595 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug tree-optimization/57534] [6/7/8 Regression]: Performance regression versus 4.7.3, 4.8.1 is ~15% slower

2018-02-27 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57534 Aldy Hernandez changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |aldyh at gcc dot gnu.org ---

[Bug c++/84602] New: internal compiler error: in search_anon_aggr, at cp/name-lookup.c:1218

2018-02-27 Thread vegard.nossum at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84602 Bug ID: 84602 Summary: internal compiler error: in search_anon_aggr, at cp/name-lookup.c:1218 Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/57534] [6/7/8 Regression]: Performance regression versus 4.7.3, 4.8.1 is ~15% slower

2018-02-27 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57534 --- Comment #18 from Jeffrey A. Law --- A couple more notes. It could also well be the case that reassociating in a way that encourages lea could be good for x86, but bad for other targets. I also suspect this is closely related to other BZs

[Bug preprocessor/84583] New: -fdirectives-only does not handle CRLF properly

2018-02-27 Thread boris at kolpackov dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84583 Bug ID: 84583 Summary: -fdirectives-only does not handle CRLF properly Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/84575] [8 regression] gcc.target/i386/pr84309.c fail

2018-02-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84575 --- Comment #1 from Jakub Jelinek --- Author: jakub Date: Tue Feb 27 08:44:48 2018 New Revision: 258030 URL: https://gcc.gnu.org/viewcvs?rev=258030=gcc=rev Log: PR target/84575 * gcc.target/i386/pr84309.c: Add -mno-avx2 to

[Bug gcov-profile/84548] [8 regression] gcov ICE in process_file, at gcov.c:1154

2018-02-27 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84548 --- Comment #23 from Dmitry G. Dyachenko --- (In reply to Martin Liška from comment #20) ... > Isn't that > an old data file you forgot to remove? After rebuild all and re-run myproject' tests I can confirm 1) r257859 FAIL 2) r257859 + patch

[Bug c++/84578] [6/7/8 Regression] ICE with flexible array member and constexpr

2018-02-27 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84578 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug target/84575] [8 regression] gcc.target/i386/pr84309.c fail

2018-02-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84575 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/46783] [OOP] TRANSFER with polymorphic MOLD=

2018-02-27 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46783 Dominique d'Humieres changed: What|Removed |Added Status|NEW |WAITING CC|

[Bug tree-optimization/84584] New: [8 Regression] [graphite] ICE: Segmentation fault (in dominated_by_p)

2018-02-27 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84584 Bug ID: 84584 Summary: [8 Regression] [graphite] ICE: Segmentation fault (in dominated_by_p) Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords:

[Bug rtl-optimization/82982] [8 Regression] ICE: qsort checking failed (error: qsort comparator non-negative on sorted output: 5) in ready_sort_real in haifa scheduler

2018-02-27 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82982 --- Comment #5 from Arseny Solokha --- (In reply to Will Schmidt from comment #4) > Tried to re-create locally, I've gotten two ICE's using the provided > testcode snippet, neither look quite like the originally reported issue. You are right.

[Bug libstdc++/84580] Equality and relational ops for containers behave differently in Debug Mode

2018-02-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84580 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/84582] [8 Regression] Rejected valid C++ code since r257961

2018-02-27 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84582 --- Comment #4 from Marek Polacek --- ...with that we get the original ICE in PR84325 back: internal compiler error: unexpected expression ‘(const seconds){operator""_s<'1', '0'>()}’ of kind implicit_conv_expr constexpr static inline seconds

[Bug c++/84587] [8 Regression] Local variable initializer goes out of scope since r247793

2018-02-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84587 --- Comment #1 from Martin Liška --- I forgot to mention that the revision was fix for PR70167.

[Bug c++/84582] [8 Regression] Rejected valid C++ code since r257961

2018-02-27 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84582 Marek Polacek changed: What|Removed |Added Priority|P3 |P1

[Bug gcov-profile/84548] [8 regression] gcov ICE in process_file, at gcov.c:1154

2018-02-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84548 --- Comment #24 from Martin Liška --- (In reply to Dmitry G. Dyachenko from comment #23) > (In reply to Martin Liška from comment #20) > ... > > Isn't that > > an old data file you forgot to remove? > > After rebuild all and re-run myproject'

[Bug target/84148] CET shouldn't be enabled in 32-bit run-time libraries by default

2018-02-27 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84148 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/81652] [meta-bug] -fcf-protection=full -mcet bugs

2018-02-27 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81652 Bug 81652 depends on bug 84148, which changed state. Bug 84148 Summary: CET shouldn't be enabled in 32-bit run-time libraries by default https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84148 What|Removed |Added

[Bug libfortran/84439] call to backtrace fails after about 6000 iterations (32-bit executable)

2018-02-27 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84439 Ian Lance Taylor changed: What|Removed |Added CC||ian at airs dot com --- Comment #3

[Bug c++/84586] Incorrect acess checking with inheritance

2018-02-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84586 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid

[Bug c++/84587] New: [8 Regression] Local variable initializer goes out of scope since r247793

2018-02-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84587 Bug ID: 84587 Summary: [8 Regression] Local variable initializer goes out of scope since r247793 Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug tree-optimization/84512] [8 Regression] Missed optimization: should be precalculated in compile-time

2018-02-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84512 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Version|tree-ssa

[Bug c++/84588] New: internal compiler error: Segmentation fault (contains_struct_check())

2018-02-27 Thread vegard.nossum at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84588 Bug ID: 84588 Summary: internal compiler error: Segmentation fault (contains_struct_check()) Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/84515] missed optimization: expected loop merging

2018-02-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84515 Richard Biener changed: What|Removed |Added CC||law at gcc dot gnu.org,

[Bug c++/79802] Conflicting declaration with function pointers/types

2018-02-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79802 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid

[Bug c++/84516] bitfield temporaries > 32-bits have wrong type

2018-02-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84516 Richard Biener changed: What|Removed |Added Keywords||rejects-valid, wrong-code

[Bug preprocessor/84517] [8 Regression] "string literal"__FILE__ no longer accepted

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

[Bug target/84528] [8 Regression] gcc.c-torture/execute/960419-2.c -O3 fails with -fno-omit-frame-pointer

2018-02-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84528 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug c++/84533] [7 Regression] ICE with duplicate enum value

2018-02-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84533 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Known to work|

[Bug c++/84536] [7/8 Regression] ICE with non-type template parameter

2018-02-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84536 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Target Milestone|---

[Bug target/84534] [8 regression] several powerpc test cases fail starting with r257915

2018-02-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84534 Richard Biener changed: What|Removed |Added Keywords||wrong-code Priority|P3

  1   2   3   >