[Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component

2020-04-19 Thread mscfd at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93956 --- Comment #3 from martin --- Sorry, indeed the line 'n=1' is missing. Not sure how that single line got lost. There are a few possibilities as a work around for this simple case, but the context where I came upon this bug is (as often)

[PATCH] libstdc++: don't use #include_next in c_global headers

2020-04-19 Thread Helmut Grohne
The and headers need their counter parts and from the libc respectively, but libstdc++ wraps these headers. Now and include these headers using $ echo '#include ' | g++ -x c++ -E - -isystem /usr/include >/dev/null In file included from :1: /usr/include/c++/9/cstdlib:75:15: fatal error:

[Bug c++/94628] [8/9/10 Regression] ICE in invalid_nonstatic_memfn_p at cp/typeck.c:1979 since r9-640-g1268ecc26fc1289b

2020-04-19 Thread xerofoify at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94628 --- Comment #7 from Nicholas Krause --- After adding this it seems to work for me, Patrick: case TYPE_ARGUMENT_PACK: if (value_dependent_expression_p(TREE_TYPE(*tp))) return *tp; if (TEMPLATE_TYPE_PARAMETER_PACK(*tp))

[Bug rtl-optimization/94665] New: missed minmax optimization opportunity for if/else structure.

2020-04-19 Thread z.zhanghaijian at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94665 Bug ID: 94665 Summary: missed minmax optimization opportunity for if/else structure. Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug c++/33799] Return value's destructor not executed when a local variable's destructor throws

2020-04-19 Thread mm-nospam at outlook dot co.nz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 mm-nospam at outlook dot co.nz changed: What|Removed |Added CC||mm-nospam at outlook dot

[Bug c/94196] Multiple issues with attributes

2020-04-19 Thread nate at thatsmathematics dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94196 Nate Eldredge changed: What|Removed |Added CC||nate at thatsmathematics dot com ---

[Bug plugins/94664] build_function_call() on functions with __attribute__((format (printf, ...))) may lead to ICE: SIGSEGV

2020-04-19 Thread yon.goldschmidt at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94664 --- Comment #4 from Yonatan --- > So GCC plugin API is just internal APIs which means there is no plugin > specific API. Yes, that I understood haha, that's why I used build_function_call() in the first place. I saw it in c-common.h so it made

[Bug plugins/94664] build_function_call() on functions with __attribute__((format (printf, ...))) may lead to ICE: SIGSEGV

2020-04-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94664 --- Comment #3 from Andrew Pinski --- (In reply to Yonatan from comment #2) > Thanks for the reply. > > > NO, the main API was only for Objective-C/c++ code. THIS function is much > > older than the plugin support. > > Shouldn't it be marked

[Bug plugins/94664] build_function_call() on functions with __attribute__((format (printf, ...))) may lead to ICE: SIGSEGV

2020-04-19 Thread yon.goldschmidt at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94664 --- Comment #2 from Yonatan --- Thanks for the reply. > NO, the main API was only for Objective-C/c++ code. THIS function is much > older than the plugin support. Shouldn't it be marked somehow? By comments, or by removal from public

[Bug plugins/94664] build_function_call() on functions with __attribute__((format (printf, ...))) may lead to ICE: SIGSEGV

2020-04-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94664 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

gcc-10-20200419 is now available

2020-04-19 Thread GCC Administrator via Gcc
Snapshot gcc-10-20200419 is now available on https://gcc.gnu.org/pub/gcc/snapshots/10-20200419/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 10 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

[Bug c++/94645] incorrect concept evaluation with decltype, plus internal erropr

2020-04-19 Thread rafael at espindo dot la
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94645 --- Comment #2 from Rafael Avila de Espindola --- This reduces to just template concept HasMapInterface = requires(a t) { t.cend; }; template requires HasMapInterface struct l {}; struct mymap { int cend(); }; struct p { static mymap

[Bug objc/94637] [10 Regression] @selector() broken for selectors containing repeated colons

2020-04-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94637 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[committed] libstdc++: Define operator<=> for std::stack and std::queue

2020-04-19 Thread Jonathan Wakely via Gcc-patches
Some more C++20 changes from P1614R2, "The Mothership has Landed". * include/bits/stl_queue.h (queue): Define operator<=> for C++20. * include/bits/stl_stack.h (stack): Likewise. * testsuite/23_containers/queue/cmp_c++20.cc: New test. *

[Bug plugins/94664] New: build_function_call() on functions with __attribute__((format (printf, ...))) may lead to ICE: SIGSEGV

2020-04-19 Thread yon.goldschmidt at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94664 Bug ID: 94664 Summary: build_function_call() on functions with __attribute__((format (printf, ...))) may lead to ICE: SIGSEGV Product: gcc Version: 9.2.0

Aw: [Patch fortran/93364] [9/10 Regression] ICE in gfc_set_array_spec, at fortran/array.c:879

2020-04-19 Thread Harald Anlauf
Hi again, I was so focussed on whether I got this correct for the gcc git repository that I forgot to mention that this has been cleanly regtested on x86_64-pc-linux-gnu. Sorry for the added noise. Harald > Gesendet: Sonntag, 19. April 2020 um 22:49 Uhr > Von: "Harald Anlauf" > An: "fortran"

[Patch fortran/93364] [9/10 Regression] ICE in gfc_set_array_spec, at fortran/array.c:879

2020-04-19 Thread Harald Anlauf
Hi, a missing check in gfc_set_array_spec for for sum of rank and corank not exceeding GFC_MAX_DIMENSIONS could trigger an assert on invalid code. The attached patch fixes that. OK for mainline / backport to 9-branch? Harald 2020-04-19 Harald Anlauf PR fortran/93364 *

[committed] libstdc++: Remove operator!= overloads for unordered containers

2020-04-19 Thread Jonathan Wakely via Gcc-patches
Some more C++20 changes from P1614R2, "The Mothership has Landed". * include/bits/unordered_map.h (unordered_map, unordered_multimap): Remove redundant operator!= for C++20. * include/bits/unordered_set.h (unordered_set, unordered_multiset): Likewise. *

[Bug middle-end/94387] Excess read instructions are generated in case of writing to fields of volatile + packed type (structure)

2020-04-19 Thread petro.karashchenko at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94387 --- Comment #7 from Petro Karashchenko --- Is it still 'UNCONFIRMED'? Or it can be moved to 'CONFIRMED' or 'ASSIGNED' state?

[committed] libstdc++: Fix redundant assignment (PR 94629)

2020-04-19 Thread Jonathan Wakely via Gcc-patches
This appears to be a copy error, which cppcheck diagnoses. PR other/94629 * include/debug/formatter.h (_Error_formatter::_Parameter): Fix redundant assignment in constructor. Tested powerpc64le-linux, committed to master. commit a2c0fa35d0dc8912b0c1a658234221de61e60840

[Bug other/94629] 10 issues located by the PVS-studio static analyzer

2020-04-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94629 --- Comment #17 from Jonathan Wakely --- (In reply to David Binderman from comment #14) > There is also this one from cppcheck: > > trunk.git/libstdc++-v3/include/debug/formatter.h:302:40: warning: Redundant > assignment of

[Bug other/94629] 10 issues located by the PVS-studio static analyzer

2020-04-19 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94629 --- Comment #16 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:a2c0fa35d0dc8912b0c1a658234221de61e60840 commit r10-7806-ga2c0fa35d0dc8912b0c1a658234221de61e60840 Author: Jonathan Wakely

[Bug target/94663] New: [missed optimization] _mm512_dpbusds_epi32 generates excess vmovdqa64

2020-04-19 Thread gcc at kheafield dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94663 Bug ID: 94663 Summary: [missed optimization] _mm512_dpbusds_epi32 generates excess vmovdqa64 Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal

[Bug c++/94644] Wrong is_nothrow_move_constructible result if used in a template first

2020-04-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94644 Jonathan Wakely changed: What|Removed |Added Depends on||41437 Status|UNCONFIRMED

[Bug middle-end/94662] New: __attribute__ aligned is ignored

2020-04-19 Thread petro.karashchenko at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94662 Bug ID: 94662 Summary: __attribute__ aligned is ignored Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end

[PATCH] coroutines: Fix handling of ramp return value [PR94661]

2020-04-19 Thread Iain Sandoe
Hi, Coroutine ramp functions have synthesised return values (the user-authored function body cannot have an explicit 'return'). The current implementation attempts to optimise by building the return in-place, in the manner of C++17 code. Clearly, that was too ambitious and the fix builds a

[Bug fortran/93364] [9/10 Regression] ICE in gfc_set_array_spec, at fortran/array.c:879

2020-04-19 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93364 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug c++/94661] coroutine ramp function return value ICE for default copy CTOR.

2020-04-19 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94661 Iain Sandoe changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug c++/94661] New: coroutine ramp function return value ICE for default copy CTOR.

2020-04-19 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94661 Bug ID: 94661 Summary: coroutine ramp function return value ICE for default copy CTOR. Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

New Swedish PO file for 'gcc' (version 10.1-b20200322)

2020-04-19 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. A revised PO file for textual domain 'gcc' has been submitted by the Swedish team of translators. The file is available at: https://translationproject.org/latest/gcc/sv.po (This file,

[RFA PATCH]: i386: Use generic division to generate INVALID and DIVZERO exceptions

2020-04-19 Thread Uros Bizjak via Gcc-patches
This patch implements the idea from glibc, where generic division operations instead of assembly are used where appropriate. --commit-- i386: Use generic division to generate INVALID and DIVZERO exceptions Introduce math_force_eval to evaluate generic division to generate INVALID and DIVZERO

[Bug fortran/94660] Wrong subroutine called at runtime than the one called in the source code with deferred subroutines

2020-04-19 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94660 kargl at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2020-04-19

[Bug middle-end/19466] [meta-bug] bit-fields are non optimal

2020-04-19 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19466 Bug 19466 depends on bug 15826, which changed state. Bug 15826 Summary: don't use "if" to extract a single bit bit-field. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15826 What|Removed |Added

[Bug tree-optimization/15826] don't use "if" to extract a single bit bit-field.

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

[Bug middle-end/19987] [meta-bug] fold missing optimizations in general

2020-04-19 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19987 Bug 19987 depends on bug 15826, which changed state. Bug 15826 Summary: don't use "if" to extract a single bit bit-field. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15826 What|Removed |Added

[Bug middle-end/19987] [meta-bug] fold missing optimizations in general

2020-04-19 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19987 Bug 19987 depends on bug 15348, which changed state. Bug 15348 Summary: [tree-ssa] Convert (x < 0) || (y < 0) into (x | y) < 0. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15348 What|Removed |Added

[Bug tree-optimization/15348] [tree-ssa] Convert (x < 0) || (y < 0) into (x | y) < 0.

2020-04-19 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15348 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com

[Bug d/94455] no [] operator overload for type

2020-04-19 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94455 Iain Buclaw changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[committed] libphobos: Merge upstream phobos bf0d0a37c (PR94455)

2020-04-19 Thread Iain Buclaw via Gcc-patches
Hi, This patch merges libphobos with upstream phobos bf0d0a37c. Fixes std.array.Appender and RefAppender to use .opSlice() instead of data() Previously, Appender.data() was used to extract a slice of the Appender's array. Now use the [] slice operator instead. The same goes for RefAppender.

[Bug d/94455] no [] operator overload for type

2020-04-19 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94455 --- Comment #2 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:3f81d84c9ff84f057628de58ebd009112f9d46f9 commit r10-7804-g3f81d84c9ff84f057628de58ebd009112f9d46f9 Author: Iain Buclaw Date: Sun

Re: [Patch, fortran] PR fortran/90350 - ubound ICE on assumed size array even though explicit bound is specified

2020-04-19 Thread José Rui Faustino de Sousa via Gcc-patches
Hi Thomas! > ? In other words, maybe a check on the upper bound > of the last dimension would be better? > You mean enforcing: C928 (R921) The second subscript shall not be omitted from a subscript-triplet in the last dimension of an assumed-size array. right? If I have correctly

[Bug middle-end/94658] Incorrect transformation with -fstrict-aliasing

2020-04-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94658 --- Comment #2 from Andrew Pinski --- I think this is a dup of bug 57359.

[Bug c++/94590] Incorrectly accepts invalid C++11 braced initialisation of double from long double if sizeof(long double)==sizeof(double)

2020-04-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94590 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug d/94623] ice for ./gdc.test/compilable/interpret3.d

2020-04-19 Thread ibuclaw at gdcproject dot org
.30 on fedora x86_64. > > The line that ices is the following: > > assert((*collateral->value->elements)[5]->type->ty == Tclass); > > Hopefully that is enough information to be able to attempt to reproduce > the problem. g++ host: gcc version 9.3.1 20200419 (GCC)

[Bug c++/94590] Incorrectly accepts invalid C++11 braced initialisation of double from long double if sizeof(long double)==sizeof(double)

2020-04-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94590 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[PATCH] c++: Fix bogus -Wparentheses warning with fold-expression [PR94505]

2020-04-19 Thread Marek Polacek via Gcc-patches
We issue bogus -Wparentheses warnings (3 of them!) for this fold expression: ((B && true) || ...) Firstly, issuing a warning for a compiler-generated expression is wrong and secondly, B && true must be wrapped in ( ) otherwise you'll get error: binary expression in operand of fold-expression.

[Bug fortran/94660] Wrong subroutine called at runtime than the one called in the source code with deferred subroutines

2020-04-19 Thread innspg at yahoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94660 --- Comment #2 from innspg at yahoo dot fr --- The bug was reproduced with the following version of gfortran: 6.3.0, 7.3.0, 7.5.0, 8.2.0, 8.4.0 and 9.2.0. gfortran 4.8.5 produces the expected result The expected output when the program is ran

[PATCH] c++: Recursive unification with packs and explicit targs [PR94628]

2020-04-19 Thread Patrick Palka via Gcc-patches
This PR seems to be similar to PR c++/43382, except that the recursive call to the variadic function with trailing return type in this testcase is additionally given some explicit template arguments. In the first testcase below, when resolving the recursive call to 'select', fn_type_unification

[Bug fortran/94660] Wrong subroutine called at runtime than the one called in the source code with deferred subroutines

2020-04-19 Thread innspg at yahoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94660 innspg at yahoo dot fr changed: What|Removed |Added CC||innspg at yahoo dot fr ---

Re: [Patch, fortran] PR fortran/90350 - ubound ICE on assumed size array even though explicit bound is specified

2020-04-19 Thread Thomas Koenig via Gcc-patches
Hi Jose, first, thanks for coming on board! A question: Do you have a copyright assignment yet? This patch is probably short enough that it can be accepted without it, but if you're planning to contribute more (which I certainly hope) then it would make sense to do this. Regarding your patch,

[Patch, fortran] PR fortran/90350 - ubound ICE on assumed size array even though explicit bound is specified

2020-04-19 Thread José Rui Faustino de Sousa via Gcc-patches
Hi all! Proposed patch to Bug 90350 - ubound ICE on assumed size array even though explicit bound is specified Patch tested only on x86_64-pc-linux-gnu. Bumped into the same problem. Probably a better fix would be to add an extra step to the reference chain reflecting that array-section

[Bug c++/94505] Logical operator inside fold-expression: strange warning

2020-04-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94505 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug fortran/94660] New: Wrong subroutine called at runtime than the one called in the source code with deferred subroutines

2020-04-19 Thread innspg at yahoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94660 Bug ID: 94660 Summary: Wrong subroutine called at runtime than the one called in the source code with deferred subroutines Product: gcc Version: unknown Status:

[Bug c++/94310] using constructor inheritance breaks the code

2020-04-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94310 --- Comment #3 from Marek Polacek --- Potential fix: --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -16982,6 +16982,15 @@ cp_parser_template_name (cp_parser* parser, decl = strip_using_decl (decl); + if (TREE_CODE (decl) == USING_DECL +

[Bug lto/94659] New: Missing symbol with LTO and target_clones

2020-04-19 Thread yyc1992 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94659 Bug ID: 94659 Summary: Missing symbol with LTO and target_clones Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto

[Bug c++/94628] [8/9/10 Regression] ICE in invalid_nonstatic_memfn_p at cp/typeck.c:1979 since r9-640-g1268ecc26fc1289b

2020-04-19 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94628 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug fortran/93338] [8/9/10 Regression] ICE in make_ssa_name_fn, at tree-ssanames.c:282

2020-04-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93338 --- Comment #7 from Thomas Koenig --- (In reply to Richard Biener from comment #2) > Likely another missing DECL_EXPR for variable-size stuff. TYPE_SIZE has > > (bitsizetype) (sizetype) _29 * 8 > > and _29 is released. This is confusing.

[committed] libphobos: Merge upstream phobos 99003a75a

2020-04-19 Thread Iain Buclaw via Gcc-patches
Hi, This patch merges libphobos with upstream phobos 99003a75a. Fixes hasLength unittest to pass on X32. Bootstrapped and regression tested on x86_64-linux-gnu with target_board configurations {-m64,-m32,-mx32}. Committed to mainline. Regards Iain. --- libphobos/src/MERGE |

[Bug d/94609] FAIL: gdc.dg/runnable.d

2020-04-19 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94609 --- Comment #15 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:fc186077486fb6e5453157ad8507c66d0a34017c commit r10-7803-gfc186077486fb6e5453157ad8507c66d0a34017c Author: Iain Buclaw Date: Sun

[Bug c/94658] Incorrect transformation with -fstrict-aliasing

2020-04-19 Thread pascal_cuoq at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94658 --- Comment #1 from Pascal Cuoq --- Clang bug for the same optimization in Clang 10 filed at https://bugs.llvm.org/show_bug.cgi?id=45607

[Bug d/94623] ice for ./gdc.test/compilable/interpret3.d

2020-04-19 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94623 --- Comment #4 from David Binderman --- Configure flags: ../trunk.git/configure --prefix=/home/dcb/gcc/results.20200416 \ --disable-bootstrap \ --disable-multilib \ --disable-werror \ --enable-checking=df,extra,fold,rtl,yes \

[Bug fortran/93338] [8/9/10 Regression] ICE in make_ssa_name_fn, at tree-ssanames.c:282

2020-04-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93338 --- Comment #6 from Thomas Koenig --- Correction: Fails with -O, does not fail without optimization.

[Bug fortran/93338] [8/9/10 Regression] ICE in make_ssa_name_fn, at tree-ssanames.c:282

2020-04-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93338 --- Comment #5 from Thomas Koenig --- Works now, probably fixed by Paul's work on associate.

[Bug d/94653] gdc.test/fail_compilation/fail8631.d: valgrind error

2020-04-19 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94653 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug d/94652] gdc.dg/ubsan/pr88957.d: valgrind error

2020-04-19 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94652 Iain Buclaw changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[committed 2/2] d/dmd: Merge upstream dmd ba99ee345 (PR94642)

2020-04-19 Thread Iain Buclaw via Gcc-patches
Hi, This patch merges the D front-end implementation with dmd upstream ba99ee345. Initializes the VectorArrayExp::size field with the correct value, fixing PR94642. Bootstrapped and regression tested on x86_64-linux-gnu, and committed to mainline. Regards Iain. --- gcc/d/dmd/MERGE| 2

[committed 1/2] d/dmd: Merge upstream dmd 09be6ee14 (PR94653)

2020-04-19 Thread Iain Buclaw via Gcc-patches
Hi, This patch merges the D front-end implementation with dmd upstream 09be6ee14. Initializes ncost before use, which was caught by valgrind, fixing PR94653. Bootstrapped and regression tested on x86_64-linux-gnu, and committed to mainline. Regards Iain. --- gcc/d/dmd/MERGE | 2 +-

[Bug d/94652] gdc.dg/ubsan/pr88957.d: valgrind error

2020-04-19 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94652 --- Comment #1 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:62f3d4ea899cc1d03e9cf9e1e80b6b4835b4e428 commit r10-7802-g62f3d4ea899cc1d03e9cf9e1e80b6b4835b4e428 Author: Iain Buclaw Date: Sun

[Bug d/94653] gdc.test/fail_compilation/fail8631.d: valgrind error

2020-04-19 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94653 --- Comment #1 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:ace4b1acba8dc9b54b77631d7afd146eaa992c3a commit r10-7801-gace4b1acba8dc9b54b77631d7afd146eaa992c3a Author: Iain Buclaw Date: Sun

[Bug d/94623] ice for ./gdc.test/compilable/interpret3.d

2020-04-19 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94623 --- Comment #3 from Iain Buclaw --- (In reply to David Binderman from comment #2) > Host and target are the same: x86_64-pc-linux-gnu Going to really have to need configure flags, host gcc version, glibc version, etc.

[Bug c/94658] New: Incorrect transformation with -fstrict-aliasing

2020-04-19 Thread pascal_cuoq at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94658 Bug ID: 94658 Summary: Incorrect transformation with -fstrict-aliasing Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[committed] coroutines, testsuite: Require C++17 for two tests.

2020-04-19 Thread Iain Sandoe
Hi, While the coroutines implementation, and most of the coroutines tests, will operate with C++14 or newer, these tests require facilities introduced in C++17. Add the target requirement. Tested on x86_64-darwin16, applied to master, thanks Iain gcc/testsuite/ 2020-04-19 Iain Sandoe

[committed] i386: Remove unneeded assignments when triggering SSE exceptions

2020-04-19 Thread Uros Bizjak via Gcc-patches
According to "Intel 64 and IA32 Arch SDM, Vol. 3: "Because SIMD floating-point exceptions are precise and occur immediately, the situation does not arise where an x87 FPU instruction, a WAIT/FWAIT instruction, or another SSE/SSE2/SSE3 instruction will catch a pending unmasked SIMD floating-point

[Bug fortran/94347] Assignment pointer at declaration

2020-04-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94347 Thomas Koenig changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug fortran/94347] Assignment pointer at declaration

2020-04-19 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94347 --- Comment #4 from CVS Commits --- The master branch has been updated by Thomas Kथà¤nig : https://gcc.gnu.org/g:82aa0d5b9b5e288f7f83f69089aef030965046fe commit r10-7798-g82aa0d5b9b5e288f7f83f69089aef030965046fe Author: Thomas König Date:

[Bug fortran/94347] Assignment pointer at declaration

2020-04-19 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94347 --- Comment #3 from CVS Commits --- The master branch has been updated by Thomas Kथà¤nig : https://gcc.gnu.org/g:ba36d0b9d472c4193772878969d57d3d5ea1ee5a commit r10-7797-gba36d0b9d472c4193772878969d57d3d5ea1ee5a Author: Thomas König Date:

[Bug fortran/94347] Assignment pointer at declaration

2020-04-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94347 Thomas Koenig changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug fortran/57129] [8/9/10 Regression] Improve error message for conflicts between PROCEDURE and DERIVED.

2020-04-19 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57129 --- Comment #21 from CVS Commits --- The master branch has been updated by Thomas Kथà¤nig : https://gcc.gnu.org/g:e91c0a35e5d1af2018c379962cbe1008788aba72 commit r10-7796-ge91c0a35e5d1af2018c379962cbe1008788aba72 Author: Thomas König Date:

[Bug fortran/93500] ICE in gfc_numeric_ts, at fortran/expr.c:891

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

[Bug fortran/93500] ICE in gfc_numeric_ts, at fortran/expr.c:891

2020-04-19 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93500 --- Comment #4 from CVS Commits --- The master branch has been updated by Thomas Kथà¤nig : https://gcc.gnu.org/g:4dc6437183aec5439b88b076315ad8f31794d24b commit r10-7795-g4dc6437183aec5439b88b076315ad8f31794d24b Author: Thomas König Date:

[Bug objc/94637] [10 Regression] @selector() broken for selectors containing repeated colons

2020-04-19 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94637 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:e1113ffbd619d0568fb3b37e9660d9e0ae7862f5 commit r10-7794-ge1113ffbd619d0568fb3b37e9660d9e0ae7862f5 Author: Jakub Jelinek Date:

Re: [PATCH] c, objc: Fix up c_parser_objc_selector_arg after CPP_SCOPE changes [PR94637]

2020-04-19 Thread Iain Sandoe
Hi Jakub, thanks for looking at this. Jakub Jelinek wrote: Similarly to inline asm, :: (or any other number of consecutive colons) can appear in ObjC @selector argument and with the introduction of CPP_SCOPE into the C FE, we need to trat CPP_SCOPE as two CPP_COLON tokens. The C++ FE does

[Bug preprocessor/94657] New: [patch] libcpp uses 'AR = ar' tool even if --build/--host are passed explicitly.

2020-04-19 Thread slyfox at inbox dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94657 Bug ID: 94657 Summary: [patch] libcpp uses 'AR = ar' tool even if --build/--host are passed explicitly. Product: gcc Version: 9.3.0 Status: UNCONFIRMED

[Bug c++/94485] [10.0.1, c++2a] g++ optimizes away necessary code, accepts arbitrary inline asm

2020-04-19 Thread dimitri.gorokhovik at free dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94485 --- Comment #5 from Dimitri Gorokhovik --- Build "g++ (GCC) 10.0.1 20200418 (experimental)" does not reproduce the issue on the attached sample code anymore. However: -- adding an asm statement into the sample code gets the issue back. Tried

[committed] d: Fix FAIL in gdc.dg/runnable.d on X32 targets (PR94609)

2020-04-19 Thread Iain Buclaw via Gcc-patches
Hi, Patch fixes test failure seen on X32 where a nested struct was passed in registers, rather than via invisible reference. Now, all non-POD structs are passed by invisible reference, not just those with a user-defined copy constructor/destructor. Bootstrapped and regression tested on

[Bug d/94609] FAIL: gdc.dg/runnable.d

2020-04-19 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94609 Iain Buclaw changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug d/94609] FAIL: gdc.dg/runnable.d

2020-04-19 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94609 --- Comment #13 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:8a9ce39f8bbb2ae0798bec0ed2051a5f10b21122 commit r10-7793-g8a9ce39f8bbb2ae0798bec0ed2051a5f10b21122 Author: Iain Buclaw Date: Sun

Re: gcc 10 fpcr

2020-04-19 Thread Uros Bizjak via Gcc
Hello! > Over at RTEMS, we have had a report that this very old code has quit > compiling: > > #ifdef __SSE__ > #define _CPU_Context_restore_fp(fp_context_pp) \ > do { \ >__asm__ __volatile__( \ > "fldcw %0"