public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/37230]  New: [4.4 Regression] ICE - Invalid read of size 2 at conversion_warning (c-common.c:1571)
@ 2008-08-25  8:13 burnus at gcc dot gnu dot org
  2008-08-25  8:23 ` [Bug c/37230] " burnus at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: burnus at gcc dot gnu dot org @ 2008-08-25  8:13 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1817 bytes --]

This is with GNU C (GCC) Version 4.4.0 20080824 (experimental) [trunk revision
139535] (x86_64-unknown-linux-gnu) when compiling GDB (trunk)'s
generic/regcomp.c:

../../../src/tcl/unix/../generic/regcomp.c: In Function »TclReComp«:
../../../src/tcl/unix/../generic/regcomp.c:340: internal compiler error:
Segfault

Working: 2008-08-20-r139252
Failing: 2008-08-21-r139367
Failing: 20080824 (experimental) [trunk revision 139535]

==26156== Invalid read of size 2
==26156==    at 0x458558: conversion_warning (c-common.c:1571)
==26156==    by 0x4593F7: convert_and_check (c-common.c:1839)
==26156==    by 0x42BF71: build_binary_op (c-typeck.c:8434)
==26156==    by 0x42D8B0: parser_build_binary_op (c-typeck.c:2758)
==26156==    by 0x47161D: c_parser_conditional_expression (c-parser.c:4713)
==26156==    by 0x471C84: c_parser_expr_no_commas (c-parser.c:4358)
==26156==    by 0x471E81: c_parser_expression (c-parser.c:5609)
==26156==    by 0x472168: c_parser_expression_conv (c-parser.c:5629)
==26156==    by 0x4721B8: c_parser_condition (c-parser.c:3807)
==26156==    by 0x472277: c_parser_paren_condition (c-parser.c:3827)
==26156==    by 0x47777C: c_parser_if_statement (c-parser.c:3916)
==26156==    by 0x46CF9F: c_parser_statement_after_labels (c-parser.c:3681)
==26156==  Address 0x0 is not stack'd, malloc'd or (recently) free'd


-- 
           Summary: [4.4 Regression] ICE - Invalid read of size 2 at
                    conversion_warning (c-common.c:1571)
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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


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

* [Bug c/37230] [4.4 Regression] ICE - Invalid read of size 2 at conversion_warning (c-common.c:1571)
  2008-08-25  8:13 [Bug c/37230] New: [4.4 Regression] ICE - Invalid read of size 2 at conversion_warning (c-common.c:1571) burnus at gcc dot gnu dot org
@ 2008-08-25  8:23 ` burnus at gcc dot gnu dot org
  2008-08-27 11:44 ` rguenth at gcc dot gnu dot org
  2008-08-27 15:38 ` burnus at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: burnus at gcc dot gnu dot org @ 2008-08-25  8:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from burnus at gcc dot gnu dot org  2008-08-25 08:21 -------
Presumably a duplicate of PR 37217 even though the reduced test case there does
not give an ICE here.

$ gcc -Wconversion regcomp.i

gives the ICE. I defer from attaching the rather large regcomp.i.gz, unless
someone wants to see it.


-- 


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


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

* [Bug c/37230] [4.4 Regression] ICE - Invalid read of size 2 at conversion_warning (c-common.c:1571)
  2008-08-25  8:13 [Bug c/37230] New: [4.4 Regression] ICE - Invalid read of size 2 at conversion_warning (c-common.c:1571) burnus at gcc dot gnu dot org
  2008-08-25  8:23 ` [Bug c/37230] " burnus at gcc dot gnu dot org
@ 2008-08-27 11:44 ` rguenth at gcc dot gnu dot org
  2008-08-27 15:38 ` burnus at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-08-27 11:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2008-08-27 11:42 -------
Please attach it.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.4.0


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


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

* [Bug c/37230] [4.4 Regression] ICE - Invalid read of size 2 at conversion_warning (c-common.c:1571)
  2008-08-25  8:13 [Bug c/37230] New: [4.4 Regression] ICE - Invalid read of size 2 at conversion_warning (c-common.c:1571) burnus at gcc dot gnu dot org
  2008-08-25  8:23 ` [Bug c/37230] " burnus at gcc dot gnu dot org
  2008-08-27 11:44 ` rguenth at gcc dot gnu dot org
@ 2008-08-27 15:38 ` burnus at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: burnus at gcc dot gnu dot org @ 2008-08-27 15:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from burnus at gcc dot gnu dot org  2008-08-27 15:36 -------
(In reply to comment #2)
> Please attach it.
See attachment 16144 (at PR 37217). Since the patch for PR 37217 fixes this PR
(well, the patch was generated based on the attachment for this PR), I mark
this PR as duplicated. (The patch has been submitted but not yet be committed,
see other PR.)

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


-- 

burnus at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2008-08-27 15:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-25  8:13 [Bug c/37230] New: [4.4 Regression] ICE - Invalid read of size 2 at conversion_warning (c-common.c:1571) burnus at gcc dot gnu dot org
2008-08-25  8:23 ` [Bug c/37230] " burnus at gcc dot gnu dot org
2008-08-27 11:44 ` rguenth at gcc dot gnu dot org
2008-08-27 15:38 ` burnus 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).