public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/55703] New: [4.8 Regression] ICE: in lto_fixup_prevailing_decls, at lto/lto.c:2732 in gcc.c-torture/execute/920721-4.c
@ 2012-12-15  7:44 zsojka at seznam dot cz
  2012-12-15 15:07 ` [Bug lto/55703] " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: zsojka at seznam dot cz @ 2012-12-15  7:44 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 55703
           Summary: [4.8 Regression] ICE: in lto_fixup_prevailing_decls,
                    at lto/lto.c:2732 in gcc.c-torture/execute/920721-4.c
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz


Created attachment 28975
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28975
preprocessed source (gcc.c-torture/execute/920721-4.c)

Compiler output:
$ gcc -O2 -flto -fno-tree-copy-prop -fno-tree-dce 920721-4.i 
/mnt/svn/gcc-trunk/gcc/testsuite/gcc.c-torture/execute/920721-4.c: In function
'main':
/mnt/svn/gcc-trunk/gcc/testsuite/gcc.c-torture/execute/920721-4.c:54:2:
warning: incompatible implicit declaration of built-in function 'abort'
[enabled by default]
  abort();
  ^
/mnt/svn/gcc-trunk/gcc/testsuite/gcc.c-torture/execute/920721-4.c:56:3:
warning: incompatible implicit declaration of built-in function 'exit' [enabled
by default]
   exit(0);
   ^
lto1: internal compiler error: in lto_fixup_prevailing_decls, at lto/lto.c:2732
0x59c604 lto_fixup_prevailing_decls
        /mnt/svn/gcc-trunk/gcc/lto/lto.c:2732
0x59c604 lto_fixup_decls
        /mnt/svn/gcc-trunk/gcc/lto/lto.c:2853
0x59c604 read_cgraph_and_symbols
        /mnt/svn/gcc-trunk/gcc/lto/lto.c:3045
0x59c604 lto_main()
        /mnt/svn/gcc-trunk/gcc/lto/lto.c:3369
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.
lto-wrapper: /mnt/svn/gcc-trunk/binary-latest/bin/gcc returned 1 exit status
/usr/bin/ld: lto-wrapper failed
collect2: error: ld returned 1 exit status

Tested revisions:
r194496 - crash


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

* [Bug lto/55703] [4.8 Regression] ICE: in lto_fixup_prevailing_decls, at lto/lto.c:2732 in gcc.c-torture/execute/920721-4.c
  2012-12-15  7:44 [Bug lto/55703] New: [4.8 Regression] ICE: in lto_fixup_prevailing_decls, at lto/lto.c:2732 in gcc.c-torture/execute/920721-4.c zsojka at seznam dot cz
@ 2012-12-15 15:07 ` rguenth at gcc dot gnu.org
  2012-12-19 12:38 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-12-15 15:07 UTC (permalink / raw)
  To: gcc-bugs


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2012-12-15
         AssignedTo|unassigned at gcc dot       |rguenth at gcc dot gnu.org
                   |gnu.org                     |
   Target Milestone|---                         |4.8.0
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> 2012-12-15 15:07:27 UTC ---
Mine.


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

* [Bug lto/55703] [4.8 Regression] ICE: in lto_fixup_prevailing_decls, at lto/lto.c:2732 in gcc.c-torture/execute/920721-4.c
  2012-12-15  7:44 [Bug lto/55703] New: [4.8 Regression] ICE: in lto_fixup_prevailing_decls, at lto/lto.c:2732 in gcc.c-torture/execute/920721-4.c zsojka at seznam dot cz
  2012-12-15 15:07 ` [Bug lto/55703] " rguenth at gcc dot gnu.org
@ 2012-12-19 12:38 ` rguenth at gcc dot gnu.org
  2012-12-19 13:54 ` rguenth at gcc dot gnu.org
  2012-12-19 13:54 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-12-19 12:38 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> 2012-12-19 12:37:53 UTC ---
Happens to be fixed by the fix for PR55736.


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

* [Bug lto/55703] [4.8 Regression] ICE: in lto_fixup_prevailing_decls, at lto/lto.c:2732 in gcc.c-torture/execute/920721-4.c
  2012-12-15  7:44 [Bug lto/55703] New: [4.8 Regression] ICE: in lto_fixup_prevailing_decls, at lto/lto.c:2732 in gcc.c-torture/execute/920721-4.c zsojka at seznam dot cz
                   ` (2 preceding siblings ...)
  2012-12-19 13:54 ` rguenth at gcc dot gnu.org
@ 2012-12-19 13:54 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-12-19 13:54 UTC (permalink / raw)
  To: gcc-bugs


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

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

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

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> 2012-12-19 13:54:13 UTC ---
Fixed.


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

* [Bug lto/55703] [4.8 Regression] ICE: in lto_fixup_prevailing_decls, at lto/lto.c:2732 in gcc.c-torture/execute/920721-4.c
  2012-12-15  7:44 [Bug lto/55703] New: [4.8 Regression] ICE: in lto_fixup_prevailing_decls, at lto/lto.c:2732 in gcc.c-torture/execute/920721-4.c zsojka at seznam dot cz
  2012-12-15 15:07 ` [Bug lto/55703] " rguenth at gcc dot gnu.org
  2012-12-19 12:38 ` rguenth at gcc dot gnu.org
@ 2012-12-19 13:54 ` rguenth at gcc dot gnu.org
  2012-12-19 13:54 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-12-19 13:54 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> 2012-12-19 13:53:32 UTC ---
Author: rguenth
Date: Wed Dec 19 13:53:18 2012
New Revision: 194609

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194609
Log:
2012-12-19  Richard Biener  <rguenther@suse.de>

    PR tree-optimization/55736
    PR tree-optimization/55703
    * gimplify.c (prune_expr_location): New function.
    (unshare_expr_without_location): Likewise.
    * tree.h (unshare_expr_without_location): Declare.
    * ipa-prop.c (prune_expression_for_jf): Remove.
    (prune_expression_for_jf_1): Likewise.
    (ipa_set_jf_constant): Use unshare_expr_without_location.
    (ipa_set_jf_arith_pass_through): Likewise.
    (determine_known_aggregate_parts): Likewise.
    * tree-switch-conversion.c (build_constructors): Use
    unshare_expr_without_location on all constructor elements.

    * gcc.dg/lto/pr55703_0.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/lto/pr55703_0.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimplify.c
    trunk/gcc/ipa-prop.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-switch-conversion.c
    trunk/gcc/tree.h


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

end of thread, other threads:[~2012-12-19 13:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-15  7:44 [Bug lto/55703] New: [4.8 Regression] ICE: in lto_fixup_prevailing_decls, at lto/lto.c:2732 in gcc.c-torture/execute/920721-4.c zsojka at seznam dot cz
2012-12-15 15:07 ` [Bug lto/55703] " rguenth at gcc dot gnu.org
2012-12-19 12:38 ` rguenth at gcc dot gnu.org
2012-12-19 13:54 ` rguenth at gcc dot gnu.org
2012-12-19 13:54 ` rguenth 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).