[Bug debug/43508] ICE when compiling SSE code with -ggdb

2010-05-04 Thread zsojka at seznam dot cz


--- Comment #8 from zsojka at seznam dot cz  2010-05-04 12:58 ---
r157703 fixes both testcases from comment #2 and comment #7 (r157702 fails with
both, flags for the first testcase are -std=gnu++0x -O3 -march=core2 -msse4.1
-fomit-frame-pointer -ggdb -m32). No testcase was commited though.


-- 


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



[Bug debug/43508] ICE when compiling SSE code with -ggdb

2010-05-04 Thread jakub at gcc dot gnu dot org


--- Comment #9 from jakub at gcc dot gnu dot org  2010-05-04 13:06 ---
Fixed then.


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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



[Bug debug/43508] ICE when compiling SSE code with -ggdb

2010-05-04 Thread hjl at gcc dot gnu dot org


--- Comment #10 from hjl at gcc dot gnu dot org  2010-05-04 14:11 ---
Subject: Bug 43508

Author: hjl
Date: Tue May  4 14:11:32 2010
New Revision: 159027

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159027
Log:
Add a testcase for PR debug/43508.

2010-05-04  H.J. Lu  hongjiu...@intel.com

PR debug/43508
* gcc.target/i386/pr43508.c: New.

Added:
trunk/gcc/testsuite/gcc.target/i386/pr43508.c
Modified:
trunk/gcc/testsuite/ChangeLog


-- 


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



[Bug debug/43508] ICE when compiling SSE code with -ggdb

2010-05-04 Thread hjl at gcc dot gnu dot org


--- Comment #11 from hjl at gcc dot gnu dot org  2010-05-04 14:15 ---
Subject: Bug 43508

Author: hjl
Date: Tue May  4 14:14:46 2010
New Revision: 159028

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159028
Log:
Backport PR debug/43508 testcase.

2010-05-04  H.J. Lu  hongjiu...@intel.com

Backport from mainline
2010-05-04  H.J. Lu  hongjiu...@intel.com

PR debug/43508
* gcc.target/i386/pr43508.c: New.

Added:
branches/gcc-4_5-branch/gcc/testsuite/gcc.target/i386/pr43508.c
  - copied unchanged from r159027,
trunk/gcc/testsuite/gcc.target/i386/pr43508.c
Modified:
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog


-- 


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



[Bug debug/43508] ICE when compiling SSE code with -ggdb

2010-05-04 Thread hjl dot tools at gmail dot com


-- 

hjl dot tools at gmail dot com changed:

   What|Removed |Added

  GCC build triplet|i686-pc-cygwin  |
   GCC host triplet|i686-pc-cygwin  |
 GCC target triplet|i686-pc-cygwin  |
   Target Milestone|--- |4.5.0


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



[Bug debug/43508] ICE when compiling SSE code with -ggdb

2010-03-24 Thread piotr dot wyderski at gmail dot com


--- Comment #5 from piotr dot wyderski at gmail dot com  2010-03-24 15:33 
---

 wonder about the subject, the ICE clearly happens in debug mode, not
 non-debug mode...

The command line specified does not contain -DNDEBUG,
as the preprocessed file was created in non-debug mode,
so all the #ifndef NDEBUG sections have already been
removed by the preprocessor. If the entire build (i.e.
via CMake) is done in debug mode, the compiler doesn't ICE.


-- 


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



[Bug debug/43508] ICE when compiling SSE code with -ggdb

2010-03-24 Thread jakub at gcc dot gnu dot org


--- Comment #6 from jakub at gcc dot gnu dot org  2010-03-24 16:51 ---
Subject: Bug 43508

Author: jakub
Date: Wed Mar 24 16:51:02 2010
New Revision: 157703

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=157703
Log:
PR debug/43508
* dwarf2out.c (mem_loc_descriptor): Don't ICE on
VEC_{MERGE,SELECT,CONCAT,DUPLICATE}.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2out.c


-- 


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



[Bug debug/43508] ICE when compiling SSE code with -ggdb

2010-03-24 Thread zsojka at seznam dot cz


--- Comment #7 from zsojka at seznam dot cz  2010-03-25 01:56 ---
Created an attachment (id=20193)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20193action=view)
reduced testcase

r157675 fails for me at x86_64-pc-linux-gnu with:
(I haven't tested any more recent build)

$ /mnt/svn/gcc-trunk/binary-157675-lto/bin/g++ -O1 -g -m32 pr43508.C 
(vec_select:SI (reg:V4SI 21 xmm0 [ vi ])
(parallel [
(const_int 0 [0x0])
]))pr43508.C: In function '__vector(4) float foo(__vector(4) int)':
pr43508.C:10:1: internal compiler error: in mem_loc_descriptor, at
dwarf2out.c:13589
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html for instructions.


-- 


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