[Bug c++/87016] std::optional::operator= in constexpr context

2018-08-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87016 --- Comment #8 from Jonathan Wakely --- (In reply to bobogu from comment #7) > All right, I'm sorry then... I just thought that as this is undocumented, it > could lead to producing an unportable code. It could, except that you should get the

[Bug c/87028] false positive -Wstringop-truncation strncpy with global variable source string

2018-08-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87028 Martin Sebor changed: What|Removed |Added Keywords||diagnostic CC|

[Bug target/87014] [x32] __builtin_eh_return should use 64-bit mov to set return address

2018-08-20 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87014 --- Comment #7 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Aug 20 19:14:04 2018 New Revision: 263672 URL: https://gcc.gnu.org/viewcvs?rev=263672=gcc=rev Log: x86: Always update EH return address in word_mode On x86, return address is

[Bug fortran/87019] ICE: Static member of derived type, organized in coarray accessed

2018-08-20 Thread welttensor at web dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87019 Alexander Lehmann changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/77871] [6/7/8/9 Regression] [Coarray] [OOP] ICE in gfc_get_caf_token_offset, at fortran/trans-expr.c:1981

2018-08-20 Thread welttensor at web dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77871 Alexander Lehmann changed: What|Removed |Added CC||welttensor at web dot de ---

[Bug target/86771] [9 Regression] gfortran.dg/actual_array_constructor_1.f90 fails on arm after combine 2 insns to 2 insns patch

2018-08-20 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86771 --- Comment #12 from nsz at gcc dot gnu.org --- the wrong string seems to be caused by a missing ldm good main: ... mov r4, #0 str r4, [sp, #32] mov r2, #2 str r2, [sp, #36] add

[Bug jit/87003] use nonnull attribute in libgccjit.h

2018-08-20 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87003 --- Comment #1 from David Malcolm --- It would be good to make the header file be more self-documenting. In general, every pointer argument ought to be non-NULL, but a NULL will be checked for and gracefully rejected. The exception is

[Bug bootstrap/87013] Error: junk at end of line, first unrecognized character is `i'

2018-08-20 Thread mfe at live dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87013 --- Comment #2 from martin --- Created attachment 44565 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44565=edit conftest.s Attached is the generated conftest.s file of the command > /media/gcc-8.2.0-compiled/./gcc/xgcc

[Bug target/87031] nios2 optimization for size - two cases of regression relatively to 5.3.0

2018-08-20 Thread already5chosen at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87031 --- Comment #1 from Michael_S --- Created attachment 44564 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44564=edit second case - loop unrolled

[Bug target/86771] [9 Regression] gfortran.dg/actual_array_constructor_1.f90 fails on arm after combine 2 insns to 2 insns patch

2018-08-20 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86771 Wilco changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/87031] New: nios2 optimization for size - two cases of regression relatively to 5.3.0

2018-08-20 Thread already5chosen at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87031 Bug ID: 87031 Summary: nios2 optimization for size - two cases of regression relatively to 5.3.0 Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity:

[Bug c/87028] false positive -Wstringop-truncation strncpy with global variable source string

2018-08-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87028 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/86771] [9 Regression] gfortran.dg/actual_array_constructor_1.f90 fails on arm after combine 2 insns to 2 insns patch

2018-08-20 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86771 --- Comment #14 from Wilco --- Note there is also an issue with costs, if the cost is zero then it seems to behave like infinite cost. It would be better to properly cost an instruction sequence given there is a new interface for this now. If

[Bug c++/87016] std::optional::operator= in constexpr context

2018-08-20 Thread bobogu at atlas dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87016 --- Comment #9 from bobogu at atlas dot cz --- (In reply to Jonathan Wakely from comment #8) > (In reply to bobogu from comment #7) > > All right, I'm sorry then... I just thought that as this is undocumented, it > > could lead to producing an

[Bug c++/87032] New: incorrect nested structure with union initialization

2018-08-20 Thread vadim at sukhomlinov dot co
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87032 Bug ID: 87032 Summary: incorrect nested structure with union initialization Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/78655] gcc doesn't exploit the fact that the result of pointer addition can not be nullptr

2018-08-20 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78655 --- Comment #8 from Marc Glisse --- (just to put this somewhere) We have multiple ways of doing pointer arithmetic in gcc. After the recent patch, we know that g returns nonnull, but we don't know it for f. struct A{int a,b;};

[Bug target/86771] [9 Regression] gfortran.dg/actual_array_constructor_1.f90 fails on arm after combine 2 insns to 2 insns patch

2018-08-20 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86771 --- Comment #16 from Segher Boessenkool --- (In reply to Wilco from comment #14) > Note there is also an issue with costs, if the cost is zero then it seems to > behave like infinite cost. 0 means unknown cost. Any known cost is treated as at

[Bug other/84889] Ideas on revamping how we format diagnostics

2018-08-20 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84889 --- Comment #12 from David Malcolm --- Another commit related to this: r263564 (add labeling of source ranges)

[Bug c++/45963] inconsistent and poor array initialization diagnostic

2018-08-20 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45963 Eric Gallager changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org,

[Bug tree-optimization/87034] New: [9 Regression] missing -Wformat-overflow on a sprintf %s with a wide string

2018-08-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87034 Bug ID: 87034 Summary: [9 Regression] missing -Wformat-overflow on a sprintf %s with a wide string Product: gcc Version: 9.0 Status: UNCONFIRMED Severity:

[Bug testsuite/67958] The tests changed by r223498 now FAILs on darwin

2018-08-20 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67958 --- Comment #5 from Eric Gallager --- (In reply to Dominique d'Humieres from comment #4) > > > Created attachment 39731 [details] > > > Patch fixing the failures with the patches for pr71767 > > > > please send this patch to gcc-patches for

[Bug preprocessor/60723] Line directives with incorrect system header flag

2018-08-20 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60723 --- Comment #30 from Eric Gallager --- (In reply to Steve Ellcey from comment #29) > I posted this question on g...@gcc.gnu.org and got not response so I thought > I would ask here on the bug report. > > I am trying to understand the status of

[Bug c/87023] It's always false, when c_fully_fold_internal deal with C_MAYBE_CONST_EXPR.

2018-08-20 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87023 Joseph S. Myers changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/87033] The compiler does not generate the LWAX instruction

2018-08-20 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87033 --- Comment #2 from Michael Meissner --- Author: meissner Date: Mon Aug 20 23:46:37 2018 New Revision: 263678 URL: https://gcc.gnu.org/viewcvs?rev=263678=gcc=rev Log: [gcc] 2018-08-20 Michael Meissner PR target/87033 *

[Bug c++/87029] Add -Wredundant-move warning

2018-08-20 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87029 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug target/87033] The compiler does not generate the LWAX instruction

2018-08-20 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87033 Michael Meissner changed: What|Removed |Added Target||powerpc64-linux-gnu-*,

[Bug c++/81761] assembler error on __func__ et al. on attribute target overloads

2018-08-20 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81761 Eric Gallager changed: What|Removed |Added CC||jason at redhat dot com,

[Bug tree-optimization/87034] [9 Regression] missing -Wformat-overflow on a sprintf %s with a wide string

2018-08-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87034 --- Comment #1 from Martin Sebor --- Author: msebor Date: Mon Aug 20 23:03:55 2018 New Revision: 263676 URL: https://gcc.gnu.org/viewcvs?rev=263676=gcc=rev Log: PR tree-optimization/87034 - missing -Wformat-overflow on a sprintf %s with a wide

[Bug target/86771] [9 Regression] gfortran.dg/actual_array_constructor_1.f90 fails on arm after combine 2 insns to 2 insns patch

2018-08-20 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86771 --- Comment #15 from Segher Boessenkool --- (In reply to Wilco from comment #13) > It seems the safest way > to split an instruction is to place the new instructions next to each other. combine can only place new insns at i2 and i3, in either

[Bug libstdc++/70694] 50 experimental/filesystem/* failures on x86_64-apple-darwin10

2018-08-20 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70694 Eric Gallager changed: What|Removed |Added Status|WAITING |NEW --- Comment #7 from Eric Gallager

[Bug target/54006] __atomic_always_lock_free inconsistent with __GCC_ATOMIC_INT_LOCK_FREE et al. on crisv32 and hppa

2018-08-20 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54006 Eric Gallager changed: What|Removed |Added CC||dave.anglin at bell dot net,

[Bug target/54006] __atomic_always_lock_free inconsistent with __GCC_ATOMIC_INT_LOCK_FREE et al. on crisv32 and hppa

2018-08-20 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54006 John David Anglin changed: What|Removed |Added CC||danglin at gcc dot gnu.org ---

[Bug c++/49974] missing warning for indirectly returning reference to local/temporary

2018-08-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49974 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug other/704] --help and --version

2018-08-20 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=704 Eric Gallager changed: What|Removed |Added Keywords||patch URL|

[Bug target/87033] New: The compiler does not generate the LWAX instruction

2018-08-20 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87033 Bug ID: 87033 Summary: The compiler does not generate the LWAX instruction Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug other/84889] Ideas on revamping how we format diagnostics

2018-08-20 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84889 --- Comment #11 from David Malcolm --- Author: dmalcolm Date: Mon Aug 20 21:06:46 2018 New Revision: 263675 URL: https://gcc.gnu.org/viewcvs?rev=263675=gcc=rev Log: Add support for grouping of related diagnostics (PR other/84889) We often emit

[Bug target/54006] __atomic_always_lock_free inconsistent with __GCC_ATOMIC_INT_LOCK_FREE et al. on crisv32 and hppa

2018-08-20 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54006 Eric Gallager changed: What|Removed |Added Status|WAITING |UNCONFIRMED Last

[Bug target/87031] nios2 optimization for size - two cases of regression relatively to 5.3.0

2018-08-20 Thread already5chosen at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87031 --- Comment #2 from Michael_S --- After playing with the 2nd case on godbolt I found that it's not target specific. The regression occurred at all targets between gcc6 and gcc7.

[Bug testsuite/62234] warnings/errors from LTO cannot be tested

2018-08-20 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62234 --- Comment #10 from Eric Gallager --- (In reply to Martin Sebor from comment #9) > (In reply to David Malcolm from comment #6) > > I added support for this in r256801: > > dg-lto-warning and dg-lto-message > >

[Bug c/87023] It's always false, when c_fully_fold_internal deal with C_MAYBE_CONST_EXPR.

2018-08-20 Thread He.Hongjun at zte dot com.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87023 --- Comment #2 from hhj --- (In reply to Joseph S. Myers from comment #1) > This is not a bug. The comment on c_fully_fold_internal explains its > semantics, which only ever involve clearing *MAYBE_CONST_OPERANDS and > *MAYBE_CONST_ITSELF

[Bug c++/49974] missing warning for indirectly returning reference to local/temporary

2018-08-20 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49974 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug target/86771] [9 Regression] gfortran.dg/actual_array_constructor_1.f90 fails on arm after combine 2 insns to 2 insns patch

2018-08-20 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86771 --- Comment #17 from Segher Boessenkool --- Please do the combine dumps with details enabled; these are pretty useless. (-fdump-rtl-combine-all) A C testcase would be very helpful, too (or some magic configure command to run on some cfarm

[Bug target/86832] [8/9 Regression] GCC v8.2.0 tries to use native TLS with -fstack-protector-strong on Windows (mingw-w64)

2018-08-20 Thread sw at weilnetz dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86832 Stefan Weil changed: What|Removed |Added CC||sw at weilnetz dot de --- Comment #4 from

[Bug translation/80191] diagnostic placeholder "new initializer" must be marked for translation

2018-08-20 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80191 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug target/87026] [9 Regression] ICE in extract_constrain_insn_cached, at recog.c:2218

2018-08-20 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87026 Segher Boessenkool changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/87015] [8 Regression] miscompilation of template heavy Boost Spirit code

2018-08-20 Thread daniel.f.starke at freenet dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87015 --- Comment #2 from Daniel Starke --- I am not quite sure how to do this in this case. GCC terminates without an error but the resulting application misbehaves since GCC 8.1.0. That means the assembly output is wrong. Any idea on how to make a

[Bug middle-end/84184] gcc generates wrong relocations with negative offsets in struct arrays

2018-08-20 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84184 Eric Botcazou changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/86984] invalid relocation accessing a const char arrray

2018-08-20 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86984 Eric Botcazou changed: What|Removed |Added CC||slyfox at inbox dot ru --- Comment #4

[Bug middle-end/86505] [6/7/8 Regression] __builtin_va_arg_pack_len() computes the number of arguments wrongly

2018-08-20 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86505 --- Comment #7 from Arseny Solokha --- (In reply to Richard Biener from comment #6) > I wonder if the auto-regression police can help here increasing coverage? Here you are: PR87024.

[Bug sanitizer/78651] Incorrect exception handling when catch clause uses local class and PIC and sanitizer are active

2018-08-20 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78651 --- Comment #11 from chefmax at gcc dot gnu.org --- (In reply to chefmax from comment #10) > Seems to be closed on GCC 8 and 7, OK to close? s/closed/fixed/

[Bug sanitizer/78651] Incorrect exception handling when catch clause uses local class and PIC and sanitizer are active

2018-08-20 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78651 --- Comment #10 from chefmax at gcc dot gnu.org --- Seems to be closed on GCC 8 and 7, OK to close?

[Bug tree-optimization/87025] New: [9 Regression] ICE in add_record, at optinfo-emit-json.cc:175

2018-08-20 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87025 Bug ID: 87025 Summary: [9 Regression] ICE in add_record, at optinfo-emit-json.cc:175 Product: gcc Version: unknown Status: UNCONFIRMED Keywords:

[Bug ipa/87024] New: ICE in fold_stmt_1

2018-08-20 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87024 Bug ID: 87024 Summary: ICE in fold_stmt_1 Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3

[Bug target/87014] [x32] __builtin_eh_return should use 64-bit mov to set return address

2018-08-20 Thread theonetruecamper at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87014 --- Comment #5 from camper --- test case (-O0): using ll = long long; void fillstack() { ll foo[] = { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, }; } void f(ll=-1,ll=-1,ll=-1,ll=-1,ll=-1,ll=-1,ll

[Bug c++/87017] vector must have the same value as its allocator

2018-08-20 Thread developm...@faf-ltd.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87017 Peter VARGA changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #3 from Peter VARGA

[Bug c++/87016] std::optional::operator= in constexpr context

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

[Bug c++/87017] vector must have the same value as its allocator

2018-08-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87017 Jonathan Wakely changed: What|Removed |Added Resolution|FIXED |INVALID --- Comment #4 from Jonathan

[Bug c++/87015] [8 Regression] miscompilation of template heavy Boost Spirit code

2018-08-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87015 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug libstdc++/31413] FAIL: 22_locale/time_get/get_date/wchar_t/4.cc execution test

2018-08-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31413 --- Comment #27 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #26) > Paolo, do you remember if this testcase was specifically testing the zh_TW > locale, or just sing that as an example of a locale using wide characters?

[Bug c++/87017] vector must have the same value as its allocator

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

[Bug c++/52801] improve selective typedef unwrapping

2018-08-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52801 Jonathan Wakely changed: What|Removed |Added Keywords|error-recovery | CC|redi at gcc dot

[Bug libstdc++/78448] Container max_size() functions don't consider the range of their difference_type

2018-08-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78448 Jonathan Wakely changed: What|Removed |Added CC||lists at sagnix dot eu --- Comment #1

[Bug libstdc++/87027] lower_bound returns erroneous result, 32 bit

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

[Bug c++/81830] missing Wunused-local-typedef on a typedef of an unnamed enum or struct

2018-08-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81830 --- Comment #4 from Jonathan Wakely --- For unnamed class and enumeration types the typedef is the name of the type for linkage purposes, so it can be used even if it's never referred to e.g. template void use(T) { } void g (void) { typedef

[Bug libstdc++/87020] comparison operator isn't called for stateless allocator without is_always_equal for C++11/14

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

[Bug libstdc++/78448] Container max_size() functions don't consider the range of their difference_type

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

[Bug rtl-optimization/86107] [9 Regression] ICE: in ix86_mitigate_rop, at config/i386/i386.c:42301 with -O -funroll-loops -mavx5124fmaps -mmitigate-rop --param=hot-bb-frequency-fraction=1

2018-08-20 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86107 Uroš Bizjak changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/87026] New: [9 Regression] ICE in extract_constrain_insn_cached, at recog.c:2218

2018-08-20 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87026 Bug ID: 87026 Summary: [9 Regression] ICE in extract_constrain_insn_cached, at recog.c:2218 Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords:

[Bug bootstrap/87013] Error: junk at end of line, first unrecognized character is `i'

2018-08-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87013 Jonathan Wakely changed: What|Removed |Added Target||sparc-linux

[Bug libstdc++/87027] New: lower_bound returns erroneous result, 32 bit

2018-08-20 Thread lists at sagnix dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87027 Bug ID: 87027 Summary: lower_bound returns erroneous result, 32 bit Product: gcc Version: 6.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug ipa/87024] ICE in fold_stmt_1

2018-08-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87024 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/87017] vector must have the same value as its allocator

2018-08-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87017 --- Comment #2 from Jonathan Wakely --- N.B. it only works with clang and ICC because you're using them with an older version of libstdc++, which didn't enforce this requirement. Saying "it compiles with three compilers all using the same

[Bug libstdc++/87020] comparison operator isn't called for stateless allocator without is_always_equal for C++11/14

2018-08-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87020 --- Comment #2 from Jonathan Wakely --- This property of the library is documented: https://gcc.gnu.org/onlinedocs/libstdc++/manual/bugs.html#manual.bugs.dr2108

[Bug target/87014] [x32] __builtin_eh_return should use 64-bit mov to set return address

2018-08-20 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87014 Uroš Bizjak changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #6

[Bug c/87028] New: false positive -Wstringop-truncation strncpy with global variable source string

2018-08-20 Thread anon63 at protonmail dot com
: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anon63 at protonmail dot com Target Milestone: --- Hi, Just builded latest gcc (GCC) 9.0.0 20180820 (experimental) commit 316828699 on Debian Linux 4.17.0-1-amd64 with gcc

[Bug libstdc++/78448] Container max_size() functions don't consider the range of their difference_type

2018-08-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78448 --- Comment #3 from Jonathan Wakely --- UBsan shows where the overflows happen: /home/jwakely/gcc/9/include/c++/9.0.0/bits/stl_vector.h:359:59: runtime error: pointer index expression with base 0x6760f010 overflowed to 0xf760f010

[Bug c++/87016] std::optional::operator= in constexpr context

2018-08-20 Thread bobogu at atlas dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87016 --- Comment #4 from bobogu at atlas dot cz --- (In reply to Jonathan Wakely from comment #3) > (In reply to bobogu from comment #2) > When you assign an int to optional it is equivalent to constructing a > temporary optional and then assigning

[Bug fortran/80931] ICE on move_alloc in gimplify_expr, at gimplify.c:11335

2018-08-20 Thread arjen.markus895 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80931 --- Comment #8 from Arjen Markus --- Thank you! I do appreciate such comments - apart from the fun it was to write the book and experiment with all the features of Fortran, it is great to hear that other people enjoy it too. Regards, Arjen

[Bug c++/87016] std::optional::operator= in constexpr context

2018-08-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87016 --- Comment #5 from Jonathan Wakely --- (In reply to bobogu from comment #4) > I feel stupid, but I still don't understand how that can work in a constexpr > context when the current c++17 standard doesn't specify any constexpr > assignment

[Bug target/87026] [9 Regression] ICE in extract_constrain_insn_cached, at recog.c:2218

2018-08-20 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87026 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/87016] std::optional::operator= in constexpr context

2018-08-20 Thread bobogu at atlas dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87016 --- Comment #2 from bobogu at atlas dot cz --- Do I understand it correctly that this will get optimized into one statement saying bar = std::optional(10); If so, is there something that could prevent such optimizations in order to check if

[Bug c++/87016] std::optional::operator= in constexpr context

2018-08-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87016 --- Comment #3 from Jonathan Wakely --- (In reply to bobogu from comment #2) > Do I understand it correctly that this will get optimized into one statement > saying > > bar = std::optional(10); No, it's not an optimization. When you assign

[Bug fortran/87019] ICE: Static member of derived type, organized in coarray accessed

2018-08-20 Thread welttensor at web dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87019 --- Comment #1 from Alexander Lehmann --- I found out that this bug was encounter in the following forum as well: https://github.com/szaghi/HASTY/issues/6 and then opened in this case: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78682 But

[Bug bootstrap/87018] [9 Regression] Boostrap failure on AIX

2018-08-20 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87018 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org ---

[Bug libstdc++/86963] std::tuple incorrectly assigned

2018-08-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86963 --- Comment #5 from Jonathan Wakely --- Author: redi Date: Mon Aug 20 13:53:56 2018 New Revision: 263661 URL: https://gcc.gnu.org/viewcvs?rev=263661=gcc=rev Log: PR libstdc++/86963 Remove use of __tuple_base in std::tuple The _Tuple_impl base

[Bug fortran/87019] ICE: Static member of derived type, organized in coarray accessed

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

[Bug target/86771] [9 Regression] gfortran.dg/actual_array_constructor_1.f90 fails on arm after combine 2 insns to 2 insns patch

2018-08-20 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86771 nsz at gcc dot gnu.org changed: What|Removed |Added CC||nsz at gcc dot gnu.org ---

[Bug c++/78655] gcc doesn't exploit the fact that the result of pointer addition can not be nullptr

2018-08-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78655 --- Comment #7 from Richard Biener --- Note the original testcase is already optimized with GCC 8 due to the fix for PR35878 and enabling it for all standard modes.

[Bug c++/87016] std::optional::operator= in constexpr context

2018-08-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87016 --- Comment #6 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #5) > In fact the p0602R3 proposal you linked to is relevant, because it would > *require* implementations to define the operator as defaulted (in order to > be

[Bug c++/87029] Add -Wredundant-move warning

2018-08-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87029 Marek Polacek changed: What|Removed |Added Keywords||diagnostic

[Bug target/86984] invalid relocation accessing a const char arrray

2018-08-20 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86984 --- Comment #3 from Jeffrey A. Law --- Author: law Date: Mon Aug 20 14:20:59 2018 New Revision: 263664 URL: https://gcc.gnu.org/viewcvs?rev=263664=gcc=rev Log: PR target/86984 * expr.c (expand_assignment): Assert that bitpos is

[Bug c++/87016] std::optional::operator= in constexpr context

2018-08-20 Thread bobogu at atlas dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87016 --- Comment #7 from bobogu at atlas dot cz --- (In reply to Jonathan Wakely from comment #5) > (In reply to bobogu from comment #4) > All implementations define the assignment operator as defaulted, and so the > compiler makes it constexpr. > >

[Bug c++/78655] gcc doesn't exploit the fact that the result of pointer addition can not be nullptr

2018-08-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78655 --- Comment #6 from Richard Biener --- Author: rguenth Date: Mon Aug 20 14:01:05 2018 New Revision: 263662 URL: https://gcc.gnu.org/viewcvs?rev=263662=gcc=rev Log: 2018-08-20 Richard Biener PR tree-optimization/78655 *

[Bug target/86771] [9 Regression] gfortran.dg/actual_array_constructor_1.f90 fails on arm after combine 2 insns to 2 insns patch

2018-08-20 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86771 --- Comment #11 from nsz at gcc dot gnu.org --- Created attachment 44562 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44562=edit bad rtl dump of combine pass attached good and bad dump of combine, i also tried to look at the array

[Bug c++/87029] New: Add -Wredundant-move

2018-08-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87029 Bug ID: 87029 Summary: Add -Wredundant-move Product: gcc Version: unknown Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: c++

[Bug bootstrap/87030] New: GCC fails to build with Xcode 10, attempting an impossible multilib build

2018-08-20 Thread fxcoudert at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87030 Bug ID: 87030 Summary: GCC fails to build with Xcode 10, attempting an impossible multilib build Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity:

[Bug target/87026] [9 Regression] ICE in extract_constrain_insn_cached, at recog.c:2218

2018-08-20 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87026 Segher Boessenkool changed: What|Removed |Added CC||law at gcc dot gnu.org --- Comment