[gcc 4.3.0] ICE compiling VA_LIST.cpp config test
-------------------------------------------------

                 Key: STDCXX-1015
                 URL: https://issues.apache.org/jira/browse/STDCXX-1015
             Project: C++ Standard Library
          Issue Type: Bug
          Components: Configuration
    Affects Versions: 4.2.1
         Environment: gcc 4.3.0, 4.3.1
            Reporter: Martin Sebor
            Assignee: Martin Sebor
            Priority: Critical
             Fix For: 4.2.2


Both gcc 4.3.0 and 4.3.1 choke on the 
[{{VA_LIST.cpp}}|http://svn.apache.org/repos/asf/stdcxx/branches/4.2.x/etc/config/src/VA_LIST.cpp]
 config test. A misconfigured {{va_list}} can't be good for the library... We 
should probably hardcode the expected value when {{\_RWSTD_NO_VA_LIST}} is 
#defined (although we might already be doing it since we do have some good gcc 
4.3.0 builds...)

The ICE has been filed with gcc in [bug 
37404|http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37404].

{noformat}
gcc -D_RWSTDDEBUG -pthread -I. -pedantic -nostdinc++ -g   -W -Wall -Wcast-qual 
-Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align  -c 
/amd/devco/sebor/stdcxx-4.2.x/etc/config/src/VA_LIST.cpp -o VA_LIST.o
/amd/devco/sebor/stdcxx-4.2.x/etc/config/src/VA_LIST.cpp: In function 'int 
main()':
/amd/devco/sebor/stdcxx-4.2.x/etc/config/src/VA_LIST.cpp:198: warning: format 
'%u' expects type 'unsigned int', but argument 2 has type 'long unsigned int'
/amd/devco/sebor/stdcxx-4.2.x/etc/config/src/VA_LIST.cpp:202: warning: format 
'%u' expects type 'unsigned int', but argument 2 has type 'long unsigned int'
/amd/devco/sebor/stdcxx-4.2.x/etc/config/src/VA_LIST.cpp: In static member 
function 'static const char* Type<T [N]>::type_name() [with T = __va_list_tag, 
int N = 1]':
/amd/devco/sebor/stdcxx-4.2.x/etc/config/src/VA_LIST.cpp:96:   instantiated 
from here
/amd/devco/sebor/stdcxx-4.2.x/etc/config/src/VA_LIST.cpp:85: internal compiler 
error: in build_special_member_call, at cp/call.c:5323
Please submit a full bug report,with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
{noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to