public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/29443] New: [4.1 regression] ICE: output_operand: invalid expression as operand with -gstabs
@ 2006-10-12 19:58 tbm at cyrius dot com
2006-10-12 19:58 ` [Bug debug/29443] " tbm at cyrius dot com
` (10 more replies)
0 siblings, 11 replies; 12+ messages in thread
From: tbm at cyrius dot com @ 2006-10-12 19:58 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1186 bytes --]
I get the following ICE with -gstabs with gcc 4.1.2 20060901 (Debian 4.1.1-13)
but not with 4.0 and 4.2.
(sid)1186:tbm@em64t: ~] g++-4.1 -O -fPIC -gstabs libapt-front-state.cpp
libapt-front-state.cpp: In member function std::string
aptFront::cache::component::State::sizeString(double):
libapt-front-state.cpp:336: 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.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
Preprocessed source stored into /tmp/ccgRM3uh.out file, please attach this to
your bugreport.
(sid)1187:tbm@em64t: ~]
--
Summary: [4.1 regression] ICE: output_operand: invalid expression
as operand with -gstabs
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tbm at cyrius dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29443
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug debug/29443] [4.1 regression] ICE: output_operand: invalid expression as operand with -gstabs
2006-10-12 19:58 [Bug debug/29443] New: [4.1 regression] ICE: output_operand: invalid expression as operand with -gstabs tbm at cyrius dot com
@ 2006-10-12 19:58 ` tbm at cyrius dot com
2006-10-13 2:44 ` pinskia at gcc dot gnu dot org
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: tbm at cyrius dot com @ 2006-10-12 19:58 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from tbm at cyrius dot com 2006-10-12 19:58 -------
Created an attachment (id=12421)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12421&action=view)
testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29443
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug debug/29443] [4.1 regression] ICE: output_operand: invalid expression as operand with -gstabs
2006-10-12 19:58 [Bug debug/29443] New: [4.1 regression] ICE: output_operand: invalid expression as operand with -gstabs tbm at cyrius dot com
2006-10-12 19:58 ` [Bug debug/29443] " tbm at cyrius dot com
@ 2006-10-13 2:44 ` pinskia at gcc dot gnu dot org
2006-10-13 8:06 ` tbm at cyrius dot com
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-13 2:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-10-13 02:44 -------
This works on 4.1.2 20061007 on i686-linux-gnu.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29443
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug debug/29443] [4.1 regression] ICE: output_operand: invalid expression as operand with -gstabs
2006-10-12 19:58 [Bug debug/29443] New: [4.1 regression] ICE: output_operand: invalid expression as operand with -gstabs tbm at cyrius dot com
2006-10-12 19:58 ` [Bug debug/29443] " tbm at cyrius dot com
2006-10-13 2:44 ` pinskia at gcc dot gnu dot org
@ 2006-10-13 8:06 ` tbm at cyrius dot com
2006-10-23 4:03 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: tbm at cyrius dot com @ 2006-10-13 8:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from tbm at cyrius dot com 2006-10-13 08:05 -------
(In reply to comment #2)
> This works on 4.1.2 20061007 on i686-linux-gnu.
Fails for me with gcc 4.1.2 20061011 on x86_64-unknown-linux-gnu. From the
Debian build logs it seems the ICE only appeared on x86_64.
--
tbm at cyrius dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
GCC target triplet| |x86_64-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29443
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug debug/29443] [4.1 regression] ICE: output_operand: invalid expression as operand with -gstabs
2006-10-12 19:58 [Bug debug/29443] New: [4.1 regression] ICE: output_operand: invalid expression as operand with -gstabs tbm at cyrius dot com
` (2 preceding siblings ...)
2006-10-13 8:06 ` tbm at cyrius dot com
@ 2006-10-23 4:03 ` pinskia at gcc dot gnu dot org
2006-10-23 4:15 ` [Bug target/29443] " pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-23 4:03 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gcc dot gnu dot org 2006-10-23 04:02 -------
This is TLS that is being ICEd on so I doubt this is a regression, except for
libstdc++ using TLS now.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29443
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/29443] [4.1 regression] ICE: output_operand: invalid expression as operand with -gstabs
2006-10-12 19:58 [Bug debug/29443] New: [4.1 regression] ICE: output_operand: invalid expression as operand with -gstabs tbm at cyrius dot com
` (3 preceding siblings ...)
2006-10-23 4:03 ` pinskia at gcc dot gnu dot org
@ 2006-10-23 4:15 ` pinskia at gcc dot gnu dot org
2006-10-23 6:39 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-23 4:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pinskia at gcc dot gnu dot org 2006-10-23 04:15 -------
Sorry, not TLS but instead some PIC code. This is a target specific issue.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|debug |target
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29443
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/29443] [4.1 regression] ICE: output_operand: invalid expression as operand with -gstabs
2006-10-12 19:58 [Bug debug/29443] New: [4.1 regression] ICE: output_operand: invalid expression as operand with -gstabs tbm at cyrius dot com
` (4 preceding siblings ...)
2006-10-23 4:15 ` [Bug target/29443] " pinskia at gcc dot gnu dot org
@ 2006-10-23 6:39 ` pinskia at gcc dot gnu dot org
2006-10-23 6:47 ` [Bug target/29443] " pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-23 6:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from pinskia at gcc dot gnu dot org 2006-10-23 06:39 -------
(gdb) p debug_rtx(x)
(unspec:DI [
(symbol_ref:DI ("_ZN6string20_S_empty_rep_storageE") [flags 0x40]
<var_decl 0xb7d9c060 _S_empty_rep_storage>)
] 2)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29443
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/29443] ICE: output_operand: invalid expression as operand with -gstabs
2006-10-12 19:58 [Bug debug/29443] New: [4.1 regression] ICE: output_operand: invalid expression as operand with -gstabs tbm at cyrius dot com
` (5 preceding siblings ...)
2006-10-23 6:39 ` pinskia at gcc dot gnu dot org
@ 2006-10-23 6:47 ` pinskia at gcc dot gnu dot org
2006-10-23 6:48 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-23 6:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from pinskia at gcc dot gnu dot org 2006-10-23 06:47 -------
Reduced testcase:
struct string
{
struct _Rep{}; static _Rep _S_empty_rep_storage[];
void *_M_rep () const{} void _M_destroy () throw ();
~string ()
{
_Rep *a = (_Rep *)((void *)(&_S_empty_rep_storage));
if (__builtin_expect (_M_rep ()!= a, false)) _M_destroy ();
}
};
struct ios_base { virtual ~ ios_base (); }; struct ostream : virtual
ios_base{};
struct stringbuf
{
int t()const; string _M_string;
string str () const
{
string __ret;
if (t()) return __ret;
}
};
struct ostringstream : ostream { ostream __ostream_type; stringbuf
_M_stringbuf; };
void sizeString ()
{
ostringstream s;
s._M_stringbuf.str ();
}
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2006-10-23 06:47:45
date| |
Summary|[4.1 regression] ICE: |ICE: output_operand: invalid
|output_operand: invalid |expression as operand with -
|expression as operand with -|gstabs
|gstabs |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29443
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/29443] ICE: output_operand: invalid expression as operand with -gstabs
2006-10-12 19:58 [Bug debug/29443] New: [4.1 regression] ICE: output_operand: invalid expression as operand with -gstabs tbm at cyrius dot com
` (6 preceding siblings ...)
2006-10-23 6:47 ` [Bug target/29443] " pinskia at gcc dot gnu dot org
@ 2006-10-23 6:48 ` pinskia at gcc dot gnu dot org
2007-04-22 17:29 ` rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-23 6:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from pinskia at gcc dot gnu dot org 2006-10-23 06:48 -------
Note this looks like a latent bug.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29443
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/29443] ICE: output_operand: invalid expression as operand with -gstabs
2006-10-12 19:58 [Bug debug/29443] New: [4.1 regression] ICE: output_operand: invalid expression as operand with -gstabs tbm at cyrius dot com
` (7 preceding siblings ...)
2006-10-23 6:48 ` pinskia at gcc dot gnu dot org
@ 2007-04-22 17:29 ` rguenth at gcc dot gnu dot org
2007-04-22 17:31 ` [Bug target/29443] [4.1/4.2/4.3 Regression] " rguenth at gcc dot gnu dot org
2008-07-04 15:53 ` [Bug target/29443] [4.1 " jsm28 at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-04-22 17:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from rguenth at gcc dot gnu dot org 2007-04-22 18:29 -------
*** Bug 30472 has been marked as a duplicate of this bug. ***
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29443
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/29443] [4.1/4.2/4.3 Regression] ICE: output_operand: invalid expression as operand with -gstabs
2006-10-12 19:58 [Bug debug/29443] New: [4.1 regression] ICE: output_operand: invalid expression as operand with -gstabs tbm at cyrius dot com
` (8 preceding siblings ...)
2007-04-22 17:29 ` rguenth at gcc dot gnu dot org
@ 2007-04-22 17:31 ` rguenth at gcc dot gnu dot org
2008-07-04 15:53 ` [Bug target/29443] [4.1 " jsm28 at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-04-22 17:31 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail|4.2.0 |4.1.2 4.2.0
Known to work| |3.3.3
Priority|P3 |P2
Summary|ICE: output_operand: invalid|[4.1/4.2/4.3 Regression]
|expression as operand with -|ICE: output_operand: invalid
|gstabs |expression as operand with -
| |gstabs
Target Milestone|--- |4.1.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29443
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/29443] [4.1 Regression] ICE: output_operand: invalid expression as operand with -gstabs
2006-10-12 19:58 [Bug debug/29443] New: [4.1 regression] ICE: output_operand: invalid expression as operand with -gstabs tbm at cyrius dot com
` (9 preceding siblings ...)
2007-04-22 17:31 ` [Bug target/29443] [4.1/4.2/4.3 Regression] " rguenth at gcc dot gnu dot org
@ 2008-07-04 15:53 ` jsm28 at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 15:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from jsm28 at gcc dot gnu dot org 2008-07-04 15:52 -------
Closing 4.1 branch.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Known to fail|4.1.2 |4.1.2 4.1.3
Resolution| |FIXED
Target Milestone|4.1.3 |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29443
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2008-07-04 15:53 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-12 19:58 [Bug debug/29443] New: [4.1 regression] ICE: output_operand: invalid expression as operand with -gstabs tbm at cyrius dot com
2006-10-12 19:58 ` [Bug debug/29443] " tbm at cyrius dot com
2006-10-13 2:44 ` pinskia at gcc dot gnu dot org
2006-10-13 8:06 ` tbm at cyrius dot com
2006-10-23 4:03 ` pinskia at gcc dot gnu dot org
2006-10-23 4:15 ` [Bug target/29443] " pinskia at gcc dot gnu dot org
2006-10-23 6:39 ` pinskia at gcc dot gnu dot org
2006-10-23 6:47 ` [Bug target/29443] " pinskia at gcc dot gnu dot org
2006-10-23 6:48 ` pinskia at gcc dot gnu dot org
2007-04-22 17:29 ` rguenth at gcc dot gnu dot org
2007-04-22 17:31 ` [Bug target/29443] [4.1/4.2/4.3 Regression] " rguenth at gcc dot gnu dot org
2008-07-04 15:53 ` [Bug target/29443] [4.1 " jsm28 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).