[Bug c++/20350] New: 4.0 and higher: ICE

2005-03-06 Thread carlo at gcc dot gnu dot org
Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: carlo at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: i686-redhat-linux-gnu http://gcc.gnu.org/bugzilla

[Bug c++/20350] 4.0 and higher: ICE

2005-03-06 Thread carlo at gcc dot gnu dot org
--- Additional Comments From carlo at gcc dot gnu dot org 2005-03-06 22:33 --- Created an attachment (id=8345) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8345action=view) bzip2-ed preprocessed source code. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20350

[Bug c++/20350] 4.0 and higher: ICE

2005-03-06 Thread carlo at gcc dot gnu dot org
--- Additional Comments From carlo at gcc dot gnu dot org 2005-03-06 23:20 --- Created an attachment (id=8348) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8348action=view) Same, but without PCH. Sorry, the previous one was compiled with pch. This one is without PCH

[Bug c++/20350] [4.0/4.1 Regression] extern template and struct initializer and specification for a static variable

2005-05-30 Thread carlo at gcc dot gnu dot org
--- Additional Comments From carlo at gcc dot gnu dot org 2005-05-31 02:33 --- If you remove the 'extern', the compiler still crashes: struct a { int i, j; }; template int i struct mutex_tct { static a S_mutex; }; template int i a mutex_tcti::S_mutex = {0,1}; template a mutex_tct0

[Bug libstdc++/11953] _REENTRANT defined when compiling non-threaded code.

2005-11-29 Thread carlo at gcc dot gnu dot org
--- Comment #38 from carlo at gcc dot gnu dot org 2005-11-29 16:05 --- That never works because it always defines _REENTRANT. You probably mean: #ifdef _REENTRANT #define GCC_BUGFIX 1 #endif #include iostream #undef _REENTRANT #ifdef GCC_BUGFIX #define _REENTRANT 1 #endif The drawback

[Bug c++/18110] New: Possible regression with error no match for 'operator*'

2004-10-22 Thread carlo at gcc dot gnu dot org
: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: carlo at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: i686-redhat-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18110

[Bug c++/18110] Possible regression with error no match for 'operator*'

2004-10-22 Thread carlo at gcc dot gnu dot org
--- Additional Comments From carlo at gcc dot gnu dot org 2004-10-22 13:56 --- Created an attachment (id=7398) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7398action=view) bzip2-ed preprocessed source code without line numbers (s/^# .*//). -- http://gcc.gnu.org/bugzilla

[Bug c++/18110] Possible regression with error no match for 'operator*'

2004-10-22 Thread carlo at gcc dot gnu dot org
--- Additional Comments From carlo at gcc dot gnu dot org 2004-10-22 15:01 --- Created an attachment (id=7399) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7399action=view) Stripped down test case. I managed to strip it down to a more reasonable size. Still not sure what is going

[Bug c++/18110] Possible regression with error no match for 'operator*'

2004-10-22 Thread carlo at gcc dot gnu dot org
--- Additional Comments From carlo at gcc dot gnu dot org 2004-10-22 15:32 --- Created an attachment (id=7400) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7400action=view) Maximal stripped down test case. This snippet still shows the same difference. If the 'friend' is removed

[Bug c++/18110] Possible regression with error no match for 'operator*'

2004-10-22 Thread carlo at gcc dot gnu dot org
--- Additional Comments From carlo at gcc dot gnu dot org 2004-10-22 15:39 --- Ok, thanks Volker. Our last posted crossed, sorry. I'll close the PR because I suppose you are right. I want my library to accept (a + b) * c however, so I guess I'd have to add new operator* prototypes

[Bug c++/37773] New: -Wfatal-errors aborts too early

2008-10-08 Thread carlo at gcc dot gnu dot org
Product: gcc Version: 4.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: carlo at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37773

[Bug c++/37773] -Wfatal-errors aborts too early

2008-10-08 Thread carlo at gcc dot gnu dot org
--- Comment #1 from carlo at gcc dot gnu dot org 2008-10-08 16:48 --- Here's another one: ../cwchessboard/PgnDatabase.cc:65: error: no matching function for call to ‘util::MemoryBlockList::append(gssize)’ ../cwchessboard/MemoryBlockList.h:232: note: candidates are: void util

[Bug tree-optimization/37810] New: Bad store sinking job

2008-10-12 Thread carlo at gcc dot gnu dot org
Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: carlo at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37810

[Bug tree-optimization/37810] Bad store sinking job

2008-10-12 Thread carlo at gcc dot gnu dot org
--- Comment #4 from carlo at gcc dot gnu dot org 2008-10-12 15:32 --- Note that the original code was: A operator++(void) { ++n; if (__builtin_expect(n == m, false)) g(); return *this; } but g++ fails to optimize that by decrementing m outside the loop (so I'm

[Bug c++/35405] New: Internal compiler error

2008-02-28 Thread carlo at gcc dot gnu dot org
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: carlo at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35405

[Bug c++/36659] New: Confusion error message order 'error: ‘functionname’ declared as an ‘inline’ variable'

2008-06-28 Thread carlo at gcc dot gnu dot org
: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: carlo at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36659