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

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).