[Bug lto/92972] gcc/lto-wrapper.c:443: identical branches ?

2019-12-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92972 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Wed Dec 18 11:15:43 2019 New Revision: 279520 URL: https://gcc.gnu.org/viewcvs?rev=279520=gcc=rev Log: PR lto/92972 * lto-wrapper.c (merge_and_complain): Use just

[Bug lto/92972] gcc/lto-wrapper.c:443: identical branches ?

2019-12-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92972 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libgomp/92984] [OpenACC] Semantics of 'acc_delete' etc. with size zero

2019-12-18 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92984 Thomas Schwinge changed: What|Removed |Added Summary|[OpenACC] 'exit data' with |[OpenACC] Semantics of

[Bug c++/92985] missed optimization opportunity for switch linear transformation

2019-12-18 Thread pdimov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92985 --- Comment #1 from Peter Dimov --- Reformulating the switch in terms of integral offsets struct X2 { int x, y, z; int operator[]( std::size_t i ) const noexcept { std::ptrdiff_t k0 = - std::ptrdiff_t k1 = -

[Bug tree-optimization/92980] [miss optimization]redundant load missed by fre.

2019-12-18 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92980 --- Comment #4 from Andrew Pinski --- (In reply to Hongtao.liu from comment #3) > > ptrop ---> src1 + 18446744073709551612; > intop ---> j > > It seems on purpose??? Kinda. What needs to happen is a sign extend rather than a zero extend which

[Bug debug/92983] [8/9/10 Regression] Debug info regression since PR87428 changes

2019-12-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92983 --- Comment #1 from Jakub Jelinek --- The assembler diff between r264593 and r264594, when ignoring offsets etc., is: - .uleb128 0x27 # (DIE (0x4b6) DW_TAG_lexical_block) + .uleb128 0x27 # (DIE (0x4b6) DW_TAG_inlined_subroutine)

[Bug libgomp/92984] New: [OpenACC] 'exit data' with size zero fails due to 'GOMP_MAP_ZERO_LEN_ARRAY_SECTION'

2019-12-18 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92984 Bug ID: 92984 Summary: [OpenACC] 'exit data' with size zero fails due to 'GOMP_MAP_ZERO_LEN_ARRAY_SECTION' Product: gcc Version: unknown Status: UNCONFIRMED

[Bug debug/92983] [8/9/10 Regression] Debug info regression since PR87428 changes

2019-12-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92983 --- Comment #2 from Jakub Jelinek --- To correct myself, task DW_TAG_formal_parameter in the DW_TAG_inlined_subroutine does have actually DW_AT_location, but at least in the 8.3 version starts with DW_OP_GNU_entry_value. That said, it is still

[Bug c++/12333] [DR 272] Explicit call to MyClass::~MyClass() not allowed

2019-12-18 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12333 --- Comment #19 from Jason Merrill --- Author: jason Date: Wed Dec 18 12:44:34 2019 New Revision: 279522 URL: https://gcc.gnu.org/viewcvs?rev=279522=gcc=rev Log: PR c++/12333 - X::~X() with implicit this->. this->X::~X() is handled by

[Bug c++/80635] std::optional and bogus -Wmaybe-uninitialized warning

2019-12-18 Thread palves at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635 --- Comment #36 from Pedro Alves --- (In reply to Jason Merrill from comment #33) > (In reply to Pedro Alves from comment #32) > > Usually maybe-uninit warnings point to false positives involving scalars, > > and initializing them is practically

[Bug fortran/92977] ICE in gfc_trans_omp_atomic, at fortran/trans-openmp.c:3526

2019-12-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92977 Jakub Jelinek changed: What|Removed |Added Keywords|ice-on-invalid-code |ice-on-valid-code --- Comment #2 from

[Bug middle-end/92957] gcc produces a duplicated load, clang doesn't

2019-12-18 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92957 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/92985] New: missed optimization opportunity for switch linear transformation

2019-12-18 Thread barry.revzin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92985 Bug ID: 92985 Summary: missed optimization opportunity for switch linear transformation Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/92957] gcc produces a duplicated load, clang doesn't

2019-12-18 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92957 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization --- Comment #2 from

[Bug debug/92983] New: [8/9/10 Regression] Debug info regression since PR87428 changes

2019-12-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92983 Bug ID: 92983 Summary: [8/9/10 Regression] Debug info regression since PR87428 changes Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug debug/92983] [8/9/10 Regression] Debug info regression since PR87428 changes

2019-12-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92983 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |8.4

[Bug preprocessor/92982] cpp_string_location_reader :: m_line_table seems redundant ?

2019-12-18 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92982 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug inline-asm/92597] std::fma gives nan using -march=sandybridge+ with asm volatile

2019-12-18 Thread leppkes at stce dot rwth-aachen.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92597 --- Comment #16 from Klaus Leppkes --- So after reading a bit more, from my understanding, +g should be used for all integral/floating point/vector types and +m for other (aggregate types) which cannot end up in an register. Still, it might be

[Bug c++/92986] ODR violation not detected

2019-12-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92986 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug preprocessor/92987] New: -finput-charset is only usable with encodings that are supersets of ASCII

2019-12-18 Thread lhyatt at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92987 Bug ID: 92987 Summary: -finput-charset is only usable with encodings that are supersets of ASCII Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug fortran/92990] New: INVALID code with NULLIFY – partially misleading error message "If bounds remapping is specified at (1), the pointer target shall not be NULL"

2019-12-18 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92990 Bug ID: 92990 Summary: INVALID code with NULLIFY – partially misleading error message "If bounds remapping is specified at (1), the pointer target shall not be NULL"

[Bug tree-optimization/92765] [10 Regression] Wrong code caused by folding of -Wstring-compare since r276773

2019-12-18 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92765 --- Comment #19 from Jeffrey A. Law --- Note that while the code in this BZ may or may not be valid, there is certainly code in the wild which is incorrectly compiled as a result of Qing's patch which uses TYPE_SIZE. In particular the

[Bug c++/92986] ODR violation not detected

2019-12-18 Thread geeteshmore at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92986 --- Comment #4 from Geetesh More --- I tried with -flto, but I'm not seeing any warning messages: g++ -std=c++0x -g -flto -Wodr main.cpp file2.cpp Am I missing anything here?

[Bug testsuite/92991] New: [10 regression] g++.dg/ubsan/vptr-4.C fails starting with r279473

2019-12-18 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92991 Bug ID: 92991 Summary: [10 regression] g++.dg/ubsan/vptr-4.C fails starting with r279473 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug preprocessor/92982] cpp_string_location_reader :: m_line_table seems redundant ?

2019-12-18 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92982 --- Comment #2 from David Malcolm --- Author: dmalcolm Date: Wed Dec 18 17:26:01 2019 New Revision: 279541 URL: https://gcc.gnu.org/viewcvs?rev=279541=gcc=rev Log: Drop unused member from cpp_string_location_reader (PR preprocessor/92982)

[Bug c++/92986] ODR violation not detected

2019-12-18 Thread geeteshmore at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92986 --- Comment #2 from Geetesh More --- But compiler should be throwing some message/warning about declaration of same class in multiple files. This is common scenario in cases where a class is copied in multiple files.

[Bug ipa/92971] Suspicious code in cgraph_edge_brings_all_agg_vals_for_node(), ipa-cp.c

2019-12-18 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92971 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/92986] ODR violation not detected

2019-12-18 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92986 --- Comment #6 from Andrew Pinski --- Yes, this is a vague linkage function so as jakub mentioned, comparing the ir even between optimization levels is hard. Yes we could in theory it could be done but for gcc, it would mean ripping up most of

[Bug c++/92992] New: Side-effects dropped when decltype(nullptr) typed expression is passed to ellipsis

2019-12-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92992 Bug ID: 92992 Summary: Side-effects dropped when decltype(nullptr) typed expression is passed to ellipsis Product: gcc Version: 10.0 Status: UNCONFIRMED

[Bug target/92865] [10 Regression] error: unrecognizable insn: in extract_insn, at recog.c:2294 since r279107

2019-12-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92865 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|

[Bug ipa/92971] Suspicious code in cgraph_edge_brings_all_agg_vals_for_node(), ipa-cp.c

2019-12-18 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92971 --- Comment #4 from Martin Jambor --- Author: jamborm Date: Wed Dec 18 16:08:09 2019 New Revision: 279525 URL: https://gcc.gnu.org/viewcvs?rev=279525=gcc=rev Log: IPA-CP: Remove bogus static keyword (PR 92971) 2019-12-18 Martin Jambor

[Bug fortran/70853] ICE on pointing to null, in gfc_add_block_to_block, at fortran/trans.c:1599

2019-12-18 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70853 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c++/92985] missed optimization opportunity for switch linear transformation

2019-12-18 Thread pdimov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92985 --- Comment #2 from Peter Dimov --- Two more reformulations that activate the linear transformation are: int operator[]( std::size_t i ) const noexcept { std::ptrdiff_t offset; switch( i ) { case 0:

[Bug fortran/92977] ICE in gfc_trans_omp_atomic, at fortran/trans-openmp.c:3526

2019-12-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92977 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/92986] New: ODR violation not detected

2019-12-18 Thread geeteshmore at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92986 Bug ID: 92986 Summary: ODR violation not detected Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/88848] member ambiguous in multiple inheritance lattice

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

[Bug middle-end/86416] [OpenMP] Offloading - better lto1 error message if mode not supported on offloading target

2019-12-18 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86416 Tobias Burnus changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/92568] OpenMP 5 - implicit mapping of scalar with TARGET/ALLOCATABLE/POINTER attribute: shall be 'tofrom' mapped

2019-12-18 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92568 Bug 92568 depends on bug 86416, which changed state. Bug 86416 Summary: [OpenMP] Offloading - better lto1 error message if mode not supported on offloading target https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86416 What|Removed

[Bug c++/92986] ODR violation not detected

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

[Bug c++/92986] ODR violation not detected

2019-12-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92986 --- Comment #5 from Jakub Jelinek --- Yes, you haven't read my comment which explained what -Wodr does and doesn't and why.

[Bug preprocessor/92982] cpp_string_location_reader :: m_line_table seems redundant ?

2019-12-18 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92982 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libgcc/92988] New: crtstuff.c:387:21: error: '__dso_handle' undeclared (first use in this function)

2019-12-18 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92988 Bug ID: 92988 Summary: crtstuff.c:387:21: error: '__dso_handle' undeclared (first use in this function) Product: gcc Version: 10.0 Status: UNCONFIRMED

[Bug fortran/70853] ICE on pointing to null, in gfc_add_block_to_block, at fortran/trans.c:1599

2019-12-18 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70853 --- Comment #5 from anlauf at gcc dot gnu.org --- Patch with slightly more user-friendly error message: https://gcc.gnu.org/ml/fortran/2019-12/msg00159.html

[Bug rtl-optimization/92989] New: The mips-mti-linux-gnu fails to build after r276327

2019-12-18 Thread dragan.mladjeno...@rt-rk.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92989 Bug ID: 92989 Summary: The mips-mti-linux-gnu fails to build after r276327 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: build, ice-checking Severity: normal

[Bug fortran/70853] ICE on pointing to null, in gfc_add_block_to_block, at fortran/trans.c:1599

2019-12-18 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70853 --- Comment #6 from anlauf at gcc dot gnu.org --- Author: anlauf Date: Wed Dec 18 16:34:06 2019 New Revision: 279527 URL: https://gcc.gnu.org/viewcvs?rev=279527=gcc=rev Log: 2019-12-18 Harald Anlauf PR fortran/70853 *

[Bug middle-end/86416] [OpenMP] Offloading - better lto1 error message if mode not supported on offloading target

2019-12-18 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86416 --- Comment #8 from Tobias Burnus --- Author: burnus Date: Wed Dec 18 16:51:08 2019 New Revision: 279528 URL: https://gcc.gnu.org/viewcvs?rev=279528=gcc=rev Log: PR 86416 – improve lto1 diagnostic if a mode does not exist PR

[Bug libgomp/92970] OpenACC 2.5: 'acc_delete' etc. on non-present data is a no-op

2019-12-18 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92970 --- Comment #2 from Thomas Schwinge --- Author: tschwinge Date: Wed Dec 18 17:01:11 2019 New Revision: 279532 URL: https://gcc.gnu.org/viewcvs?rev=279532=gcc=rev Log: [PR92726, PR92970, PR92984] [OpenACC] Clarify 'acc_delete' etc. for

[Bug libgomp/92984] [OpenACC] Semantics of 'acc_delete' etc. with size zero

2019-12-18 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92984 --- Comment #2 from Thomas Schwinge --- Author: tschwinge Date: Wed Dec 18 17:01:11 2019 New Revision: 279532 URL: https://gcc.gnu.org/viewcvs?rev=279532=gcc=rev Log: [PR92726, PR92970, PR92984] [OpenACC] Clarify 'acc_delete' etc. for

[Bug libgomp/92848] [OpenACC] Memory leak for simple 'acc_create', 'acc_delete' sequence

2019-12-18 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92848 --- Comment #8 from Thomas Schwinge --- Author: tschwinge Date: Wed Dec 18 17:00:39 2019 New Revision: 279530 URL: https://gcc.gnu.org/viewcvs?rev=279530=gcc=rev Log: [PR92848] [OpenACC] Use 'GOMP_MAP_VARS_ENTER_DATA' for dynamic data lifetimes

[Bug libgomp/92726] OpenACC: 'NULL'-in -> no-op, and/or 'NULL'-out

2019-12-18 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92726 --- Comment #1 from Thomas Schwinge --- Author: tschwinge Date: Wed Dec 18 17:01:11 2019 New Revision: 279532 URL: https://gcc.gnu.org/viewcvs?rev=279532=gcc=rev Log: [PR92726, PR92970, PR92984] [OpenACC] Clarify 'acc_delete' etc. for

[Bug c++/92992] Side-effects dropped when decltype(nullptr) typed expression is passed to ellipsis

2019-12-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92992 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/92765] [10 Regression] Wrong code caused by folding of -Wstring-compare since r276773

2019-12-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92765 --- Comment #18 from Jakub Jelinek --- Also, note that union doesn't have to be visible on the access path, e.g. union U { struct S { char a[2]; char b[2]; char c[2]; } s; struct T { char d[6]; } t; } u; __attribute__((noipa)) void bar (char

[Bug c/92982] New: cpp_string_location_reader :: m_line_table seems redundant ?

2019-12-18 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92982 Bug ID: 92982 Summary: cpp_string_location_reader :: m_line_table seems redundant ? Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/92765] [10 Regression] Wrong code caused by folding of -Wstring-compare since r276773

2019-12-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92765 --- Comment #17 from Jakub Jelinek --- We explicitly document supporting type punning through unions as an extension, so it is valid in C++ too. And, what union member is active at which point really doesn't matter for the testcases, e.g. in

[Bug tree-optimization/92980] [miss optimization]redundant load missed by fre.

2019-12-18 Thread crazylht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92980 --- Comment #3 from Hongtao.liu --- (In reply to Andrew Pinski from comment #2) > I think the problem is we are folding the right side of the array (with the > conversion to size_t) too early. > That is: > src1[j-1] > > Is being folded too

[Bug fortran/92994] New: [10 Regression] ICE in gfc_get_class_from_expr, at fortran/trans-expr.c:486

2019-12-18 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92994 Bug ID: 92994 Summary: [10 Regression] ICE in gfc_get_class_from_expr, at fortran/trans-expr.c:486 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity:

[Bug fortran/92994] [10 Regression] ICE in gfc_get_class_from_expr, at fortran/trans-expr.c:486

2019-12-18 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92994 G. Steinmetz changed: What|Removed |Added Keywords||ice-on-invalid-code --- Comment #1 from

[Bug other/92958] [10 regression] gfortran.dg/lto/pr87689_0.f fails starting with r279392

2019-12-18 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92958 --- Comment #3 from seurer at gcc dot gnu.org --- I don't see the failure in my most current test run

[Bug testsuite/92998] New: aarch64/sve/acle/general/dupq_1.c fails on big-endian linux

2019-12-18 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92998 Bug ID: 92998 Summary: aarch64/sve/acle/general/dupq_1.c fails on big-endian linux Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug testsuite/92998] aarch64/sve/acle/general/dupq_1.c fails on big-endian linux

2019-12-18 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92998 --- Comment #1 from Andrew Pinski --- gcc.target/aarch64/torture/simd-abi-8.c fails simular but due to arm_neon.h instead.

[Bug c++/92986] ODR violation not detected

2019-12-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92986 --- Comment #7 from Jakub Jelinek --- We could in theory save the tokens of each method and compare them, but it would be quite costly. Normally people don't cut'n'paste classes between TUs, but rather just declare them once in a header they

[Bug preprocessor/92987] -finput-charset is only usable with encodings that are supersets of ASCII

2019-12-18 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92987 --- Comment #1 from joseph at codesourcery dot com --- On Wed, 18 Dec 2019, lhyatt at gmail dot com wrote: > I was about to work on adding support for -finput-charset into diagnostics > infrastructure (it currently ignores it), however it seems

[Bug c++/92992] Side-effects dropped when decltype(nullptr) typed expression is passed to ellipsis

2019-12-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92992 --- Comment #1 from Jakub Jelinek --- Created attachment 47522 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47522=edit gcc10-pr92992.patch Untested fix.

[Bug other/92958] [10 regression] gfortran.dg/lto/pr87689_0.f fails starting with r279392

2019-12-18 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92958 --- Comment #1 from Thomas Koenig --- Also seen on x86_64-pc-linux-gnu.

[Bug other/92958] [10 regression] gfortran.dg/lto/pr87689_0.f fails starting with r279392

2019-12-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92958 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug fortran/92996] New: ICE in gfc_conv_array_constructor_expr, at fortran/trans-expr.c:7590

2019-12-18 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92996 Bug ID: 92996 Summary: ICE in gfc_conv_array_constructor_expr, at fortran/trans-expr.c:7590 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug target/92905] [10 Regression] Spills float-int union to memory

2019-12-18 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92905 --- Comment #5 from Vladimir Makarov --- (In reply to Jakub Jelinek from comment #3) > Note, it isn't about , using rm in the first alternative of the > reverted define_insn works well too, as well as swapping the alternatives > (that is in that

[Bug fortran/92996] ICE in gfc_conv_array_constructor_expr, at fortran/trans-expr.c:7590

2019-12-18 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92996 anlauf at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4

[Bug middle-end/86416] [OpenMP] Offloading - better lto1 error message if mode not supported on offloading target

2019-12-18 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86416 Thomas Schwinge changed: What|Removed |Added Status|RESOLVED|REOPENED CC|

[Bug fortran/92568] OpenMP 5 - implicit mapping of scalar with TARGET/ALLOCATABLE/POINTER attribute: shall be 'tofrom' mapped

2019-12-18 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92568 Bug 92568 depends on bug 86416, which changed state. Bug 86416 Summary: [OpenMP] Offloading - better lto1 error message if mode not supported on offloading target https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86416 What|Removed

[Bug other/92997] New: [10 regression] gcc.dg/torture/ftrapv-1.c fails starting with r279523

2019-12-18 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92997 Bug ID: 92997 Summary: [10 regression] gcc.dg/torture/ftrapv-1.c fails starting with r279523 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug preprocessor/92987] -finput-charset is only usable with encodings that are supersets of ASCII

2019-12-18 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92987 --- Comment #3 from joseph at codesourcery dot com --- On Wed, 18 Dec 2019, lhyatt at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92987 > > --- Comment #2 from Lewis Hyatt --- > (In reply to jos...@codesourcery.com

[Bug other/92958] [10 regression] gfortran.dg/lto/pr87689_0.f fails starting with r279392

2019-12-18 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92958 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org Target

[Bug fortran/92993] New: ICE in maybe_canonicalize_comparison_1, at fold-const.c:8845

2019-12-18 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92993 Bug ID: 92993 Summary: ICE in maybe_canonicalize_comparison_1, at fold-const.c:8845 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug target/92692] [9/10 Regression] Saving off the callee saved register between ldxr/stxr (caused by shrink wrapping improvements)

2019-12-18 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92692 --- Comment #8 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #7) > So, are you going to post a patch for that? I dont have time to work on it right now.

[Bug fortran/87908] [PDT] ICE in check_interface0, at fortran/interface.c:1841

2019-12-18 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87908 anlauf at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 Last

[Bug bootstrap/92661] [10 Regression] Bootstrap failure with builtin-types.def change

2019-12-18 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92661 --- Comment #14 from Peter Bergner --- Author: bergner Date: Wed Dec 18 18:46:05 2019 New Revision: 279542 URL: https://gcc.gnu.org/viewcvs?rev=279542=gcc=rev Log: Fix POWER dfp test case target tests. PR bootstrap/92661 *

[Bug preprocessor/92987] -finput-charset is only usable with encodings that are supersets of ASCII

2019-12-18 Thread lhyatt at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92987 --- Comment #2 from Lewis Hyatt --- (In reply to jos...@codesourcery.com from comment #1) > I think -finput-charset may only be usable for character sets that are > valid locale character sets (we don't implement the POSIX rule of >

[Bug fortran/92785] expressions passed as real arguments to a dummy polymorphic argument fail with indexing error

2019-12-18 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92785 anlauf at gcc dot gnu.org changed: What|Removed |Added Keywords||wrong-code

[Bug c++/92666] [10 Regression] bogus -Wunused-but-set-variable in gcov.c with -Wno-restrict

2019-12-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92666 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug c/92995] New: -Wmisleading-indentation and multiline string literals

2019-12-18 Thread palves at redhat dot com
e guarded by the ‘if’ 7 | g ("\n"); // warns | ^ $ /opt/gcc/bin/gcc --version gcc (GCC) 10.0.0 20191218 (experimental)

[Bug fortran/92996] ICE in gfc_conv_array_constructor_expr, at fortran/trans-expr.c:7590

2019-12-18 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92996 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/92996] ICE in gfc_conv_array_constructor_expr, at fortran/trans-expr.c:7590

2019-12-18 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92996 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug preprocessor/92919] invalid memory access in wide_str_to_charconst when running ucn2.C testcase (caught by hwasan)

2019-12-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92919 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/86416] [OpenMP] Offloading - better lto1 error message if mode not supported on offloading target

2019-12-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86416 --- Comment #11 from Jakub Jelinek --- Indeed, the q and L suffixes are swapped, I believe Tobias meant: --- libgomp/testsuite/libgomp.c/pr86416-1.c.jj 2019-12-18 21:25:02.856131826 +0100 +++ libgomp/testsuite/libgomp.c/pr86416-1.c

[Bug target/92692] [9/10 Regression] Saving off the callee saved register between ldxr/stxr (caused by shrink wrapping improvements)

2019-12-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92692 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #7

[Bug other/92958] [10 regression] gfortran.dg/lto/pr87689_0.f fails starting with r279392

2019-12-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92958 Martin Sebor changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug middle-end/92952] [10 regression] gfortran.dg/lto/pr87689 FAILs at -O2

2019-12-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92952 Martin Sebor changed: What|Removed |Added CC||seurer at gcc dot gnu.org --- Comment #5

[Bug c++/91165] [10 Regression] error: location references block not in block tree

2019-12-18 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91165 --- Comment #10 from Jason Merrill --- Author: jason Date: Thu Dec 19 00:10:47 2019 New Revision: 279557 URL: https://gcc.gnu.org/viewcvs?rev=279557=gcc=rev Log: PR c++/91165 follow-on tweak I talked in the PR about possibly stripping

[Bug middle-end/86416] [OpenMP] Offloading - better lto1 error message if mode not supported on offloading target

2019-12-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86416 --- Comment #13 from Jakub Jelinek --- Author: jakub Date: Wed Dec 18 23:27:28 2019 New Revision: 279552 URL: https://gcc.gnu.org/viewcvs?rev=279552=gcc=rev Log: PR middle-end/86416 * testsuite/libgomp.c/pr86416-1.c (main): Use

[Bug middle-end/86416] [OpenMP] Offloading - better lto1 error message if mode not supported on offloading target

2019-12-18 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86416 --- Comment #12 from Thomas Schwinge --- (In reply to Jakub Jelinek from comment #11) > because e.g. for x86_64-intelmicemul-linux-gnu offloading the error will not > be emitted. If nvptx or gcn offloading is configured, it will be, for hsa >

[Bug fortran/92977] ICE in gfc_trans_omp_atomic, at fortran/trans-openmp.c:3526

2019-12-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92977 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Wed Dec 18 23:33:54 2019 New Revision: 279554 URL: https://gcc.gnu.org/viewcvs?rev=279554=gcc=rev Log: PR fortran/92977 * frontend-passes.c (in_omp_atomic): New variable.

[Bug c++/93001] New: bogus is private within this context error with scoped enum

2019-12-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93001 Bug ID: 93001 Summary: bogus is private within this context error with scoped enum Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/93001] bogus is private within this context error with scoped enum

2019-12-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93001 --- Comment #1 from Marek Polacek --- I think the problem is in dfs_accessible_post: 757 tree scope = current_nonlambda_scope (); will for this line: enum class S::E : S::T { X }; give "::" so dfs_accessible_post returns NULL_TREE. But if

[Bug c/92999] New: [armhf] struct with adjacent __fp16's copies wrongly

2019-12-18 Thread jimreesma at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92999 Bug ID: 92999 Summary: [armhf] struct with adjacent __fp16's copies wrongly Product: gcc Version: 8.3.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/93002] New: while(i--) optimization

2019-12-18 Thread getchar_gnu at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93002 Bug ID: 93002 Summary: while(i--) optimization Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee:

[Bug fortran/93003] internal compiler error: Segmentation fault

2019-12-18 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93003 kargl at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug tree-optimization/92980] [miss optimization]redundant load missed by fre.

2019-12-18 Thread crazylht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92980 --- Comment #5 from Hongtao.liu --- (In reply to Andrew Pinski from comment #4) > But that is not true any more. So I think this optimization can be removed > as it is too early. Just double check the above testcase and the C++ > testcase

[Bug ipa/92794] [10 Regression] ICE in decide_about_value, at ipa-cp.c:5186

2019-12-18 Thread fxue at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92794 --- Comment #5 from fxue at gcc dot gnu.org --- Author: fxue Date: Thu Dec 19 02:54:40 2019 New Revision: 279561 URL: https://gcc.gnu.org/viewcvs?rev=279561=gcc=rev Log: Handle aggregate pass-through for self-recursive call (PR ipa/92794)

[Bug ipa/92794] [10 Regression] ICE in decide_about_value, at ipa-cp.c:5186

2019-12-18 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92794 --- Comment #6 from Arseny Solokha --- Can this PR be fixed now?

  1   2   >