#307 compiler internal error: Segmentation fault

closed-fixed
gcc (462)
2004-07-27
2003-03-03
Dan Mathews
No

Compiler produces a segmentation fault when compiling my
program.

Attached is a zip file containing the program
source, the
batch file I use to compile the program, and a batch
file that contains the command I use to invoke the batch file that
compiles the program.

Discussion

  • Dan Mathews

    Dan Mathews - 2003-03-03

    Logged In: YES
    user_id=722870

    I forgot - version info is g++ (GCC) 3.2.2 (mingw special 20030208-1)

     
  • Danny Smith

    Danny Smith - 2003-03-03

    Logged In: YES
    user_id=11494

    No attachment.

     
  • Dan Mathews

    Dan Mathews - 2003-03-03

    zip files containing supporting files...

     
  • Danny Smith

    Danny Smith - 2004-07-27
    • status: open --> closed-fixed
     
  • Danny Smith

    Danny Smith - 2004-07-27

    Logged In: YES
    user_id=11494

    Compiling with gcc 3.4.1 and your switch gives this:
    cc1plus.exe: warning: command line option "-Wimplicit-int" is
    valid for C/ObjC but not for C++
    cc1plus.exe: warning: command line option "-Wmissing-
    declarations" is valid for C/ObjC but not for C++
    cc1plus.exe: warning: command line option "-Wmissing-
    prototypes" is valid for Ada/C/ObjC but not for C++
    cc1plus.exe: warning: command line option "-Wnested-
    externs" is valid for C/ObjC but not for C++
    cc1plus.exe: warning: command line option "-Wsequence-
    point" is valid for C/ObjC but not for C++
    cc1plus.exe: error: unrecognized command line option "-fssa-
    dce"
    cc1plus.exe: error: unrecognized command line option "-fssa-
    ccp"
    cc1plus.exe: error: unrecognized command line option "-fssa"
    cc1plus.exe: error: invalid parameter `max-inline-insns'
    DCalc-B.cpp:1: warning: this target machine does not have
    delayed branches
    DCalc-B.cpp:1: warning: -fprefetch-loop-arrays not
    supported for this target (try -march switches)

    After removing the options that are reported as errors. the
    testcase compiles (with lots of warnings) but no error.

     

Log in to post a comment.