[Bug c/85997] Bogus -Wvla warning from function array argument with size expression

2018-06-03 Thread kari.nurmela at iki dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85997 --- Comment #4 from Kari Nurmela --- Yeah, well, I'm not claiming that there is anything wrong with the code generation (especially argument passing) here, this is just a really minor issue about the conformance of -Wvla with its documentation, a

[Bug tree-optimization/86038] New: [9 Regression] ICE in to_reg_br_prob_base, at profile-count.h:242

2018-06-03 Thread asolokha at gmx dot com
/tmp/portage/sys-devel/gcc-9.0.0_alpha20180603/work/gcc-9-20180603/gcc/profile-count.h:242 0x6579a3 find_best_successor /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20180603/work/gcc-9-20180603/gcc/tracer.c:162 0xc9f64d find_trace /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20180603/wor

[Bug fortran/85996] [8/9 Regression] ICE: gfc_trans_select(): Bad type for case expr.

2018-06-03 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85996 kargl at gcc dot gnu.org changed: What|Removed |Added Blocks||85138 --- Comment #8 from karg

[Bug c++/85958] Make const qualifier error clear

2018-06-03 Thread webrown.cpp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85958 --- Comment #8 from W E Brown --- C++ seems very clear that the semantics of parameter passage are those of initialization. For example, according to [expr.call]/7 in N4741: "When a function is called, each parameter shall be initialized with i

[Bug c++/86037] New: __PRETTY_FUNCTION__ for constexpr lambda's is missing [with = type]

2018-06-03 Thread gcc-bugs at marehr dot dialup.fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86037 Bug ID: 86037 Summary: __PRETTY_FUNCTION__ for constexpr lambda's is missing [with = type] Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal

[Bug target/85969] avr/gen-avr-mmcu-specs.c:56: unused function ?

2018-06-03 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85969 --- Comment #2 from David Binderman --- $ cd ~/gcc/trunk/gcc/config/avr/ $ ls avr-arch.h avr.h avr.opt driver-avr.c specs.h avr.c avrlibc.h avr-passes.def elf.h stdfix.h avr-c.c

[Bug c++/85873] [8/9 regression] GCC omits array constant in .rodata causing a segmentation fault.

2018-06-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85873 --- Comment #7 from Jason Merrill --- (In reply to Kimon.Hoffmann from comment #6) > The situation as it stands is unfortunate though, since the standard does > not allow "static constexpr" variables in constexpr functions. Therefor I > don't see

[Bug c++/85761] [8/9 Regression] ICE on invalid in rtl with uncaptured constexpr

2018-06-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85761 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/85739] [8/9 Regression] internal compiler error: in finish_member_declaration, at cp/semantics.c:3057

2018-06-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85739 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/86015] Better handling of iterator distances

2018-06-03 Thread joshua.r.marshall.1991 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86015 --- Comment #6 from Josh Marshall --- There is a kind of legacy manual specification, and a reason for that was for tracking usage. What I'm working on is adapted from David Musser's 1997 code which was using proposed and developmental stdlib co

[Bug target/85969] avr/gen-avr-mmcu-specs.c:56: unused function ?

2018-06-03 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85969 Georg-Johann Lay changed: What|Removed |Added Keywords||build Status|UNCONFIRMED

[Bug c++/85739] [8/9 Regression] internal compiler error: in finish_member_declaration, at cp/semantics.c:3057

2018-06-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85739 --- Comment #6 from Jason Merrill --- Author: jason Date: Sun Jun 3 20:01:37 2018 New Revision: 261132 URL: https://gcc.gnu.org/viewcvs?rev=261132&root=gcc&view=rev Log: PR c++/85739 - ICE with pointer to member template parm.

[Bug c++/85761] [8/9 Regression] ICE on invalid in rtl with uncaptured constexpr

2018-06-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85761 --- Comment #3 from Jason Merrill --- Author: jason Date: Sun Jun 3 20:01:28 2018 New Revision: 261131 URL: https://gcc.gnu.org/viewcvs?rev=261131&root=gcc&view=rev Log: PR c++/85761 - ICE with ill-formed use of const outer variable.

[Bug libstdc++/86013] std::vector::shrink_to_fit() could sometimes use realloc()

2018-06-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86013 --- Comment #7 from Jonathan Wakely --- The standard specifically says that if reallocation occurs then iterators and points are invalidated, which is how it talks about copying to new storage. You are making up an interpretation for shrink_to_f

[Bug libstdc++/86015] Better handling of iterator distances

2018-06-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86015 --- Comment #5 from Jonathan Wakely --- Every version of the standard says the same thing under iterator requirements: "For every iterator type X for which equality is defined, there is a corresponding signed integer type called the difference t

[Bug c++/85958] Make const qualifier error clear

2018-06-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85958 --- Comment #7 from Jonathan Wakely --- (In reply to Jonny Grant from comment #5) > I personally feel "bind" is not a word any programming course teaches, we > say "passing parameters" or "passing arguments". You pass arguments, which initialize

[Bug target/86027] string literals get corrupted with -O3 and gas on solaris i386

2018-06-03 Thread subscribe at teskor dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86027 --- Comment #1 from Michael Teske --- Interestingly it works fine with gcc 8.1.0 and ../configure --prefix=/opt/gcc-8.1.0-gas --with-gnu-as --with-as=/opt/csw/bin/gas --without-gnu-ld --with-ld=/usr/ccs/bin/ld --with-gmp=/opt/csw --with-mpfr=/

[Bug target/82092] [8/9 regression] gcc fails to link genmodes on darwin (cfiStartsArray[i] != cfiStartsArray[i-1])

2018-06-03 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82092 --- Comment #13 from Eric Gallager --- (In reply to Claus-Justus Heine from comment #12) > Still no go, even with that patch: > > ./auto-host.h:2396:16: error: declaration does not declare anything > [-fpermissive] > #define rlim_t long > > An

[Bug target/86036] New: [9 Regression] wrong code with -mavx512bw

2018-06-03 Thread zsojka at seznam dot cz
yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix gcc version 9.0.0 20180603 (experimental) (GCC)

[Bug fortran/85996] [8/9 Regression] ICE: gfc_trans_select(): Bad type for case expr.

2018-06-03 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85996 --- Comment #7 from Dominique d'Humieres --- Could be related to pr85138.

[Bug fortran/85996] [8/9 Regression] ICE: gfc_trans_select(): Bad type for case expr.

2018-06-03 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85996 --- Comment #6 from Steve Kargl --- On Sun, Jun 03, 2018 at 05:05:42PM +, dominiq at lps dot ens.fr wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85996 > > --- Comment #5 from Dominique d'Humieres --- > > There are 3 commits to gcc/

[Bug fortran/64397] [OOP] Runtime segfault with parenthesis expression passed to polymorphic dummy argument

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

[Bug fortran/85996] [8/9 Regression] ICE: gfc_trans_select(): Bad type for case expr.

2018-06-03 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85996 --- Comment #5 from Dominique d'Humieres --- > There are 3 commits to gcc/fortran in that range. I > reverted what would be the obvious one that might > cause a problem and the ICE still occurs. Was it r258347? > The ICE disappears if uppercas

[Bug target/82092] [8/9 regression] gcc fails to link genmodes on darwin (cfiStartsArray[i] != cfiStartsArray[i-1])

2018-06-03 Thread hims...@claus-justus-heine.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82092 Claus-Justus Heine changed: What|Removed |Added CC||himself@claus-justus-heine.

[Bug fortran/85996] [8/9 Regression] ICE: gfc_trans_select(): Bad type for case expr.

2018-06-03 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85996 --- Comment #4 from Steve Kargl --- On Sun, Jun 03, 2018 at 10:02:35AM +, dominiq at lps dot ens.fr wrote: > > Nice reduction!-) > > The ICE appeared between revisions r258235 (2018-03-04, OK) and r258362 > (2018-03-08, ICE) and the commit h

[Bug fortran/85983] ICE in check_dtio_interface1, at fortran/interface.c:4748

2018-06-03 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85983 Jerry DeLisle changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug fortran/85983] ICE in check_dtio_interface1, at fortran/interface.c:4748

2018-06-03 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85983 --- Comment #2 from Jerry DeLisle --- Removing the assert at interface.c:4748 seems to fix this, giving the following error: z2.f03:14:16: subroutine s2 (dtv, unit) 1 Error: Too few dummy arguments in DTIO procedure ‘s2’ at

[Bug other/12411] Missed -Wsequence-point on functions (example reduced from historical GCC source)

2018-06-03 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12411 Eric Gallager changed: What|Removed |Added Summary|GCC depends on undefined|Missed -Wsequence-point on

[Bug c++/85739] [8/9 Regression] internal compiler error: in finish_member_declaration, at cp/semantics.c:3057

2018-06-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85739 --- Comment #5 from Jason Merrill --- Author: jason Date: Sun Jun 3 12:37:03 2018 New Revision: 261129 URL: https://gcc.gnu.org/viewcvs?rev=261129&root=gcc&view=rev Log: PR c++/85739 - ICE with pointer to member template parm.

[Bug fortran/86033] Automated reallocation of empty string array fails with -fcheck=all

2018-06-03 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86033 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4 Status|UNCONFIRMED

[Bug tree-optimization/86034] [9 regression] wrong code for bit-field manipulation at -Os

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

[Bug tree-optimization/86034] [9 regression] wrong code for bit-field manipulation at -Os

2018-06-03 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86034 --- Comment #4 from Eric Botcazou --- Author: ebotcazou Date: Sun Jun 3 11:51:10 2018 New Revision: 261128 URL: https://gcc.gnu.org/viewcvs?rev=261128&root=gcc&view=rev Log: PR tree-optimization/86034 * gimple-ssa-store-merging.

[Bug fortran/36497] USE association, cray pointers and error checking

2018-06-03 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36497 Paul Thomas changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/36497] USE association, cray pointers and error checking

2018-06-03 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36497 --- Comment #4 from Paul Thomas --- Author: pault Date: Sun Jun 3 11:14:51 2018 New Revision: 261127 URL: https://gcc.gnu.org/viewcvs?rev=261127&root=gcc&view=rev Log: 2018-06-03 Paul Thomas PR fortran/36497 * decl.c (variab

[Bug fortran/85996] [8/9 Regression] ICE: gfc_trans_select(): Bad type for case expr.

2018-06-03 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85996 Dominique d'Humieres changed: What|Removed |Added Keywords||ice-on-valid-code Prior

[Bug tree-optimization/86034] [9 regression] wrong code for bit-field manipulation at -Os

2018-06-03 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86034 --- Comment #3 from Eric Botcazou --- *** Bug 86035 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/86035] wrong code at -O2 and -O3 on x86_64-linux-gnu

2018-06-03 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86035 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug tree-optimization/86034] [9 regression] wrong code for bit-field manipulation at -Os

2018-06-03 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86034 Eric Botcazou changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug tree-optimization/86034] [9 regression] wrong code for bit-field manipulation at -Os

2018-06-03 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86034 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|