[Bug c++/14091] New: ostream crash on HPUX 11

geurts at retarget dot com gcc-bugzilla@gcc.gnu.org
Tue Feb 10 09:21:00 GMT 2004


Consider the following hello.c program.

    #include <stdio.h>
    #include <iostream>

    int main()
    {
        printf("%s\n","Hello C");
        std::cout << "Hello C++\n";
        return 0;
    }

I compile this program on  HPUX 11, version 'U'.
    
   > uname -a 
   HP-UX rubens B.11.00 U 9000/785 2003262084 unlimited-user license

The program compiles and executes correctly.
When I run the same executable on HPUX 11 version 'A', it crashed on the 
ostream code.

   > uname -a
   HP-UX memlinc B.11.00 A 9000/778 2004900209 two-user license
   > a.out
   Hello C
   Segmentation fault (core dumped)

Best regards,
W.

-- 
           Summary: ostream crash on HPUX 11
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: geurts at retarget dot com
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: hppa2.0w-hp-hpux11.00


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14091



More information about the Gcc-bugs mailing list