[Bug 233140] New: G++ internal error
https://bugzilla.novell.com/show_bug.cgi?id=233140 Summary: G++ internal error Product: openSUSE 10.2 Version: RC 5 Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: jpff@cs.bath.ac.uk QAContact: qa@suse.de The code below fails to compile with options g++ -o foo.o -c -fexceptions -Wall -g -gstabs -O2 -fPIC foo.cpp #include <string> class CsoundGlobalSettings { public: std::string textEditorProgram; std::string soundEditorProgram; std::string helpBrowserProgram; std::string performanceSettings1_Name; std::string performanceSettings2_Name; std::string performanceSettings3_Name; std::string performanceSettings4_Name; std::string performanceSettings5_Name; std::string performanceSettings6_Name; std::string performanceSettings7_Name; std::string performanceSettings8_Name; std::string performanceSettings9_Name; std::string performanceSettings10_Name; bool forcePerformanceSettings; bool editSoundFileAfterPerformance; // ----------------------------------------------------------------- CsoundGlobalSettings(); ~CsoundGlobalSettings(); }; CsoundGlobalSettings::CsoundGlobalSettings() { textEditorProgram = "xterm -e vim"; soundEditorProgram = "audacity"; helpBrowserProgram = "firefox /usr/local/share/doc/csound/manual/index.html"; performanceSettings1_Name = ""; performanceSettings2_Name = ""; performanceSettings3_Name = ""; performanceSettings4_Name = ""; performanceSettings5_Name = ""; performanceSettings6_Name = ""; performanceSettings7_Name = ""; performanceSettings8_Name = ""; performanceSettings9_Name = ""; performanceSettings10_Name = ""; forcePerformanceSettings = false; editSoundFileAfterPerformance = false; } CsoundGlobalSettings::~CsoundGlobalSettings() { } The error message is /tmp/foo.cpp: In constructor ‘CsoundGlobalSettings::CsoundGlobalSettings()’: /tmp/foo.cpp:62: internal compiler error: output_operand: invalid expression as operand Please submit a full bug report, with preprocessed source if appropriate. See URL:http://bugs.opensuse.org for instructions. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233140 jpff@cs.bath.ac.uk changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium ------- Comment #1 from jpff@cs.bath.ac.uk 2007-01-11 05:13 MST ------- Seems to compile without the -O2 Have other examples where I need to remove optimisation -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233140 ------- Comment #2 from pth@novell.com 2007-01-15 06:56 MST ------- Created an attachment (id=112975) --> (https://bugzilla.novell.com/attachment.cgi?id=112975&action=view) Preprocessed test case -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233140 pth@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #112975|application/octet-stream |text/plain mime type| | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233140 rguenther@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #3 from rguenther@novell.com 2007-01-15 07:20 MST ------- Why would you use -gstabs? (-O2 -fPIC -gstabs is enough to reproduce the problem) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233140 ------- Comment #4 from rguenther@novell.com 2007-01-15 08:11 MST ------- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30472 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233140 rguenther@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |jpff@cs.bath.ac.uk ------- Comment #5 from rguenther@novell.com 2007-01-19 04:52 MST ------- Note that this won't probably be ever fixed. So, to repeat the question, why would you use -gstabs? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233140 jpff@cs.bath.ac.uk changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|jpff@cs.bath.ac.uk | ------- Comment #6 from jpff@cs.bath.ac.uk 2007-01-28 09:21 MST -------
why would you use -gstabs?
Because it was in the SConstrcut file and we have been using it ta=hat way for many months. I did not write this bit, and for choice do not write C++ I have removed the flag, but as still curious as to what the point is of a flag that does not work...... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233140 rguenther@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |WONTFIX ------- Comment #7 from rguenther@novell.com 2007-01-29 10:31 MST ------- well, no point, but there's also no point in using -gstabs ;) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com