public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/63325] New: [5.0 regression] ICE fold check: original tree changed by fold
@ 2014-09-22  5:27 dimhen at gmail dot com
  2014-09-22  6:15 ` [Bug rtl-optimization/63325] " dimhen at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: dimhen at gmail dot com @ 2014-09-22  5:27 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 63325
           Summary: [5.0 regression] ICE fold check: original tree changed
                    by fold
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dimhen at gmail dot com

r215401 PASS
r215427, r215444 FAIL

Fedora 20 / x86_64

$ configure --enable-checking=fold
$ make
[...]
/home/dimhen/build/gcc_current/./gcc/xgcc
-B/home/dimhen/build/gcc_current/./gcc/
-B/usr/local/gcc_current/x86_64-unknown-linux-gnu/bin/
-B/usr/local/gcc_current/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/gcc_current/x86_64-unknown-linux-gnu/include -isystem
/usr/local/gcc_current/x86_64-unknown-linux-gnu/sys-include    -g -O2 -m32 -O2 
-g -O2 -DIN_GCC    -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual
-Wno-format -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition 
-isystem ./include   -fpic -mlong-double-80 -g -DIN_LIBGCC2 -fbuilding-libgcc
-fno-stack-protector   -fpic -mlong-double-80 -I. -I. -I../../.././gcc
-I/home/dimhen/src/gcc_current/libgcc -I/home/dimhen/src/gcc_current/libgcc/.
-I/home/dimhen/src/gcc_current/libgcc/../gcc
-I/home/dimhen/src/gcc_current/libgcc/../include
-I/home/dimhen/src/gcc_current/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT
-DHAVE_CC_TLS  -DUSE_TLS -o generic-morestack.o -MT generic-morestack.o -MD -MP
-MF generic-morestack.dep  -c
/home/dimhen/src/gcc_current/libgcc/generic-morestack.c -fvisibility=hidden
-DHIDE_EXPORTS
/home/dimhen/src/gcc_current/libgcc/generic-morestack.c: In function
'__morestack_block_signals':
/home/dimhen/src/gcc_current/libgcc/generic-morestack.c:675:3: internal
compiler error: fold check: original tree changed by fold
   else if (pthread_sigmask)
   ^
0x9e0512 fold_check_failed
    /home/dimhen/src/gcc_current/gcc/fold-const.c:14554
0x9e0407 fold(tree_node*)
    /home/dimhen/src/gcc_current/gcc/fold-const.c:14531
0x6f9719 c_fully_fold_internal
    /home/dimhen/src/gcc_current/gcc/c-family/c-common.c:1309
0x6f8865 c_fully_fold(tree_node*, bool, bool*)
    /home/dimhen/src/gcc_current/gcc/c-family/c-common.c:1101
0x6d4ada c_parser_condition
    /home/dimhen/src/gcc_current/gcc/c/c-parser.c:5052
0x6d4b38 c_parser_paren_condition
    /home/dimhen/src/gcc_current/gcc/c/c-parser.c:5069
0x6d4f01 c_parser_if_statement
    /home/dimhen/src/gcc_current/gcc/c/c-parser.c:5170
0x6d43b9 c_parser_statement_after_labels
    /home/dimhen/src/gcc_current/gcc/c/c-parser.c:4888
0x6d4e61 c_parser_else_body
    /home/dimhen/src/gcc_current/gcc/c/c-parser.c:5144
0x6d4f8d c_parser_if_statement
    /home/dimhen/src/gcc_current/gcc/c/c-parser.c:5178
0x6d43b9 c_parser_statement_after_labels
    /home/dimhen/src/gcc_current/gcc/c/c-parser.c:4888
0x6d3e76 c_parser_compound_statement_nostart
    /home/dimhen/src/gcc_current/gcc/c/c-parser.c:4650
0x6d38a1 c_parser_compound_statement
    /home/dimhen/src/gcc_current/gcc/c/c-parser.c:4487
0x6ce7d2 c_parser_declaration_or_fndef
    /home/dimhen/src/gcc_current/gcc/c/c-parser.c:1946
0x6cd462 c_parser_external_declaration
    /home/dimhen/src/gcc_current/gcc/c/c-parser.c:1416
0x6cd0e5 c_parser_translation_unit
    /home/dimhen/src/gcc_current/gcc/c/c-parser.c:1303
0x6ed98a c_parse_file()
    /home/dimhen/src/gcc_current/gcc/c/c-parser.c:14322
0x7533a7 c_common_parse_file()
    /home/dimhen/src/gcc_current/gcc/c-family/c-opts.c:1043
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.
make[5]: *** [generic-morestack.o] Error 1
make[5]: Leaving directory
`/home/dimhen/build/gcc_current/x86_64-unknown-linux-gnu/32/libgcc'
make[4]: *** [multi-do] Error 1
make[4]: Leaving directory
`/home/dimhen/build/gcc_current/x86_64-unknown-linux-gnu/libgcc'
make[3]: *** [all-multi] Error 2
make[3]: Leaving directory
`/home/dimhen/build/gcc_current/x86_64-unknown-linux-gnu/libgcc'
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory `/home/dimhen/build/gcc_current'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/dimhen/build/gcc_current'
make: *** [all] Error 2


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

* [Bug rtl-optimization/63325] [5.0 regression] ICE fold check: original tree changed by fold
  2014-09-22  5:27 [Bug rtl-optimization/63325] New: [5.0 regression] ICE fold check: original tree changed by fold dimhen at gmail dot com
@ 2014-09-22  6:15 ` dimhen at gmail dot com
  2014-09-26  8:49 ` [Bug middle-end/63325] " dcb314 at hotmail dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: dimhen at gmail dot com @ 2014-09-22  6:15 UTC (permalink / raw)
  To: gcc-bugs

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

Dmitry G. Dyachenko <dimhen at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu.org

--- Comment #1 from Dmitry G. Dyachenko <dimhen at gmail dot com> ---
start FAIL r215409


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

* [Bug middle-end/63325] [5.0 regression] ICE fold check: original tree changed by fold
  2014-09-22  5:27 [Bug rtl-optimization/63325] New: [5.0 regression] ICE fold check: original tree changed by fold dimhen at gmail dot com
  2014-09-22  6:15 ` [Bug rtl-optimization/63325] " dimhen at gmail dot com
@ 2014-09-26  8:49 ` dcb314 at hotmail dot com
  2014-10-01 22:50 ` hubicka at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: dcb314 at hotmail dot com @ 2014-09-26  8:49 UTC (permalink / raw)
  To: gcc-bugs

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

David Binderman <dcb314 at hotmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dcb314 at hotmail dot com

--- Comment #2 from David Binderman <dcb314 at hotmail dot com> ---
(In reply to Dmitry G. Dyachenko from comment #1)
> start FAIL r215409

I get something similar with revision 215557.

../../../../src/trunk/libgcc/crtstuff.c:382:3: internal compiler error: fold
check: original tree changed by fold
   if (__cxa_finalize)
   ^


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

* [Bug middle-end/63325] [5.0 regression] ICE fold check: original tree changed by fold
  2014-09-22  5:27 [Bug rtl-optimization/63325] New: [5.0 regression] ICE fold check: original tree changed by fold dimhen at gmail dot com
  2014-09-22  6:15 ` [Bug rtl-optimization/63325] " dimhen at gmail dot com
  2014-09-26  8:49 ` [Bug middle-end/63325] " dcb314 at hotmail dot com
@ 2014-10-01 22:50 ` hubicka at gcc dot gnu.org
  2014-11-19 13:30 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hubicka at gcc dot gnu.org @ 2014-10-01 22:50 UTC (permalink / raw)
  To: gcc-bugs

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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |hubicka at gcc dot gnu.org

--- Comment #3 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Mine.


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

* [Bug middle-end/63325] [5.0 regression] ICE fold check: original tree changed by fold
  2014-09-22  5:27 [Bug rtl-optimization/63325] New: [5.0 regression] ICE fold check: original tree changed by fold dimhen at gmail dot com
                   ` (2 preceding siblings ...)
  2014-10-01 22:50 ` hubicka at gcc dot gnu.org
@ 2014-11-19 13:30 ` rguenth at gcc dot gnu.org
  2014-11-24 13:29 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-11-19 13:30 UTC (permalink / raw)
  To: gcc-bugs

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

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

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


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

* [Bug middle-end/63325] [5.0 regression] ICE fold check: original tree changed by fold
  2014-09-22  5:27 [Bug rtl-optimization/63325] New: [5.0 regression] ICE fold check: original tree changed by fold dimhen at gmail dot com
                   ` (3 preceding siblings ...)
  2014-11-19 13:30 ` rguenth at gcc dot gnu.org
@ 2014-11-24 13:29 ` rguenth at gcc dot gnu.org
  2015-01-22 11:56 ` tbsaunde at gcc dot gnu.org
  2015-01-22 12:00 ` tbsaunde at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-11-24 13:29 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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

* [Bug middle-end/63325] [5.0 regression] ICE fold check: original tree changed by fold
  2014-09-22  5:27 [Bug rtl-optimization/63325] New: [5.0 regression] ICE fold check: original tree changed by fold dimhen at gmail dot com
                   ` (4 preceding siblings ...)
  2014-11-24 13:29 ` rguenth at gcc dot gnu.org
@ 2015-01-22 11:56 ` tbsaunde at gcc dot gnu.org
  2015-01-22 12:00 ` tbsaunde at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: tbsaunde at gcc dot gnu.org @ 2015-01-22 11:56 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from tbsaunde at gcc dot gnu.org ---
Author: tbsaunde
Date: Thu Jan 22 11:55:33 2015
New Revision: 219994

URL: https://gcc.gnu.org/viewcvs?rev=219994&root=gcc&view=rev
Log:
make fold ignore decl_with_vis.symtab_node

gcc/

    PR middle-end/63325
    * fold-const.c (fold_checksum_tree): Don't include
    expr.decl_with_vis.symtab_node in the checksum.

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


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

* [Bug middle-end/63325] [5.0 regression] ICE fold check: original tree changed by fold
  2014-09-22  5:27 [Bug rtl-optimization/63325] New: [5.0 regression] ICE fold check: original tree changed by fold dimhen at gmail dot com
                   ` (5 preceding siblings ...)
  2015-01-22 11:56 ` tbsaunde at gcc dot gnu.org
@ 2015-01-22 12:00 ` tbsaunde at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: tbsaunde at gcc dot gnu.org @ 2015-01-22 12:00 UTC (permalink / raw)
  To: gcc-bugs

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

tbsaunde at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                 CC|                            |tbsaunde at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #5 from tbsaunde at gcc dot gnu.org ---
fixed


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

end of thread, other threads:[~2015-01-22 12:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-22  5:27 [Bug rtl-optimization/63325] New: [5.0 regression] ICE fold check: original tree changed by fold dimhen at gmail dot com
2014-09-22  6:15 ` [Bug rtl-optimization/63325] " dimhen at gmail dot com
2014-09-26  8:49 ` [Bug middle-end/63325] " dcb314 at hotmail dot com
2014-10-01 22:50 ` hubicka at gcc dot gnu.org
2014-11-19 13:30 ` rguenth at gcc dot gnu.org
2014-11-24 13:29 ` rguenth at gcc dot gnu.org
2015-01-22 11:56 ` tbsaunde at gcc dot gnu.org
2015-01-22 12:00 ` tbsaunde 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).