This is the mail archive of the gcc-bugs@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++/1036: Internal compiler error.



>Number:         1036
>Category:       c++
>Synopsis:       Internal compiler error.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 11 04:46:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     ack@ee.ed.ac.uk
>Release:        gcc version 2.95.2 19991024 (release)
>Organization:
>Environment:
sparc-sun-solaris2.6
>Description:
I have defined a variable called 'aoa' of type 'double'.
I pass this variable as an argument to a function. When I
am passing 'aoa.' to the function (instead of 'aoa') I get
the following error message:

txaa_dl.c: In function `int main()':
txaa_dl.c:74: Internal compiler error.
txaa_dl.c:74: Please submit a full bug report.
txaa_dl.c:74: See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions.
*** Error code 1
make: Fatal error: Command failed for target `txaa_dl'

I am using the following command (in a Makefile) to compile
the txaa_dl.c file (which contains my main function):

g++ -g -o txaa_dl txaa_dl.c
>How-To-Repeat:
Define a very simple function that needs an argument of type
'double'. Define a double variable, let's say:

double myvar;

Call the function with 'myvar.' as its argument.
This should produce the above Internal error.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:

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