public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/53174] New: ICE in expand_debug_expr
@ 2012-04-30 20:29 pcpa at mandriva dot com.br
  2012-05-01  0:54 ` [Bug debug/53174] [4.6/4.7/4.8 Regression] " hjl.tools at gmail dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: pcpa at mandriva dot com.br @ 2012-04-30 20:29 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53174
           Summary: ICE in expand_debug_expr
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: pcpa@mandriva.com.br


Created attachment 27271
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27271
ICE test case

I verified the problem happens in i586 with gcc 4.6.3,
x86_64 with gcc 4.6.1, 4.6.3 and a 4.7.0 snapshot.

The minimum set of options to cause the ICE is

g++  -c test.cc -O3 -g -ffast-math

changing either does not cause the crash.

backtrace in 4.6 looks like:
0x0000000000603185 in expand_debug_expr (exp=0x7ffff57dd790)
    at ../../gcc/cfgexpand.c:2380
2380      enum machine_mode mode = TYPE_MODE (TREE_TYPE (exp));

and in 4.7:
0x000000000064bc1c in expand_debug_expr (exp=0x7ffff4a3a730)
    at ../../gcc/cfgexpand.c:2615
2615      enum machine_mode mode = TYPE_MODE (TREE_TYPE (exp));

The testcase is adapted from demosaic_algos.cc from the
package from http://www.rawtherapee.com/


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

end of thread, other threads:[~2013-04-03 18:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-30 20:29 [Bug debug/53174] New: ICE in expand_debug_expr pcpa at mandriva dot com.br
2012-05-01  0:54 ` [Bug debug/53174] [4.6/4.7/4.8 Regression] " hjl.tools at gmail dot com
2012-05-02 10:31 ` [Bug debug/53174] [4.6/4.7/4.8 Regression] ICE in expand_debug_expr, verify_ssa failed rguenth at gcc dot gnu.org
2012-05-02 11:42 ` jakub at gcc dot gnu.org
2012-05-02 14:09 ` pcpa at mandriva dot com.br
2012-05-03 10:19 ` jakub at gcc dot gnu.org
2012-05-03 10:19 ` jakub at gcc dot gnu.org
2012-05-03 10:32 ` [Bug debug/53174] [4.6 " jakub at gcc dot gnu.org
2013-04-03 18:17 ` jakub at gcc dot gnu.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).