public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c/43384] [4.3/4.4/4.5/4.6 Regression] ICE: Segmentation fault with invalid K&R-like code [not found] <bug-43384-4@http.gcc.gnu.org/bugzilla/> @ 2010-10-31 7:57 ` simartin at gcc dot gnu.org 2010-11-06 21:59 ` simartin at gcc dot gnu.org ` (4 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: simartin at gcc dot gnu.org @ 2010-10-31 7:57 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43384 Simon Martin <simartin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |simartin at gcc dot gnu.org Known to work| | Known to fail| | --- Comment #5 from Simon Martin <simartin at gcc dot gnu.org> 2010-10-31 07:56:47 UTC --- Patch proposed here: http://gcc.gnu.org/ml/gcc-patches/2010-10/msg02657.html ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/43384] [4.3/4.4/4.5/4.6 Regression] ICE: Segmentation fault with invalid K&R-like code [not found] <bug-43384-4@http.gcc.gnu.org/bugzilla/> 2010-10-31 7:57 ` [Bug c/43384] [4.3/4.4/4.5/4.6 Regression] ICE: Segmentation fault with invalid K&R-like code simartin at gcc dot gnu.org @ 2010-11-06 21:59 ` simartin at gcc dot gnu.org 2010-11-06 22:07 ` [Bug c/43384] [4.3/4.4/4.5 " simartin at gcc dot gnu.org ` (3 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: simartin at gcc dot gnu.org @ 2010-11-06 21:59 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43384 --- Comment #6 from Simon Martin <simartin at gcc dot gnu.org> 2010-11-06 21:58:53 UTC --- Author: simartin Date: Sat Nov 6 21:58:50 2010 New Revision: 166408 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166408 Log: gcc/ 2010-11-16 Simon Martin <simartin@users.sourceforge.net> PR c/43384 * c-decl.c (lookup_label): Labels can only be referenced in a function's scope. (store_parm_decls_oldstyle): Skip erroneous parameters. gcc/testsuite/ 2010-11-16 Simon Martin <simartin@users.sourceforge.net> PR c/43384 * gcc.dg/parser-error-3.c: New test. Added: trunk/gcc/testsuite/gcc.dg/parse-error-3.c Modified: trunk/gcc/ChangeLog trunk/gcc/c-decl.c trunk/gcc/testsuite/ChangeLog ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/43384] [4.3/4.4/4.5 Regression] ICE: Segmentation fault with invalid K&R-like code [not found] <bug-43384-4@http.gcc.gnu.org/bugzilla/> 2010-10-31 7:57 ` [Bug c/43384] [4.3/4.4/4.5/4.6 Regression] ICE: Segmentation fault with invalid K&R-like code simartin at gcc dot gnu.org 2010-11-06 21:59 ` simartin at gcc dot gnu.org @ 2010-11-06 22:07 ` simartin at gcc dot gnu.org 2011-06-27 14:34 ` rguenth at gcc dot gnu.org ` (2 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: simartin at gcc dot gnu.org @ 2010-11-06 22:07 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43384 Simon Martin <simartin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |4.6.0 Summary|[4.3/4.4/4.5/4.6 |[4.3/4.4/4.5 Regression] |Regression] ICE: |ICE: Segmentation fault |Segmentation fault with |with invalid K&R-like code |invalid K&R-like code | --- Comment #7 from Simon Martin <simartin at gcc dot gnu.org> 2010-11-06 22:07:18 UTC --- Fixed in 4.6 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/43384] [4.3/4.4/4.5 Regression] ICE: Segmentation fault with invalid K&R-like code [not found] <bug-43384-4@http.gcc.gnu.org/bugzilla/> ` (2 preceding siblings ...) 2010-11-06 22:07 ` [Bug c/43384] [4.3/4.4/4.5 " simartin at gcc dot gnu.org @ 2011-06-27 14:34 ` rguenth at gcc dot gnu.org 2012-03-13 14:18 ` [Bug c/43384] [4.5 " jakub at gcc dot gnu.org 2012-07-02 10:24 ` rguenth at gcc dot gnu.org 5 siblings, 0 replies; 7+ messages in thread From: rguenth at gcc dot gnu.org @ 2011-06-27 14:34 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43384 Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.3.6 |4.4.7 --- Comment #8 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-06-27 12:13:51 UTC --- 4.3 branch is being closed, moving to 4.4.7 target. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/43384] [4.5 Regression] ICE: Segmentation fault with invalid K&R-like code [not found] <bug-43384-4@http.gcc.gnu.org/bugzilla/> ` (3 preceding siblings ...) 2011-06-27 14:34 ` rguenth at gcc dot gnu.org @ 2012-03-13 14:18 ` jakub at gcc dot gnu.org 2012-07-02 10:24 ` rguenth at gcc dot gnu.org 5 siblings, 0 replies; 7+ messages in thread From: jakub at gcc dot gnu.org @ 2012-03-13 14:18 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43384 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.4.7 |4.5.4 --- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-13 12:46:55 UTC --- 4.4 branch is being closed, moving to 4.5.4 target. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/43384] [4.5 Regression] ICE: Segmentation fault with invalid K&R-like code [not found] <bug-43384-4@http.gcc.gnu.org/bugzilla/> ` (4 preceding siblings ...) 2012-03-13 14:18 ` [Bug c/43384] [4.5 " jakub at gcc dot gnu.org @ 2012-07-02 10:24 ` rguenth at gcc dot gnu.org 5 siblings, 0 replies; 7+ messages in thread From: rguenth at gcc dot gnu.org @ 2012-07-02 10:24 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43384 Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED Target Milestone|4.5.4 |4.6.0 --- Comment #10 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-07-02 10:24:37 UTC --- Fixed in 4.6.0, the 4.5 branch is being closed. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/43384] New: [4.3/4.4/4.5 Regression] ICE: Segmentation fault with invalid K&R-like declaration related to labels @ 2010-03-15 20:44 zsojka at seznam dot cz 2010-05-22 18:35 ` [Bug c/43384] [4.3/4.4/4.5/4.6 Regression] ICE: Segmentation fault with invalid K&R-like code rguenth at gcc dot gnu dot org 0 siblings, 1 reply; 7+ messages in thread From: zsojka at seznam dot cz @ 2010-03-15 20:44 UTC (permalink / raw) To: gcc-bugs Command line: gcc testcase.c ----- testcase.c ----- void c_direct(p) void *p = &&lab; {} ---------------------- 3.3.6 gives: $ gcc-3.3.6 testcase.c testcase.c: In function `c_direct': testcase.c:2: error: parameter `p' is initialized testcase.c:2: error: label `lab' used but not defined 3.4.6 and newer give: $ /mnt/svn/gcc-trunk/binary-157460-lto/bin/gcc testcase.c testcase.c: In function 'c_direct': testcase.c:2:1: error: parameter 'p' is initialized testcase.c:2:1: internal compiler error: Segmentation fault (or bail out, without checking) Valgrind on trunk outputs: $ valgrind --trace-children=yes /mnt/svn/gcc-trunk/binary-157460-lto/bin/gcc testcase.c ==5200== Invalid read of size 4 ==5200== at 0x49B7EF: bind (c-decl.c:604) ==5200== by 0x49B9C8: bind_label (c-decl.c:670) ==5200== by 0x4A1A68: lookup_label (c-decl.c:3027) ==5200== by 0x4F6035: finish_label_address_expr (c-common.c:5659) ==5200== by 0x50C90C: c_parser_unary_expression (c-parser.c:5141) ==5200== by 0x50D262: c_parser_cast_expression (c-parser.c:5043) ==5200== by 0x50D404: c_parser_binary_expression (c-parser.c:4859) ==5200== by 0x50DA5C: c_parser_conditional_expression (c-parser.c:4645) ==5200== by 0x50DF6E: c_parser_expr_no_commas (c-parser.c:4565) ==5200== by 0x511ADF: c_parser_declaration_or_fndef (c-parser.c:3073) ==5200== by 0x511D75: c_parser_declaration_or_fndef (c-parser.c:1335) ==5200== by 0x5163B7: c_parse_file (c-parser.c:1005) ==5200== Address 0x28 is not stack'd, malloc'd or (recently) free'd -- Summary: [4.3/4.4/4.5 Regression] ICE: Segmentation fault with invalid K&R-like declaration related to labels Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zsojka at seznam dot cz GCC host triplet: x86_64-pc-linux-gnu GCC target triplet: x86_64-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43384 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/43384] [4.3/4.4/4.5/4.6 Regression] ICE: Segmentation fault with invalid K&R-like code 2010-03-15 20:44 [Bug c/43384] New: [4.3/4.4/4.5 Regression] ICE: Segmentation fault with invalid K&R-like declaration related to labels zsojka at seznam dot cz @ 2010-05-22 18:35 ` rguenth at gcc dot gnu dot org 0 siblings, 0 replies; 7+ messages in thread From: rguenth at gcc dot gnu dot org @ 2010-05-22 18:35 UTC (permalink / raw) To: gcc-bugs ------- Comment #4 from rguenth at gcc dot gnu dot org 2010-05-22 18:13 ------- GCC 4.3.5 is being released, adjusting target milestone. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.3.5 |4.3.6 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43384 ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-07-02 10:24 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-43384-4@http.gcc.gnu.org/bugzilla/> 2010-10-31 7:57 ` [Bug c/43384] [4.3/4.4/4.5/4.6 Regression] ICE: Segmentation fault with invalid K&R-like code simartin at gcc dot gnu.org 2010-11-06 21:59 ` simartin at gcc dot gnu.org 2010-11-06 22:07 ` [Bug c/43384] [4.3/4.4/4.5 " simartin at gcc dot gnu.org 2011-06-27 14:34 ` rguenth at gcc dot gnu.org 2012-03-13 14:18 ` [Bug c/43384] [4.5 " jakub at gcc dot gnu.org 2012-07-02 10:24 ` rguenth at gcc dot gnu.org 2010-03-15 20:44 [Bug c/43384] New: [4.3/4.4/4.5 Regression] ICE: Segmentation fault with invalid K&R-like declaration related to labels zsojka at seznam dot cz 2010-05-22 18:35 ` [Bug c/43384] [4.3/4.4/4.5/4.6 Regression] ICE: Segmentation fault with invalid K&R-like code 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).