Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: csaba_22 at yahoo dot co.uk
Target Milestone: ---
The following code
struct Foo{};
struct Bar{};
struct Base {
Foo func1(const Foo , const Bar = Bar{}) const {
return
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: csaba_22 at yahoo dot co.uk
Target Milestone: ---
template
struct Bar{
void setNumber(int) {}
};
template
struct Asd : public Bar>{
void doSomething();
};
template
inline v
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104160
Csaba Ráduly changed:
What|Removed |Added
CC||csaba_22 at yahoo dot co.uk
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105752
--- Comment #5 from Csaba Ráduly ---
The fact that GCC 11 shows an error for the code in comment #4 suggests that
this was a bug which was fixed. Does it ring a bell to anyone? This bug should
probably marked as a duplicate, but of which other b
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105752
--- Comment #4 from Csaba Ráduly ---
Looks like there *was* a bug, I just wasn't able to properly reproduce it
initially:
#include
#include
class CB {
struct DCB {};
};
struct NMC1 : public CB {
int meow() const { return __LINE__
++
Assignee: unassigned at gcc dot gnu.org
Reporter: csaba_22 at yahoo dot co.uk
Target Milestone: ---
The following code
class Outer
{
private: // !
struct Inner
{};
};
template
struct Meow
{
void purr() {
Outer::Inner oi;
}
};
int main
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99650
--- Comment #4 from Csaba Ráduly ---
Is this a dup of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79372 ?
https://www.mail-archive.com/gcc-bugs@gcc.gnu.org/msg522821.html
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: csaba_22 at yahoo dot co.uk
Target Milestone: ---
Created attachment 50423
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50423&action=edit
gzipped preprocessor outp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89151
--- Comment #5 from Csaba Ráduly ---
Appears to be fixed in GCC 8.3.0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89090
--- Comment #7 from Csaba Ráduly ---
Don't be sad, use -std=c++17 :)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89151
--- Comment #4 from Csaba Ráduly ---
As I said, GCC trunk (9) can compile this example.
Did you check with the released 8.2.0 ?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89090
--- Comment #4 from Csaba Ráduly ---
svn blame vector.tcc claims that the inner, apparently redundant "#if
__cplusplus >= 201103L" appeared at this change:
r265485 | glisse | 2018-10-25 15:03:13 +0200 (Thu, 25 Oct 2018) | 24 lines
Relocation (=
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89151
--- Comment #2 from Csaba Ráduly ---
Commenting out the non-optional operator GetWhat makes GCC 8.2.0 compile the
example as written. However, that operator is needed if struct R is changed to
struct R {
boost::optional password;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89151
--- Comment #1 from Csaba Ráduly ---
Created attachment 45585
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45585&action=edit
preprocessor output from -save-temps
++
Assignee: unassigned at gcc dot gnu.org
Reporter: csaba_22 at yahoo dot co.uk
Target Milestone: ---
The following program is compiled successfully by clang-4.0, clang-6.0,
clang-trunk, GCC 7.3 (Ubuntu 7.3.0-27ubuntu1~18.04) and GCC trunk.
&g
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89090
--- Comment #2 from Csaba Ráduly ---
> Are you actually seeing a problem because of this?
Not as such. What I did was to generate the pre-processed output, replace #s
with // (so the line numbers are the raw ones for the raw preprocessed file)
a
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: csaba_22 at yahoo dot co.uk
Target Milestone: ---
vector.tcc contains the following at line 613
#if __cplusplus >= 201103L
template
void
vector<_Tp, _Alloc>::
_M_default_append(size_type
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88263
--- Comment #9 from Csaba Ráduly ---
Confirmed. The original logger.cc (from which logger2.cc was derived) is now
compiled successfully.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88263
--- Comment #5 from Csaba Ráduly ---
Created attachment 45367
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45367&action=edit
preprocessor output from -save-temps for the second version (with destructor)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88263
Csaba Ráduly changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Resolution|FIXED
++
Assignee: unassigned at gcc dot gnu.org
Reporter: csaba_22 at yahoo dot co.uk
Target Milestone: ---
Created attachment 45122
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45122&action=edit
preprocessor output from -save-temps
$ cat ../logger/src/logger2.cc
#include
namesp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86513
--- Comment #5 from Csaba Ráduly ---
BTW, I wasn't building in the source directory.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86513
--- Comment #3 from Csaba Ráduly ---
I don't get this. ostringstream isn't even supposed to have a default
constructor, only the openmode, string and openmode, and the move constructor
(if I'm reading [ostringstream.cons] in N4659 right).
In the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86513
--- Comment #2 from Csaba Ráduly ---
I don't get this. ostringstream isn't even supposed to have a default
constructor, only the openmode, string and openmode, and the move constructor
(if I'm reading [ostringstream.cons] in N4659 right).
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: csaba_22 at yahoo dot co.uk
Target Milestone: ---
$ svn info ../trunk/
Path: ~/wk/GCC99/trunk
Working Copy Root Path: ~/wk/GCC99/trunk
URL: https://gcc.gnu.org/svn/gcc/trunk
Relative URL
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86342
--- Comment #1 from Csaba Ráduly ---
See also https://gcc.gnu.org/ml/gcc/2018-06/msg00274.html
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: csaba_22 at yahoo dot co.uk
Target Milestone: ---
Created attachment 44332
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44332&action=edit
preprocessor output from -save-temps
#
++
Assignee: unassigned at gcc dot gnu.org
Reporter: csaba_22 at yahoo dot co.uk
Target Milestone: ---
Created attachment 43214
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43214&action=edit
preprocessed source, compressed
$ g++-8 -v -Wall -pedantic -Wextra -g -sav
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78755
--- Comment #1 from Csaba Ráduly ---
Created attachment 40291
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40291&action=edit
Preprocessed source
: normal
Priority: P3
Component: sanitizer
Assignee: unassigned at gcc dot gnu.org
Reporter: csaba_22 at yahoo dot co.uk
CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
jakub at gcc dot gnu.org, kcc at gcc dot
++
Assignee: unassigned at gcc dot gnu.org
Reporter: csaba_22 at yahoo dot co.uk
Target Milestone: ---
The following code fails to link when compiled with -O0. It links when compiled
with -O1 or higher, or -Og:
template
class du {
R r;
public:
constexpr du() = default
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60498
--- Comment #12 from Csaba Ráduly ---
Doh. Disregard me.
$ g++ -std=c++11 -E -dM -x c++ /dev/null | egrep -i 'ansi|std|plus'
#define __STDC_HOSTED__ 1
#define __STRICT_ANSI__ 1
#define __cplusplus 201103L
#define __stdcall __attribute__((__stdcal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60498
Csaba Ráduly changed:
What|Removed |Added
CC||csaba_22 at yahoo dot co.uk
--- Comment
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54194
Bug #: 54194
Summary: GCC 4.8 gives misleading suggestion about arithmetic
in operand of '|'
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIR
34 matches
Mail list logo