[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-20 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #84 from Alexandre Oliva --- Author: aoliva Date: Wed Dec 20 14:48:34 2017 New Revision: 255895 URL: https://gcc.gnu.org/viewcvs?rev=255895&root=gcc&view=rev Log: [SFN] debug markers before labels no more Make sure that gimple and R

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-19 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 Alexandre Oliva changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-19 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #82 from Alexandre Oliva --- Author: aoliva Date: Tue Dec 19 17:50:31 2017 New Revision: 255833 URL: https://gcc.gnu.org/viewcvs?rev=255833&root=gcc&view=rev Log: [SFN] start rtl block with label, then markers Emitting markers befor

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-15 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #81 from ktkachov at gcc dot gnu.org --- (In reply to Alexandre Oliva from comment #80) > A preprocessed testcase and command line would be welcome to try to debug > the armv8 issue. Sorry for the confusion. The armv8 bootstrap indeed

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-15 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #80 from Alexandre Oliva --- A preprocessed testcase and command line would be welcome to try to debug the armv8 issue.

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-15 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #79 from ktkachov at gcc dot gnu.org --- (In reply to Christophe Lyon from comment #78) > (In reply to ktkachov from comment #74) > > (In reply to Alexandre Oliva from comment #70) > > > ktkatchov, I'll submit the patch as soon as it c

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-15 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #78 from Christophe Lyon --- (In reply to ktkachov from comment #74) > (In reply to Alexandre Oliva from comment #70) > > ktkatchov, I'll submit the patch as soon as it completes testing, which > > should be Real Soon Now (TM) :-) If

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-14 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #77 from Alexandre Oliva --- Created attachment 42891 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42891&action=edit fix libiberty/unix-pex bootstrap compare (stage3 configure) ... and if you find that bootstrap-debug compare

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-14 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #76 from Alexandre Oliva --- Created attachment 42890 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42890&action=edit move markers after labels while building the cfg This is a follow up to comment 61, that adjusts the IR to r

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-14 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #75 from joseph at codesourcery dot com --- As of GCC trunk r255655 I no longer see the GCC ICE building glibc for m68k (instead there's a non-ICE glibc build problem as noted in

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-14 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #74 from ktkachov at gcc dot gnu.org --- (In reply to Alexandre Oliva from comment #70) > ktkatchov, I'll submit the patch as soon as it completes testing, which > should be Real Soon Now (TM) :-) If you got the cycles to give it a sp

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-14 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #73 from Andreas Schwab --- I was using --without-build-config.

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #72 from Jakub Jelinek --- (In reply to Andreas Schwab from comment #71) > Bootstrap on ia64 with #c61 ended up with comparison failures. > > gcc/cp/name-lookup.o differs > gcc/cp/parser.o differs > gcc/bb-reorder.o differs > gcc/bui

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-14 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #71 from Andreas Schwab --- Bootstrap on ia64 with #c61 ended up with comparison failures. gcc/cp/name-lookup.o differs gcc/cp/parser.o differs gcc/bb-reorder.o differs gcc/build/genrecog.o differs gcc/gcov.o differs gcc/wide-int.o d

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-14 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #70 from Alexandre Oliva --- ktkatchov, I'll submit the patch as soon as it completes testing, which should be Real Soon Now (TM) :-) If you got the cycles to give it a spin, by all means let us know how it goes! Thanks,

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-14 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #68 from Jakub Jelinek --- Can you try the #c63 patch? Perhaps the arm backend is yet another thing that doesn't really like debug insns outside of basic blocks...

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-14 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #67 from ktkachov at gcc dot gnu.org --- Thanks for working on this! As of r255632 I'm still getting: Error: unaligned opcodes detected in executable segment on arm targets when building gdb. A reduced testcase is: ---

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-14 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #66 from Alexandre Oliva --- Jakub, *nod*, that's among the "changes added to support that". Ulrich, thanks for the report. r255639 compiles your testcase successfully on x86_64-linux-gnu-x-spu-elf with -O -g, so I guess the problem

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-14 Thread schwab at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #65 from Andreas Schwab --- Author: schwab Date: Thu Dec 14 15:06:25 2017 New Revision: 255640 URL: https://gcc.gnu.org/viewcvs?rev=255640&root=gcc&view=rev Log: PR bootstrap/83396 * reload1.c (emit_input_reload_insns

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-14 Thread uweigand at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #64 from Ulrich Weigand --- I'm seeing the same error on spu-elf when building newlib with GCC revision 255614. In case this isn't fixed by more recent changes already, here's a reduced test case (build with -O -g): const char * tes

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-14 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #63 from Jakub Jelinek --- Comment on attachment 42885 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42885 expand labels before markers If you do this, then we should also revert the var-tracking.c etc. changes to look for deb

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-14 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #62 from Alexandre Oliva --- Author: aoliva Date: Thu Dec 14 15:02:58 2017 New Revision: 255638 URL: https://gcc.gnu.org/viewcvs?rev=255638&root=gcc&view=rev Log: [SFN] next/prev_nonnote_insn_bb are no more, even for ports The patch

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #62 from Alexandre Oliva --- Author: aoliva Date: Thu Dec 14 15:02:58 2017 New Revision: 255638 URL: https://gcc.gnu.org/viewcvs?rev=255638&root=gcc&view=rev Log: [SFN] next/prev_nonnote_insn_bb are no more, even for ports The patch

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-14 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #61 from Alexandre Oliva --- Created attachment 42885 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42885&action=edit expand labels before markers This patch fixes both ia64 problems. Basically, the ebb scheduler gets thoroug

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-14 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #60 from Alexandre Oliva --- Joseph, thanks for the feedback. I've fixed the SH (and ARC) build error in my tree. Andreas, thanks for the ia64 testcases, I'm looking into them. From your email address, is it correct to assume that

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #59 from Jakub Jelinek --- Author: jakub Date: Thu Dec 14 11:02:37 2017 New Revision: 255627 URL: https://gcc.gnu.org/viewcvs?rev=255627&root=gcc&view=rev Log: PR bootstrap/83396 * var-tracking.c (vt_initialize): Igno

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #58 from joseph at codesourcery dot com --- With the latest build-many-glibcs.py build , using GCC trunk r255614, ia64 fails with an ICE building libgcc, m68k fails w

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #57 from Andreas Schwab --- Created attachment 42878 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42878&action=edit c-warn.ii ./xg++ -B./ -fno-PIE -S -g -O2 -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -fno-common c

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #56 from Andreas Schwab --- Created attachment 42877 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42877&action=edit c-typeck.ii ./xg++ -B./ -fno-PIE -S -g -O2 -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -fno-common

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #55 from Jakub Jelinek --- Ok. Can you please attach preprocessed source + gcc options that shows the two ICEs? Alex, can you please have a look?

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #54 from Andreas Schwab --- Yes, just the patch from #c47 on top of master.

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #53 from Jakub Jelinek --- Have you reverted the ia64.c change from the earlier patch? I.e. testing just latest trunk (other patches are in) + #c47?

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #52 from Andreas Schwab --- In fact, both ICEs are still present, so #c47 isn't any better.

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #51 from Andreas Schwab --- The try_ready ICE from #c45 is still present with the patch from #c47.

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #50 from Alexandre Oliva --- Author: aoliva Date: Wed Dec 13 19:09:45 2017 New Revision: 255612 URL: https://gcc.gnu.org/viewcvs?rev=255612&root=gcc&view=rev Log: [SFN] don't eliminate regs in markers Eliminate regs in debug bind in

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #49 from Jakub Jelinek --- Author: jakub Date: Wed Dec 13 18:47:45 2017 New Revision: 255610 URL: https://gcc.gnu.org/viewcvs?rev=255610&root=gcc&view=rev Log: PR bootstrap/83396 * final.c (rest_of_handle_final): Call

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #48 from Jakub Jelinek --- Author: jakub Date: Wed Dec 13 18:46:43 2017 New Revision: 255609 URL: https://gcc.gnu.org/viewcvs?rev=255609&root=gcc&view=rev Log: PR bootstrap/83396 PR debug/83391 * tree-cfgclean

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #47 from Jakub Jelinek --- Created attachment 42873 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42873&action=edit gcc8-pr83396-ia64.patch So what about this for the ia64 issue? Rather than trying to force sanity into the ia

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #46 from Jakub Jelinek --- (In reply to Andreas Schwab from comment #44) > Breakpoint 1, fancy_abort (file=0x43d15300 > "../../gcc/haifa-sched.c", > line=5465, > function=0x43d164b8 rtx_def*)::__FUNCTION__>

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #45 from Andreas Schwab --- Starting program: /usr/local/gcc/test/Build/prev-gcc/cc1plus -quiet -nostdinc++ -I /usr/local/gcc/test/Build/prev-ia64-suse-linux/libstdc++-v3/include/ia64-suse-linux -I /usr/local/gcc/test/Build/prev-ia64-

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #44 from Andreas Schwab --- Breakpoint 1, fancy_abort (file=0x43d15300 "../../gcc/haifa-sched.c", line=5465, function=0x43d164b8 "move_insn") at ../../gcc/diagnostic.c:1500 1500 internal_error ("in %s,

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #43 from joseph at codesourcery dot com --- The build-many-glibcs.py builds with mainline tools start 24 hours after the previous such build finished (so the next one will start at 21:44 UTC today; if all the build problems are fixe

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #42 from Andreas Schwab --- Reconfigured with --without-buildconfig: / -B/usr/ia64-suse-linux/bin/ -nostdinc++ -B/usr/local/gcc/test/Build/prev-ia64-suse-linux/libstdc++-v3/src/.libs -B/usr/local/gcc/test/Build/prev-ia64-suse-linux/l

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #41 from Andreas Schwab --- /usr/local/gcc/test/Build/./prev-gcc/xg++ -B/usr/local/gcc/test/Build/./prev-gcc/ -B/usr/ia64-suse-linux/bin/ -nostdinc++ -B/usr/local/gcc/test/Build/prev-ia64-suse-linux/libstdc++-v3/src/.libs -B/usr/local

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 Jakub Jelinek changed: What|Removed |Added CC||doko at gcc dot gnu.org --- Comment #40

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #39 from Jakub Jelinek --- (In reply to David Edelsohn from comment #37) > Jakub, the -fcompare-debug failure is not new. The root cause has been > analyzed before. AIX specifically does not want to push unnecessary stack > frames fo

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #38 from Jakub Jelinek --- So a CODE_LABEL with NULL BLOCK_FOR_INSN? Ugh, that sounds broken. In the patch a workaround is of course easy, just replace: + if (BB_HEAD (BLOCK_FOR_INSN (last_label)) == last_label) +

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #37 from David Edelsohn --- Jakub, the -fcompare-debug failure is not new. The root cause has been analyzed before. AIX specifically does not want to push unnecessary stack frames for code that is not compiled with debugging solely f

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #36 from Andreas Schwab --- /usr/local/gcc/test/Build/./prev-gcc/xg++ -B/usr/local/gcc/test/Build/./prev-gcc/ -B/usr/ia64-suse-linux/bin/ -nostdinc++ -B/usr/local/gcc/test/Build/prev-ia64-suse-linux/libstdc++-v3/src/.libs -B/usr/local

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #35 from Jakub Jelinek --- Discussed in the https://gcc.gnu.org/ml/gcc-patches/2003-03/msg01693.html thread. Thus, David, can you check if AIX debugging even without push_p? Perhaps separately -gdwarf-{2,3,4} and the default debuggin

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #34 from Jakub Jelinek --- Ok, reduced testcase for the -fcompare-debug (length) issue is just: void fn1() {} with -O2 -gdwarf-4 -fcompare-debug The *.ira dump is still identical, but reload has: --- pr83396.ii.276r.reload 2017-1

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #33 from Jakub Jelinek --- I can reproduce the -fcompare-debug failure with cross to aix with the whole patchset, creduce is running now.

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #32 from Christophe Lyon --- (In reply to Christophe Lyon from comment #26) > I have attached gload.i and gload.s to help you reproduce the problem on arm > --with-mode=thumb. > > I will also perform some tests with the patch series

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #31 from Jakub Jelinek --- Created attachment 42866 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42866&action=edit gcc8-pr83396.patch Variant patch, with assert checking.

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #30 from Jakub Jelinek --- Created attachment 42865 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42865&action=edit gcc8-pr83396.patch Untested patch for the IA64 ICE.

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #29 from Jakub Jelinek --- (In reply to Andreas Schwab from comment #28) > Reduced testcase for #c27: > > int f1 (int); > int f2 (int); > int > foo (int f) > { > return f1 (f) || f2 (f) != 0; > } This is IMNSHO a bug in the ia64 b

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #28 from Andreas Schwab --- Reduced testcase for #c27: int f1 (int); int f2 (int); int foo (int f) { return f1 (f) || f2 (f) != 0; }

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #27 from Andreas Schwab --- On ia64, even after applying all patches, there is still an ICE: configure:4279: /usr/local/gcc/test/Build/./gcc/xgcc -B/usr/local/gcc/test/Build/./gcc/ -B/usr/ia64-suse-linux/bin/ -B/usr/ia64-suse-linux/l

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #26 from Christophe Lyon --- I have attached gload.i and gload.s to help you reproduce the problem on arm --with-mode=thumb. I will also perform some tests with the patch series posted here.

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #25 from Christophe Lyon --- Created attachment 42863 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42863&action=edit Assembler for arm-thumb This is the assembler file created with -mthumb, for which gas complains.

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #24 from Christophe Lyon --- Created attachment 42862 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42862&action=edit Preprocessed file for arm-thumb Compilation of this file with -mthumb makes the assembler complain with: glo

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #23 from Andreas Schwab --- #c18 fixes the ICE on m68k which had the same problem as ia64.

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #22 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #17 from Alexandre Oliva --- > Rainier, I wasn't sure how "same" the bootstrap failure you'd observed was, > that's why I'd asked for a preprocessed testcase. Now, since

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-13 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment #

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #20 from Jakub Jelinek --- Created attachment 42861 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42861&action=edit gcc8-pr83396-verify.patch For the label verification I meant something like this (untested except that without

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #19 from Alexandre Oliva --- Created attachment 42860 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42860&action=edit additional patch for the sparc pr69102 FAIL This patch fixes the testsuite regression reported by Rainier on

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #18 from Alexandre Oliva --- Created attachment 42859 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42859&action=edit additional patch for the ia64 problem reported by andreas Andreas, this patch (on top of the other) enables

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #17 from Alexandre Oliva --- Rainier, I wasn't sure how "same" the bootstrap failure you'd observed was, that's why I'd asked for a preprocessed testcase. Now, since the patch fixed the problem, nevermind. I'll look into the regress

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 Alexandre Oliva changed: What|Removed |Added CC||trippels at gcc dot gnu.org --- Commen

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 Alexandre Oliva changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #14 from David Edelsohn --- AIX is able to bootstrap with the remove_forwarder_block changes reverted.

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #13 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #11 from Alexandre Oliva --- > the problem is that a concatn resulting from decomposing a reg is not unshared > in a debug insn because it's between blocks. reverting the

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #12 from joseph at codesourcery dot com --- https://sourceware.org/ml/libc-testresults/2017-q4/msg00460.html shows GCC build failures on alpha, hppa, ia64, m68k, microblaze, sh, tilegx, tilepro. (The cases where the GCC build compl

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #11 from Alexandre Oliva --- the problem is that a concatn resulting from decomposing a reg is not unshared in a debug insn because it's between blocks. reverting the remove_forwarder_block part of the tree-cfgcleanup.c changes in r2

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #10 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #9 from Jakub Jelinek --- > Reduced testcase for AIX, -O2 -gdwarf-4 (both C and C++): Also fails on Solaris/SPARC, though still with -gdwarf-2.

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #9 from Jakub Jelinek --- Reduced testcase for AIX, -O2 -gdwarf-4 (both C and C++): int fn1 (void); void fn2 (void *, const char *); void fn3 (void); void fn4 (long long x) { fn3 (); } void fn5 (long long x) { if (x) fn3();

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 Rainer Orth changed: What|Removed |Added Target|powerpc-ibm-aix*, ia64-*-* |powerpc-ibm-aix*, ia64-*-*,

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 Andreas Schwab changed: What|Removed |Added Target|powerpc-ibm-aix*|powerpc-ibm-aix*, ia64-*-* --- Comment

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #6 from Jakub Jelinek --- Alex, please have a look at this. The problem is again the debug stmts (insns in this case) in unexpected spots. Both the ;; Insn is not within a basic block (debug_insn 4582 4581 4583 (var_location:DI flags

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #5 from David Edelsohn --- Requires DWARF debugging when building the file, e.g., -gdwarf-4, or DWARF debugging set as default in configuration file.

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #4 from David Edelsohn --- Created attachment 42854 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42854&action=edit AIX auto-host.h build file

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #3 from David Edelsohn --- Created attachment 42853 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42853&action=edit aix configuration file

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Target Milestone|---

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 --- Comment #2 from David Edelsohn --- Created attachment 42852 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42852&action=edit preprocessed source

[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

2017-12-12 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396 David Edelsohn changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|