[Bug middle-end/90514] Issue about enum type in gcc tree

2019-05-19 Thread JunMa at linux dot alibaba.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90514 --- Comment #4 from JunMa --- (In reply to Andrew Pinski from comment #3) > (In reply to JunMa from comment #2) > > I had got confused by the comments in vrp pass. the condition > > if ((kind != ENUM1) && (kind != ENUM2)) > > is not always

[Bug fortran/90536] Use of -fno-range-check creates warnings or errors when assigning to a byte variable

2019-05-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90536 Thomas Koenig changed: What|Removed |Added Status|RESOLVED|NEW Resolution|WONTFIX

[Bug middle-end/90514] Issue about enum type in gcc tree

2019-05-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90514 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/90538] New: Redeclaration error when expanding parameter pack multiple times in a lambda

2019-05-19 Thread wtt6 at cornell dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90538 Bug ID: 90538 Summary: Redeclaration error when expanding parameter pack multiple times in a lambda Product: gcc Version: 9.1.0 Status: UNCONFIRMED Severity:

[Bug fortran/90536] Use of -fno-range-check creates warnings or errors when assigning to a byte variable

2019-05-19 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90536 kargl at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/69316] Implement CWG 393

2019-05-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69316 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/86476] Members declared later in a class appear to be unavailable

2019-05-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86476 Marek Polacek changed: What|Removed |Added Keywords||patch --- Comment #2 from Marek Polacek

[Bug c++/90537] Implement P1286R2, Contra CWG DR1778

2019-05-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90537 Marek Polacek changed: What|Removed |Added Keywords||rejects-valid

[Bug c++/90537] New: Implement P1286R2, Contra CWG DR1778

2019-05-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90537 Bug ID: 90537 Summary: Implement P1286R2, Contra CWG DR1778 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug fortran/90536] Use of -fno-range-check creates warnings or errors when assigning to a byte variable

2019-05-19 Thread j.ravens.nz at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90536 --- Comment #5 from Jonathan Ravens --- (In reply to Dominique d'Humieres from comment #3) > To make the story short: compile your code with -Wno-conversion as a work > around. > > This is needed starting with at least 4.6.0 revision r161462

[Bug fortran/90536] Use of -fno-range-check creates warnings or errors when assigning to a byte variable

2019-05-19 Thread j.ravens.nz at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90536 --- Comment #4 from Jonathan Ravens --- (In reply to Thomas Koenig from comment #2) > Hm, another question: Which gfortran version do you use? > If your version is _really_ old, it might not yet have > the -Wno-conversion flag. "gfortran -v"

[Bug c++/85679] [DR2094] __is_trivially_copyable returns false with volatile scalar type

2019-05-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85679 Marek Polacek changed: What|Removed |Added Keywords||patch --- Comment #4 from Marek Polacek

[Bug target/90522] unrecognizable insn (V8SF)

2019-05-19 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90522 --- Comment #2 from Uroš Bizjak --- The testcase compiles without problems for me with: gcc (GCC) 10.0.0 20190519 (experimental) [trunk revision 271384]

[Bug fortran/90536] Use of -fno-range-check creates warnings or errors when assigning to a byte variable

2019-05-19 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90536 --- Comment #3 from Dominique d'Humieres --- To make the story short: compile your code with -Wno-conversion as a work around. This is needed starting with at least 4.6.0 revision r161462 (2010-06-27), but not needed with 4.5.4 or earlier.

[Bug fortran/90536] Use of -fno-range-check creates warnings or errors when assigning to a byte variable

2019-05-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90536 --- Comment #2 from Thomas Koenig --- Hm, another question: Which gfortran version do you use? If your version is _really_ old, it might not yet have the -Wno-conversion flag.

[Bug target/90453] PowerPC/AltiVec VSX: Provide vec_pack/vec_unpackh/vec_unpackl for 32<->64

2019-05-19 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90453 --- Comment #7 from Segher Boessenkool --- Note that vec_pack works for unsigned as well. For vec_unpack[hl] of unsigned you can do a vec_merge[hl] instead (with the first arg a zero vector).

[Bug fortran/90536] Use of -fno-range-check creates warnings or errors when assigning to a byte variable

2019-05-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90536 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/90447] Missed opportunities to use adc (worse when -1 is involved)

2019-05-19 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90447 --- Comment #2 from Marc Glisse --- Looking at f3, in combine, for -2, we manage to match (plus:SI (plus:SI (ltu:SI (reg:CCC 17 flags) (const_int 0 [0])) (reg:SI 91)) (const_int -2 [0xfffe])))

[Bug fortran/90536] New: Use of -fno-range-check creates warnings or errors when assigning to a byte variable

2019-05-19 Thread j.ravens.nz at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90536 Bug ID: 90536 Summary: Use of -fno-range-check creates warnings or errors when assigning to a byte variable Product: gcc Version: 4.8.5 Status: UNCONFIRMED

[Bug c/90535] Wrong branch selected if (--(s.ptr))

2019-05-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90535 --- Comment #2 from Andrew Pinski --- -fno-delete-null-pointer-checks is the correct option. https://gcc.gnu.org/onlinedocs/gcc-9.1.0/gcc/Optimize-Options.html#index-fdelete-null-pointer-checks

[Bug c/90535] Wrong branch selected if (--(s.ptr))

2019-05-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90535 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/90534] ICE in consteval in GCCs 8.3, 8.2, 8.1, 7.3, 7.2 and 7.1

2019-05-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90534 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/90535] New: Wrong branch selected if (--(s.ptr))

2019-05-19 Thread vbraun.name at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90535 Bug ID: 90535 Summary: Wrong branch selected if (--(s.ptr)) Product: gcc Version: 9.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug libfortran/90038] execute_command_line should not use fork()

2019-05-19 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90038 Janne Blomqvist changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/43147] SSE shuffle merge

2019-05-19 Thread linux at carewolf dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43147 Allan Jensen changed: What|Removed |Added CC||linux at carewolf dot com --- Comment #9

[Bug c++/90534] New: ICE in consteval in GCCs 8.3, 8.2, 8.1, 7.3, 7.2 and 7.1

2019-05-19 Thread s_gccbugzilla at nedprod dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90534 Bug ID: 90534 Summary: ICE in consteval in GCCs 8.3, 8.2, 8.1, 7.3, 7.2 and 7.1 Product: gcc Version: 8.3.0 Status: UNCONFIRMED Severity: normal

[Bug libfortran/90038] execute_command_line should not use fork()

2019-05-19 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90038 --- Comment #9 from Janne Blomqvist --- Author: jb Date: Sun May 19 19:38:11 2019 New Revision: 271384 URL: https://gcc.gnu.org/viewcvs?rev=271384=gcc=rev Log: libfortran/90038 Reap dead children when wait=.false. When using posix_spawn or

[Bug middle-end/90530] [9,10 Regression] Invalid SUBREG insn generated by reload

2019-05-19 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90530 John David Anglin changed: What|Removed |Added CC||rguenth at gcc dot gnu.org

[Bug fortran/90498] [8/9/10 Regression] ICE with select type/associate and derived type argument containing class(*)

2019-05-19 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90498 --- Comment #5 from Paul Thomas --- Author: pault Date: Sun May 19 18:08:28 2019 New Revision: 271383 URL: https://gcc.gnu.org/viewcvs?rev=271383=gcc=rev Log: 2019-05-19 Paul Thomas PR fortran/90498 * trans-stmt.c

[Bug fortran/83118] [7/8/9/10 Regression] Bad intrinsic assignment of class(*) array component of derived type

2019-05-19 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83118 --- Comment #22 from paul.richard.thomas at gmail dot com --- I'll get lined up to fix this tomorrow night. Thanks for all the testing. Regards Paul On Sun, 19 May 2019 at 11:58, dominiq at lps dot ens.fr wrote: > >

[Bug c++/85679] [DR2094] __is_trivially_copyable returns false with volatile scalar type

2019-05-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85679 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug middle-end/90530] [10 Regression] Invalid SUBREG insn generated by reload

2019-05-19 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90530 --- Comment #4 from John David Anglin --- In ira pass, we had: (insn 549 539 550 4 (set (reg:DI 286) (mult:DI (zero_extend:DI (subreg:SI (reg/f:DI 522) 4)) (const_int 4294967295 [0x]))) 179 {*pa.md:5338}

[Bug middle-end/90530] [10 Regression] Invalid SUBREG insn generated by reload

2019-05-19 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90530 --- Comment #3 from John David Anglin --- (insn 538 512 539 4 (set (reg:DI 1 %r1 [282]) (plus:DI (reg:DI 27 %r27) (high:DI (symbol_ref:DI ("default_target_expmed") [flags 0x202] 90 {*pa.md:2634} (nil)) (note 539

[Bug target/80556] [8 Regression] bootstrap failure for Ada compiler

2019-05-19 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80556 Iain Sandoe changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug target/86215] Exceptions are broken on OSX when linking with -static-libgcc

2019-05-19 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86215 Iain Sandoe changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/80556] [8 Regression] bootstrap failure for Ada compiler

2019-05-19 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80556 --- Comment #62 from Iain Sandoe --- Author: iains Date: Sun May 19 16:03:17 2019 New Revision: 271381 URL: https://gcc.gnu.org/viewcvs?rev=271381=gcc=rev Log: darwin - fix PR86215 by backporting 80556. The backport had been missed.

[Bug target/86215] Exceptions are broken on OSX when linking with -static-libgcc

2019-05-19 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86215 --- Comment #7 from Iain Sandoe --- Author: iains Date: Sun May 19 16:03:17 2019 New Revision: 271381 URL: https://gcc.gnu.org/viewcvs?rev=271381=gcc=rev Log: darwin - fix PR86215 by backporting 80556. The backport had been missed. 2019-01-03

[Bug fortran/54262] LOC shouldn't use copy-in/copy-out

2019-05-19 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54262 Dominique d'Humieres changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/90533] New: [C++20] cannot redeclare telmplate function if it contains lambda expression in its declaration

2019-05-19 Thread kariya_mitsuru at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90533 Bug ID: 90533 Summary: [C++20] cannot redeclare telmplate function if it contains lambda expression in its declaration Product: gcc Version: 9.1.0 Status: UNCONFIRMED

[Bug fortran/90519] ICE (segfault) on derived type which has a recursive allocatable component of the same type, and a static component of another type which has a "final" attribute

2019-05-19 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90519 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4

[Bug fortran/90421] Invalid memory write in allocate on assignment to a class(*) variable

2019-05-19 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90421 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4

[Bug fortran/90499] ICE during polymorphic assignment

2019-05-19 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90499 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4

[Bug fortran/90504] Improved NORM2 algorithm

2019-05-19 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90504 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4

[Bug middle-end/90530] [10 Regression] Invalid SUBREG insn generated by reload

2019-05-19 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90530 --- Comment #2 from John David Anglin --- Breakpoint 1, emit_insn (x=0x83fffd0474c0) at ../../gcc/gcc/emit-rtl.c:5074 5074 rtx_insn *last = get_last_insn (); (gdb) p debug_rtx(x) (insn 3285 0 0 (set (reg:SI 52 %fr24) (subreg:SI

[Bug target/86215] Exceptions are broken on OSX when linking with -static-libgcc

2019-05-19 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86215 Iain Sandoe changed: What|Removed |Added Component|libgcc |target --- Comment #6 from Iain Sandoe

[Bug fortran/90498] [8/9/10 Regression] ICE with select type/associate and derived type argument containing class(*)

2019-05-19 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90498 --- Comment #4 from Paul Thomas --- Author: pault Date: Sun May 19 12:32:55 2019 New Revision: 271380 URL: https://gcc.gnu.org/viewcvs?rev=271380=gcc=rev Log: 2019-05-19 Paul Thomas PR fortran/90498 * trans-stmt.c

[Bug fortran/78290] Gfortran incorrectly creates a copy of an array passed to an array pointer dummy argument

2019-05-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78290 Thomas Koenig changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug fortran/78290] Gfortran incorrectly creates a copy of an array passed to an array pointer dummy argument

2019-05-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78290 --- Comment #6 from Thomas Koenig --- Author: tkoenig Date: Sun May 19 11:26:20 2019 New Revision: 271379 URL: https://gcc.gnu.org/viewcvs?rev=271379=gcc=rev Log: 2019-05-19 Thomas Koenig PR fortran/78290 *

[Bug fortran/88821] Inline packing of non-contiguous arguments

2019-05-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88821 --- Comment #8 from Thomas Koenig --- Author: tkoenig Date: Sun May 19 11:24:17 2019 New Revision: 271378 URL: https://gcc.gnu.org/viewcvs?rev=271378=gcc=rev Log: 2019-05-19 Thomas Koenig PR fortran/88821 * ChangeLog: Add forgotten

[Bug fortran/83118] [7/8/9/10 Regression] Bad intrinsic assignment of class(*) array component of derived type

2019-05-19 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83118 --- Comment #21 from Dominique d'Humieres --- > Created attachment 46216 [details] > Patch for the remaining problems. I have the patch in my working tree without any problem.

[Bug c++/85679] [DR2094] __is_trivially_copyable returns false with volatile scalar type

2019-05-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85679 Jonathan Wakely changed: What|Removed |Added CC||alisdairm at me dot com --- Comment

[Bug c++/90531] is_trivailly_copyable_v should be 'true'

2019-05-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90531 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/90294] Compare with NaN failing

2019-05-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90294 Thomas Koenig changed: What|Removed |Added Resolution|FIXED |INVALID

[Bug fortran/90294] Compare with NaN failing

2019-05-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90294 Thomas Koenig changed: What|Removed |Added Status|WAITING |RESOLVED CC|

[Bug fortran/88821] Inline packing of non-contiguous arguments

2019-05-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88821 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/88821] Inline packing of non-contiguous arguments

2019-05-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88821 --- Comment #6 from Thomas Koenig --- Author: tkoenig Date: Sun May 19 10:21:06 2019 New Revision: 271377 URL: https://gcc.gnu.org/viewcvs?rev=271377=gcc=rev Log: 2019-05-19 Thomas Koenig PR fortran/88821 * expr.c

[Bug fortran/90329] Incompatibility between gfortran and C lapack calls

2019-05-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90329 --- Comment #36 from Thomas Koenig --- Author: tkoenig Date: Sun May 19 08:22:41 2019 New Revision: 271376 URL: https://gcc.gnu.org/viewcvs?rev=271376=gcc=rev Log: 2019-05-19 Thomas Koenig PR fortran/90329 * invoke.texi:

[Bug c++/90531] is_trivailly_copyable_v should be 'true'

2019-05-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90531 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|