public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c/53702] New: Segmentation fault with -Wall @ 2012-06-17 9:29 dcb314 at hotmail dot com 2012-06-17 11:02 ` [Bug c/53702] " markus at trippelsdorf dot de ` (5 more replies) 0 siblings, 6 replies; 7+ messages in thread From: dcb314 at hotmail dot com @ 2012-06-17 9:29 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53702 Bug #: 53702 Summary: Segmentation fault with -Wall Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned@gcc.gnu.org ReportedBy: dcb314@hotmail.com Created attachment 27638 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27638 C source code I just tried to compile the package gstreamer-plugins-espeak-0.3.5-2 on gcc-4.8 trunk dated 20120617 on an AMD x86_64 box. The compiler said espeak.c:245:5: internal compiler error: Segmentation fault g_atomic_int_set (&spin->state, PLAY); ^ 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. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/53702] Segmentation fault with -Wall 2012-06-17 9:29 [Bug c/53702] New: Segmentation fault with -Wall dcb314 at hotmail dot com @ 2012-06-17 11:02 ` markus at trippelsdorf dot de 2012-06-17 14:16 ` markus at trippelsdorf dot de ` (4 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: markus at trippelsdorf dot de @ 2012-06-17 11:02 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53702 Markus Trippelsdorf <markus at trippelsdorf dot de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markus at trippelsdorf dot | |de --- Comment #1 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-06-17 11:02:23 UTC --- void fn1 () { void fn2 () { } typedef int pt; } ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/53702] Segmentation fault with -Wall 2012-06-17 9:29 [Bug c/53702] New: Segmentation fault with -Wall dcb314 at hotmail dot com 2012-06-17 11:02 ` [Bug c/53702] " markus at trippelsdorf dot de @ 2012-06-17 14:16 ` markus at trippelsdorf dot de 2012-06-17 16:16 ` meadori at codesourcery dot com ` (3 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: markus at trippelsdorf dot de @ 2012-06-17 14:16 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53702 Markus Trippelsdorf <markus at trippelsdorf dot de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |meadori at gmail dot com --- Comment #2 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-06-17 14:16:27 UTC --- Started with revision 187979: commit e4a33abd20e349979e77e2881fcd29dac9825ed6 Author: jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Tue May 29 19:07:04 2012 +0000 2012-05-29 Meador Inge <meadori@codesourcery.com> * c-decl.c (c_push_function_context): Always create a new language function. (c_pop_function_context): Clear the language function created in c_push_function_context. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187979 138bc75d-0d04-0410-961f-82ee72b054a4 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/53702] Segmentation fault with -Wall 2012-06-17 9:29 [Bug c/53702] New: Segmentation fault with -Wall dcb314 at hotmail dot com 2012-06-17 11:02 ` [Bug c/53702] " markus at trippelsdorf dot de 2012-06-17 14:16 ` markus at trippelsdorf dot de @ 2012-06-17 16:16 ` meadori at codesourcery dot com 2012-06-17 22:46 ` [Bug c/53702] [4.8 Regression] ICE with -Wall and nested functions and unused typedef pinskia at gcc dot gnu.org ` (2 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: meadori at codesourcery dot com @ 2012-06-17 16:16 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53702 --- Comment #3 from Meador Inge <meadori at codesourcery dot com> 2012-06-17 16:15:51 UTC --- I will look into this one. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/53702] [4.8 Regression] ICE with -Wall and nested functions and unused typedef 2012-06-17 9:29 [Bug c/53702] New: Segmentation fault with -Wall dcb314 at hotmail dot com ` (2 preceding siblings ...) 2012-06-17 16:16 ` meadori at codesourcery dot com @ 2012-06-17 22:46 ` pinskia at gcc dot gnu.org 2012-06-21 20:20 ` meadori at gcc dot gnu.org 2012-06-21 20:48 ` meadori at gcc dot gnu.org 5 siblings, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu.org @ 2012-06-17 22:46 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53702 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Keywords| |ice-on-valid-code Last reconfirmed| |2012-06-17 Ever Confirmed|0 |1 Summary|Segmentation fault with |[4.8 Regression] ICE with |-Wall |-Wall and nested functions | |and unused typedef Target Milestone|--- |4.8.0 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/53702] [4.8 Regression] ICE with -Wall and nested functions and unused typedef 2012-06-17 9:29 [Bug c/53702] New: Segmentation fault with -Wall dcb314 at hotmail dot com ` (3 preceding siblings ...) 2012-06-17 22:46 ` [Bug c/53702] [4.8 Regression] ICE with -Wall and nested functions and unused typedef pinskia at gcc dot gnu.org @ 2012-06-21 20:20 ` meadori at gcc dot gnu.org 2012-06-21 20:48 ` meadori at gcc dot gnu.org 5 siblings, 0 replies; 7+ messages in thread From: meadori at gcc dot gnu.org @ 2012-06-21 20:20 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53702 --- Comment #4 from meadori at gcc dot gnu.org 2012-06-21 20:20:36 UTC --- Author: meadori Date: Thu Jun 21 20:20:30 2012 New Revision: 188860 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188860 Log: PR c/53702 * c-decl.c (c_push_function_context): Restore the behavior to reuse the language function allocated for -Wunused-local-typedefs. (c_pop_function_context): If necessary, clear the language function created in c_push_function_context. Always clear out the x_cur_stmt_list field of the restored language function. testsuite/ * gcc.dg/Wunused-local-typedefs.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/Wunused-local-typedefs.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/53702] [4.8 Regression] ICE with -Wall and nested functions and unused typedef 2012-06-17 9:29 [Bug c/53702] New: Segmentation fault with -Wall dcb314 at hotmail dot com ` (4 preceding siblings ...) 2012-06-21 20:20 ` meadori at gcc dot gnu.org @ 2012-06-21 20:48 ` meadori at gcc dot gnu.org 5 siblings, 0 replies; 7+ messages in thread From: meadori at gcc dot gnu.org @ 2012-06-21 20:48 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53702 meadori at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |meadori at gcc dot gnu.org Resolution| |FIXED --- Comment #5 from meadori at gcc dot gnu.org 2012-06-21 20:48:08 UTC --- Fix committed. Thanks for the report! ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-06-21 20:48 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-06-17 9:29 [Bug c/53702] New: Segmentation fault with -Wall dcb314 at hotmail dot com 2012-06-17 11:02 ` [Bug c/53702] " markus at trippelsdorf dot de 2012-06-17 14:16 ` markus at trippelsdorf dot de 2012-06-17 16:16 ` meadori at codesourcery dot com 2012-06-17 22:46 ` [Bug c/53702] [4.8 Regression] ICE with -Wall and nested functions and unused typedef pinskia at gcc dot gnu.org 2012-06-21 20:20 ` meadori at gcc dot gnu.org 2012-06-21 20:48 ` meadori at gcc dot gnu.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).