public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/31674]  New: [4.3 Regression] internal consistency failure on ia64 with -O
@ 2007-04-23 20:37 tbm at cyrius dot com
  2007-04-23 20:40 ` [Bug target/31674] " tbm at cyrius dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: tbm at cyrius dot com @ 2007-04-23 20:37 UTC (permalink / raw)
  To: gcc-bugs

I get an internal consistency failure on ia64 with current gcc 4.3.  This
was introduced between 20070326 and 20070422.  It doesn't happen on x86_64.

tbm@coconut0:~$ /usr/lib/gcc-snapshot/bin/g++ -c
kdeedu-libextdate_la.all_cpp.cc
tbm@coconut0:~$ /usr/lib/gcc-snapshot/bin/g++ -c -O
kdeedu-libextdate_la.all_cpp.cc
kdeedu-libextdate_la.all_cpp.cc: In member function 'void
ExtDateTimeEditor::paintEvent(QPaintEvent*)':
kdeedu-libextdate_la.all_cpp.cc:104: internal compiler error: internal
consistency failure
Please submit a full bug report,


-- 
           Summary: [4.3 Regression] internal consistency failure on ia64
                    with -O
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tbm at cyrius dot com
GCC target triplet: ia64-linux-gnu


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


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

* [Bug target/31674] [4.3 Regression] internal consistency failure on ia64 with -O
  2007-04-23 20:37 [Bug target/31674] New: [4.3 Regression] internal consistency failure on ia64 with -O tbm at cyrius dot com
@ 2007-04-23 20:40 ` tbm at cyrius dot com
  2007-04-23 21:54 ` tbm at cyrius dot com
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: tbm at cyrius dot com @ 2007-04-23 20:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from tbm at cyrius dot com  2007-04-23 21:40 -------
Created an attachment (id=13432)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13432&action=view)
testcase


-- 


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


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

* [Bug target/31674] [4.3 Regression] internal consistency failure on ia64 with -O
  2007-04-23 20:37 [Bug target/31674] New: [4.3 Regression] internal consistency failure on ia64 with -O tbm at cyrius dot com
  2007-04-23 20:40 ` [Bug target/31674] " tbm at cyrius dot com
@ 2007-04-23 21:54 ` tbm at cyrius dot com
  2007-04-24 11:37 ` rguenth at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: tbm at cyrius dot com @ 2007-04-23 21:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from tbm at cyrius dot com  2007-04-23 22:54 -------
Slightly more reduced:

class QString
{
public:QString ();
  QString & operator+= (const QString & str);
};
class Qt
{
};
template < class T > class QValueListIterator
{
};
template < class T > class QValueList
{
public:typedef QValueListIterator < T > iterator;
  const T & operator[] (long unsigned int i) const
  {
  }
};
class QNumberSection
{
public: QNumberSection (bool separat):
  sep (separat)
  {
  }
  bool separator ()
  {
    return sep;
  }
private:
  int act:7;
  bool sep:1;
};
class ExtDateTimeEditorPrivate
{
public:
  QString separator ()
  {
  }
  QNumberSection section (int idx)
  {
    return sections[idx];
  }
private:
  QValueList < QNumberSection > sections;
};
void
ExtDateTimeEditor()
{
  ExtDateTimeEditorPrivate *d;
  QString txt;
  for (unsigned int i = 0; i < 10; ++i)
    {
          if (d->section (i).separator ())
            txt += d->separator ();
    }
}


-- 


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


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

* [Bug target/31674] [4.3 Regression] internal consistency failure on ia64 with -O
  2007-04-23 20:37 [Bug target/31674] New: [4.3 Regression] internal consistency failure on ia64 with -O tbm at cyrius dot com
  2007-04-23 20:40 ` [Bug target/31674] " tbm at cyrius dot com
  2007-04-23 21:54 ` tbm at cyrius dot com
@ 2007-04-24 11:37 ` rguenth at gcc dot gnu dot org
  2007-04-26 10:46 ` tbm at cyrius dot com
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-04-24 11:37 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
   Target Milestone|---                         |4.3.0


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


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

* [Bug target/31674] [4.3 Regression] internal consistency failure on ia64 with -O
  2007-04-23 20:37 [Bug target/31674] New: [4.3 Regression] internal consistency failure on ia64 with -O tbm at cyrius dot com
                   ` (2 preceding siblings ...)
  2007-04-24 11:37 ` rguenth at gcc dot gnu dot org
@ 2007-04-26 10:46 ` tbm at cyrius dot com
  2007-04-26 11:18 ` tbm at cyrius dot com
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: tbm at cyrius dot com @ 2007-04-26 10:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from tbm at cyrius dot com  2007-04-26 11:46 -------
Janis, can you please do a regression hunt on this?


-- 

tbm at cyrius dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |janis at gcc dot gnu dot org


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


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

* [Bug target/31674] [4.3 Regression] internal consistency failure on ia64 with -O
  2007-04-23 20:37 [Bug target/31674] New: [4.3 Regression] internal consistency failure on ia64 with -O tbm at cyrius dot com
                   ` (3 preceding siblings ...)
  2007-04-26 10:46 ` tbm at cyrius dot com
@ 2007-04-26 11:18 ` tbm at cyrius dot com
  2007-04-26 11:44 ` tbm at cyrius dot com
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: tbm at cyrius dot com @ 2007-04-26 11:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from tbm at cyrius dot com  2007-04-26 12:18 -------
It appears to be related to bitfields.


-- 


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


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

* [Bug target/31674] [4.3 Regression] internal consistency failure on ia64 with -O
  2007-04-23 20:37 [Bug target/31674] New: [4.3 Regression] internal consistency failure on ia64 with -O tbm at cyrius dot com
                   ` (4 preceding siblings ...)
  2007-04-26 11:18 ` tbm at cyrius dot com
@ 2007-04-26 11:44 ` tbm at cyrius dot com
  2007-04-26 17:26 ` janis at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: tbm at cyrius dot com @ 2007-04-26 11:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from tbm at cyrius dot com  2007-04-26 12:44 -------
Here's a better, C based testcase:

tbm@coconut0:~$ /usr/lib/gcc-snapshot/bin/gcc -c -O anthy-wordlist.c
anthy-wordlist.c: In function 'anthy_make_word_list_all':
anthy-wordlist.c:33: internal compiler error: internal consistency failure
Please submit a full bug report, [...]
tbm@coconut0:~$ /usr/lib/gcc-snapshot/bin/gcc -c anthy-wordlist.c
tbm@coconut0:~$

Testcase:

struct wtype
{
  unsigned int pos:5;
  unsigned int cos:4;
};
typedef struct wtype wtype_t;
struct word_list
{
  wtype_t wt;
};
extern wtype_t anthy_wtype_num_noun;
static void
make_pre_words (wtype_t x)
{
  wtype_t core_wt = x;
  anthy_wtype_include (anthy_wtype_num_noun, core_wt);
}
static void
make_word_list (int len)
{
  struct word_list tmpl;
  if (len == 1)
  {
      make_pre_words (tmpl.wt);
      make_suc_words (&tmpl);
  }
}
anthy_make_word_list_all ()
{
  int i;
  for (i = 0; i < 3; i++)
      make_word_list (i);
}


-- 


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


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

* [Bug target/31674] [4.3 Regression] internal consistency failure on ia64 with -O
  2007-04-23 20:37 [Bug target/31674] New: [4.3 Regression] internal consistency failure on ia64 with -O tbm at cyrius dot com
                   ` (5 preceding siblings ...)
  2007-04-26 11:44 ` tbm at cyrius dot com
@ 2007-04-26 17:26 ` janis at gcc dot gnu dot org
  2007-05-04 12:17 ` tbm at cyrius dot com
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: janis at gcc dot gnu dot org @ 2007-04-26 17:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from janis at gcc dot gnu dot org  2007-04-26 18:26 -------
A regression hunt on powerpc-linux with an ia64-linux cross compiler using the
C test case from comment #5 identified the following patch:

    http://gcc.gnu.org/viewcvs?view=rev&rev=123524

    r123524 | aoliva | 2007-04-05 18:50:34 +0000 (Thu, 05 Apr 2007)


-- 

janis at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aoliva at gcc dot gnu dot
                   |                            |org


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


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

* [Bug target/31674] [4.3 Regression] internal consistency failure on ia64 with -O
  2007-04-23 20:37 [Bug target/31674] New: [4.3 Regression] internal consistency failure on ia64 with -O tbm at cyrius dot com
                   ` (6 preceding siblings ...)
  2007-04-26 17:26 ` janis at gcc dot gnu dot org
@ 2007-05-04 12:17 ` tbm at cyrius dot com
  2007-06-29 18:13 ` mmitchel at gcc dot gnu dot org
  2007-06-30 21:24 ` aoliva at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: tbm at cyrius dot com @ 2007-05-04 12:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from tbm at cyrius dot com  2007-05-04 13:17 -------
Alexandre, can you investigate this issue?


-- 


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


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

* [Bug target/31674] [4.3 Regression] internal consistency failure on ia64 with -O
  2007-04-23 20:37 [Bug target/31674] New: [4.3 Regression] internal consistency failure on ia64 with -O tbm at cyrius dot com
                   ` (7 preceding siblings ...)
  2007-05-04 12:17 ` tbm at cyrius dot com
@ 2007-06-29 18:13 ` mmitchel at gcc dot gnu dot org
  2007-06-30 21:24 ` aoliva at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-06-29 18:13 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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


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

* [Bug target/31674] [4.3 Regression] internal consistency failure on ia64 with -O
  2007-04-23 20:37 [Bug target/31674] New: [4.3 Regression] internal consistency failure on ia64 with -O tbm at cyrius dot com
                   ` (8 preceding siblings ...)
  2007-06-29 18:13 ` mmitchel at gcc dot gnu dot org
@ 2007-06-30 21:24 ` aoliva at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: aoliva at gcc dot gnu dot org @ 2007-06-30 21:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from aoliva at gcc dot gnu dot org  2007-06-30 21:24 -------
Sorry about the delay.  The patch that introduced this problem was reverted,
and the revised version thereof, still awaiting review, does not trigger the
problem any more.


-- 

aoliva at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2007-06-30 21:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-23 20:37 [Bug target/31674] New: [4.3 Regression] internal consistency failure on ia64 with -O tbm at cyrius dot com
2007-04-23 20:40 ` [Bug target/31674] " tbm at cyrius dot com
2007-04-23 21:54 ` tbm at cyrius dot com
2007-04-24 11:37 ` rguenth at gcc dot gnu dot org
2007-04-26 10:46 ` tbm at cyrius dot com
2007-04-26 11:18 ` tbm at cyrius dot com
2007-04-26 11:44 ` tbm at cyrius dot com
2007-04-26 17:26 ` janis at gcc dot gnu dot org
2007-05-04 12:17 ` tbm at cyrius dot com
2007-06-29 18:13 ` mmitchel at gcc dot gnu dot org
2007-06-30 21:24 ` aoliva 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).