public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ipa/63580] New: [5 Regression] ICE : error: invalid argument to gimple call
@ 2014-10-17 20:28 trippels at gcc dot gnu.org
  2014-10-20 13:03 ` [Bug ipa/63580] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: trippels at gcc dot gnu.org @ 2014-10-17 20:28 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63580

            Bug ID: 63580
           Summary: [5 Regression] ICE : error: invalid argument to gimple
                    call
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org
                CC: marxin at gcc dot gnu.org

trippels@gcc1-power7 status % cat defaults.ii
struct A
{
};
template <class L, class R> A operator%(L, R);
template <class A0, class A1, class A2, class A3>
void make_tuple (A0 &, A1, A2, A3);
A
bar (int p1, char p2, int p3, double p4)
{
  A a;
  make_tuple (p1, p2, p3, p4);
  return "int; char; string; double; " % a;
}
A
foo (int p1, char p2, int p3, double p4)
{
  A b;
  make_tuple (p1, p2, p3, p4);
  return "int; char; string; double; " % b;
}

trippels@gcc1-power7 status % g++ -c -w -O2 -fPIC defaults.ii
defaults.ii: In function ‘A bar(int, char, int, double)’:
defaults.ii:20:1: error: invalid argument to gimple call
 }
 ^
p1
# .MEM_5 = VDEF <.MEM_1(D)>
<retval> = _Z3fooicid.localalias.0 (p1, p2_2(D), p3_3(D), p4_4(D)); [tail call]
defaults.ii:20:1: internal compiler error: verify_gimple failed
0x109d2c2f verify_gimple_in_cfg(function*, bool)
        ../../gcc/gcc/tree-cfg.c:5025
0x10893493 execute_function_todo
        ../../gcc/gcc/passes.c:1755
0x10894137 do_per_function
        ../../gcc/gcc/passes.c:1489
0x10894137 do_per_function
        ../../gcc/gcc/passes.c:1479
0x108942ef execute_todo
        ../../gcc/gcc/passes.c:1812
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
trippels@gcc1-power7 status % g++ -c -fno-ipa-icf -O2 -fPIC defaults.ii
trippels@gcc1-power7 status %
>From gcc-bugs-return-464385-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 17 20:38:58 2014
Return-Path: <gcc-bugs-return-464385-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10385 invoked by alias); 17 Oct 2014 20:38:58 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 10349 invoked by uid 48); 17 Oct 2014 20:38:54 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/63580] [5 Regression] ICE : error: invalid argument to gimple call
Date: Fri, 17 Oct 2014 20:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: ipa
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-63580-4-YTLEXCU4IX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63580-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63580-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-10/txt/msg01406.txt.bz2
Content-length: 298

https://gcc.gnu.org/bugzilla/show_bug.cgi?idc580

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |5.0


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

end of thread, other threads:[~2014-11-10  9:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-17 20:28 [Bug ipa/63580] New: [5 Regression] ICE : error: invalid argument to gimple call trippels at gcc dot gnu.org
2014-10-20 13:03 ` [Bug ipa/63580] " rguenth at gcc dot gnu.org
2014-10-23 13:55 ` marxin at gcc dot gnu.org
2014-10-23 21:51 ` mliska at suse dot cz
2014-10-30 14:19 ` hubicka at gcc dot gnu.org
2014-11-07 13:38 ` marxin at gcc dot gnu.org
2014-11-07 15:16 ` trippels at gcc dot gnu.org
2014-11-10  9:48 ` trippels 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).