public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/40506]  New: ICE with -fwhole-program --combine (verify_stmts failed)
@ 2009-06-20 18:20 debian-gcc at lists dot debian dot org
  2009-06-20 18:22 ` [Bug middle-end/40506] " debian-gcc at lists dot debian dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2009-06-20 18:20 UTC (permalink / raw)
  To: gcc-bugs

i686-linux-gnu, with trunk 20090620:

  Matthias

/scratch/packages/gcc/snap/gcc-snapshot-20090620/build/gcc/xgcc
-B/scratch/packages/gcc/snap/gcc-snapshot-20090620/build/gcc/ -O2 -std=gnu99
-fwhole-program --combine -c -o mksh.o edit.i eval.i exec.i expr.i funcs.i
histrap.i jobs.i lalloc.i lex.i main.i misc.i shf.i syn.i tree.i var.i
../../mksh/jobs.c: In function 'exchild':
../../mksh/jobs.c:458:4: warning: ignoring return value of 'nice', declared
with attribute warn_unused_result
../../mksh/var.c: In function 'ktnext':
../../mksh/var.c:1372:1: error: invalid conversion in return statement
struct tbl *

struct tbl *

return D.104473_1;

../../mksh/var.c:1372:1: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-snapshot/README.Bugs> for instructions.

with 4.4 branch:

$ gcc-4.4 -O2 -std=gnu99 -fwhole-program --combine -c -o mksh.o edit.i eval.i
exec.i expr.i funcs.i histrap.i jobs.i lalloc.i lex.i main.i misc.i shf.i syn.i
tree.i var.i../../mksh/jobs.c: In function 'exchild':
../../mksh/jobs.c:458: warning: ignoring return value of 'nice', declared with
attribute warn_unused_result
../../mksh/edit.c: In function 'vi_cmd':
/usr/include/bits/string3.h:56: sorry, unimplemented: inlining failed in call
to 'memmove': function body not available
../../mksh/edit.c:4135: sorry, unimplemented: called from here
/usr/include/bits/string3.h:56: sorry, unimplemented: inlining failed in call
to 'memmove': function body not available
../../mksh/edit.c:4139: sorry, unimplemented: called from here
/usr/include/bits/string3.h:49: sorry, unimplemented: inlining failed in call
to 'memcpy': redefined extern inline functions are not considered for inlining
../../mksh/edit.c:4170: sorry, unimplemented: called from here
/usr/include/bits/string3.h:49: sorry, unimplemented: inlining failed in call
to 'memcpy': redefined extern inline functions are not considered for inlining
../../mksh/edit.c:4173: sorry, unimplemented: called from here
/usr/include/bits/string3.h:56: sorry, unimplemented: inlining failed in call
to 'memmove': function body not available
../../mksh/edit.c:5095: sorry, unimplemented: called from here
../../mksh/lex.c:955: confused by earlier errors, bailing out


-- 
           Summary: ICE with -fwhole-program --combine (verify_stmts failed)
           Product: gcc
           Version: 4.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: debian-gcc at lists dot debian dot org


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


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

* [Bug middle-end/40506] ICE with -fwhole-program --combine (verify_stmts failed)
  2009-06-20 18:20 [Bug middle-end/40506] New: ICE with -fwhole-program --combine (verify_stmts failed) debian-gcc at lists dot debian dot org
@ 2009-06-20 18:22 ` debian-gcc at lists dot debian dot org
  2009-06-20 19:13 ` rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2009-06-20 18:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from debian-gcc at lists dot debian dot org  2009-06-20 18:22 -------
Created an attachment (id=18034)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18034&action=view)
preprocessed source


-- 


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


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

* [Bug middle-end/40506] ICE with -fwhole-program --combine (verify_stmts failed)
  2009-06-20 18:20 [Bug middle-end/40506] New: ICE with -fwhole-program --combine (verify_stmts failed) debian-gcc at lists dot debian dot org
  2009-06-20 18:22 ` [Bug middle-end/40506] " debian-gcc at lists dot debian dot org
@ 2009-06-20 19:13 ` rguenth at gcc dot gnu dot org
  2009-06-21 23:51 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-06-20 19:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2009-06-20 19:13 -------
-combine is broken, if it doesn't work don't use it.


-- 


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


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

* [Bug middle-end/40506] ICE with -fwhole-program --combine (verify_stmts failed)
  2009-06-20 18:20 [Bug middle-end/40506] New: ICE with -fwhole-program --combine (verify_stmts failed) debian-gcc at lists dot debian dot org
  2009-06-20 18:22 ` [Bug middle-end/40506] " debian-gcc at lists dot debian dot org
  2009-06-20 19:13 ` rguenth at gcc dot gnu dot org
@ 2009-06-21 23:51 ` pinskia at gcc dot gnu dot org
  2009-06-30  8:44 ` tg at mirbsd dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-06-21 23:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2009-06-21 23:51 -------
PR 39959 is the PR about the ICE on the trunk.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |39959


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


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

* [Bug middle-end/40506] ICE with -fwhole-program --combine (verify_stmts failed)
  2009-06-20 18:20 [Bug middle-end/40506] New: ICE with -fwhole-program --combine (verify_stmts failed) debian-gcc at lists dot debian dot org
                   ` (2 preceding siblings ...)
  2009-06-21 23:51 ` pinskia at gcc dot gnu dot org
@ 2009-06-30  8:44 ` tg at mirbsd dot org
  2009-10-14 21:30 ` rguenth at gcc dot gnu dot org
  2010-09-17  9:09 ` rguenth at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: tg at mirbsd dot org @ 2009-06-30  8:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from tg at mirbsd dot org  2009-06-30 08:44 -------
@Richard Guenther: the problem is that "-fwhole-program --combine"
works most of the time, but if it fails, there is no simple way to
detect it from a build script (by compiling a small test programme
with these options I can only detect if they are recognised at all
or (e.g. gcc3) not, but a hello-world style will always succeed).

So I suggest that, if it is known to the gcc maintainers that the-
se options are broken in a specific gcc version, it be deactivated
so that compiling the test programme will fail due to an "unrecog-
nised" command line option.

On the other hand, in later gcc4.1 versions as well as some gcc4.4
versions (eg. that on sid), gcc-snapshot on karmic, gcc4.2, gcc4.3
and llvm-gcc4.2 it works very well, so I'd like to use this featu-
re if I can.


-- 

tg at mirbsd dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tg at mirbsd dot org


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


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

* [Bug middle-end/40506] ICE with -fwhole-program --combine (verify_stmts failed)
  2009-06-20 18:20 [Bug middle-end/40506] New: ICE with -fwhole-program --combine (verify_stmts failed) debian-gcc at lists dot debian dot org
                   ` (3 preceding siblings ...)
  2009-06-30  8:44 ` tg at mirbsd dot org
@ 2009-10-14 21:30 ` rguenth at gcc dot gnu dot org
  2010-09-17  9:09 ` rguenth at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-10-14 21:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2009-10-14 21:30 -------
Note that these errors only happen if you build GCC with checking enabled
which is not the default for released compilers.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-checking


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


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

* [Bug middle-end/40506] ICE with -fwhole-program --combine (verify_stmts failed)
  2009-06-20 18:20 [Bug middle-end/40506] New: ICE with -fwhole-program --combine (verify_stmts failed) debian-gcc at lists dot debian dot org
                   ` (4 preceding siblings ...)
  2009-10-14 21:30 ` rguenth at gcc dot gnu dot org
@ 2010-09-17  9:09 ` rguenth at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-09-17  9:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rguenth at gcc dot gnu dot org  2010-09-17 09:06 -------
-combine has been removed from GCC 4.6 in favor of LTO, closing as WONTFIX.


-- 

rguenth at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2010-09-17  9:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-20 18:20 [Bug middle-end/40506] New: ICE with -fwhole-program --combine (verify_stmts failed) debian-gcc at lists dot debian dot org
2009-06-20 18:22 ` [Bug middle-end/40506] " debian-gcc at lists dot debian dot org
2009-06-20 19:13 ` rguenth at gcc dot gnu dot org
2009-06-21 23:51 ` pinskia at gcc dot gnu dot org
2009-06-30  8:44 ` tg at mirbsd dot org
2009-10-14 21:30 ` rguenth at gcc dot gnu dot org
2010-09-17  9:09 ` rguenth at gcc dot gnu dot 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).