public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/30958]  New: ice for legal code with -ftree-vectorize -Os -mno-sse
@ 2007-02-25 12:34 dcb314 at hotmail dot com
  2007-02-25 12:36 ` [Bug c/30958] " dcb314 at hotmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: dcb314 at hotmail dot com @ 2007-02-25 12:34 UTC (permalink / raw)
  To: gcc-bugs

I just tried to compile Linux kernel 2.6.20.1
with the GNU C++ compiler version 4.3 snapshot 20070223.

The compiler said

drivers/media/video/pwc/pwc-dec23.c: In function 'pwc_dec23_init':
drivers/media/video/pwc/pwc-dec23.c:305: error: invalid reference prefix
{63368}

drivers/media/video/pwc/pwc-dec23.c:305: error: invalid reference prefix
{63368}

drivers/media/video/pwc/pwc-dec23.c:305: error: invalid reference prefix
{63368}

drivers/media/video/pwc/pwc-dec23.c:305: error: invalid reference prefix
{63368}

drivers/media/video/pwc/pwc-dec23.c:305: internal compiler error: verify_stmts
failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Preprocessed source code attached. Flags -ftree-vectorize -Os -mno-sse
required.


-- 
           Summary: ice for legal code with -ftree-vectorize -Os -mno-sse
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dcb314 at hotmail dot com
  GCC host triplet: x86_64-suse-linux


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


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

* [Bug c/30958] ice for legal code with -ftree-vectorize -Os -mno-sse
  2007-02-25 12:34 [Bug c/30958] New: ice for legal code with -ftree-vectorize -Os -mno-sse dcb314 at hotmail dot com
@ 2007-02-25 12:36 ` dcb314 at hotmail dot com
  2007-02-26  6:27 ` [Bug tree-optimization/30958] " pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: dcb314 at hotmail dot com @ 2007-02-25 12:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from dcb314 at hotmail dot com  2007-02-25 12:35 -------
Created an attachment (id=13106)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13106&action=view)
C source code


-- 


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


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

* [Bug tree-optimization/30958] ice for legal code with -ftree-vectorize -Os -mno-sse
  2007-02-25 12:34 [Bug c/30958] New: ice for legal code with -ftree-vectorize -Os -mno-sse dcb314 at hotmail dot com
  2007-02-25 12:36 ` [Bug c/30958] " dcb314 at hotmail dot com
@ 2007-02-26  6:27 ` pinskia at gcc dot gnu dot org
  2007-02-26  6:38 ` [Bug tree-optimization/30958] [4.3 Regression] ice for legal code with -ftree-vectorize -Os (-m64) pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-02-26  6:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2007-02-26 06:27 -------
Reducing.


-- 


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


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

* [Bug tree-optimization/30958] [4.3 Regression] ice for legal code with -ftree-vectorize -Os (-m64)
  2007-02-25 12:34 [Bug c/30958] New: ice for legal code with -ftree-vectorize -Os -mno-sse dcb314 at hotmail dot com
  2007-02-25 12:36 ` [Bug c/30958] " dcb314 at hotmail dot com
  2007-02-26  6:27 ` [Bug tree-optimization/30958] " pinskia at gcc dot gnu dot org
@ 2007-02-26  6:38 ` pinskia at gcc dot gnu dot org
  2007-05-22 23:32 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-02-26  6:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2007-02-26 06:38 -------
I think this is my fault.
Reduced testcase for powerpc64-linux-gnu:
struct pwc_dec23_private
{
  unsigned int table_dc00[256];
};
void fill_table_dc00_d800(struct pwc_dec23_private *pdec)
{
 int i;
 unsigned int offset1 = (1UL << (15 - 1));
 for (i=0; i<256; i++) {
  pdec->table_dc00[i] = offset1 & ~((1UL << (15 - 1)));
  offset1 += 0x7bc4;
 }
}


We get:
  D.1689_81 = BIT_FIELD_REF <{63368}, 32, 0>;


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
 GCC target triplet|x86_64-suse-linux-gnu       |
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2007-02-26 06:38:40
               date|                            |
            Summary|ice for legal code with -   |[4.3 Regression] ice for
                   |ftree-vectorize -Os -mno-sse|legal code with -ftree-
                   |                            |vectorize -Os (-m64)
   Target Milestone|---                         |4.3.0


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


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

* [Bug tree-optimization/30958] [4.3 Regression] ice for legal code with -ftree-vectorize -Os (-m64)
  2007-02-25 12:34 [Bug c/30958] New: ice for legal code with -ftree-vectorize -Os -mno-sse dcb314 at hotmail dot com
                   ` (2 preceding siblings ...)
  2007-02-26  6:38 ` [Bug tree-optimization/30958] [4.3 Regression] ice for legal code with -ftree-vectorize -Os (-m64) pinskia at gcc dot gnu dot org
@ 2007-05-22 23:32 ` pinskia at gcc dot gnu dot org
  2007-06-05  6:48 ` tbm at cyrius dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-05-22 23:32 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 488 bytes --]



------- Comment #4 from pinskia at gcc dot gnu dot org  2007-05-23 00:32 -------
On the trunk with -Os -ftree-vectorize -m64 -maltivec, I get:
t.c: In function â&#128;&#152;fill_table_dc00_d800â&#128;&#153;:
t.c:6: internal compiler error: in vect_transform_loop, at
tree-vect-transform.c:5263
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 


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


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

* [Bug tree-optimization/30958] [4.3 Regression] ice for legal code with -ftree-vectorize -Os (-m64)
  2007-02-25 12:34 [Bug c/30958] New: ice for legal code with -ftree-vectorize -Os -mno-sse dcb314 at hotmail dot com
                   ` (3 preceding siblings ...)
  2007-05-22 23:32 ` pinskia at gcc dot gnu dot org
@ 2007-06-05  6:48 ` tbm at cyrius dot com
  2007-06-05 16:51 ` dcb314 at hotmail dot com
  2007-06-18  6:16 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: tbm at cyrius dot com @ 2007-06-05  6:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from tbm at cyrius dot com  2007-06-05 06:48 -------
(In reply to comment #0)
> Preprocessed source code attached. Flags -ftree-vectorize -Os -mno-sse
> required.

I don't see this with gcc 4.3 20070604.  Do you still get this failure?


-- 


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


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

* [Bug tree-optimization/30958] [4.3 Regression] ice for legal code with -ftree-vectorize -Os (-m64)
  2007-02-25 12:34 [Bug c/30958] New: ice for legal code with -ftree-vectorize -Os -mno-sse dcb314 at hotmail dot com
                   ` (4 preceding siblings ...)
  2007-06-05  6:48 ` tbm at cyrius dot com
@ 2007-06-05 16:51 ` dcb314 at hotmail dot com
  2007-06-18  6:16 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: dcb314 at hotmail dot com @ 2007-06-05 16:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from dcb314 at hotmail dot com  2007-06-05 16:51 -------
(In reply to comment #5)
> (In reply to comment #0)
> > Preprocessed source code attached. Flags -ftree-vectorize -Os -mno-sse
> > required.
> I don't see this with gcc 4.3 20070604.  Do you still get this failure?

Hard to say.

Recent versions of gcc 4.3 fail to compile recent
linux kernels for different reasons ;-|


-- 


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


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

* [Bug tree-optimization/30958] [4.3 Regression] ice for legal code with -ftree-vectorize -Os (-m64)
  2007-02-25 12:34 [Bug c/30958] New: ice for legal code with -ftree-vectorize -Os -mno-sse dcb314 at hotmail dot com
                   ` (5 preceding siblings ...)
  2007-06-05 16:51 ` dcb314 at hotmail dot com
@ 2007-06-18  6:16 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-06-18  6:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pinskia at gcc dot gnu dot org  2007-06-18 06:16 -------


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


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2007-06-18  6:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-25 12:34 [Bug c/30958] New: ice for legal code with -ftree-vectorize -Os -mno-sse dcb314 at hotmail dot com
2007-02-25 12:36 ` [Bug c/30958] " dcb314 at hotmail dot com
2007-02-26  6:27 ` [Bug tree-optimization/30958] " pinskia at gcc dot gnu dot org
2007-02-26  6:38 ` [Bug tree-optimization/30958] [4.3 Regression] ice for legal code with -ftree-vectorize -Os (-m64) pinskia at gcc dot gnu dot org
2007-05-22 23:32 ` pinskia at gcc dot gnu dot org
2007-06-05  6:48 ` tbm at cyrius dot com
2007-06-05 16:51 ` dcb314 at hotmail dot com
2007-06-18  6:16 ` pinskia 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).