public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/54193] New: dump_gimple_assign raw can't handle 4 operands
@ 2012-08-07 13:33 glisse at gcc dot gnu.org
  2012-08-07 15:13 ` [Bug middle-end/54193] " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: glisse at gcc dot gnu.org @ 2012-08-07 13:33 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 54193
           Summary: dump_gimple_assign raw can't handle 4 operands
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: glisse@gcc.gnu.org


#include <x86intrin.h>

__m128d
f (__m128d x)
{
  __m128i m = {0, 1};
  return __builtin_shuffle (x, m);
}

$ gcc sh.c -c -fdump-tree-optimized-raw
sh.c: In function 'f':
sh.c:4:1: internal compiler error: in dump_gimple_assign, at
gimple-pretty-print.c:485
 f (__m128d x)
 ^
Please submit a full bug report,

which is fairly natural with code like:

      if (gimple_num_ops (gs) == 2)
        last = NULL_TREE;
      else if (gimple_num_ops (gs) == 3)
        last = gimple_assign_rhs2 (gs);
      else
        gcc_unreachable ();

(the non-raw version below goes up to 4)

I guess the -raw option doesn't see much use these days. I was trying it
because sometimes it isn't obvious what tree code is meant by the C-like
representation.


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

* [Bug middle-end/54193] dump_gimple_assign raw can't handle 4 operands
  2012-08-07 13:33 [Bug middle-end/54193] New: dump_gimple_assign raw can't handle 4 operands glisse at gcc dot gnu.org
@ 2012-08-07 15:13 ` rguenth at gcc dot gnu.org
  2012-08-12 16:21 ` glisse at gcc dot gnu.org
  2012-08-12 16:26 ` glisse at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-08-07 15:13 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-08-07
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-08-07 15:12:54 UTC ---
Confirmed (patches welcome ;))


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

* [Bug middle-end/54193] dump_gimple_assign raw can't handle 4 operands
  2012-08-07 13:33 [Bug middle-end/54193] New: dump_gimple_assign raw can't handle 4 operands glisse at gcc dot gnu.org
  2012-08-07 15:13 ` [Bug middle-end/54193] " rguenth at gcc dot gnu.org
@ 2012-08-12 16:21 ` glisse at gcc dot gnu.org
  2012-08-12 16:26 ` glisse at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: glisse at gcc dot gnu.org @ 2012-08-12 16:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Marc Glisse <glisse at gcc dot gnu.org> 2012-08-12 16:20:45 UTC ---
Author: glisse
Date: Sun Aug 12 16:20:41 2012
New Revision: 190328

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190328
Log:
2012-08-12 Marc Glisse <marc.glisse@inria.fr>

    PR middle-end/54193
    * gimple-pretty-print.c (dump_ternary_rhs): Handle 4 arguments.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple-pretty-print.c


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

* [Bug middle-end/54193] dump_gimple_assign raw can't handle 4 operands
  2012-08-07 13:33 [Bug middle-end/54193] New: dump_gimple_assign raw can't handle 4 operands glisse at gcc dot gnu.org
  2012-08-07 15:13 ` [Bug middle-end/54193] " rguenth at gcc dot gnu.org
  2012-08-12 16:21 ` glisse at gcc dot gnu.org
@ 2012-08-12 16:26 ` glisse at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: glisse at gcc dot gnu.org @ 2012-08-12 16:26 UTC (permalink / raw)
  To: gcc-bugs

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

Marc Glisse <glisse at gcc dot gnu.org> changed:

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

--- Comment #3 from Marc Glisse <glisse at gcc dot gnu.org> 2012-08-12 16:26:03 UTC ---
You have to specify a comment when changing the status of a bug from NEW to
RESOLVED.


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

end of thread, other threads:[~2012-08-12 16:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-07 13:33 [Bug middle-end/54193] New: dump_gimple_assign raw can't handle 4 operands glisse at gcc dot gnu.org
2012-08-07 15:13 ` [Bug middle-end/54193] " rguenth at gcc dot gnu.org
2012-08-12 16:21 ` glisse at gcc dot gnu.org
2012-08-12 16:26 ` glisse 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).