Bug 158670 - compile a program
Summary: compile a program
Status: RESOLVED WONTFIX
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Other (show other bugs)
Version: unspecified
Hardware: 64bit Linux
: P3 - Medium : Normal
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-16 16:00 UTC by Olivier Merlo
Modified: 2006-03-18 09:08 UTC (History)
0 users

See Also:
Found By: Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
output file of the compiler included program (763.97 KB, text/plain)
2006-03-16 16:12 UTC, Olivier Merlo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Merlo 2006-03-16 16:00:50 UTC
If i compile my program with g++ -g I don't get any error. But if I want the compiler to optimize my program with g++ -O3 -g I get an error.
The whole message is

In file included from /usr/include/g++/backward/iostream.h:31,
                 from collectormovmem4var.cc:1:
/usr/include/g++/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
collectormovmem4var.cc: In function `int main()':
collectormovmem4var.cc:328: internal compiler error: in change_address_1, at
   emit-rtl.c:2329
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.suse.de/feedback> for instructions.
Preprocessed source stored into /tmp/ccM21tdR.out file, please attach this to your bugreport.

Unfortunatly I don't see where I can attach a file here and the mentioned file contains something like 30000 lines, so pleaase let me know where I can send it.

best wishes 

Olivier Merlo
Comment 1 Olivier Merlo 2006-03-16 16:12:30 UTC
Created attachment 73328 [details]
output file of the compiler included program
Comment 2 Michael Gross 2006-03-17 11:56:47 UTC
What program are you trying to compile here?
Comment 3 Olivier Merlo 2006-03-17 22:15:58 UTC
It's a c++ program whjich I have written. It is a simulation of a billiard. It uses very few libraries. So first it compiles without problems if I don't use the optimze option or if I compile the program with the -O2 or -O1 option. I just realized that on that machine we have installed SUSE 9.2 and not 10.0.
The program uses only very basic commands. 
It uses the following libraries.

#include <iostream.h>
#include <stream.h>
#include <math.h>
#include <stdio.h>
#include <unistd.h>

By the side the program is at the end of the reportfile.
Comment 4 Olivier Merlo 2006-03-17 22:22:29 UTC
Sorry I just realized I am comiling the program on another machine. So the Version of SUSE is 9.2. The machine is a opteron. So I change all in the list below.
Comment 5 Andreas Jaeger 2006-03-18 09:08:42 UTC
We will not fix the compiler for SUSE Linux 9.2.  Please update your system or use a compiler optimization that will not trigger this bug.

If you can reproduce the same problem with a 10.1 beta, we will investigate.