public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/48689] New: ICE in fold-const.c:13798
@ 2011-04-19 18:00 aanisimov at inbox dot ru
  2011-04-20  9:19 ` [Bug middle-end/48689] ICE in fold-const.c:13798 with fold checking rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: aanisimov at inbox dot ru @ 2011-04-19 18:00 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: ICE in fold-const.c:13798
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: aanisimov@inbox.ru


When building trunk revision 172716 I get the following ICE:

<built-in>:0:0: internal compiler error: tree check: expected tree that
contains 'common' structure, have 'integer_cst' in fold_checksum_tree, at
fold-const.c:13798
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
configure:3272: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libgcc/"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }

GCC was configured this way:

../gcc-current/configure --prefix=/home/artem/testing/gcc46 --enable-shared
--enable-bootstrap --enable-languages=c,c++,lto --enable-threads=posix
--enable-checking=release --with-system-zlib --disable-libunwind-exceptions
--enable-__cxa_atexit --enable-libssp --with-gnu-ld --with-lto --disable-nls
--verbose --with-arch=athlon64 --target=x86_64-slackware-linux
--build=x86_64-slackware-linux --host=x86_64-slackware-linux --disable-multilib
--enable-checking=all --enable-build-with-cxx


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

* [Bug middle-end/48689] ICE in fold-const.c:13798 with fold checking
  2011-04-19 18:00 [Bug middle-end/48689] New: ICE in fold-const.c:13798 aanisimov at inbox dot ru
@ 2011-04-20  9:19 ` rguenth at gcc dot gnu.org
  2011-04-20  9:56 ` [Bug middle-end/48689] [4.7 Regression] " jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-04-20  9:19 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE in fold-const.c:13798   |ICE in fold-const.c:13798
                   |                            |with fold checking

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-04-20 09:19:19 UTC ---
You have fold checking enabled, I think it's known to be broken (sometimes).


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

* [Bug middle-end/48689] [4.7 Regression] ICE in fold-const.c:13798 with fold checking
  2011-04-19 18:00 [Bug middle-end/48689] New: ICE in fold-const.c:13798 aanisimov at inbox dot ru
  2011-04-20  9:19 ` [Bug middle-end/48689] ICE in fold-const.c:13798 with fold checking rguenth at gcc dot gnu.org
@ 2011-04-20  9:56 ` jakub at gcc dot gnu.org
  2011-05-22 19:21 ` vries at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-04-20  9:56 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |froydnj at gcc dot gnu.org,
                   |                            |jakub at gcc dot gnu.org
   Target Milestone|---                         |4.7.0
            Summary|ICE in fold-const.c:13798   |[4.7 Regression] ICE in
                   |with fold checking          |fold-const.c:13798 with
                   |                            |fold checking


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

* [Bug middle-end/48689] [4.7 Regression] ICE in fold-const.c:13798 with fold checking
  2011-04-19 18:00 [Bug middle-end/48689] New: ICE in fold-const.c:13798 aanisimov at inbox dot ru
  2011-04-20  9:19 ` [Bug middle-end/48689] ICE in fold-const.c:13798 with fold checking rguenth at gcc dot gnu.org
  2011-04-20  9:56 ` [Bug middle-end/48689] [4.7 Regression] " jakub at gcc dot gnu.org
@ 2011-05-22 19:21 ` vries at gcc dot gnu.org
  2011-08-02 14:05 ` rguenth at gcc dot gnu.org
  2011-09-19  8:15 ` jye2 at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2011-05-22 19:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from vries at gcc dot gnu.org 2011-05-22 19:00:35 UTC ---
Author: vries
Date: Sun May 22 19:00:33 2011
New Revision: 174035

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174035
Log:
2011-05-22  Tom de Vries  <tom@codesourcery.com>

    PR middle-end/48689
    * fold-const.c (fold_checksum_tree): Guard TREE_CHAIN use with
    CODE_CONTAINS_STRUCT (TS_COMMON).

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c


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

* [Bug middle-end/48689] [4.7 Regression] ICE in fold-const.c:13798 with fold checking
  2011-04-19 18:00 [Bug middle-end/48689] New: ICE in fold-const.c:13798 aanisimov at inbox dot ru
                   ` (2 preceding siblings ...)
  2011-05-22 19:21 ` vries at gcc dot gnu.org
@ 2011-08-02 14:05 ` rguenth at gcc dot gnu.org
  2011-09-19  8:15 ` jye2 at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-08-02 14:05 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-08-02 14:04:14 UTC ---
Fixed.


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

* [Bug middle-end/48689] [4.7 Regression] ICE in fold-const.c:13798 with fold checking
  2011-04-19 18:00 [Bug middle-end/48689] New: ICE in fold-const.c:13798 aanisimov at inbox dot ru
                   ` (3 preceding siblings ...)
  2011-08-02 14:05 ` rguenth at gcc dot gnu.org
@ 2011-09-19  8:15 ` jye2 at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jye2 at gcc dot gnu.org @ 2011-09-19  8:15 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from jye2 at gcc dot gnu.org 2011-09-19 06:17:54 UTC ---
Author: jye2
Date: Mon Sep 19 06:17:45 2011
New Revision: 178953

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178953
Log:
2011-09-19  chengbin  <bin.cheng@arm.com>

    Backport r174035 from mainline
    2011-05-22  Tom de Vries  <tom@codesourcery.com>

    PR middle-end/48689
    * fold-const.c (fold_checksum_tree): Guard TREE_CHAIN use with
    CODE_CONTAINS_STRUCT (TS_COMMON).

    Backport r172297 from mainline
    2011-04-11  Chung-Lin Tang  <cltang@codesourcery.com>
        Richard Earnshaw  <rearnsha@arm.com>

    PR target/48250
    * config/arm/arm.c (arm_legitimize_reload_address): Update cases
    to use sign-magnitude offsets. Reject unsupported unaligned
    cases. Add detailed description in comments.
    * config/arm/arm.md (reload_outdf): Disable for ARM mode; change
    condition from TARGET_32BIT to TARGET_ARM.

    Backport r171978 from mainline
    2011-04-05  Tom de Vries  <tom@codesourcery.com>

    PR target/43920
    * config/arm/arm.h (BRANCH_COST): Set to 1 for Thumb-2 when optimizing
    for size.

    Backport r171632 from mainline
    2011-03-28  Richard Sandiford  <richard.sandiford@linaro.org>

    * builtins.c (expand_builtin_memset_args): Use gen_int_mode
    instead of GEN_INT.

    Backport r171379 from mainline
    2011-03-23  Chung-Lin Tang  <cltang@codesourcery.com>

    PR target/46934
    * config/arm/arm.md (casesi): Use the gen_int_mode() function
    to subtract lower bound instead of GEN_INT().

    Backport r171251 from mainline 
    2011-03-21  Daniel Jacobowitz  <dan@codesourcery.com>

    * config/arm/unwind-arm.c (__gnu_unwind_pr_common): Correct test
    for barrier handlers.

    Backport r171096 from mainline
    2011-03-17  Chung-Lin Tang  <cltang@codesourcery.com>

    PR target/43872
    * config/arm/arm.c (arm_get_frame_offsets): Adjust early
    return condition with !cfun->calls_alloca.


Modified:
    branches/ARM/embedded-4_6-branch/gcc/ChangeLog.arm
    branches/ARM/embedded-4_6-branch/gcc/builtins.c
    branches/ARM/embedded-4_6-branch/gcc/config/arm/arm.c
    branches/ARM/embedded-4_6-branch/gcc/config/arm/arm.h
    branches/ARM/embedded-4_6-branch/gcc/config/arm/arm.md
    branches/ARM/embedded-4_6-branch/gcc/config/arm/unwind-arm.c
    branches/ARM/embedded-4_6-branch/gcc/fold-const.c
    branches/ARM/embedded-4_6-branch/gcc/testsuite/gcc.target/arm/pr40887.c
    branches/ARM/embedded-4_6-branch/gcc/testsuite/gcc.target/arm/pr42575.c
    branches/ARM/embedded-4_6-branch/gcc/testsuite/gcc.target/arm/pr43698.c
    branches/ARM/embedded-4_6-branch/gcc/testsuite/gcc.target/arm/pr44788.c
    branches/ARM/embedded-4_6-branch/gcc/testsuite/gcc.target/arm/sync-1.c


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

end of thread, other threads:[~2011-09-19  6:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-19 18:00 [Bug middle-end/48689] New: ICE in fold-const.c:13798 aanisimov at inbox dot ru
2011-04-20  9:19 ` [Bug middle-end/48689] ICE in fold-const.c:13798 with fold checking rguenth at gcc dot gnu.org
2011-04-20  9:56 ` [Bug middle-end/48689] [4.7 Regression] " jakub at gcc dot gnu.org
2011-05-22 19:21 ` vries at gcc dot gnu.org
2011-08-02 14:05 ` rguenth at gcc dot gnu.org
2011-09-19  8:15 ` jye2 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).