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)
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:
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))
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94196
Nate Eldredge changed:
What|Removed |Added
CC||nate at thatsmathematics 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
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94664
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |INVALID
Status|UNCONFIRMED
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
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
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
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.
*
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
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"
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
*
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.
*
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?
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
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
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94644
Jonathan Wakely changed:
What|Removed |Added
Depends on||41437
Status|UNCONFIRMED
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
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94661
Iain Sandoe changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Keywords|
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
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,
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
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15826
Jeffrey A. Law changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15348
Jeffrey A. Law changed:
What|Removed |Added
CC||law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94455
Iain Buclaw changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
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.
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94658
--- Comment #2 from Andrew Pinski ---
I think this is a dup of bug 57359.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94590
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
.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)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94590
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
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.
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
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
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
---
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,
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94505
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
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:
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
+
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94628
Patrick Palka changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
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.
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 |
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
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
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 \
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93338
--- Comment #6 from Thomas Koenig ---
Correction: Fails with -O, does not fail without optimization.
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.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94653
Iain Buclaw changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94652
Iain Buclaw changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
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
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 +-
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
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
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.
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:
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94347
Thomas Koenig changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
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:
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:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94347
Thomas Koenig changed:
What|Removed |Added
Ever confirmed|0 |1
Last reconfirmed|
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:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93500
Thomas Koenig changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
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:
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:
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
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
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94609
Iain Buclaw changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
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
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"
88 matches
Mail list logo