public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/35893]  New: ice for legal code
@ 2008-04-09 19:40 dcb314 at hotmail dot com
  2008-04-09 19:41 ` [Bug c/35893] " dcb314 at hotmail dot com
  2008-05-05  5:50 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: dcb314 at hotmail dot com @ 2008-04-09 19:40 UTC (permalink / raw)
  To: gcc-bugs

I just tried to compile the Suse Linux package smalltalk-2.1.12
with the GNU C compiler version 4.4 snapshot 20080404

The compiler said

 gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../lib-src -I../lightning
-I../lightning -I../snprintfv -I../snprintfv
-DKERNEL_PATH=\"/usr/share/smalltalk/kernel\" -Wall
-DIMAGE_PATH=\"/usr/share/smalltalk\" -DMODULE_PATH=\"/usr/lib64/smalltalk\"
-O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2 -Wall
-Wdeclaration-after-statement -Wno-format -Wno-parentheses -Wpointer-arith
-Wno-pointer-sign -Wno-strict-aliasing -Wno-switch -fno-gcse
-fno-strict-aliasing -MT oop.lo -MD -MP -MF .deps/oop.Tpo -c oop.c -o oop.o
oop.c: In function '_gst_mark_an_oop_internal':
oop.c:2060: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Preprocessed source code attached. Flag -Wall required

Here is some additional help from valgrind

==2919== Invalid read of size 2
==2919==    at 0x42588E: emit_side_effect_warnings (c-typeck.c:7522)
==2919==    by 0x42DB50: c_finish_stmt_expr (c-typeck.c:7670)
==2919==    by 0x47ACB7: c_parser_postfix_expression (c-parser.c:5230)
==2919==    by 0x47AEEE: c_parser_unary_expression (c-parser.c:4982)
==2919==    by 0x47B91C: c_parser_cast_expression (c-parser.c:4857)
==2919==    by 0x47B9A4: c_parser_cast_expression (c-parser.c:4850)
==2919==    by 0x47BA6D: c_parser_conditional_expression (c-parser.c:4687)
==2919==    by 0x47C254: c_parser_expr_no_commas (c-parser.c:4448)
==2919==    by 0x47C441: c_parser_expression (c-parser.c:5695)
==2919==    by 0x47A42D: c_parser_postfix_expression (c-parser.c:5257)
==2919==    by 0x47AEEE: c_parser_unary_expression (c-parser.c:4982)
==2919==    by 0x47B91C: c_parser_cast_expression (c-parser.c:4857)
==2919==  Address 0x0 is not stack'd, malloc'd or (recently) free'd


-- 
           Summary: ice for legal code
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dcb314 at hotmail dot com
  GCC host triplet: x86_64-suse-linux


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


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

* [Bug c/35893] ice for legal code
  2008-04-09 19:40 [Bug c/35893] New: ice for legal code dcb314 at hotmail dot com
@ 2008-04-09 19:41 ` dcb314 at hotmail dot com
  2008-05-05  5:50 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: dcb314 at hotmail dot com @ 2008-04-09 19:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from dcb314 at hotmail dot com  2008-04-09 19:40 -------
Created an attachment (id=15459)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15459&action=view)
C source code


-- 


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


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

* [Bug c/35893] ice for legal code
  2008-04-09 19:40 [Bug c/35893] New: ice for legal code dcb314 at hotmail dot com
  2008-04-09 19:41 ` [Bug c/35893] " dcb314 at hotmail dot com
@ 2008-05-05  5:50 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-05-05  5:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2008-05-05 05:49 -------
We have a predict_expr.

*** This bug has been marked as a duplicate of 35736 ***


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2008-05-05  5:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-09 19:40 [Bug c/35893] New: ice for legal code dcb314 at hotmail dot com
2008-04-09 19:41 ` [Bug c/35893] " dcb314 at hotmail dot com
2008-05-05  5:50 ` pinskia 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).