Priority: P3
Component: libgcc
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
If I compile program below with g++-7 main.cpp -static-libgcc -static-libstdc++
and run it on OSX, I get
$ ./a.out
Abort trap: 6
$ echo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69582
ryan.burn at gmail dot com changed:
What|Removed |Added
CC||ryan.burn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69582
--- Comment #5 from ryan.burn at gmail dot com ---
My copyright assignment should be set up now. Thanks.
: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
Created attachment 38369
--> https://gcc.gnu.org/bugzi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70862
--- Comment #1 from ryan.burn at gmail dot com ---
Simpler reproduction:
template
concept bool C = true;
template
constexpr bool a = false;
template
requires C
constexpr bool a = true;
template
requires a
void f(Tx...) {
}
int main
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65960
ryan.burn at gmail dot com changed:
What|Removed |Added
CC||ryan.burn at gmail dot com
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
Created attachment 38372
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38372&action=edit
example that reproduces the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69582
--- Comment #6 from ryan.burn at gmail dot com ---
There's also some issues with cilk features and precompiled headers. I put in
70865 to track.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63142
ryan.burn at gmail dot com changed:
What|Removed |Added
CC||ryan.burn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70862
--- Comment #3 from ryan.burn at gmail dot com ---
It's a different bug. The test case from 70095 compiles fine with the trunk
from 20160428, but the above example won't.
mponent: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The below code compiles fine with clang and a version of gcc build from trunk
on 20160428, but with the trunk version from 20160519, it gives this bad error
messa
++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
This code won't compile with GCC
/
template
struct A {
void f()
requires std::is_same_v
{
}
void
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
Created attachment 41466
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41466&action=edit
preprocessed code
Running with trunk:
g++ (GCC) 7.0.1 2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80967
--- Comment #2 from ryan.burn at gmail dot com ---
That's built from trunk only less than 2 months ago. Are you certain this is
invalid? Did you actually try to reproduce?
++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
Created attachment 41535
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41535&action=edit
preprocessed code
Using gcc:
g++ (GCC) 8.0.0 20170610 (experimental)
Copyr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81052
--- Comment #2 from ryan.burn at gmail dot com ---
Created attachment 41538
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41538&action=edit
old compiler preprocessed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81052
--- Comment #3 from ryan.burn at gmail dot com ---
The only other gcc I have installed is
g++ (GCC) 7.0.1 20170408 (experimental)
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions
++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
Compiling this code:
###
double max(double* x, int n) {
double m = 0;
int i;
#pragma omp simd linear (i) reduction
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
I believe the below code should work but it gives me the error:
main.cpp:6:1: error: two consecutive '[' shall only in
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The below code should be valid but gives this error when compiling with gcc
(7.0.0 201609)
prog.cc: In instantiation of 'str
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The below code should compile but gives this error with g++ built from trunk
(20161022).
main.cpp: In function ‘int main()’:
main.cpp:12:13: error
++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
Created attachment 36339
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36339&action=edit
code that reproduces segfault
The attached code causes a segfault with the latest version
++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
Created attachment 36350
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36350&action=edit
files to reproduce
The below steps cause gcc to segfault when building
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
Created attachment 36353
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36353&action=edit
reproduces problem
My version of gcc:
g
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
I expect the following should be valid code:
### BEGIN CODE
template
void
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
In this code
/
template
void consume
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
This code compiles with gcc
g++ (GCC) 6.0.0 20150915 (experimental)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The following code fails to compile with g++ (GCC) 6.0.0 20150915
(experimental)
/
template
class A
++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
Created attachment 36372
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36372&action=edit
preprocessed code
The attached code causes a segfault with gcc 6
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The below code produces an ICE compiling with -std=c++1z:
template
bool f(T x) {
return requires(T x
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The following code causes an ICE:
//
template
concept bool C() {
return requires(X x, bool b
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
I think the below code should compile: the first version of "f" should trigger
SFINAE but the second version should match so that the program prints 2.
But i
++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
This code fails to compile but should.
It gives the following error:
main.cpp: In function ‘int main()’:
main.cpp:11:15: error: template constraint failure
Ax a
: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The below code is valid but gives this error with gcc:
main.cpp: In instantiation of ‘auto f(const std::tuple<_El0, _El ...>&)
requires predicate((cpt_BooleanFal
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The following code prints 1 1, but according to
http://stackoverflow.com/questions/32801326/in-requires-parameter-lists-can-you
++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
Created attachment 36403
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36403&action=edit
preprocessed code
Here's the stack trace I get when compiling the attach
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67737
ryan.burn at gmail dot com changed:
What|Removed |Added
Attachment #36403|0 |1
is obsolete
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67737
--- Comment #4 from ryan.burn at gmail dot com ---
yes, sorry. I attached the wrong file.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67737
ryan.burn at gmail dot com changed:
What|Removed |Added
Status|RESOLVED|UNCONFIRMED
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
Below code produces this ICE:
t.cpp: In function ‘int main()’:
t.cpp:21:16: error: wrong number of template arguments (1, should be 2)
std
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The below code prints 0, but it should print 1.
/
#include
++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
Created attachment 36439
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36439&action=edit
preprocessed code
the attached code produces this ICE when compiled with -std=c++1z
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The below code prints 1 but &A::operator() is an invalid expression so it
should pri
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The below code compiles fine with clang and EDG (intel's compiler) but gives
this error with gcc:
t.cpp: In instantiation of ‘auto g(T
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
Gcc gives this error compiling the below code. But function v1 is more
specialized than v2 so there should be
++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
Created attachment 36447
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36447&action=edit
preprocessed code
the attached code gives this trace:
rnburn@localhost
: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The below code should be valid, but gcc gives the following error, which
references a completely
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
I think the below code should compile.
>From section 14.6.6.2:
Partial ordering selects which of two function templa
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
Created attachment 36514
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36514&action=edit
code
The attached code contain
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67969
--- Comment #1 from ryan.burn at gmail dot com ---
Reduced further:
emplate
class NumericArray {};
template
constexpr bool match_numeric_array = false;
template
constexpr bool
match_numeric_array> =
true;
template
concept b
++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The below code should compile, but I get this error:
bug.cpp: In function ‘int main()’:
bug.cpp:29:13: error: the value of ‘match_numeric_array’ is not usable in a
constant expression
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The below code causes the following ICE
rnburn@localhost ~/test/gcc_cilk $ c++17 -fcilkplus -lcilkrts t.cpp
t.cpp: In function ‘void
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66326
ryan.burn at gmail dot com changed:
What|Removed |Added
CC||ryan.burn at gmail dot com
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
Created attachment 36560
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36560&action=edit
preprocessed code
The attach
++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The following code compiles fine with clang and EDG, but gives this error with
g++ -std=c++1z:
main.cpp: In function ‘auto make(int)’:
main.cpp:5:17: error: declaration of ‘int
NCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The following code gives the error "binary expression in operand of
++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
Created attachment 36740
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36740&action=edit
preprocessed code
The attached code causes gcc to hang forever.
++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The below code compiles fine with clang
(http://melpon.org/wandbox/permlink/Rm6dpbmC0N3eMJJa) and earlier versions of
gcc-6, but was recently broken. Gcc gives this error when
++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
Created attachment 36744
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36744&action=edit
preprocessed code
The attached code compiles with an earlier version of gcc-6 but
++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The attached code compiles with an earlier version of gcc-6 but now it
segfaults with the following stack trace:
bug5.cpp: In instantiation of ‘constexpr const bool
htl::detail_concept
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68395
--- Comment #1 from ryan.burn at gmail dot com ---
Created attachment 36745
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36745&action=edit
preprocessed code
++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
This valid code below worked until recently with gcc-6. The latest version of
gcc-6 gives the incorrect error:
bug2.cpp: In function ‘auto make_dimensionality_impl()’:
bug2.cpp:7:17: error
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68396
--- Comment #1 from ryan.burn at gmail dot com ---
It looks like this was caused with the commit "Handle auto parameter packs."
(https://github.com/gcc-mirror/gcc/commit/018c146eec4143116f7f422239d56eb4047
: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The below code causes this ICE:
bug.cpp: In function ‘int main()’:
bug.cpp:19:8: internal compiler
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The code below generates this ICE when compiled with
g++ (GCC) 6.0.0 20151118 (experimental)
constexpr bool C1() constexpr bool C2
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The below code produces this ICE:
rnburn@localhost ~/bugs/constexprice $ g++ -std=c++1z main.cpp
main.cpp: In function ‘constexpr std::array f(int, int, int)’:
main.cpp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68396
ryan.burn at gmail dot com changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68464
ryan.burn at gmail dot com changed:
What|Removed |Added
Status|RESOLVED|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68464
--- Comment #3 from ryan.burn at gmail dot com ---
Also, the test case attached to 223901 compiles fine for me.
ty: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The below code should compile but it gives the error:
main.cpp:7:15: error: invalid reference to function concept ‘template conste
++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
Below code causes this stack trace when compiled with -std=c++1z when compiled
with
rnburn@localhost ~/bugs/lambda_check_return $ g++17 --version
g++ (GCC) 6.0.0 20151123
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68597
--- Comment #1 from ryan.burn at gmail dot com ---
This looks similar to 67846, but the fix from that bug was already put in and I
verified its test case works.
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The below code causes this ICE when compiled with
rnburn@localhost ~/test/explicit_concept $ g++17 --version
g++ (GCC) 6.0.0 20151123 (experimental)
Copyright (C) 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68434
--- Comment #5 from ryan.burn at gmail dot com ---
reduction for the other test case:
template
struct is_same {
static
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The below code causes a "same canonical type node for diff
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68434
ryan.burn at gmail dot com changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68290
Bug 68290 depends on bug 68434, which changed state.
Bug 68434 Summary: [concepts] function tsubst sets TYPE_CANONICAL before
setting a type's PLACEHOLDER_TYPE_CONSTRAINTS
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68434
What|Re
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491
Bug 67491 depends on bug 68434, which changed state.
Bug 68434 Summary: [concepts] function tsubst sets TYPE_CANONICAL before
setting a type's PLACEHOLDER_TYPE_CONSTRAINTS
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68434
What|Re
ormal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The below code should compile but gives this error with gcc 20151123:
main.cpp: In function ‘int main()’:
main.cpp:7:3: error: exp
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The below code segfaults with g++ 20151123
///
template
struct a_type
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68429
--- Comment #1 from ryan.burn at gmail dot com ---
Additional case. (not sure if it's the same bug)
namespace std {
typedef int s
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68683
ryan.burn at gmail dot com changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The follow code compiles fine with clang
(http://melpon.org/wandbox/permlink/VNNQJW7whi3CmEKH) but gives this error with
gcc
: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The below code should be valid but gives this error:
main.cpp: In function ‘void compute_cilk
++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The below valid code causes this ICE:
t1.cpp: In function ‘void g()’:
t1.cpp:18:22: internal compiler error: gimplification failed
b = _Cilk_spawn f2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69017
--- Comment #1 from ryan.burn at gmail dot com ---
Better example:
struct B {
};
B f() { return
IRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The below code gives this error but should compile:
prog.cc: In function 'void g()':
prog.cc:12:21:
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The following code should compile but gives this error:
implicit_cast.cpp: In function ‘void g
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The below code generates this ICE:
In function ‘’:
cc1plus: internal compiler error: in verify_gimple_stmt, at tree-cfg.c
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The below code compiles fine with clang but causes thi
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The below code generates this ICE:
prog.cc: In function 'void g()':
prog.cc:6:21: internal compiler error: in gimplif
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The below code when compiled with -fcilkplus gives the following ICE:
main.cpp: In function ‘double t1(double*, int)’:
main.cpp:4:3: internal
++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The below code causes this ICE:
rnburn@localhost ~/test/cilk_reduction $ /usr/local/experimental/bin/g++
-fcilkplus -O3 -march=native -c -S bug.cpp
bug.cpp: In function
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
The below code produces an ambiguous overload error.
I'm not completely sure if the concept-lite standard dictates th
++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
Backtrace
bazel-out/k8-opt-exec-2B5CBBC6/bin/util/process_wrapper/process_wrapper --
/usr/local/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall
-Wunused-but-set-parameter -Wno-free-nonheap
: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
Here is the stacktrace.
It happened when I tried to compile a header module that imported another
header module:
// a.h
import ;
SUBCOMMAND: # //example/header
: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
Here's how to reproduce
/// say_hello.cc
module;
#include
#include
export module
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99543
--- Comment #2 from ryan.burn at gmail dot com ---
it worked with
root@15a43977d8e1:/t/hdr-mod# g++ --version
g++ (GCC) 11.0.1 20210311 (experimental)
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99543
ryan.burn at gmail dot com changed:
What|Removed |Added
Resolution|--- |FIXED
Status
++
Assignee: unassigned at gcc dot gnu.org
Reporter: ryan.burn at gmail dot com
Target Milestone: ---
Here's how to reproduce
// a-m.cc
module;
#include
export module a;
export std::string do_a() {
return "abc";
}
// main.cc
#include
import a;
int main() {
1 - 100 of 101 matches
Mail list logo