public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/21163] New: internal compiler error: in output_constant_pool_2, at varasm.c:3135
@ 2005-04-22 15:26 asuraparaju at gmail dot com
  2005-04-22 15:28 ` [Bug c++/21163] " asuraparaju at gmail dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: asuraparaju at gmail dot com @ 2005-04-22 15:26 UTC (permalink / raw)
  To: gcc-bugs

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

gcc -v 

Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.0.0/configure --prefix=/usr/local/gcc-4.0.0
Thread model: posix
gcc version 4.0.0


g++ --save-temps -mmmx -g -O2 test_mmx_diff2.cpp
test_mmx_diff2.cpp: In function ‘int simple_block_diff_mmx_4(short int** const&,
short int** const&, int)’:
test_mmx_diff2.cpp:42: internal compiler error: in output_constant_pool_2, at
varasm.c:3135
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: internal compiler error: in output_constant_pool_2, at
                    varasm.c:3135
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: asuraparaju at gmail dot com
                CC: asuraparaju at gmail dot com,gcc-bugs at gcc dot gnu dot
                    org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu configured with: ../gcc-
                    4.0.0/configure --pref


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


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

* [Bug c++/21163] internal compiler error: in output_constant_pool_2, at varasm.c:3135
  2005-04-22 15:26 [Bug c++/21163] New: internal compiler error: in output_constant_pool_2, at varasm.c:3135 asuraparaju at gmail dot com
@ 2005-04-22 15:28 ` asuraparaju at gmail dot com
  2005-04-22 15:53 ` [Bug target/21163] " pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: asuraparaju at gmail dot com @ 2005-04-22 15:28 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From asuraparaju at gmail dot com  2005-04-22 15:28 -------
Created an attachment (id=8710)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8710&action=view)
g++ --save-temps -mmmx -g -O2 test_mmx_diff2.cpp

g++ --save-temps -mmmx -g -O2 test_mmx_diff2.cpp

-- 


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


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

* [Bug target/21163] internal compiler error: in output_constant_pool_2, at varasm.c:3135
  2005-04-22 15:26 [Bug c++/21163] New: internal compiler error: in output_constant_pool_2, at varasm.c:3135 asuraparaju at gmail dot com
  2005-04-22 15:28 ` [Bug c++/21163] " asuraparaju at gmail dot com
@ 2005-04-22 15:53 ` pinskia at gcc dot gnu dot org
  2005-04-22 15:58 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-22 15:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-22 15:53 -------
 configured with: ../gcc-4.0.0/configure --pref

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal
          Component|c++                         |target
 GCC target triplet|i686-pc-linux-gnu configured|i686-pc-linux-gnu
                   |with: ../gcc-4.0.0/configure|
                   |--pref                      |
           Keywords|                            |ice-on-valid-code, ssemmx


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


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

* [Bug target/21163] internal compiler error: in output_constant_pool_2, at varasm.c:3135
  2005-04-22 15:26 [Bug c++/21163] New: internal compiler error: in output_constant_pool_2, at varasm.c:3135 asuraparaju at gmail dot com
  2005-04-22 15:28 ` [Bug c++/21163] " asuraparaju at gmail dot com
  2005-04-22 15:53 ` [Bug target/21163] " pinskia at gcc dot gnu dot org
@ 2005-04-22 15:58 ` pinskia at gcc dot gnu dot org
  2005-04-22 16:01 ` [Bug target/21163] [4.0 Regregresion] " pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-22 15:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-22 15:58 -------
Even though the ICE has nothing to do with the following but you are violating C aliasing rules with the 
following:
           __m64 pic = *(__m64 *)&pic_data[j][i];
           __m64 ref = *(__m64 *)&ref_data[j][i];

-- 


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


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

* [Bug target/21163] [4.0 Regregresion] internal compiler error: in output_constant_pool_2, at varasm.c:3135
  2005-04-22 15:26 [Bug c++/21163] New: internal compiler error: in output_constant_pool_2, at varasm.c:3135 asuraparaju at gmail dot com
                   ` (2 preceding siblings ...)
  2005-04-22 15:58 ` pinskia at gcc dot gnu dot org
@ 2005-04-22 16:01 ` pinskia at gcc dot gnu dot org
  2005-04-24  7:50 ` rth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-22 16:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-22 16:01 -------
This works on the mainline.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.1.0
            Summary|internal compiler error: in |[4.0 Regregresion] internal
                   |output_constant_pool_2, at  |compiler error: in
                   |varasm.c:3135               |output_constant_pool_2, at
                   |                            |varasm.c:3135
   Target Milestone|---                         |4.0.1


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


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

* [Bug target/21163] [4.0 Regregresion] internal compiler error: in output_constant_pool_2, at varasm.c:3135
  2005-04-22 15:26 [Bug c++/21163] New: internal compiler error: in output_constant_pool_2, at varasm.c:3135 asuraparaju at gmail dot com
                   ` (3 preceding siblings ...)
  2005-04-22 16:01 ` [Bug target/21163] [4.0 Regregresion] " pinskia at gcc dot gnu dot org
@ 2005-04-24  7:50 ` rth at gcc dot gnu dot org
  2005-04-24 22:10 ` [Bug rtl-optimization/21163] " rth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-04-24  7:50 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rth at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-04-24 07:50:34
               date|                            |


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


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

* [Bug rtl-optimization/21163] [4.0 Regregresion] internal compiler error: in output_constant_pool_2, at varasm.c:3135
  2005-04-22 15:26 [Bug c++/21163] New: internal compiler error: in output_constant_pool_2, at varasm.c:3135 asuraparaju at gmail dot com
                   ` (4 preceding siblings ...)
  2005-04-24  7:50 ` rth at gcc dot gnu dot org
@ 2005-04-24 22:10 ` rth at gcc dot gnu dot org
  2005-04-24 22:15 ` cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-04-24 22:10 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2005-04-24 22:10 -------
Not target specific.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|target                      |rtl-optimization


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


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

* [Bug rtl-optimization/21163] [4.0 Regregresion] internal compiler error: in output_constant_pool_2, at varasm.c:3135
  2005-04-22 15:26 [Bug c++/21163] New: internal compiler error: in output_constant_pool_2, at varasm.c:3135 asuraparaju at gmail dot com
                   ` (5 preceding siblings ...)
  2005-04-24 22:10 ` [Bug rtl-optimization/21163] " rth at gcc dot gnu dot org
@ 2005-04-24 22:15 ` cvs-commit at gcc dot gnu dot org
  2005-04-24 22:17 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-04-24 22:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-04-24 22:15 -------
Subject: Bug 21163

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	rth@gcc.gnu.org	2005-04-24 22:15:06

Modified files:
	gcc            : ChangeLog simplify-rtx.c 

Log message:
	PR rtl-opt/21163
	* simplify-rtx.c (simplify_binary_operation) <IOR>: Check
	for SCALAR_INT_MODE_P instead of not MODE_CC before returning
	constm1_rtx.
	<XOR, AND, LSHIFTRT, UMIN>: Use CONST0_RTX.
	<UDIV, UMOD>: Use CONST0_RTX and CONST1_RTX.
	<DIV, MOD>: Likewise.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.7592.2.187&r2=2.7592.2.188
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/simplify-rtx.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.230.2.5&r2=1.230.2.6



-- 


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


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

* [Bug rtl-optimization/21163] [4.0 Regregresion] internal compiler error: in output_constant_pool_2, at varasm.c:3135
  2005-04-22 15:26 [Bug c++/21163] New: internal compiler error: in output_constant_pool_2, at varasm.c:3135 asuraparaju at gmail dot com
                   ` (6 preceding siblings ...)
  2005-04-24 22:15 ` cvs-commit at gcc dot gnu dot org
@ 2005-04-24 22:17 ` cvs-commit at gcc dot gnu dot org
  2005-04-24 22:20 ` rth at gcc dot gnu dot org
  2005-05-11 22:42 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-04-24 22:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-04-24 22:16 -------
Subject: Bug 21163

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	rth@gcc.gnu.org	2005-04-24 22:16:49

Modified files:
	gcc            : ChangeLog simplify-rtx.c 

Log message:
	PR rtl-opt/21163
	* simplify-rtx.c (simplify_binary_operation) <IOR>: Check
	for SCALAR_INT_MODE_P instead of not MODE_CC before returning
	constm1_rtx.
	<AND, LSHIFTRT, UMIN>: Use CONST0_RTX.
	<UDIV, UMOD>: Use CONST0_RTX and CONST1_RTX.
	<DIV, MOD>: Likewise.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.8442&r2=2.8443
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/simplify-rtx.c.diff?cvsroot=gcc&r1=1.238&r2=1.239



-- 


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


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

* [Bug rtl-optimization/21163] [4.0 Regregresion] internal compiler error: in output_constant_pool_2, at varasm.c:3135
  2005-04-22 15:26 [Bug c++/21163] New: internal compiler error: in output_constant_pool_2, at varasm.c:3135 asuraparaju at gmail dot com
                   ` (7 preceding siblings ...)
  2005-04-24 22:17 ` cvs-commit at gcc dot gnu dot org
@ 2005-04-24 22:20 ` rth at gcc dot gnu dot org
  2005-05-11 22:42 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-04-24 22:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2005-04-24 22:20 -------
Fixed.

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


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


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

* [Bug rtl-optimization/21163] [4.0 Regregresion] internal compiler error: in output_constant_pool_2, at varasm.c:3135
  2005-04-22 15:26 [Bug c++/21163] New: internal compiler error: in output_constant_pool_2, at varasm.c:3135 asuraparaju at gmail dot com
                   ` (8 preceding siblings ...)
  2005-04-24 22:20 ` rth at gcc dot gnu dot org
@ 2005-05-11 22:42 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-11 22:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-11 22:42 -------
*** Bug 21522 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |arminu at yahoo dot com


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


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

end of thread, other threads:[~2005-05-11 22:42 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-22 15:26 [Bug c++/21163] New: internal compiler error: in output_constant_pool_2, at varasm.c:3135 asuraparaju at gmail dot com
2005-04-22 15:28 ` [Bug c++/21163] " asuraparaju at gmail dot com
2005-04-22 15:53 ` [Bug target/21163] " pinskia at gcc dot gnu dot org
2005-04-22 15:58 ` pinskia at gcc dot gnu dot org
2005-04-22 16:01 ` [Bug target/21163] [4.0 Regregresion] " pinskia at gcc dot gnu dot org
2005-04-24  7:50 ` rth at gcc dot gnu dot org
2005-04-24 22:10 ` [Bug rtl-optimization/21163] " rth at gcc dot gnu dot org
2005-04-24 22:15 ` cvs-commit at gcc dot gnu dot org
2005-04-24 22:17 ` cvs-commit at gcc dot gnu dot org
2005-04-24 22:20 ` rth at gcc dot gnu dot org
2005-05-11 22:42 ` 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).