[Bug c++/79380] New: ICE on C++11 code with illegal alignas specifier on x86_64-linux-gnu: unexpected expression ‘f’ of kind overload

2017-02-04 Thread su at cs dot ucdavis.edu
: posix gcc version 7.0.1 20170204 (experimental) [trunk revision 245182] (GCC) $ $ g++-trunk -std=c++11 -c small.cpp small.cpp:4:17: internal compiler error: unexpected expression ‘f’ of kind overload struct alignas (f) S {}; ^ 0x8d4f9e cxx_eval_constant_expression ../../gcc

[Bug c++/79379] New: [7 Regression] ICE with #pragma GCC ivdep

2017-02-04 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79379 Bug ID: 79379 Summary: [7 Regression] ICE with #pragma GCC ivdep Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug ipa/79375] gcc/ipa-prop.c:203:32: runtime error: reference binding to null pointer of type 'struct vec' after revision r244802

2017-02-04 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79375 --- Comment #3 from Martin Jambor --- Created attachment 40669 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40669=edit Fix I will properly test and then propose this patch to address this bug on Monday.

[Bug c++/78345] [5/6/7 Regression] ICE on invalid c++ code on x86_64-linux-gnu (internal compiler error: in cxx_eval_outermost_constant_expr, at cp/constexpr.c:4464)

2017-02-04 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78345 Volker Reichelt changed: What|Removed |Added Keywords|error-recovery | Priority|P4

[Bug ipa/79375] gcc/ipa-prop.c:203:32: runtime error: reference binding to null pointer of type 'struct vec' after revision r244802

2017-02-04 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79375 Martin Jambor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/79378] New: lambda init-capture adds const

2017-02-04 Thread barry.revzin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79378 Bug ID: 79378 Summary: lambda init-capture adds const Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/79377] New: [6/7 Regression] ICE with increment operator in -fpermissive mode

2017-02-04 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79377 Bug ID: 79377 Summary: [6/7 Regression] ICE with increment operator in -fpermissive mode Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords:

[Bug c/79358] gcc.dg/c99-stdint-1.c fails with excess error

2017-02-04 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79358 --- Comment #12 from Andreas Krebbel --- (In reply to Dominik Vogt from comment #4) > I.e. this is a Glibc related problem? The test machine has Glibc-2.18. Yes. The system you are using needs a Glibc upgrade. The patch mentioned in comment 2

[Bug ipa/79375] gcc/ipa-prop.c:203:32: runtime error: reference binding to null pointer of type 'struct vec' after revision r244802

2017-02-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79375 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/79376] [7 Regression] wrong lower bound with %s and non-constant strings in -Wformat-overflow

2017-02-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79376 Martin Sebor changed: What|Removed |Added Priority|P3 |P1 Target Milestone|---

[Bug tree-optimization/79376] wrong lower bound with %s and non-constant strings in -Wformat-overflow

2017-02-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79376 --- Comment #2 from Martin Sebor --- Patch submitted for review: https://gcc.gnu.org/ml/gcc-patches/2017-02/msg00348.html

[Bug tree-optimization/79376] wrong lower bound with %s and non-constant strings in -Wformat-overflow

2017-02-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79376 Martin Sebor changed: What|Removed |Added Keywords||diagnostic, wrong-code

[Bug tree-optimization/79376] New: wrong lower bound with %s and non-constant strings in -Wformat-overflow

2017-02-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79376 Bug ID: 79376 Summary: wrong lower bound with %s and non-constant strings in -Wformat-overflow Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/79344] [7 Regression] segmentation faults and run-time errors

2017-02-04 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79344 vehre at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug fortran/79335] [7 Regression] Conditional jump or move depends on uninitialised in value get_scalar_to_descriptor_type(tree_node*, symbol_attribute) (trans-expr.c:53)

2017-02-04 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79335 vehre at gcc dot gnu.org changed: What|Removed |Added Status|NEW |WAITING

[Bug ipa/79375] New: gcc/ipa-prop.c:203:32: runtime error: reference binding to null pointer of type 'struct vec' after revision r244802

2017-02-04 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79375 Bug ID: 79375 Summary: gcc/ipa-prop.c:203:32: runtime error: reference binding to null pointer of type 'struct vec' after revision r244802 Product: gcc Version:

[Bug c++/79373] For loop optimization bug: condition ignored

2017-02-04 Thread steven.p.pigeon at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79373 --- Comment #7 from Steven Pigeon --- (In reply to Andrew Pinski from comment #6) > Once undefined behavior happens all bets are off of any behavior of the > program. > > In this case the function is in lined and the optimizers see i cannot >

[Bug c++/79373] For loop optimization bug: condition ignored

2017-02-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79373 --- Comment #6 from Andrew Pinski --- Once undefined behavior happens all bets are off of any behavior of the program. In this case the function is in lined and the optimizers see i cannot overflow the multiply so it removes the loop check.

[Bug c++/79373] For loop optimization bug: condition ignored

2017-02-04 Thread steven.p.pigeon at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79373 --- Comment #5 from Steven Pigeon --- The problem is not the function that overflows. It's the loop that calls them that never stops. I don't see how that's "resolved": the overflow in the function should not affect the loop that calls it.

[Bug libstdc++/78346] [5/6/7 Regression] std::search with binary comparison predicate uses invalid reference

2017-02-04 Thread reagentoo at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78346 --- Comment #8 from reagentoo at gmail dot com --- Thank you very much! Good work!

[Bug middle-end/72864] gcc.c-torture/compile/pr72802.c fails on x86_64-apple-darwin15 with -m32

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

[Bug sanitizer/78663] [7 Regression] Hundreds of asan failures on x86_64-apple-darwin10 at r243019

2017-02-04 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78663 Dominique d'Humieres changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/44042] [4.1/4.2/4.4/4.5/4.6 Regression] Missing warning for unitialized varaible in switch statement

2017-02-04 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44042 Jeffrey A. Law changed: What|Removed |Added CC||hermantenbrugge at home dot nl ---

[Bug middle-end/79374] missing sometimes-uninitialized warning in switch statement

2017-02-04 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79374 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug fortran/78958] Unallocated memory access after SOURCE-ALLOCATEing unlimited polymorphic object

2017-02-04 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78958 vehre at gcc dot gnu.org changed: What|Removed |Added Status|NEW |WAITING --- Comment #6 from

[Bug fortran/79230] [7 Regression] [OOP] Run time error: double free or corruption

2017-02-04 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79230 vehre at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #25 from

[Bug fortran/78672] Gfortran test suite failures with a sanitized compiler

2017-02-04 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78672 Bug 78672 depends on bug 68887, which changed state. Bug 68887 Summary: [6 regression] gfortran.dg/coarray/event_[12].f90 -fcoarray=lib -O2 -lcaf_single -latomic fails https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68887 What

[Bug fortran/68887] [6 regression] gfortran.dg/coarray/event_[12].f90 -fcoarray=lib -O2 -lcaf_single -latomic fails

2017-02-04 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68887 vehre at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |RESOLVED

[Bug fortran/70697] [Coarray] ICE on EVENT WAIT with array element UNTIL_COUNT argument

2017-02-04 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70697 vehre at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |RESOLVED

[Bug fortran/68887] [6 regression] gfortran.dg/coarray/event_[12].f90 -fcoarray=lib -O2 -lcaf_single -latomic fails

2017-02-04 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68887 Bug 68887 depends on bug 70696, which changed state. Bug 70696 Summary: [Coarray] ICE on EVENT POST of host-associated EVENT_TYPE coarray https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70696 What|Removed |Added

[Bug fortran/70696] [Coarray] ICE on EVENT POST of host-associated EVENT_TYPE coarray

2017-02-04 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70696 vehre at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |RESOLVED

[Bug c++/79373] For loop optimization bug: condition ignored

2017-02-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79373 --- Comment #4 from Jonathan Wakely --- Use -fwrapv if you want predictable behaviour from integer overflow (both that and -fsanitize=undefined are mentioned at https://gcc.gnu.org/bugs)

[Bug c++/79373] For loop optimization bug: condition ignored

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

[Bug tree-optimization/19794] [meta-bug] Jump threading related bugs

2017-02-04 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19794 Bug 19794 depends on bug 77445, which changed state. Bug 77445 Summary: [7 Regression] Performance drop after r239219 on coremark test https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77445 What|Removed |Added

[Bug tree-optimization/77445] [7 Regression] Performance drop after r239219 on coremark test

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

[Bug c++/79368] [7 Regression] ICE with pointer to unnamed struct

2017-02-04 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79368 Volker Reichelt changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/79091] [7 regression] ICE in write_unnamed_type

2017-02-04 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79091 Volker Reichelt changed: What|Removed |Added CC||reichelt at gcc dot gnu.org ---

[Bug c++/79368] [7 Regression] ICE with pointer to unnamed struct

2017-02-04 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79368 --- Comment #2 from Volker Reichelt --- I was using r244478 from 2017-01-15. I'll retry with today's version. The command line was just plain "g++ -c".

[Bug testsuite/79356] XPASS in attr-alloc_size-11.c

2017-02-04 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79356 Andreas Schwab changed: What|Removed |Added Target|s390x, powepc64le-linux |s390x-*-*,

[Bug middle-end/78468] [7 regression] libgomp.c/reduction-10.c and many more FAIL

2017-02-04 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78468 --- Comment #36 from Eric Botcazou --- > Don't be silly. I've fixed all regresseions that have shown up, except the > one on Sparc because you refused to accept changes to the Sparc backend. Well, this is somewhat contradictory with your