This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

c++/2231: -fsyntax-only causes "Internal compiler error" on Linux



>Number:         2231
>Category:       c++
>Synopsis:       -fsyntax-only causes "Internal compiler error" on Linux
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 08 12:36:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Sean McCauliff
>Release:        gcc -v Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/specs gcc version 2.95.2 19991024 (release)
>Organization:
>Environment:
Linux  2.2.14-5.0 #1 Tue Mar 7 21:07:39 EST 2000 i686 unknown
>Description:
g++ -fsyntax-only  causes the compiler to fail and emits
"Internal compiler error"  if this option is no longer supported
than it should say so and not just bail out.
>How-To-Repeat:
g++ -fsyntax-only test.cpp
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="test.cpp"
Content-Disposition: inline; filename="test.cpp"

#include <iostream>

int main() 
{
    
    std::cout << "Hello world" << endl;
    
    return 0;
}
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]