https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98206
--- Comment #6 from Roland B ---
Great!
This also works well in the original (more complex) scenario
(https://github.com/rbock/sqlpp11/issues/355).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98206
--- Comment #1 from Roland B ---
Here is the actual error message:
// -
example.cpp:16:49: runtime error: reference binding to misaligned address
0x7ffdc34cab61 for type 'const struct X', which requires 8 byte alignment
0x7ffdc34cab61: note
: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: rbock at eudoxos dot de
Target Milestone: ---
The following code incorrectly triggers undefined behavior sanitizer
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81429
--- Comment #10 from Roland B ---
(In reply to Marek Polacek from comment #9)
> Fixed on trunk, will backport to 9.3 later.
Thanks! Much appreciated :-)
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: rbock at eudoxos dot de
Target Milestone: ---
Follow up to bug 82085:
This valid code now creates an internal compiler error
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82085
--- Comment #12 from Roland B ---
Done, reported as bug 82782. Thanks for your help!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82085
--- Comment #9 from Roland B ---
Here is the new minimal example (please let me know if this should go into a
new bug report):
// -
template
struct make_char_sequence;
template
struct make_char_sequence
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82085
--- Comment #8 from Roland B ---
(In reply to Paolo Carlini from comment #7)
> Fixed trunk and 7.3.0 so far.
Awesome!
Sadly, my "real" code still produces an internal compile error. I will try to
create a new minimal example.
Until then, you c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82085
--- Comment #1 from Roland B ---
Forgot to mention:
The command line I used:
/usr/local/gcc-trunk/bin/g++ -std=c++1z -Wall -Wpedantic -Wextra gcc-crash.cpp
Output:
gcc-crash.cpp:8:41: internal compiler error: Segmentation fault
using type = c
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: rbock at eudoxos dot de
Target Milestone: ---
I am currently porting sqlpp11 to C++17 and encountered a compiler crash using
the following code
// ---
template
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77449
--- Comment #2 from Roland B ---
(In reply to Eric Gallager from comment #1)
> As a human reader who doesn't know C++ very well I'd consider it to be
> ambiguous, too... maybe as a compromise the error could be downgraded to a
> warning?
"int" i
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: rbock at eudoxos dot de
Target Milestone: ---
g++ considers the following code ambiguous:
template
auto bar(Check, T...) -> void;
template
auto bar(int, T...) -> void
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70551
--- Comment #2 from Roland B ---
(In reply to Jonathan Wakely from comment #1)
> Your interpretation would mean that whether a compiler performs copy elision
> would change whether a program is well-formed or not (rather than only
> changing whet
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: rbock at eudoxos dot de
Target Milestone: ---
This code fails to compile:
template
struct X
{
X(X&&) { static_assert(sizeof(T) < 1, "Intentional Failu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67844
--- Comment #4 from Roland B ---
(In reply to Ville Voutilainen from comment #3)
> Patch available https://gcc.gnu.org/ml/gcc-patches/2015-10/msg00358.html
Works for me (sqlpp11, develop branch).
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: rbock at eudoxos dot de
Target Milestone: ---
Created attachment 36443
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36443&action=edit
struct with template constructor, instantiate, try to make_tuple f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67319
--- Comment #1 from Roland B ---
Using the terse notation works fine, btw:
// -
template
concept bool Any()
{
return true;
}
struct my_struct
{
auto sample(Any... args) -> void;
};
int main()
{
my_struct{}.s
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: rbock at eudoxos dot de
Target Milestone: ---
Created attachment 36240
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36240&action=edit
sample code that fails to compile with -std=c+
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66937
--- Comment #3 from Roland B ---
(In reply to Jason Merrill from comment #1)
> Author: jason
> Date: Thu Aug 6 17:42:25 2015
> New Revision: 226687
>
> URL: https://gcc.gnu.org/viewcvs?rev=226687&root=gcc&view=rev
> Log:
> PR c++/66937
>
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: rbock at eudoxos dot de
CC: andrew.n.sutton at gmail dot com
Target Milestone: ---
Created attachment 36014
--> https://gcc.gnu.org/bugzi
20 matches
Mail list logo