[Bug c++/100646] [11/12 Regression] gcc -E -fdirectives-only causes "error: unterminated comment" when no new line at the end of file

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100646 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:d15a2d261b24adcbfe5e663b15dde3df5d2b3486 commit r12-934-gd15a2d261b24adcbfe5e663b15dde3df5d2b3486 Author: Jakub Jelinek Date: Th

[Bug tree-optimization/94589] Optimize (i<=>0)>0 to i>0

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94589 --- Comment #24 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:2b536797f7e43c55072a3215735f5833f1d6d218 commit r12-935-g2b536797f7e43c55072a3215735f5833f1d6d218 Author: Jakub Jelinek Date: Th

[Bug middle-end/99928] [OpenMP] reduction variable in combined target construct wrongly mapped as firstprivate

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99928 --- Comment #10 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:94fa4c67b95c12482b6087d8eef2d72f7b7ea254 commit r12-936-g94fa4c67b95c12482b6087d8eef2d72f7b7ea254 Author: Jakub Jelinek Date: Th

[Bug target/100693] New: PPC: missing 64-bit addg6s

2021-05-20 Thread jens.seifert at de dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100693 Bug ID: 100693 Summary: PPC: missing 64-bit addg6s Product: gcc Version: 8.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Ass

[Bug target/100694] New: PPC: initialization of __int128 is very inefficient

2021-05-20 Thread jens.seifert at de dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100694 Bug ID: 100694 Summary: PPC: initialization of __int128 is very inefficient Product: gcc Version: 8.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug fortran/96983] [11/12 regression] ICE compiling gfortran.dg/pr96711.f90 starting with r11-3042

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96983 --- Comment #36 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:9e0a5e3ea37f9d7d2b6f2dab7c0bfbeaf08466a3 commit r12-937-g9e0a5e3ea37f9d7d2b6f2dab7c0bfbeaf08466a3 Author: Tobias Burnus Date: Th

[Bug middle-end/100685] #pragma GCC push_options ineffective for optimize options

2021-05-20 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100685 Martin Liška changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org Ev

[Bug lto/100692] [11 Regression] ICE in fld_incomplete_type_of, at tree.c:5452

2021-05-20 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100692 Martin Liška changed: What|Removed |Added Summary|[11/12 Regression] ICE in |[11 Regression] ICE in

[Bug lto/100692] [11 Regression] ICE in fld_incomplete_type_of, at tree.c:5452

2021-05-20 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100692 Martin Liška changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #4

[Bug fortran/96983] [11/12 regression] ICE compiling gfortran.dg/pr96711.f90 starting with r11-3042

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96983 --- Comment #37 from CVS Commits --- The releases/gcc-11 branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:271fc1caac433e84e6389e73a5bf07350ea545e2 commit r11-8445-g271fc1caac433e84e6389e73a5bf07350ea545e2 Author: Tobias Burnus

[Bug lto/100692] [11 Regression] ICE in fld_incomplete_type_of, at tree.c:5452

2021-05-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100692 --- Comment #5 from Richard Biener --- Created attachment 50849 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50849&action=edit reduced testcase

[Bug other/100695] New: Format decoder, quoting in 'dump_printf' etc.

2021-05-20 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100695 Bug ID: 100695 Summary: Format decoder, quoting in 'dump_printf' etc. Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Prio

[Bug fortran/96983] [11/12 regression] ICE compiling gfortran.dg/pr96711.f90 starting with r11-3042

2021-05-20 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96983 --- Comment #38 from Tobias Burnus --- I think GCC 12/mainline is now fixed. The second patch was only applied to GCC 12 – it might need to be backported? (I have not checked GCC 11 with PowerPC.) (If there are remaining/new issues, I recommend

[Bug fortran/96711] Internal Compiler Error on NINT() Function

2021-05-20 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96711 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #2

[Bug c/42579] [PATCH] support for obtaining file basename

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42579 --- Comment #9 from CVS Commits --- The master branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:1a9b3f04c11eb467a8dc504a37dad57a371a0d4c commit r12-938-g1a9b3f04c11eb467a8dc504a37dad57a371a0d4c Author: Christophe Lyon Date:

[Bug c/42579] [PATCH] support for obtaining file basename

2021-05-20 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42579 Christophe Lyon changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/97205] arm: Compiler fails with an ICE for -O0 on Trunk and GCC-10 for _Generic feature.

2021-05-20 Thread sripar01 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97205 --- Comment #23 from SRINATH PARVATHANENI --- (In reply to rguent...@suse.de from comment #22) > On Wed, 19 May 2021, bernd.edlinger at hotmail dot de wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97205 > > > > --- Comment #21 from

[Bug target/100637] [i386] Vectorize 4-byte vectors

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100637 --- Comment #3 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:507359e1d4d18614eb9679043995edf0675b6ff5 commit r12-940-g507359e1d4d18614eb9679043995edf0675b6ff5 Author: Uros Bizjak Date: Thu Ma

[Bug target/97205] arm: Compiler fails with an ICE for -O0 on Trunk and GCC-10 for _Generic feature.

2021-05-20 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97205 --- Comment #24 from rguenther at suse dot de --- On Thu, 20 May 2021, sripar01 at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97205 > > --- Comment #23 from SRINATH PARVATHANENI --- > (In reply to rguent...@suse.de f

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2021-05-20 Thread jvb at cyberscience dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #217 from John Buddery --- Thanks very much for adding the binutils patch. Sorry, I'm new to .md definitions, so I've probably got this wrong. Did you mean something like: (define_insn "call_nogp_longcall" [(call (mem:DI (match_op

[Bug fortran/96711] Internal Compiler Error on NINT() Function

2021-05-20 Thread bernd.eggen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96711 --- Comment #23 from bernd.eggen at gmail dot com --- Many thanks Tobias, noted - bw, Bernd On Thu, 20 May 2021 at 09:12, burnus at gcc dot gnu.org < gcc-bugzi...@gcc.gnu.org> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96711 > > Tobia

[Bug tree-optimization/100696] New: mult_higpart is not vectorized

2021-05-20 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100696 Bug ID: 100696 Summary: mult_higpart is not vectorized Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug c/100697] New: Missing fwprop for argument register

2021-05-20 Thread zhongyunde at huawei dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100697 Bug ID: 100697 Summary: Missing fwprop for argument register Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/100698] New: Error when initializing a struct member of type char[N] with short string literal

2021-05-20 Thread iDingDong at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100698 Bug ID: 100698 Summary: Error when initializing a struct member of type char[N] with short string literal Product: gcc Version: 11.1.0 Status: UNCONFIRMED Seve

[Bug testsuite/100655] 'g++.dg/tsan/pthread_cond_clockwait.C' FAILs due to 'pthread_cond_clockwait' missing

2021-05-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100655 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigne

[Bug target/97205] arm: Compiler fails with an ICE for -O0 on Trunk and GCC-10 for _Generic feature.

2021-05-20 Thread sripar01 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97205 --- Comment #25 from SRINATH PARVATHANENI --- (In reply to rguent...@suse.de from comment #24) > On Thu, 20 May 2021, sripar01 at gcc dot gnu.org wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97205 > > > > --- Comment #23 from SRINA

[Bug libstdc++/100676] Redeclaring __failed_assertion() at every point of use of __glibcxx_assert breaks Clang CUDA

2021-05-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100676 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |11.2 --- Comment #2 from Jonathan Wak

[Bug fortran/100651] Weird memory corruption with multiple triggers

2021-05-20 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100651 G. Steinmetz changed: What|Removed |Added CC||gs...@t-online.de --- Comment #1 from G.

[Bug fortran/100651] Weird memory corruption with multiple triggers

2021-05-20 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100651 --- Comment #2 from G. Steinmetz --- Simplified a bit : $ cat z1.f90 module m type :: t contains procedure, pass(this) :: assign_to_string generic :: assignment(=) => assign_to_string end type contains subroutine assig

[Bug c++/100699] New: g++ doesn't warn uninitialized field when the class is derived from another class

2021-05-20 Thread mytbk920423 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100699 Bug ID: 100699 Summary: g++ doesn't warn uninitialized field when the class is derived from another class Product: gcc Version: 11.1.0 Status: UNCONFIRMED Seve

[Bug c++/100700] New: -Wreturn-type has many false positives

2021-05-20 Thread gonzalo.gadeschi at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100700 Bug ID: 100700 Summary: -Wreturn-type has many false positives Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug rtl-optimization/100701] New: [12 Regression] wrong code with -O -fschedule-insns2

2021-05-20 Thread zsojka at seznam dot cz via Gcc-bugs
59e1d4d-checking-yes-rtl-df-extra-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.0 20210520 (experimental) (GCC)

[Bug c/100702] New: Strict overflow warning regression in gcc 8 onwards

2021-05-20 Thread david at westcontrol dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100702 Bug ID: 100702 Summary: Strict overflow warning regression in gcc 8 onwards Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug tree-optimization/100696] mult_higpart is not vectorized

2021-05-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100696 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Blocks|

[Bug c++/100703] New: __vector_pair and __vector_quad cannot be passed by reference

2021-05-20 Thread alexander.grund--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100703 Bug ID: 100703 Summary: __vector_pair and __vector_quad cannot be passed by reference Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal

[Bug target/100701] [12 Regression] wrong code with -O -fschedule-insns2

2021-05-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100701 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c/100702] Strict overflow warning regression in gcc 8 onwards

2021-05-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100702 Richard Biener changed: What|Removed |Added Keywords||diagnostic Version|unknown

[Bug jit/100688] Add support for link section

2021-05-20 Thread bouanto at zoho dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100688 --- Comment #5 from Antoni --- This is much less work as I'm reusing the rustc front-end.

[Bug c++/100675] std::string_view::find in constexpr function is not constant expression

2021-05-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100675 --- Comment #2 from Jonathan Wakely --- Maybe we should just get rid of the __constant_string_p stuff entirely.

[Bug c/100702] Strict overflow warning regression in gcc 8 onwards

2021-05-20 Thread david at westcontrol dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100702 --- Comment #2 from David Brown --- Runtime diagnostics can be very useful - but they are a different kind of warning. In particular, they only show what errors have occurred during your testing - they don't show what errors /might/ occur. The

[Bug libstdc++/100361] gcc-11 for msp430-elf fails to build: src/c++17/floating_to_chars.cc:107: d2fixed_full_table.h:1283:23: error: size of array ‘POW10_SPLIT_2’ exceeds maximum object size ‘32767’

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100361 --- Comment #11 from CVS Commits --- The master branch has been updated by Joern Rennecke : https://gcc.gnu.org/g:66c5f24788652a49b528f14e23e8121ad0935ace commit r12-942-g66c5f24788652a49b528f14e23e8121ad0935ace Author: Joern Rennecke Date:

[Bug target/99977] arm: ICE with __sync_bool_compare_and_swap and -mcpu=cortex-m23

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99977 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Alex Coplan : https://gcc.gnu.org/g:0a193c95590779aad4036f18258b0eebb9f70a62 commit r10-9838-g0a193c95590779aad4036f18258b0eebb9f70a62 Author: Alex Coplan Date:

[Bug libstdc++/100361] gcc-11 for msp430-elf fails to build: src/c++17/floating_to_chars.cc:107: d2fixed_full_table.h:1283:23: error: size of array ‘POW10_SPLIT_2’ exceeds maximum object size ‘32767’

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100361 --- Comment #12 from CVS Commits --- The releases/gcc-11 branch has been updated by Joern Rennecke : https://gcc.gnu.org/g:5f772bd9847cdbf6a7a6d856de87cb65472d56f4 commit r11-8446-g5f772bd9847cdbf6a7a6d856de87cb65472d56f4 Author: Joern Renneck

[Bug testsuite/100655] 'g++.dg/tsan/pthread_cond_clockwait.C' FAILs due to 'pthread_cond_clockwait' missing

2021-05-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100655 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|redi at gcc do

[Bug target/100703] __vector_pair and __vector_quad cannot be passed by reference

2021-05-20 Thread alexander.grund--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100703 --- Comment #1 from Alexander Grund --- It goes further: Even the usual conversion rules for pointer types don't apply: void foo(__vector_pair*){} void bar(const __vector_pair*){} int main(){ __vector_pair p; foo(p); // works bar(p); // f

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2021-05-20 Thread dave.anglin at bell dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #218 from dave.anglin at bell dot net --- On 2021-05-20 5:19 a.m., jvb at cyberscience dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 > > --- Comment #217 from John Buddery --- > Thanks very much for adding the bi

[Bug target/100701] [12 Regression] wrong code with -O -fschedule-insns2

2021-05-20 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100701 Uroš Bizjak changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug jit/100688] Add support for link section

2021-05-20 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100688 --- Comment #6 from David Malcolm --- Thanks for the patch; I like the idea; various nits below: > diff --git a/gcc/jit/docs/topics/expressions.rst > b/gcc/jit/docs/topics/expressions.rst > index 396259ef07e..b39f6c02527 100644 > --- a/gcc/jit

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2021-05-20 Thread jvb at cyberscience dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #219 from John Buddery --- Great, thanks - I'll look at ia64.c and build and test with that change. Yes, "b" on ia64 seems to be a branch register, and the brl op only accepts immediate values not registers. Initially I hoped the ass

[Bug jit/100688] Add support for link section

2021-05-20 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100688 --- Comment #7 from David Malcolm --- One other thing: the docs should make it clear about the leading ".". If I want to create the equivalent of: __attribute__((section(".section"))) do I call it with: gcc_jit_lvalue_set_link_section(

[Bug gcov-profile/100145] missed optimization for dead code elimination at -O3 (vs. -O2)

2021-05-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100145 --- Comment #3 from Richard Biener --- Note after inlining we still have a backedge into BB 3: [local count: 1073741824]: c = 0; b.1_7 = b; if (b.1_7 != 0) goto ; [34.00%] else goto ; [66.00%] [local count: 3318838410]:

[Bug target/100704] New: Vector register isn't used to push BLKmode argument onto stack

2021-05-20 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100704 Bug ID: 100704 Summary: Vector register isn't used to push BLKmode argument onto stack Product: gcc Version: 11.1.1 Status: UNCONFIRMED Severity: normal

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2021-05-20 Thread dave.anglin at bell dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #220 from dave.anglin at bell dot net --- On 2021-05-20 9:37 a.m., jvb at cyberscience dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 > > --- Comment #219 from John Buddery --- > Great, thanks - I'll look at ia64.

[Bug analyzer/100705] New: warn about dead store

2021-05-20 Thread mail at milianw dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100705 Bug ID: 100705 Summary: warn about dead store Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: analyzer Assig

[Bug target/100704] Vector register isn't used to push BLKmode argument onto stack

2021-05-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100704 --- Comment #1 from Richard Biener --- Hmm, I didn't realize we can't push %xmm regs... With loads+stores the pushes do not look less efficient for this particular example? I suppose a nice architectural enhancement would be a push-multiple -

[Bug c++/100675] std::string_view::find in constexpr function is not constant expression

2021-05-20 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100675 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/97051] Evaluating is_constant_evaluated in requires clause fails

2021-05-20 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97051 Patrick Palka changed: What|Removed |Added CC||hewillk at gmail dot com --- Comment #7

[Bug libstdc++/100690] ranges::iota_view::_Sentinel cannot access _M_current of _Iterator

2021-05-20 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100690 Patrick Palka changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2021-05-20 Thread jvb at cyberscience dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #221 from John Buddery --- Thanks - that is neater, as it avoids the need to change the calls in ia64.c, which gets messy. The simplest variant I have is: (define_insn "call_nogp" [(call (mem:DI (match_operand:DI 0 "call_operand"

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2021-05-20 Thread dave.anglin at bell dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #222 from dave.anglin at bell dot net --- On 2021-05-20 10:02 a.m., dave.anglin at bell dot net wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 > > --- Comment #220 from dave.anglin at bell dot net --- > On 2021-05-20 9:37

[Bug ada/60977] Float_IO.Put fails on large floats when 'digits exceeds 15

2021-05-20 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60977 Eric Botcazou changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug testsuite/96488] failures of gnat.dg/unchecked_convert[56].adb on PowerPC64 LE

2021-05-20 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96488 Eric Botcazou changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ebotcazou at gcc dot gnu.org

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2021-05-20 Thread dave.anglin at bell dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #223 from dave.anglin at bell dot net --- On 2021-05-20 10:59 a.m., jvb at cyberscience dot com wrote: > The simplest variant I have is: > > (define_insn "call_nogp" > [(call (mem:DI (match_operand:DI 0 "call_operand" "?b,s")) >

[Bug testsuite/96488] failures of gnat.dg/unchecked_convert[56].adb on PowerPC64 LE

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96488 --- Comment #2 from CVS Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:325bb080259d3a00c5f5a7378872f78a2b889dfb commit r12-943-g325bb080259d3a00c5f5a7378872f78a2b889dfb Author: Eric Botcazou Date: Thu

[Bug testsuite/96488] failures of gnat.dg/unchecked_convert[56].adb on PowerPC64 LE

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96488 --- Comment #3 from CVS Commits --- The releases/gcc-11 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:a470d058707bf3e555f30adc68237f422d0a7d47 commit r11-8447-ga470d058707bf3e555f30adc68237f422d0a7d47 Author: Eric Botcazou D

[Bug testsuite/96488] failures of gnat.dg/unchecked_convert[56].adb on PowerPC64 LE

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96488 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:a4b3683e3cb00459eb74d1a37be8936abd529865 commit r10-9839-ga4b3683e3cb00459eb74d1a37be8936abd529865 Author: Eric Botcazou D

[Bug c++/100281] ICE with SImode pointer assignment in C++

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100281 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Andreas Krebbel : https://gcc.gnu.org/g:e43f47686980e9d0081aa765b619bdc89189b51a commit r11-8448-ge43f47686980e9d0081aa765b619bdc89189b51a Author: Andreas Krebb

[Bug testsuite/96488] failures of gnat.dg/unchecked_convert[56].adb on PowerPC64 LE

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96488 --- Comment #5 from CVS Commits --- The releases/gcc-9 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:5bd98868260de9cfc44224cf3833eb86e95d7c47 commit r9-9544-g5bd98868260de9cfc44224cf3833eb86e95d7c47 Author: Eric Botcazou Dat

[Bug testsuite/96488] failures of gnat.dg/unchecked_convert[56].adb on PowerPC64 LE

2021-05-20 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96488 Eric Botcazou changed: What|Removed |Added Target Milestone|--- |9.4 Resolution|---

[Bug target/100704] Vector register isn't used to push BLKmode argument onto stack

2021-05-20 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100704 --- Comment #2 from H.J. Lu --- (In reply to Richard Biener from comment #1) > Hmm, I didn't realize we can't push %xmm regs... With loads+stores the > pushes do not look less efficient for this particular example? I suppose a > nice > archite

[Bug target/100706] New: Invalid instructions in plt calls on PPC

2021-05-20 Thread alexander.grund--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100706 Bug ID: 100706 Summary: Invalid instructions in plt calls on PPC Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: targe

[Bug c++/100646] [11 Regression] gcc -E -fdirectives-only causes "error: unterminated comment" when no new line at the end of file

2021-05-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100646 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Sum

[Bug c++/100707] New: [modules] ICE on nested namespace

2021-05-20 Thread amorvincitomnia.iw at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100707 Bug ID: 100707 Summary: [modules] ICE on nested namespace Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/100707] [modules] ICE on nested namespace

2021-05-20 Thread amorvincitomnia.iw at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100707 --- Comment #1 from wang ivor --- A quick workaround: https://wandbox.org/permlink/n8E5xJuJhq1CUA0e Create a module that only contains the namespace declaration, and 'export import' it whenever you declare a new namespace. // namespace_decl.cc

[Bug c/100661] [11/12 Regression] ICE in omp-low.c / refs_may_alias_p_2, at tree-ssa-alias.c:2460

2021-05-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100661 Jakub Jelinek changed: What|Removed |Added CC||burnus at gcc dot gnu.org,

[Bug target/100701] [12 Regression] wrong code with -O -fschedule-insns2

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100701 --- Comment #3 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:a71f55c482ada2c6c31d450ac22494b547512127 commit r12-945-ga71f55c482ada2c6c31d450ac22494b547512127 Author: Uros Bizjak Date: Thu Ma

[Bug target/100701] [12 Regression] wrong code with -O -fschedule-insns2

2021-05-20 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100701 Uroš Bizjak changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2021-05-20 Thread dave.anglin at bell dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #224 from dave.anglin at bell dot net --- On 2021-05-20 10:59 a.m., jvb at cyberscience dot com wrote: > but I need to work out how to vary the attribute, as you were right: scall > maps > to a "B" type attribute, but brl is an L+X in

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2021-05-20 Thread jvb at cyberscience dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #225 from John Buddery --- Yes, I looked briefly at that - I added a new class, but then started hitting bundling errors because it wasn't being positioned correctly in the 3 instruction bundle. It will need more changes to itanium2.

[Bug c/100702] Strict overflow warning regression in gcc 8 onwards

2021-05-20 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100702 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org Seve

[Bug c++/100700] -Wreturn-type has many false positives

2021-05-20 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100700 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org Seve

[Bug target/100706] Invalid instructions in plt calls on PPC

2021-05-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100706 --- Comment #1 from Andrew Pinski --- GCC does not generate the PLTs directly normally. It is the linker. Does using BFD ld instead of gold fix the issue?

[Bug libstdc++/100639] reverse_iterator::reference erroneously uses iterator_traits::reference instead of iter_reference_t

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100639 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:d5cbe0f0d4b7bc11f80b2236521f90ec94e95767 commit r12-946-gd5cbe0f0d4b7bc11f80b2236521f90ec94e95767 Author: Patrick Palka Date: Th

[Bug tree-optimization/100696] mult_higpart is not vectorized

2021-05-20 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100696 Uroš Bizjak changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org --- Comment #

[Bug tree-optimization/88240] [9 Regression] Potential optimization bug: invalid pre-load of floating-point value could cause SIGFPE-underflow if value is integer

2021-05-20 Thread patrickdepinguin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88240 --- Comment #23 from Thomas De Schampheleire --- Thanks a lot!

[Bug testsuite/100655] 'g++.dg/tsan/pthread_cond_clockwait.C' FAILs due to 'pthread_cond_clockwait' missing

2021-05-20 Thread bernd.edlinger at hotmail dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100655 Bernd Edlinger changed: What|Removed |Added CC||bernd.edlinger at hotmail dot de ---

[Bug fortran/92065] [9/10/11/12 Regression] internal compiler error: in expand_expr_real_1

2021-05-20 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92065 --- Comment #27 from anlauf at gcc dot gnu.org --- The code seems to compile with today's trunk, but still fails with 11-branch. Could one of Paul's recent commits have fixed this? If so, a backport might be nice.

[Bug c++/100700] -Wreturn-type has many false positives

2021-05-20 Thread gonzalo.gadeschi at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100700 --- Comment #2 from gnzlbg --- > in a call to f(-1) the function falls off the end, Indeed, thanks. Using <= in the condition removes the warning. > and ditto in a call to h ((enum E)2) Until C++17, creating an enum value that's out-of-range

[Bug middle-end/100684] spurious -Wnonnull with -O1 on a C++ lambda

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100684 --- Comment #3 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:9480491a6447576e8e695b8ea3c4989cf72c9670 commit r12-948-g9480491a6447576e8e695b8ea3c4989cf72c9670 Author: Martin Sebor Date: Thu

[Bug middle-end/100684] [11 Regression] spurious -Wnonnull with -O1 on a C++ lambda

2021-05-20 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100684 Martin Sebor changed: What|Removed |Added Summary|spurious -Wnonnull with -O1 |[11 Regression] spurious

[Bug c++/99611] Code compilation issue using templates

2021-05-20 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99611 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Resolu

[Bug c++/51577] dependent name lookup finds operator in global namespace

2021-05-20 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 Patrick Palka changed: What|Removed |Added CC||asif_bahrainwala at hotmail dot co

[Bug c++/100708] New: dynamic_cast can convert xvalue to lvalue

2021-05-20 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100708 Bug ID: 100708 Summary: dynamic_cast can convert xvalue to lvalue Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/100700] -Wreturn-type has many false positives

2021-05-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100700 --- Comment #3 from Jonathan Wakely --- (In reply to gnzlbg from comment #2) > Until C++17, creating an enum value that's out-of-range of the enum was > unspecified behavior. In C++ standard >= 17 (e.g. -std=c++17), this became > undefined behav

[Bug c++/100709] New: Use of a function parameter pack in an expression expected to be constexpr in a deduction guide produces an unclear diagnostic.

2021-05-20 Thread brycelelbach at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100709 Bug ID: 100709 Summary: Use of a function parameter pack in an expression expected to be constexpr in a deduction guide produces an unclear diagnostic. Product: gcc

[Bug c++/100708] dynamic_cast can convert xvalue to lvalue

2021-05-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100708 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/100694] PPC: initialization of __int128 is very inefficient

2021-05-20 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100694 Segher Boessenkool changed: What|Removed |Added Last reconfirmed||2021-05-20 Ever confirmed|0

[Bug fortran/100656] ICE in gfc_conv_expr_present, at fortran/trans-expr.c:1934

2021-05-20 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100656 --- Comment #2 from anlauf at gcc dot gnu.org --- Using a temporary may help: subroutine s(x) character(:), allocatable, optional :: x(:) character(:), allocatable :: y(:) if ( present(x) ) then if ( allocated(x) ) then

[Bug c++/100710] New: static_cast to derived* of base* pointing to non-static data member of base type not rejected in constant expression

2021-05-20 Thread jason.e.cobb at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100710 Bug ID: 100710 Summary: static_cast to derived* of base* pointing to non-static data member of base type not rejected in constant expression Product: gcc Version

[Bug libstdc++/100676] Redeclaring __failed_assertion() at every point of use of __glibcxx_assert breaks Clang CUDA

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100676 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:6b42b5a8a207de5e021a2916281f46bcd60b20d2 commit r12-952-g6b42b5a8a207de5e021a2916281f46bcd60b20d2 Author: Jonathan Wakely Date:

  1   2   >