[Bug libstdc++/103448] unexpected tuple collapse

2021-11-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103448 --- Comment #8 from Andrew Pinski --- (In reply to Janez Zemva from comment #7) > The c++17 type deduction rules are also going on. This makes me wonder how > std::make_tuple() circumvents the problem. Easy, it does not use the C++17 deduction

[Bug libstdc++/103448] unexpected tuple collapse

2021-11-26 Thread janezz55 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103448 --- Comment #7 from Janez Zemva --- The c++17 type deduction rules are also going on. This makes me wonder how std::make_tuple() circumvents the problem.

[Bug libstdc++/103448] unexpected tuple collapse

2021-11-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103448 --- Comment #6 from Andrew Pinski --- (In reply to Andrew Pinski from comment #5) > (In reply to Andrew Pinski from comment #3) > > Yes it is called the copy (or move) constructor :). > > That is: > auto t = std::tuple(std::tuple(1,2)); >

[Bug libstdc++/103448] unexpected tuple collapse

2021-11-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103448 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > Yes it is called the copy (or move) constructor :). That is: auto t = std::tuple(std::tuple(1,2)); std::cout << type_name() << std::endl; Will produce the

[Bug libstdc++/103448] unexpected tuple collapse

2021-11-26 Thread janezz55 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103448 --- Comment #4 from Janez Zemva --- Ok, thank you :)

[Bug libstdc++/103448] unexpected tuple collapse

2021-11-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103448 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/103448] unexpected tuple collapse

2021-11-26 Thread janezz55 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103448 --- Comment #2 from Janez Zemva --- I have no idea, but it seems wrong me. Is there an explanation for the lvalue references? I expected rvalue references, but that's unrelated to the bug.

[Bug libstdc++/103448] unexpected tuple collapse

2021-11-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103448 --- Comment #1 from Andrew Pinski --- Hmm, even clang with libc++ produces the same

[Bug libstdc++/103448] New: unexpected tuple collapse

2021-11-26 Thread janezz55 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103448 Bug ID: 103448 Summary: unexpected tuple collapse Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug lto/41731] The linker plugin should support translations

2021-11-26 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41731 Eric Gallager changed: What|Removed |Added Last reconfirmed||2021-11-27 Keywords|

[Bug c/103447] left shift operator gives wrong result for shift of 48

2021-11-26 Thread pgmer6809 at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103447 --- Comment #2 from Greg Morse --- Thanks for the  v. quick reply. I feel like an idiot.G. M. On Friday, November 26, 2021, 04:13:45 p.m. PST, pinskia at gcc dot gnu.org wrote: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103447

[Bug c/103447] left shift operator gives wrong result for shift of 48

2021-11-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103447 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/103447] New: left shift operator gives wrong result for shift of 48

2021-11-26 Thread pgmer6809 at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103447 Bug ID: 103447 Summary: left shift operator gives wrong result for shift of 48 Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal Priority: P3

[PATCH] ipa: Fix CFG fix-up in IPA-CP transform phase (PR 103441)

2021-11-26 Thread Martin Jambor
Hi, I forgot that IPA passes before ipa-inline must not return TODO_cleanup_cfg from their transformation function because ordinary CFG cleanup does not remove call graph edges associated with removed call statements but must use delete_unreachable_blocks_update_callgraph instead. This patch

[Bug ipa/103441] [12 Regression] ICE in cgraph_node::verify_node() building libgo on powerpc64le-linux-gnu (--with-cpu=power9)

2021-11-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103441 --- Comment #8 from CVS Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:9e2e47391b316493b52fbb47b4b992b0863795dd commit r12-5554-g9e2e47391b316493b52fbb47b4b992b0863795dd Author: Martin Jambor Date:

[Bug preprocessor/103446] Invalid wide multibyte character constant

2021-11-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103446 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug preprocessor/103446] Invalid wide multibyte character constant

2021-11-26 Thread zloten at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103446 --- Comment #5 from Zloten --- I use the latest MinGW, target-host are Windows, x86-64.

[PATCH v2] libstdc++: Define std::__is_constant_evaluated() for internal use

2021-11-26 Thread Jonathan Wakely via Gcc-patches
On Fri, 26 Nov 2021 at 12:43, Jonathan Wakely wrote: > > On Fri, 26 Nov 2021 at 12:39, Jakub Jelinek wrote: > > > > On Fri, Nov 26, 2021 at 12:29:25PM +, Jonathan Wakely via Gcc-patches > > wrote: > > > + // Internal version of std::is_constant_evaluated() for C++11. > > > + // This can be

[Bug preprocessor/103446] Invalid wide multibyte character constant

2021-11-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103446 --- Comment #4 from Andrew Pinski --- What target and what is the host?

[Bug preprocessor/103446] Invalid wide multibyte character constant

2021-11-26 Thread zloten at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103446 --- Comment #3 from Zloten --- No. Just - O2.

[committed] libstdc++: Fix test that fails in C++20 mode

2021-11-26 Thread Jonathan Wakely via Gcc-patches
Tested x86_64-linux, pushed to trunk. This test was written to verify that the LWG 3265 changes work. But those changes were superseded by LWG 3435, and the test is now incorrect according to the current draft. The assignment operator is now constrained to also require convertibility, which

[committed] libstdc++: Fix trivial relocation for constexpr std::vector

2021-11-26 Thread Jonathan Wakely via Gcc-patches
Tested x86_64-linux, pushed to trunk. When implementing constexpr std::vector I added a check for constant evaluation in vector::_S_use_relocate(), so that we would not try to relocate trivial objects by using memmove. But I put it in the constexpr function that decides whether to relocate or

[committed] libstdc++: Remove workaround for FE bug in std::tuple [PR96592]

2021-11-26 Thread Jonathan Wakely via Gcc-patches
Tested x86_64-linux, pushed to trunk. The FE bug was fixed, so we don't need this workaround now. libstdc++-v3/ChangeLog: PR libstdc++/96592 * include/std/tuple (tuple::is_constructible): Remove. --- libstdc++-v3/include/std/tuple | 4 1 file changed, 4 deletions(-) diff

[Bug libstdc++/96592] [10 Regression] Tuple element w/ member reference to incomplete template type rejected

2021-11-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96592 --- Comment #11 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:76c6be48b7841524974754f8ea7533b82c7de77e commit r12-5551-g76c6be48b7841524974754f8ea7533b82c7de77e Author: Jonathan Wakely

[Bug ipa/103432] [11 regression] libjxl-0.5 is miscompiled, works fine with -fno-ipa-modref

2021-11-26 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103432 --- Comment #6 from Sergei Trofimovich --- (In reply to Jan Hubicka from comment #4) > Fixed on trunk by g:a70faf6e4df7481c2c9a08a06657c20beb3043de (sorry for > cut wrong PR number). Tested on full libjxl-0.5 testsuite. All works now. Thank

[Bug preprocessor/103446] Invalid wide multibyte character constant

2021-11-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103446 --- Comment #2 from Andrew Pinski --- Is there a full testcase including what options you used? Did you use "-finput-charset=" and -fexec-charset= options?

[Bug c/103446] Invalid wide multibyte character constant

2021-11-26 Thread zloten at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103446 --- Comment #1 from Zloten --- 56481 = 0xDCA1

gcc-10-20211126 is now available

2021-11-26 Thread GCC Administrator via Gcc
Snapshot gcc-10-20211126 is now available on https://gcc.gnu.org/pub/gcc/snapshots/10-20211126/ 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/103446] New: Invalid wide multibyte character constant

2021-11-26 Thread zloten at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103446 Bug ID: 103446 Summary: Invalid wide multibyte character constant Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug fortran/59298] ICE when initialising PARAMETER array of derived-type (containing an array) using array constructor

2021-11-26 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59298 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug fortran/84693] scalar DT not broadcast across an array in an initialization expression

2021-11-26 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84693 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |WAITING CC|

[Bug middle-end/103439] genemit emits dead code

2021-11-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103439 --- Comment #5 from Andrew Pinski --- (In reply to Richard Biener from comment #4) > so quite hard if not impossible to "fix" in genemit The most complex one I saw in action was mod3 in aarch64.md: (define_expand "mod3" [(match_operand:GPI 0

[Bug c++/101853] [12 Regression] g++.dg/modules/xtreme-header-5_b.C ICE

2021-11-26 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101853 --- Comment #8 from Hans-Peter Nilsson --- (In reply to Hans-Peter Nilsson from comment #6) > Then no change matching "g++.dg/modules/xtreme-" up to and including > a29174904bb1 (r12-5240), which is the last run at this writing. Update: At

[Bug fortran/103418] random_number() does not accept pointer, intent(in) array argument

2021-11-26 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103418 --- Comment #11 from Steve Kargl --- On Fri, Nov 26, 2021 at 08:13:05PM +, anlauf at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103418 > > --- Comment #10 from anlauf at gcc dot gnu.org --- > (In reply to Steve

[Bug fortran/103411] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6377

2021-11-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103411 --- Comment #4 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:4d540c7a4a7fb87b04d06e1ee7f9b004116279a4 commit r12-5550-g4d540c7a4a7fb87b04d06e1ee7f9b004116279a4 Author: Harald Anlauf Date:

Re: [PATCH, v3] PR fortran/103411 - ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6377

2021-11-26 Thread Mikael Morin
Le 26/11/2021 à 21:07, Harald Anlauf a écrit : That should hopefully be the final version... Yes it is OK. Thanks for your patience. Mikael

[Bug libstdc++/103445] build failure for old versions of mingw32 (not mingw-w64)

2021-11-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103445 --- Comment #4 from Jonathan Wakely --- Sorry, I don't understand anything above. I don't care whether you're using mingw or mingw-w64, what I asked is how old it is. Libstdc++ expects a recent version, and I'm not surprised if it doesn't work

[Bug middle-end/103438] Updated documentation for gcc Optimization command line options (sec 3.11)

2021-11-26 Thread nils.smeds at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103438 --- Comment #8 from Nils Smeds --- (In reply to Nils Smeds from comment #7) > (In reply to Martin Liška from comment #6) > > Lemme take a look. > > Great, thanks. prefetch-loop-arrays appears to be activated on arm,s390 and i386 at level -O3

[Bug fortran/102787] ICE in new test case gfortran.dg/reshape_shape_2.f90

2021-11-26 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102787 --- Comment #8 from anlauf at gcc dot gnu.org --- Simpler and better patch which handles array sections as well as vector subscripts: diff --git a/gcc/fortran/array.c b/gcc/fortran/array.c index 6552eaf3b0c..f870c225195 100644 ---

[r12-5546 Regression] FAIL: gcc.dg/tree-ssa/ivopts-9.c scan-tree-dump ivopts "inv_expr [0-9]: \\t\\(unsigned long\\) sz_[0-9]\\(D\\) \\* 4 \\+ \\(unsigned long\\) mem_[0-9]\\(D\\)" on Linux/x86_64

2021-11-26 Thread sunil.k.pandey via Gcc-patches
On Linux/x86_64, b41be002eda047093bbf4757cb65ffb4d525cc35 is the first bad commit commit b41be002eda047093bbf4757cb65ffb4d525cc35 Author: Roger Sayle Date: Fri Nov 26 17:22:10 2021 + ivopts: Improve code generated for very simple loops. caused FAIL: gcc.dg/tree-ssa/ivopts-8.c

[Bug libstdc++/103445] build failure for old versions of mingw32 (not mingw-w64)

2021-11-26 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103445 --- Comment #3 from cqwrteur --- (In reply to cqwrteur from comment #2) > (In reply to Jonathan Wakely from comment #1) > > How old is that? We generally only support building with recent versions > > that are still supported by MinGW. > > dev

[Bug c++/59716] [10/11 Regression] variadic template multiple parameter pack expansion fails

2021-11-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59716 Andrew Pinski changed: What|Removed |Added Summary|variadic template multiple |[10/11 Regression] variadic

[Bug libstdc++/103445] build failure for old versions of mingw32 (not mingw-w64)

2021-11-26 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103445 --- Comment #2 from cqwrteur --- (In reply to Jonathan Wakely from comment #1) > How old is that? We generally only support building with recent versions > that are still supported by MinGW. dev C++'s mingw. that is mingw-w64. not mingw.

[Bug libstdc++/103445] build failure for old versions of mingw32 (not mingw-w64)

2021-11-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103445 --- Comment #1 from Jonathan Wakely --- How old is that? We generally only support building with recent versions that are still supported by mingw.

[Bug fortran/103392] [9/10/11 Regression] ICE in simplify_bound, at fortran/simplify.c:4273

2021-11-26 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103392 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED

[Bug fortran/103392] [9/10/11 Regression] ICE in simplify_bound, at fortran/simplify.c:4273

2021-11-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103392 --- Comment #9 from CVS Commits --- The releases/gcc-9 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:dd1871c823e2ec9a500ac5ad3c87a117b934fa3b commit r9-9846-gdd1871c823e2ec9a500ac5ad3c87a117b934fa3b Author: Harald Anlauf

[Bug fortran/103392] [9/10/11 Regression] ICE in simplify_bound, at fortran/simplify.c:4273

2021-11-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103392 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:376b2c781d11f55644e92dfea91c3f214f20f4ac commit r10-10311-g376b2c781d11f55644e92dfea91c3f214f20f4ac Author: Harald Anlauf

[Bug fortran/103418] random_number() does not accept pointer, intent(in) array argument

2021-11-26 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103418 --- Comment #10 from anlauf at gcc dot gnu.org --- (In reply to Steve Kargl from comment #9) > "does not work for me" isn't too descriptive. Well, you fixed a related issue, but not the problem in comment#0. Try your patch on: module m

[PATCH, v3] PR fortran/103411 - ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6377

2021-11-26 Thread Harald Anlauf via Gcc-patches
Hi Mikael, > Gesendet: Freitag, 26. November 2021 um 15:45 Uhr > Von: "Mikael Morin" > An: "Harald Anlauf" , fort...@gcc.gnu.org > Cc: gcc-patches@gcc.gnu.org > Betreff: Re: [PATCH, v2] PR fortran/103411 - ICE in > gfc_conv_array_initializer, at fortran/trans-array.c:6377 > > Le 25/11/2021 à

[Bug libstdc++/103445] New: build failure for old versions of mingw32 (not mingw-w64)

2021-11-26 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103445 Bug ID: 103445 Summary: build failure for old versions of mingw32 (not mingw-w64) Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/70435] section attribute of a function template is not honored.

2021-11-26 Thread lts-rudolph at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70435 Klaus Rudolph changed: What|Removed |Added CC||lts-rudolph at gmx dot de --- Comment

Re: [PATCH] rs6000: Clarify overloaded builtin diagnostic

2021-11-26 Thread Segher Boessenkool
Hi! On Tue, Nov 23, 2021 at 12:40:45PM -0600, Bill Schmidt wrote: > When a built-in function required by an overloaded function name is not > currently enabled, the diagnostic message is not as clear as it should be. > Saying that one built-in "requires" another is somewhat misleading. It

Re: [PATCH] libgccjit: add some reflection functions in the jit C api

2021-11-26 Thread Gerald Pfeifer
On Fri, 26 Nov 2021, Gerald Pfeifer wrote: > I have received a report of GCC builds now failing on FreeBSD/i386: Ah, and here are the logs (IPv6 required, unfortunately): Log URL: http://beefy5.nyi.freebsd.org/data/122i386-default/9e1bda400030/logs/gcc12-devel-12.0.0.s20211121.log Build URL:

[Bug c++/59716] variadic template multiple parameter pack expansion fails

2021-11-26 Thread lts-rudolph at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59716 Klaus Rudolph changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[pushed] libitm: Fix bootstrap for targets without HAVE_ELF_STYLE_WEAKREF.

2021-11-26 Thread Iain Sandoe via Gcc-patches
Recent improvements to null address warnings notice that for targets that do not support HAVE_ELF_STYLE_WEAKREF the dummy stub implementation of __cxa_get_globals() means that the address can never be null. Fixed by removing the test for such targets. tested on i686, x86_64, powerpc-darwin and

[Bug fortran/103418] random_number() does not accept pointer, intent(in) array argument

2021-11-26 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103418 --- Comment #9 from Steve Kargl --- On Thu, Nov 25, 2021 at 10:10:32PM +, anlauf at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103418 > > --- Comment #6 from anlauf at gcc dot gnu.org --- > Unfortunately the

[Bug libgomp/103444] Fortran async IO is broken on FreeBSD

2021-11-26 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103444 --- Comment #2 from kargl at gcc dot gnu.org --- % gfcx -o z -fopenmp -g async_io_1.f90 % gdb ./z (gdb) run Starting program: /home/kargl/tmp/z [New LWP 118209 of process 77440] Thread 2 received signal SIGBUS, Bus error. [Switching to LWP

subject

2021-11-26 Thread zainalabd...@softkhana.com
This is the body

[Bug libgomp/103444] Fortran async IO is broken on FreeBSD

2021-11-26 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103444 --- Comment #1 from kargl at gcc dot gnu.org --- === libgomp Summary === # of expected passes7743 # of unexpected failures31 # of expected failures 72 # of unsupported tests 227 Each of

[Bug libgomp/103444] New: Fortran async IO is broken on FreeBSD

2021-11-26 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103444 Bug ID: 103444 Summary: Fortran async IO is broken on FreeBSD Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug ipa/103441] [12 Regression] ICE in cgraph_node::verify_node() building libgo on powerpc64le-linux-gnu (--with-cpu=power9)

2021-11-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103441 --- Comment #7 from Andrew Pinski --- *** Bug 103442 has been marked as a duplicate of this bug. ***

[Bug ipa/103442] [12 Regression] trunk 20211126 ICE (segfault) in cgraph_node::verify_node() building the 32bit libgo on s390x-linux-gnu

2021-11-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103442 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/96159] atomic creates incorrect code for possible isaligned struct

2021-11-26 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96159 --- Comment #9 from Martin Uecker --- Yes the clang behavior is useful. If we get the optimal code for types with sufficient alignment, then I do not think a separate set of functions would be required. A programmer simply can use the

Re: [PATCH v3 3/8] tree-object-size: Save sizes as trees and support negative offsets

2021-11-26 Thread Siddhesh Poyarekar
On 11/26/21 23:34, Jakub Jelinek wrote: On Fri, Nov 26, 2021 at 11:29:41PM +0530, Siddhesh Poyarekar wrote: The trees in object_sizes are each a TREE_VEC with the first element being the bytes from the pointer to the end of the object and the second, the size of the whole object. This allows

Re: atomic_load

2021-11-26 Thread Martin Uecker via Gcc
Am Freitag, den 26.11.2021, 15:48 + schrieb Jonathan Wakely: > On Fri, 26 Nov 2021 at 15:41, Martin Uecker wrote: > > Am Freitag, den 26.11.2021, 09:24 + schrieb Jonathan Wakely: > > > On Fri, 26 Nov 2021 at 09:00, Martin Uecker via Gcc > > > wrote: > > > > Am Freitag, den 26.11.2021,

Re: [PATCH v3 3/8] tree-object-size: Save sizes as trees and support negative offsets

2021-11-26 Thread Jakub Jelinek via Gcc-patches
On Fri, Nov 26, 2021 at 11:29:41PM +0530, Siddhesh Poyarekar wrote: > > > The trees in object_sizes are each a TREE_VEC with the first element > > > being the bytes from the pointer to the end of the object and the > > > second, the size of the whole object. This allows analysis of negative > > >

Re: [PATCH] libgccjit: add some reflection functions in the jit C api

2021-11-26 Thread Gerald Pfeifer
On Fri, 19 Nov 2021, David Malcolm via Gcc-patches wrote: > On Mon, 2021-09-27 at 20:53 -0400, Antoni Boucher wrote: >> I fixed an issue (it would show an error message when >> gcc_jit_type_dyncast_function_ptr_type was called on a type different >> than a function pointer type). > The updated

Re: [PATCH v3 1/8] tree-object-size: Replace magic numbers with enums

2021-11-26 Thread Jakub Jelinek via Gcc-patches
On Fri, Nov 26, 2021 at 11:23:31PM +0530, Siddhesh Poyarekar wrote: > On 11/26/21 22:16, Jakub Jelinek wrote: > > On Fri, Nov 26, 2021 at 10:58:44AM +0530, Siddhesh Poyarekar wrote: > > > A simple cleanup to allow inserting dynamic size code more easily. > > > > > > gcc/ChangeLog: > > > > > >

Re: [PATCH v3 3/8] tree-object-size: Save sizes as trees and support negative offsets

2021-11-26 Thread Siddhesh Poyarekar
On 11/26/21 22:26, Jakub Jelinek wrote: On Fri, Nov 26, 2021 at 10:58:46AM +0530, Siddhesh Poyarekar wrote: Transform tree-object-size to operate on tree objects instead of host wide integers. This makes it easier to extend to dynamic expressions for object sizes. The

[Bug target/45365] X86 SSE FP add and multiply aren't commutative with 2 NaNs

2021-11-26 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45365 Roger Sayle changed: What|Removed |Added CC||shaohua.li at inf dot ethz.ch --- Comment

[Bug middle-end/103406] gcc -O0 behaves differently on "DBL_MAX related operations" than gcc -O1 and above

2021-11-26 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103406 Roger Sayle changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

Re: [PATCH v3 1/8] tree-object-size: Replace magic numbers with enums

2021-11-26 Thread Siddhesh Poyarekar
On 11/26/21 22:16, Jakub Jelinek wrote: On Fri, Nov 26, 2021 at 10:58:44AM +0530, Siddhesh Poyarekar wrote: A simple cleanup to allow inserting dynamic size code more easily. gcc/ChangeLog: * tree-object-size.c: New enum. (object_sizes, computed, addr_object_size,

[Bug libstdc++/96416] [DR 3545] to_address() is broken by static_assert in pointer_traits

2021-11-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96416 Jonathan Wakely changed: What|Removed |Added Target Milestone|10.3|10.4 Known to work|

Re: [PATCH, committed] rs6000: Fix test_mffsl.c effective target check

2021-11-26 Thread Segher Boessenkool
Hi! On Tue, Nov 23, 2021 at 01:14:05PM -0600, Bill Schmidt wrote: > Paul Clarke pointed out to me that I had wrongly used a compile-time check > instead of a run-time check in this executable test. This patch fixes > that. I also fixed a typo in a string that caught my eye. > > Tested on

[Bug libstdc++/96416] [DR 3545] to_address() is broken by static_assert in pointer_traits

2021-11-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96416 --- Comment #22 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:8d3391d64799d490117ad48432a9ad2cf38b0091 commit r11-9317-g8d3391d64799d490117ad48432a9ad2cf38b0091 Author: Jonathan

[Bug ipa/103441] [12 Regression] ICE in cgraph_node::verify_node() building libgo on powerpc64le-linux-gnu (--with-cpu=power9)

2021-11-26 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103441 --- Comment #6 from Martin Jambor --- Created attachment 51884 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51884=edit Untested fix I am testing this fix

[Bug libstdc++/96592] [10 Regression] Tuple element w/ member reference to incomplete template type rejected

2021-11-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96592 Jonathan Wakely changed: What|Removed |Added Target Milestone|11.3|10.3

[Bug libstdc++/96592] [10 Regression] Tuple element w/ member reference to incomplete template type rejected

2021-11-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96592 Jonathan Wakely changed: What|Removed |Added Target Milestone|10.4|11.3 Status|NEW

Re: atomic_load

2021-11-26 Thread Jonathan Wakely via Gcc
On Fri, 26 Nov 2021 at 16:58, Gabriel Ravier wrote: > > > On 11/26/21 16:48, Jonathan Wakely via Gcc wrote: > > On Fri, 26 Nov 2021 at 15:41, Martin Uecker wrote: > >> Am Freitag, den 26.11.2021, 09:24 + schrieb Jonathan Wakely: > >>> On Fri, 26 Nov 2021 at 09:00, Martin Uecker via Gcc >

[Bug middle-end/102431] [12 Regression] ICE in lower_gimple_bind, at gimple-low.c:439 since r12-1206-g178191e1dfafd8db

2021-11-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102431 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/101571] DestroyGuard used by the ranges::uninitialized family should use addressof()

2021-11-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101571 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/101965] check in charconv is vacuously true

2021-11-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101965 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/103020] ICE with V1TImode on x86_32

2021-11-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103020 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/96159] atomic creates incorrect code for possible isaligned struct

2021-11-26 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96159 Gabriel Ravier changed: What|Removed |Added CC||gabravier at gmail dot com --- Comment

Re: atomic_load

2021-11-26 Thread Gabriel Ravier via Gcc
On 11/26/21 16:48, Jonathan Wakely via Gcc wrote: On Fri, 26 Nov 2021 at 15:41, Martin Uecker wrote: Am Freitag, den 26.11.2021, 09:24 + schrieb Jonathan Wakely: On Fri, 26 Nov 2021 at 09:00, Martin Uecker via Gcc wrote: Am Freitag, den 26.11.2021, 09:29 +0100 schrieb Eric Botcazou:

[PATCH] stddef.h: add support for musl typedef macro guards

2021-11-26 Thread soeren--- via Gcc-patches
From: Sören Tempel The stddef.h header checks/sets various hardcoded toolchain/os specific macro guards to prevent redefining types such as ptrdiff_t, wchar_t, or size_t. However, without this patch, the file does not check/set the typedef macro guards for musl libc. This causes types such as

[Bug target/102811] vcvtph2ps and vcvtps2ph should be used to convert _Float16 to SFmode with -mf16c

2021-11-26 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102811 --- Comment #18 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #17) > (In reply to Hongtao.liu from comment #16) > > > ix86_expand_vector_set is mainly used by vec_set_optab which exactly takes > > target as both input and output,

Re: [PATCH v3 3/8] tree-object-size: Save sizes as trees and support negative offsets

2021-11-26 Thread Jakub Jelinek via Gcc-patches
On Fri, Nov 26, 2021 at 10:58:46AM +0530, Siddhesh Poyarekar wrote: > Transform tree-object-size to operate on tree objects instead of host > wide integers. This makes it easier to extend to dynamic expressions > for object sizes. > > The compute_builtin_object_size interface also now returns a

[Bug target/102811] vcvtph2ps and vcvtps2ph should be used to convert _Float16 to SFmode with -mf16c

2021-11-26 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102811 --- Comment #17 from Uroš Bizjak --- (In reply to Hongtao.liu from comment #16) > ix86_expand_vector_set is mainly used by vec_set_optab which exactly takes > target as both input and output, it seems we can't create a new target for > that.

[Bug libstdc++/102894] make_any is not SFINAE-friendly

2021-11-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102894 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

Re: [PATCH v3 2/8] tree-object-size: Abstract object_sizes array

2021-11-26 Thread Jakub Jelinek via Gcc-patches
On Fri, Nov 26, 2021 at 10:58:45AM +0530, Siddhesh Poyarekar wrote: > Put all accesses to object_sizes behind functions so that we can add > dynamic capability more easily. > > gcc/ChangeLog: > > * tree-object-size.c (object_sizes_grow, object_sizes_release, > object_sizes_unknown_p,

Re: [PATCH v3 1/8] tree-object-size: Replace magic numbers with enums

2021-11-26 Thread Jakub Jelinek via Gcc-patches
On Fri, Nov 26, 2021 at 10:58:44AM +0530, Siddhesh Poyarekar wrote: > A simple cleanup to allow inserting dynamic size code more easily. > > gcc/ChangeLog: > > * tree-object-size.c: New enum. > (object_sizes, computed, addr_object_size, > compute_builtin_object_size,

[Bug libstdc++/102270] std::tuple<>::swap missing constexpr specifier

2021-11-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102270 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/98723] On Windows with CP936 encoding, regex compiles very slow.

2021-11-26 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98723 --- Comment #5 from cqwrteur --- (In reply to Eric Gallager from comment #4) > This is affecting The Battle for Wesnoth: > https://github.com/wesnoth/wesnoth/issues/6291 C++ std::regex is just terrible and highly likely be deprecated in the

[Bug libstdc++/101571] DestroyGuard used by the ranges::uninitialized family should use addressof()

2021-11-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101571 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:0d480b8403f2541402adeed82deb7eb028330b87 commit r10-10310-g0d480b8403f2541402adeed82deb7eb028330b87 Author: Jonathan

[Bug libstdc++/101965] check in charconv is vacuously true

2021-11-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101965 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:30033d9bb9d5e5303fadf448999f4f27e2693ed6 commit r10-10309-g30033d9bb9d5e5303fadf448999f4f27e2693ed6 Author: Jonathan

[Bug libstdc++/102894] make_any is not SFINAE-friendly

2021-11-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102894 --- Comment #3 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:923637b6cb70986e83ae0109ec4bcd26fdfe3624 commit r10-10308-g923637b6cb70986e83ae0109ec4bcd26fdfe3624 Author: Jonathan

[Bug libstdc++/102270] std::tuple<>::swap missing constexpr specifier

2021-11-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102270 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:b3f135a50c3dd7fc04252e17d7fbb08ca95aa9a5 commit r10-10307-gb3f135a50c3dd7fc04252e17d7fbb08ca95aa9a5 Author: Jonathan

[Bug libstdc++/100863] 23_containers/unordered_{map,set}/allocator/default_init.cc still fail at runtime even after r12-1153

2021-11-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100863 --- Comment #12 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:5c86e63cb0383a38ec3dea24e9b3fe2f6e312057 commit r10-10305-g5c86e63cb0383a38ec3dea24e9b3fe2f6e312057 Author: Jonathan

[Bug libstdc++/101583] [12 Regression] error: use of deleted function when building gold

2021-11-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101583 --- Comment #11 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:5c86e63cb0383a38ec3dea24e9b3fe2f6e312057 commit r10-10305-g5c86e63cb0383a38ec3dea24e9b3fe2f6e312057 Author: Jonathan

  1   2   3   >