Bug 24979 - DECL_MAIN_P is declared twice in cp-tree.h
Summary: DECL_MAIN_P is declared twice in cp-tree.h
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: c++ (show other bugs)
Version: 4.1.0
: P3 normal
Target Milestone: 4.2.0
Assignee: Volker Reichelt
URL: http://gcc.gnu.org/ml/gcc-patches/200...
Keywords: patch
Depends on:
Blocks:
 
Reported: 2005-11-21 21:08 UTC by Andrew Pinski
Modified: 2005-11-27 22:38 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2005-11-24 17:11:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Pinski 2005-11-21 21:08:14 UTC
I was too lazy to fix this so instead I was filing a bug.

Anyways DECL_MAIN_P is declared twice in cp-tree.h with the same definition.  I don't know or when it happend but it does.
Comment 1 Volker Reichelt 2005-11-24 17:10:43 UTC
Confirmed.
The duplicate definition was introduced in GCC 3.0.

I'll take care of the patch.
Comment 2 Volker Reichelt 2005-11-27 22:37:09 UTC
Subject: Bug 24979

Author: reichelt
Date: Sun Nov 27 22:37:06 2005
New Revision: 107578

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107578
Log:
	PR c++/24979
	* cp-tree.h (DECL_MAIN_P): Remove duplicate definition.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h

Comment 3 Volker Reichelt 2005-11-27 22:38:16 UTC
Fixed on mainline.