oduct: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cjdb.ns at gmail dot com
Target Milestone: ---
```
namespace foo {
void f();
}
nam
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115600
--- Comment #2 from Christopher Di Bella ---
I forgot that `gcc -v` can provide config options.
```
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/14.1.1/lto-wrapper
Target: x86_64-pc-linux-g
ormal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cjdb.ns at gmail dot com
Target Milestone: ---
Created attachment 58498
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58498&action=edit
Preprocessed source
## GCC inf
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113283
Christopher Di Bella changed:
What|Removed |Added
CC||cjdb.ns at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109337
--- Comment #3 from Christopher Di Bella ---
This is apparently a Clang bug: the RHS of `R42c` isn't evaluated because of
short-circuiting. Apologies for the noise and thanks for helping me work
through it.
onent: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cjdb.ns at gmail dot com
Target Milestone: ---
Clang and GCC disagree on whether or not this code is valid. This **may** be a
relic from the Concepts TS, which Clang doesn't implement.
https://godbolt.org/z/c7rGWE9s6
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cjdb.ns at gmail dot com
Target Milestone: ---
Clang and GCC disagree on the validity of concepts4.C. I think Clang is correct
here, because forming a reference to `void` should be ill-formed.
https://godbolt.org/z
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92505
Christopher Di Bella changed:
What|Removed |Added
CC||cjdb.ns at gmail dot com
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cjdb.ns at gmail dot com
Target Milestone: ---
Created attachment 50443
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50443&action=edit
Temp file for provided source
The following program is valid
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cjdb.ns at gmail dot com
Target Milestone: ---
Created attachment 50296
--> https://gcc.gnu.org/bugzilla/attachment.
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: cjdb.ns at gmail dot com
Target Milestone: ---
Created attachment 49186
--> https://gcc.gnu.org/bugzilla/attachment.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94241
--- Comment #1 from Christopher Di Bella ---
Created attachment 48074
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48074&action=edit
Temp for minimal repro
ormal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: cjdb.ns at gmail dot com
Target Milestone: ---
ranges::find_if chucks a wobbly when a struct is defined inside a function.
Seems to cooperate if the struct is in global
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93884
Christopher Di Bella changed:
What|Removed |Added
CC||cjdb.ns at gmail dot com
onent: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: cjdb.ns at gmail dot com
Target Milestone: ---
ranges::copy doesn't currently like non-readable iterators as its second/third
argument.
* Branch: GCC trunk
* Version: gcc (GCC) 10.0.1 20200222 (experimental)
ormal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: cjdb.ns at gmail dot com
Target Milestone: ---
Created attachment 47864
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47864&action=edit
Minimal repro
It
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cjdb.ns at gmail dot com
Target Milestone: ---
Attempts to compile `` and `` as header units cause GCC to
segfault. I'm aware that there are fewer headers that can be successfully
compiled as a header unit,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93761
--- Comment #1 from Christopher Di Bella ---
Created attachment 47846
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47846&action=edit
Iterator temp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82380
--- Comment #8 from Christopher Di Bella ---
The above (presumably) works in 466691493b9, but not in commits starting from
Git hash 6b42dfe4264.
Bugzilla autolink: r278774
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82380
--- Comment #7 from Christopher Di Bella ---
*** Bug 92739 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92739
Christopher Di Bella changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92739
--- Comment #1 from Christopher Di Bella ---
Created attachment 47402
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47402&action=edit
Preprocessed file for working build
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cjdb.ns at gmail dot com
Target Milestone: ---
Created attachment 47401
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47401&action=edit
Preprocessed f
ty: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cjdb.ns at gmail dot com
Target Milestone: ---
Created attachment 47011
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47011&action=edit
Requested file
# GCC
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85241
--- Comment #2 from Christopher Di Bella ---
Created attachment 43862
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43862&action=edit
static_assert equivalent (working)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85241
--- Comment #1 from Christopher Di Bella ---
Created attachment 43861
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43861&action=edit
Minimal reproduction
rsion: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cjdb.ns at gmail dot com
Target Milestone: ---
When declaring a class template with a member function tem
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84139
--- Comment #5 from Christopher Di Bella ---
It appears this is now compiling on trunk: https://godbolt.org/g/L9igrS.
Thanks.
Is it safe to close this issue yet?
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cjdb.ns at gmail dot com
Target Milestone: ---
Created attachment 43332
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43332&action=edit
Output from -save-temps for
++
Assignee: unassigned at gcc dot gnu.org
Reporter: cjdb.ns at gmail dot com
Target Milestone: ---
Created attachment 43301
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43301&action=edit
example.ii as produced by -save-temps
## Summary
Inline friends do not
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84139
--- Comment #2 from Christopher Di Bella ---
An observation by Casey Carter (maintainer for cmcstl2) was made over at
cpplang.slack.org#concepts:
> Presumably a concepts bug being triggered in the
> `std::iterator_traits`-hooking code at
> htt
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84139
--- Comment #1 from Christopher Di Bella ---
Created attachment 43300
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43300&action=edit
example.ii as produced by -save-temps (compressed)
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cjdb.ns at gmail dot com
Target Milestone: ---
## Summary
It is possible to cause an ICE on GCC 7 and GCC trunk with this simple example.
https://godbolt.org/g/RYBwaV. Please let me know if the issue should be
33 matches
Mail list logo