IJ08148: DIS TOOL STRIPS #PRAGMA COMMENT DATA
Closed as program error.
Generating assembly output via the -S compiler option or the 'dis' tool removes #pragma comment strings from the resulting assembly/object.
None. Comments are preserved when compiling directly to object from the compiler.
PROBLEM DESCRIPTION: The AIX as assembler did not support certain directives to allow .comment and .file sections, which prevented the XLC compiler from generating #pragma comment strings in the resulting assembler source files when using the -S option. USERS AFFECTED: Users of #pragma comment and the -S option.
Support for the .comment and .file assembler statements was added to the AIX as assembler in the following APARs: AIX 7100-04-04-1717 - APAR IV89962 AIX 7200-00-04-1717 - APAR IV92748 AIX 7200-01-02-1717 - APAR IV89963 When the XLC compiler detects assembler support for .comment and .file, it will now generate assembler source with the comment strings.
Reported component name
XL C FOR AIX
Reported component ID
NoSpecatt / Xsystem
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
XL C FOR AIX
Fixed component ID