This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

target/5584: gcc package does not build on rs6000 AIX system with xlc compiler



>Number:         5584
>Category:       target
>Synopsis:       gcc package does not build on rs6000 AIX system with xlc compiler
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 04 11:06:04 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     lefurgy@us.ibm.com
>Release:        gcc-3.0.2
>Organization:
>Environment:
powerpc-ibm-aix4.3.1.0
>Description:

This is causing builds of gcc to fail ("make bootstrap")
(using the AIX xlc compiler) with the error

"varasm.c", line 923.5: 1506-068 (S) Operation between types "void*" and "int" is not allowed.
>How-To-Repeat:
On AIX 4.3 system using xlc, try to build the gcc package.
>Fix:
Incorrect code in file gcc/config/rs6000/aix.h
The macro UNIQUE_SECTION has the line

  string = alloca (len) + 1;

This should probably be:

  string = alloca (len+1);

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]