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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #18577|0                           |1
        is obsolete|                            |

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Created attachment 40692
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40692&action=edit
checking patch

Patch attached, tt still trips very quickly (building stage1 libgcc):

/abuild/rguenther/obj/./gcc/xgcc -B/abuild/rguenther/obj/./gcc/
-B/usr/local/x86_64-pc-linux-gnu/bin/ -B/usr/local/x86_64-pc-linux-gnu/lib/
-isystem /usr/local/x86_64-pc-linux-gnu/include -isystem
/usr/local/x86_64-pc-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 -DUSE_ELF_SYMVER -g -DIN_LIBGCC2
-fbuilding-libgcc -fno-stack-protector   -fpic -mlong-double-80
-DUSE_ELF_SYMVER -I. -I. -I../../.././gcc
-I/space/rguenther/src/svn/trunk/libgcc
-I/space/rguenther/src/svn/trunk/libgcc/.
-I/space/rguenther/src/svn/trunk/libgcc/../gcc
-I/space/rguenther/src/svn/trunk/libgcc/../include
-I/space/rguenther/src/svn/trunk/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
/space/rguenther/src/svn/trunk/libgcc/generic-morestack.c -fvisibility=hidden
-DHIDE_EXPORTS
/space/rguenther/src/svn/trunk/libgcc/generic-morestack.c: In function
‘__generic_morestack’:
/space/rguenther/src/svn/trunk/libgcc/generic-morestack.c:1178:1: error:
duplicate decls in local-decls
 }
 ^
/space/rguenther/src/svn/trunk/libgcc/generic-morestack.c:1178:1: internal
compiler error: verify_gimple failed
0xf2b3aa verify_gimple_in_cfg(function*, bool)
        /space/rguenther/src/svn/trunk/gcc/tree-cfg.c:5286
0xdac552 execute_function_todo
        /space/rguenther/src/svn/trunk/gcc/passes.c:1966
0xdab5f9 do_per_function
        /space/rguenther/src/svn/trunk/gcc/passes.c:1650
0xdac724 execute_todo
        /space/rguenther/src/svn/trunk/gcc/passes.c:2016
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.

it's not a RESULT_DECL.  Reducing a testcase.

Reply via email to