https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95455
Egor Pugin changed:
What|Removed |Added
CC||egor.pugin at gmail dot com
--- Comment #6
++
Assignee: unassigned at gcc dot gnu.org
Reporter: egor.pugin at gmail dot com
Target Milestone: ---
https://godbolt.org/z/jfs98fhKK
clang, msvc seem to work.
```
template
struct A {
static void call() requires (N == 0) {
}
static void call(int x) requires (N
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114271
--- Comment #1 from Egor Pugin ---
echo "int f=[](class{" | g++ -x c++ -
: unassigned at gcc dot gnu.org
Reporter: egor.pugin at gmail dot com
Target Milestone: ---
int f=[](class{
:1:15: error: types may not be defined in parameter types
1 | int f=[](class{
| ^
:1:16: error: expected '}' at end of input
1 | int
: unassigned at gcc dot gnu.org
Reporter: egor.pugin at gmail dot com
Target Milestone: ---
https://godbolt.org/z/ojbzGYqbW
MSVC works.
template
struct Type {};
template
struct ImplT : Ts...
{ using Ts::operator()...; };
template
using ImplA = ImplT){})...>;
template
conste
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105858
--- Comment #6 from Egor Pugin ---
Same issue.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107981
--- Comment #2 from Egor Pugin ---
Ignore previous comment.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107981
--- Comment #1 from Egor Pugin ---
Also see following test cases.
===
ok for gcc
struct a {
operator auto();
};
struct b : a {
using a::operator auto;
};
===
not ok for gcc&clang, ok for msvc
struct a {
operator auto();
};
stru
mponent: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: egor.pugin at gmail dot com
Target Milestone: ---
struct a {
operator auto() { return 1; }
};
struct b : a {
using a::operator auto;
};
gives
:5:23: error: 'operator auto' has not been declared
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99243
--- Comment #5 from Egor Pugin ---
Possible naive fix is to change in module.cc (void module_state::set_filename
(const Cody::Packet &packet)):
- error_at (loc, "unknown Compiled Module Interface: %s",
packet.GetString ().c_
: unassigned at gcc dot gnu.org
Reporter: egor.pugin at gmail dot com
Target Milestone: ---
https://godbolt.org/z/987rxevMh
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106608
--- Comment #3 from Egor Pugin ---
Small repro https://godbolt.org/z/WKc7arxMs
Probably clang issue.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106608
Egor Pugin changed:
What|Removed |Added
CC||egor.pugin at gmail dot com
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106608
--- Comment #1 from Egor Pugin ---
Update links.
===
We've tried to build Telegram Desktop with GCC 12 and got such error:
http://paste.mva.name/co36VoGr.txt
There is a struct A { vector b; }, where B is a declared, but not defined
struct:
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: egor.pugin at gmail dot com
Target Milestone: ---
by John Preston
We've tried to build Telegram Desktop with GCC 12 and got such error:
http://paste.mva.name/co36VoGr.txt
There
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105999
--- Comment #3 from Egor Pugin ---
See ms response
https://developercommunity.visualstudio.com/t/C-Wrong-requires-result-inside-lambd/10073268#T-N10075675
: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: egor.pugin at gmail dot com
Target Milestone: ---
Gives x instead of y on any latest compiler.
https://godbolt.org/z/6MrvMaPoK
#include
struct A {
void g(){}
void f() {
[]() {
//if constexpr
: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: egor.pugin at gmail dot com
Target Milestone: ---
Works on 11.3, does not work on 12 and trunk.
https://godbolt.org/z/YrEbn3K6f
template
struct A
{
template
struct B
{
B(const L & left, con
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78352
--- Comment #17 from Egor Pugin ---
Iain, any chance of publishing your blocks patches as is?
Also what's the status of apple m1 support?
As I understand homebrew's gcc uses your patches, but I met blocks errors when
building cmake in file that
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105398
--- Comment #1 from Egor Pugin ---
auto f = [](auto &&m) {
enum { _,e3,e2,e1,C4,C3,C2,C1 };
static constexpr int x_coeffs[3][4] = {
{e1,C2,C3,C4},
{e2,C1,C3,C4},
{e3,C1,C2,C4},
};
};
int main() {
f(0);
}
: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: egor.pugin at gmail dot com
Target Milestone: ---
Works in 10.3, broken in 11.1 till trunk.
https://godbolt.org/z/x3z6WYroE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104503
--- Comment #3 from Egor Pugin ---
But what is using in 2.cpp?
Module m does not export anything.
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: egor.pugin at gmail dot com
Target Milestone: ---
11.2.1 works fine.
#include is present in include/c++/12.0.1/bits/shared_ptr_base.h
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99243
Egor Pugin changed:
What|Removed |Added
CC||egor.pugin at gmail dot com
--- Comment #2
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: egor.pugin at gmail dot com
Target Milestone: ---
template decltype(auto) { return v; }>
struct s {};
gives
Output of x86-64 gcc (trunk) (Compiler #2)
:1:21: error: 'auto' parameter not permitte
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103871
--- Comment #2 from Egor Pugin ---
Repro
#include
#include
#include
struct s {
s(std::vector &&);
};
struct async_task {
struct promise_type {
auto initial_suspend() const { return std::suspend_never{}; }
auto final_
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103871
--- Comment #1 from Egor Pugin ---
11.2.1 fails
g++ --version
g++ (GCC) 11.2.1 20211203 (Red Hat 11.2.1-7)
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: egor.pugin at gmail dot com
Target Milestone: ---
See https://godbolt.org/z/8zTGKj8Ts
gcc (trunk) fails.
gcc 11.2.0 builds ok.
error:
: In function 'async_task f()':
:28:1: error: array used as initial
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103754
--- Comment #5 from Egor Pugin ---
(In reply to Andrew Pinski from comment #3)
> Sadly it looks like modules are no where near prime time.
Seems so.
I set up my tooling and trying to play with them, but there are a lot of
issues.
Does someone
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103754
--- Comment #2 from Egor Pugin ---
Created attachment 52020
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52020&action=edit
more ice on g++-12 master
Adding more ICE logs without filing new tickets in case if need to check more
error pla
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103754
Egor Pugin changed:
What|Removed |Added
Summary|[11][ice][modules] import |[11,12][ice][modules]
|b
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: egor.pugin at gmail dot com
Target Milestone: ---
Created attachment 52019
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52019&action=edit
repro
./15899673681173752886.sh
+ rm -rf gcm.cache
+ g++ -st
++
Assignee: unassigned at gcc dot gnu.org
Reporter: egor.pugin at gmail dot com
Target Milestone: ---
Created attachment 52017
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52017&action=edit
repro
export module x;
import ;
std::pair environment;
gcc11 works fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103518
--- Comment #4 from Egor Pugin ---
Created attachment 51916
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51916&action=edit
preprocessed file
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103518
--- Comment #2 from Egor Pugin ---
Callgrind https://www.dropbox.com/s/3ro2ulrfp6jma8f/callgrind.out.39995?dl=1
Interestingly, clang++-13 hangs for 50 s. while gcc for 150 s.
Probably, clang also does something wrong here.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103518
Egor Pugin changed:
What|Removed |Added
CC||egor.pugin at gmail dot com
--- Comment
++
Assignee: unassigned at gcc dot gnu.org
Reporter: egor.pugin at gmail dot com
Target Milestone: ---
Preprocessed file (315KB):
https://www.dropbox.com/s/tey8z9mfi123uon/gcc_hang.tar.xz?dl=1
Command:
g++ -std=c++2b -c 1.cpp
Replace line 114821 from (invalid)
title_link title_
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103212
--- Comment #1 from Egor Pugin ---
Original code was closer to something like this:
---
#include
constexpr bool test = requires { [](auto o) {}(std::unique_ptr{}); };
static_assert(test);
---
++
Assignee: unassigned at gcc dot gnu.org
Reporter: egor.pugin at gmail dot com
Target Milestone: ---
---
constexpr bool test = requires { [](auto o){}(0); };
static_assert(test);
---
gives
:1:37: error: expected primary-expression before 'auto'
1 | constexpr
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: egor.pugin at gmail dot com
Target Milestone: ---
struct A {};
struct B : virtual A {};
struct C : virtual A {};
struct D : B,C { using A::A; };
Code is not correct, but g
40 matches
Mail list logo