OpenSolaris

Printable Version Enter a New Search
Bug ID 6309267
Synopsis gcc and ucblib don't get along
State 10-Fix Delivered (Fix available in build)
Category:Subcategory library:other
Keywords oss-bite-size | tonic-gcc
Sponsor
Submitter
Responsible Engineer Kenjiro Tsuji
Reported Against
Duplicate Of
Introduced In solaris_2.3
Commit to Fix snv_27
Fixed In snv_27
Release Fixed solaris_nevada(snv_27)
Related Bugs
Submit Date 10-August-2005
Last Update Date 9-November-2005
Description
ucblib's sparc/sys/signal.c has two casts between pointers and integers
of different sizes.  The standards do not specify whether this causes a
sign-extension; gcc sign-extends and warns while Studio does neither.  To
be portable, we should cast to uintptr_t first to indicate zero extension,
or intptr_t if we want sign extension.  See suggested fix.

[oss-bite-size]
Work Around
N/A
Comments
N/A