public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/30472]  New: [4.1 Regression] ICE in output_operand: invalid expression as operand [stabs]
@ 2007-01-15 14:30 rguenth at gcc dot gnu dot org
  2007-01-15 14:33 ` [Bug target/30472] " rguenth at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-01-15 14:30 UTC (permalink / raw)
  To: gcc-bugs

./cc1plus -quiet -O2 -fPIC -gstabs /tmp/t.ii 
t.cpp: In constructor 'CsoundGlobalSettings::CsoundGlobalSettings()':
t.cpp:43: internal compiler error: output_operand: invalid expression as
operand
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

#2  0x0000000000667c82 in output_addr_const (file=0xec2670, x=0x2b06d6ddbee0)
    at /space//rguenther/src/svn/gcc-4_1-branch/gcc/final.c:3337
3337          output_operand_lossage ("invalid expression as operand");
(gdb) list
3332          OUTPUT_ADDR_CONST_EXTRA (file, x, fail);
3333          break;
3334
3335        fail:
3336    #endif
3337          output_operand_lossage ("invalid expression as operand");
3338        }
3339    }
3340    ^L
3341    /* A poor man's fprintf, with the added features of %I, %R, %L, and %U.
(gdb) print x
$1 = (rtx) 0x2b06d6ddbee0
(gdb) call debug_rtx (x)
(unspec:DI [
        (symbol_ref:DI ("_ZNSs4_Rep20_S_empty_rep_storageE") [flags 0x40]
<var_decl 0x2b06d65739a0 _S_empty_rep_storage>)
    ] 2)
(gdb)

#0  internal_error (gmsgid=0xa863b6 "%s")
    at /space//rguenther/src/svn/gcc-4_1-branch/gcc/diagnostic.c:546
#1  0x0000000000666cb9 in output_operand_lossage (
    cmsgid=0xa864f5 "invalid expression as operand")
    at /space//rguenther/src/svn/gcc-4_1-branch/gcc/final.c:2835
#2  0x0000000000667c82 in output_addr_const (file=0xec2670, x=0x2b06d6ddbee0)
    at /space//rguenther/src/svn/gcc-4_1-branch/gcc/final.c:3337
#3  0x00000000005eba51 in dbxout_finish_complex_stabs (sym=0x2b06d6b92630, 
    code=N_LCSYM, addr=0x2b06d6ddbee0, label=0x0, number=0)
    at /space//rguenther/src/svn/gcc-4_1-branch/gcc/dbxout.c:896
#4  0x00000000005f25e6 in dbxout_symbol_location (decl=0x2b06d6b92630, 
    type=0x2b06d65820b0, suffix=0x0, home=0x2b06d6da47e0)
    at /space//rguenther/src/svn/gcc-4_1-branch/gcc/dbxout.c:2967
#5  0x00000000005f1ff1 in dbxout_symbol (decl=0x2b06d6b92630, local=1)
    at /space//rguenther/src/svn/gcc-4_1-branch/gcc/dbxout.c:2717

happens with -gstabs only.  Works with 3.3 hammer branch.


-- 
           Summary: [4.1 Regression] ICE in output_operand: invalid
                    expression as operand [stabs]
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org
GCC target triplet: x86_64-*-*


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30472


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/30472] [4.1 Regression] ICE in output_operand: invalid expression as operand [stabs]
  2007-01-15 14:30 [Bug target/30472] New: [4.1 Regression] ICE in output_operand: invalid expression as operand [stabs] rguenth at gcc dot gnu dot org
@ 2007-01-15 14:33 ` rguenth at gcc dot gnu dot org
  2007-01-15 19:30 ` [Bug target/30472] [4.1 Regression] -gstabs, ICE in output_operand: invalid expression as operand pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-01-15 14:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2007-01-15 14:33 -------
#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()
{
}


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.1.2
      Known to work|                            |3.3.3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30472


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/30472] [4.1 Regression] -gstabs, ICE in output_operand: invalid expression as operand
  2007-01-15 14:30 [Bug target/30472] New: [4.1 Regression] ICE in output_operand: invalid expression as operand [stabs] rguenth at gcc dot gnu dot org
  2007-01-15 14:33 ` [Bug target/30472] " rguenth at gcc dot gnu dot org
@ 2007-01-15 19:30 ` pinskia at gcc dot gnu dot org
  2007-01-21 21:48 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-01-15 19:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2007-01-15 19:29 -------
I don't know why anyone would want to use stabs debugging info on a 64bit
target.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.1 Regression] ICE in     |[4.1 Regression] -gstabs,
                   |output_operand: invalid     |ICE in output_operand:
                   |expression as operand       |invalid expression as
                   |[stabs]                     |operand


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30472


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/30472] [4.1 Regression] -gstabs, ICE in output_operand: invalid expression as operand
  2007-01-15 14:30 [Bug target/30472] New: [4.1 Regression] ICE in output_operand: invalid expression as operand [stabs] rguenth at gcc dot gnu dot org
  2007-01-15 14:33 ` [Bug target/30472] " rguenth at gcc dot gnu dot org
  2007-01-15 19:30 ` [Bug target/30472] [4.1 Regression] -gstabs, ICE in output_operand: invalid expression as operand pinskia at gcc dot gnu dot org
@ 2007-01-21 21:48 ` pinskia at gcc dot gnu dot org
  2007-02-05  5:53 ` mmitchel at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-01-21 21:48 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30472


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/30472] [4.1 Regression] -gstabs, ICE in output_operand: invalid expression as operand
  2007-01-15 14:30 [Bug target/30472] New: [4.1 Regression] ICE in output_operand: invalid expression as operand [stabs] rguenth at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2007-01-21 21:48 ` pinskia at gcc dot gnu dot org
@ 2007-02-05  5:53 ` mmitchel at gcc dot gnu dot org
  2007-02-14  9:23 ` mmitchel at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-05  5:53 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30472


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/30472] [4.1 Regression] -gstabs, ICE in output_operand: invalid expression as operand
  2007-01-15 14:30 [Bug target/30472] New: [4.1 Regression] ICE in output_operand: invalid expression as operand [stabs] rguenth at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2007-02-05  5:53 ` mmitchel at gcc dot gnu dot org
@ 2007-02-14  9:23 ` mmitchel at gcc dot gnu dot org
  2007-04-22 17:23 ` tbm at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-14  9:23 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.2                       |4.1.3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30472


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/30472] [4.1 Regression] -gstabs, ICE in output_operand: invalid expression as operand
  2007-01-15 14:30 [Bug target/30472] New: [4.1 Regression] ICE in output_operand: invalid expression as operand [stabs] rguenth at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2007-02-14  9:23 ` mmitchel at gcc dot gnu dot org
@ 2007-04-22 17:23 ` tbm at gcc dot gnu dot org
  2007-04-22 17:27 ` tbm at gcc dot gnu dot org
  2007-04-22 17:29 ` rguenth at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: tbm at gcc dot gnu dot org @ 2007-04-22 17:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from tbm at gcc dot gnu dot org  2007-04-22 18:23 -------
Confirmed, still there as of 4.1.3 20070420.


-- 

tbm at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-04-22 18:23:26
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30472


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/30472] [4.1 Regression] -gstabs, ICE in output_operand: invalid expression as operand
  2007-01-15 14:30 [Bug target/30472] New: [4.1 Regression] ICE in output_operand: invalid expression as operand [stabs] rguenth at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2007-04-22 17:23 ` tbm at gcc dot gnu dot org
@ 2007-04-22 17:27 ` tbm at gcc dot gnu dot org
  2007-04-22 17:29 ` rguenth at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: tbm at gcc dot gnu dot org @ 2007-04-22 17:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from tbm at gcc dot gnu dot org  2007-04-22 18:27 -------
isn't this a duplicate of 29443?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30472


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/30472] [4.1 Regression] -gstabs, ICE in output_operand: invalid expression as operand
  2007-01-15 14:30 [Bug target/30472] New: [4.1 Regression] ICE in output_operand: invalid expression as operand [stabs] rguenth at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2007-04-22 17:27 ` tbm at gcc dot gnu dot org
@ 2007-04-22 17:29 ` rguenth at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-04-22 17:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2007-04-22 18:29 -------
Indeed.

*** This bug has been marked as a duplicate of 29443 ***


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30472


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-04-22 17:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-15 14:30 [Bug target/30472] New: [4.1 Regression] ICE in output_operand: invalid expression as operand [stabs] rguenth at gcc dot gnu dot org
2007-01-15 14:33 ` [Bug target/30472] " rguenth at gcc dot gnu dot org
2007-01-15 19:30 ` [Bug target/30472] [4.1 Regression] -gstabs, ICE in output_operand: invalid expression as operand pinskia at gcc dot gnu dot org
2007-01-21 21:48 ` pinskia at gcc dot gnu dot org
2007-02-05  5:53 ` mmitchel at gcc dot gnu dot org
2007-02-14  9:23 ` mmitchel at gcc dot gnu dot org
2007-04-22 17:23 ` tbm at gcc dot gnu dot org
2007-04-22 17:27 ` tbm at gcc dot gnu dot org
2007-04-22 17:29 ` rguenth at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).