Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-1015

[gcc 4.3.0] ICE compiling VA_LIST.cpp config test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 4.2.1
    • 4.2.2
    • Configuration
    • None
    • gcc 4.2.x, 4.3.x, 4.4.0, x86_64

    • Runtime Error

    Description

      Both gcc 4.3.0 and 4.3.1 choke on the 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.

      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.
      

      Attachments

        Activity

          People

            sebor Martin Sebor
            sebor Martin Sebor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified