http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58263
--- Comment #6 from vova7890 ---
(In reply to Andrew Pinski from comment #4)
> How about looking into the MyClass1 to see if there is a friend class and
> have a quick heuristic about the spelling mistake when doing the error
> message?
Good idea
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58263
--- Comment #5 from vova7890 ---
(In reply to Jonathan Wakely from comment #3)
> But that will warn about valid code, where you didn't spell the name wrong.
Yes, but it can be not in one file, as in example. If it in one file, and
friend class is
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58263
--- Comment #2 from vova7890 ---
(In reply to Jonathan Wakely from comment #1)
> Do we warn in A.cc that B is not defined? It is defined in another header,
> but that isn't included by A.cc because it isn't needed.
We warn about implicit friend
: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: vova7890 at mail dot ru
Idea is in:
class MyClass1
{
friend class MyClas2; // trivial stupid human issue with MyClas2 -> MyClass2
private:
void help();
};
class MyClass2
{
public:
void need(MyClass1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54841
Bug #: 54841
Summary: Bad optimization on stack fill before call on ARM
Classification: Unclassified
Product: gcc
Version: 4.7.3
Status: UNCONFIRMED
Severity: normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5
vova7890 changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5
Bug #: 5
Summary: Optimization bug with array
Classification: Unclassified
Product: gcc
Version: 4.6.2
Status: UNCONFIRMED
Severity: normal
Priority: P3