public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/44686]  New: [4.6 Regression] ICE: in gimple_op, at gimple.h:1664 with -fipa-pta -fprofile-generate
@ 2010-06-27  9:18 zsojka at seznam dot cz
  2010-06-27  9:19 ` [Bug tree-optimization/44686] " zsojka at seznam dot cz
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: zsojka at seznam dot cz @ 2010-06-27  9:18 UTC (permalink / raw)
  To: gcc-bugs

Command line:
$ gcc -O2 -fipa-pta -fprofile-generate testcase.c

Compiler output:
$ gcc -O2 -fipa-pta -fprofile-generate testcase.c
testcase.c: In function 'memcpy':
testcase.c:6:1: internal compiler error: in gimple_op, at gimple.h:1664
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r161428 - crash
r161383 - crash
r161170 - OK
4.5 r160526 - OK


-- 
           Summary: [4.6 Regression] ICE: in gimple_op, at gimple.h:1664
                    with -fipa-pta -fprofile-generate
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zsojka at seznam dot cz
  GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu


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


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

* [Bug tree-optimization/44686] [4.6 Regression] ICE: in gimple_op, at gimple.h:1664 with -fipa-pta -fprofile-generate
  2010-06-27  9:18 [Bug tree-optimization/44686] New: [4.6 Regression] ICE: in gimple_op, at gimple.h:1664 with -fipa-pta -fprofile-generate zsojka at seznam dot cz
@ 2010-06-27  9:19 ` zsojka at seznam dot cz
  2010-06-27 10:24 ` rguenth at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: zsojka at seznam dot cz @ 2010-06-27  9:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from zsojka at seznam dot cz  2010-06-27 09:19 -------
Created an attachment (id=21014)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21014&action=view)
reduced testcase

Reduced from code that often appears in the testsuite.

Command line:
$ gcc -O2 -fipa-pta -fprofile-generate pr44686.c


-- 


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


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

* [Bug tree-optimization/44686] [4.6 Regression] ICE: in gimple_op, at gimple.h:1664 with -fipa-pta -fprofile-generate
  2010-06-27  9:18 [Bug tree-optimization/44686] New: [4.6 Regression] ICE: in gimple_op, at gimple.h:1664 with -fipa-pta -fprofile-generate zsojka at seznam dot cz
  2010-06-27  9:19 ` [Bug tree-optimization/44686] " zsojka at seznam dot cz
@ 2010-06-27 10:24 ` rguenth at gcc dot gnu dot org
  2010-06-27 10:27 ` rguenth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-06-27 10:24 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.6.0


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


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

* [Bug tree-optimization/44686] [4.6 Regression] ICE: in gimple_op, at gimple.h:1664 with -fipa-pta -fprofile-generate
  2010-06-27  9:18 [Bug tree-optimization/44686] New: [4.6 Regression] ICE: in gimple_op, at gimple.h:1664 with -fipa-pta -fprofile-generate zsojka at seznam dot cz
  2010-06-27  9:19 ` [Bug tree-optimization/44686] " zsojka at seznam dot cz
  2010-06-27 10:24 ` rguenth at gcc dot gnu dot org
@ 2010-06-27 10:27 ` rguenth at gcc dot gnu dot org
  2010-06-27 10:31 ` [Bug tree-optimization/44686] [4.5/4.6 " rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-06-27 10:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2010-06-27 10:27 -------
builtins shouldn't be versioned.

(gdb) call debug_gimple_stmt (t)
# VUSE <.MEM_9>
memcpy._part.0 ();


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jamborm at gcc dot gnu dot
                   |                            |org, hubicka at gcc dot gnu
                   |                            |dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-06-27 10:27:04
               date|                            |


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


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

* [Bug tree-optimization/44686] [4.5/4.6 Regression] ICE: in gimple_op, at gimple.h:1664 with -fipa-pta -fprofile-generate
  2010-06-27  9:18 [Bug tree-optimization/44686] New: [4.6 Regression] ICE: in gimple_op, at gimple.h:1664 with -fipa-pta -fprofile-generate zsojka at seznam dot cz
                   ` (2 preceding siblings ...)
  2010-06-27 10:27 ` rguenth at gcc dot gnu dot org
@ 2010-06-27 10:31 ` rguenth at gcc dot gnu dot org
  2010-06-28  0:11 ` hubicka at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-06-27 10:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2010-06-27 10:31 -------
Latent on at least the 4.5 branch with IPA-SRA or anything that can modify
a functions signature.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.6 Regression] ICE: in    |[4.5/4.6 Regression] ICE: in
                   |gimple_op, at gimple.h:1664 |gimple_op, at gimple.h:1664
                   |with -fipa-pta -fprofile-   |with -fipa-pta -fprofile-
                   |generate                    |generate
   Target Milestone|4.6.0                       |4.5.1


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


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

* [Bug tree-optimization/44686] [4.5/4.6 Regression] ICE: in gimple_op, at gimple.h:1664 with -fipa-pta -fprofile-generate
  2010-06-27  9:18 [Bug tree-optimization/44686] New: [4.6 Regression] ICE: in gimple_op, at gimple.h:1664 with -fipa-pta -fprofile-generate zsojka at seznam dot cz
                   ` (3 preceding siblings ...)
  2010-06-27 10:31 ` [Bug tree-optimization/44686] [4.5/4.6 " rguenth at gcc dot gnu dot org
@ 2010-06-28  0:11 ` hubicka at gcc dot gnu dot org
  2010-06-28  9:14 ` [Bug tree-optimization/44686] [4.5 " rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2010-06-28  0:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from hubicka at gcc dot gnu dot org  2010-06-28 00:10 -------
Subject: Bug 44686

Author: hubicka
Date: Mon Jun 28 00:10:34 2010
New Revision: 161476

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161476
Log:

        PR middle-end/44671
        PR middle-end/44686
        * tree.c (build_function_decl_skip_args): Clear DECL_BUILT_IN on
signature
        change.
        * ipa-split.c (split_function): Always clear DECL_BUILT_IN.
        * ipa-prop.c (ipa_modify_formal_parameters): Likewise.

        * gcc.c-torture/pr44686.c: New file.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr44686.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-prop.c
    trunk/gcc/ipa-split.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree.c


-- 


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


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

* [Bug tree-optimization/44686] [4.5 Regression] ICE: in gimple_op, at gimple.h:1664 with -fipa-pta -fprofile-generate
  2010-06-27  9:18 [Bug tree-optimization/44686] New: [4.6 Regression] ICE: in gimple_op, at gimple.h:1664 with -fipa-pta -fprofile-generate zsojka at seznam dot cz
                   ` (4 preceding siblings ...)
  2010-06-28  0:11 ` hubicka at gcc dot gnu dot org
@ 2010-06-28  9:14 ` rguenth at gcc dot gnu dot org
  2010-06-30 22:31 ` hubicka at gcc dot gnu dot org
  2010-07-22  8:53 ` rguenth at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-06-28  9:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2010-06-28 09:14 -------
Fixed on trunk sofar.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.6.0
            Summary|[4.5/4.6 Regression] ICE: in|[4.5 Regression] ICE: in
                   |gimple_op, at gimple.h:1664 |gimple_op, at gimple.h:1664
                   |with -fipa-pta -fprofile-   |with -fipa-pta -fprofile-
                   |generate                    |generate


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


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

* [Bug tree-optimization/44686] [4.5 Regression] ICE: in gimple_op, at gimple.h:1664 with -fipa-pta -fprofile-generate
  2010-06-27  9:18 [Bug tree-optimization/44686] New: [4.6 Regression] ICE: in gimple_op, at gimple.h:1664 with -fipa-pta -fprofile-generate zsojka at seznam dot cz
                   ` (5 preceding siblings ...)
  2010-06-28  9:14 ` [Bug tree-optimization/44686] [4.5 " rguenth at gcc dot gnu dot org
@ 2010-06-30 22:31 ` hubicka at gcc dot gnu dot org
  2010-07-22  8:53 ` rguenth at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2010-06-30 22:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from hubicka at gcc dot gnu dot org  2010-06-30 22:30 -------
Subject: Bug 44686

Author: hubicka
Date: Wed Jun 30 22:30:12 2010
New Revision: 161646

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161646
Log:

        Backport from mainline

        2010-06-27  Jan Hubicka  <jh@suse.cz>

        PR middle-end/44671
        PR middle-end/44686
        * tree.c (build_function_decl_skip_args): Clear DECL_BUILT_IN on
        signature change.
        * ipa-split.c (split_function): Always clear DECL_BUILT_IN.
        * ipa-prop.c (ipa_modify_formal_parameters): Likewise.

        2010-06-28  Jan Hubicka  <jh@suse.cz>

        PR tree-optimization/44357
        * ipa-inline.c (add_new_edges_to_heap): Do not add edges to uninlinable
        functions.

Modified:
    branches/gcc-4_5-branch/gcc/ChangeLog
    branches/gcc-4_5-branch/gcc/ipa-inline.c
    branches/gcc-4_5-branch/gcc/ipa-prop.c
    branches/gcc-4_5-branch/gcc/tree.c


-- 


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


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

* [Bug tree-optimization/44686] [4.5 Regression] ICE: in gimple_op, at gimple.h:1664 with -fipa-pta -fprofile-generate
  2010-06-27  9:18 [Bug tree-optimization/44686] New: [4.6 Regression] ICE: in gimple_op, at gimple.h:1664 with -fipa-pta -fprofile-generate zsojka at seznam dot cz
                   ` (6 preceding siblings ...)
  2010-06-30 22:31 ` hubicka at gcc dot gnu dot org
@ 2010-07-22  8:53 ` rguenth at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-22  8:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from rguenth at gcc dot gnu dot org  2010-07-22 08:53 -------
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2010-07-22  8:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-27  9:18 [Bug tree-optimization/44686] New: [4.6 Regression] ICE: in gimple_op, at gimple.h:1664 with -fipa-pta -fprofile-generate zsojka at seznam dot cz
2010-06-27  9:19 ` [Bug tree-optimization/44686] " zsojka at seznam dot cz
2010-06-27 10:24 ` rguenth at gcc dot gnu dot org
2010-06-27 10:27 ` rguenth at gcc dot gnu dot org
2010-06-27 10:31 ` [Bug tree-optimization/44686] [4.5/4.6 " rguenth at gcc dot gnu dot org
2010-06-28  0:11 ` hubicka at gcc dot gnu dot org
2010-06-28  9:14 ` [Bug tree-optimization/44686] [4.5 " rguenth at gcc dot gnu dot org
2010-06-30 22:31 ` hubicka at gcc dot gnu dot org
2010-07-22  8:53 ` rguenth 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).