ada/6159: __builtin_va_list definition not generated in output of cpp

pingchew99@yahoo.com pingchew99@yahoo.com
Wed Apr 3 12:07:00 GMT 2002


>Number:         6159
>Category:       ada
>Synopsis:       __builtin_va_list definition not generated in output of cpp
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 03 12:06:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Ping Chew
>Release:        gcc 2.96
>Organization:
>Environment:
Mandrake Linux
>Description:
The test file test.c has one line:
  #include  <stdio.h>.
When the above file is pre-processed to produce testout using the command:
  cc -E test.c>testout.
The testout contains the following statement:
   typedef __builtin_va_list __gnuc_va_list
without any definition of __builtin_va_list. It appears that __builtin_va_list is generated by gcc but is not written to testout. This creates a problem for pre-processor that analyses the output file. Is there an option like -dM that will output all macros?
>How-To-Repeat:

>Fix:

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



More information about the Gcc-bugs mailing list