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

Reuven <reuveng at ectel dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical

--- Comment #1 from Reuven <reuveng at ectel dot com> ---
the program with constructor failed:
gcc -v -c Hello.cpp -o Hello.o
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/freeware/libexec/gcc/powerpc-ibm-aix6.1.0.0/4.6.2/lto-wrapper
Target: powerpc-ibm-aix6.1.0.0
Configured with: ../gcc-4.6.2/configure --with-as=/usr/bin/as
--with-ld=/usr/bin/ld --enable-languages=c,c++,fortran --prefix=/opt/freeware
--mandir=/opt/freeware/man --infodir=/opt/freeware/info --enable-threads
--enable-version-specific-runtime-libs --disable-nls --enable-decimal-float=dpd
--host=powerpc-ibm-aix6.1.0.0
Thread model: aix
gcc version 4.6.2 (GCC)
COLLECT_GCC_OPTIONS='-v' '-c' '-o' 'Hello.o'
/opt/freeware/libexec/gcc/powerpc-ibm-aix6.1.0.0/4.6.2/cc1plus -quiet -v
-D_ALL_SOURCE -D__COMPATMATH__ Hello.cpp -quiet -dumpbase Hello.cpp
-auxbase-strip Hello.o -version -o /tmp//ccyvIkUj.s
GNU C++ (GCC) version 4.6.2 (powerpc-ibm-aix6.1.0.0)
        compiled by GNU C version 4.6.2, GMP version 4.3.2, MPFR version
2.4.2-p1, MPC version 0.8.1
warning: MPC header version 0.8.1 differs from library version 0.9.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory
"/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.6.2/../../../../powerpc-ibm-aix6.1.0.0/include"
#include "..." search starts here:
#include <...> search starts here:
/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.6.2/include/c++
/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.6.2/include/c++/powerpc-ibm-aix6.1.0.0
/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.6.2/include/c++/backward
/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.6.2/include
/opt/freeware/include
/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.6.2/include-fixed
/usr/include
End of search list.
GNU C++ (GCC) version 4.6.2 (powerpc-ibm-aix6.1.0.0)
        compiled by GNU C version 4.6.2, GMP version 4.3.2, MPFR version
2.4.2-p1, MPC version 0.8.1
warning: MPC header version 0.8.1 differs from library version 0.9.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 01a60e2afad33d9ba418b53aa218b625
COLLECT_GCC_OPTIONS='-v' '-c' '-o' 'Hello.o'
/usr/bin/as -u -mppc -o Hello.o /tmp//ccyvIkUj.s
gcc: internal compiler error: Segmentation fault (program as)


program:Hello.cpp

class Token
{
public:
  Token();
};

int main()
{
       return 0;
}

Token::Token()
{
}

Reply via email to