public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug sanitizer/55702] New: ICE: in instrument_func_exit, at tsan.c:684 with -fsanitize=thread and __builtin_return()
@ 2012-12-15 7:29 zsojka at seznam dot cz
2013-04-03 12:58 ` [Bug sanitizer/55702] " mpolacek at gcc dot gnu.org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: zsojka at seznam dot cz @ 2012-12-15 7:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55702
Bug #: 55702
Summary: ICE: in instrument_func_exit, at tsan.c:684 with
-fsanitize=thread and __builtin_return()
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: sanitizer
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zsojka@seznam.cz
CC: dodji@gcc.gnu.org, dvyukov@gcc.gnu.org,
jakub@gcc.gnu.org, kcc@gcc.gnu.org
Created attachment 28974
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28974
reduced testcase
Compiler output:
$ gcc -fsanitize=thread testcase.c
testcase.c: In function 'foo':
testcase.c:2:1: internal compiler error: in instrument_func_exit, at tsan.c:684
foo ()
^
0xa40bf8 instrument_func_exit
/mnt/svn/gcc-trunk/gcc/tsan.c:684
0xa40bf8 tsan_pass
/mnt/svn/gcc-trunk/gcc/tsan.c:702
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
Tested revisions:
r194496 - crash
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug sanitizer/55702] ICE: in instrument_func_exit, at tsan.c:684 with -fsanitize=thread and __builtin_return()
2012-12-15 7:29 [Bug sanitizer/55702] New: ICE: in instrument_func_exit, at tsan.c:684 with -fsanitize=thread and __builtin_return() zsojka at seznam dot cz
@ 2013-04-03 12:58 ` mpolacek at gcc dot gnu.org
2013-04-03 13:18 ` mpolacek at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2013-04-03 12:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55702
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-04-03
CC| |mpolacek at gcc dot gnu.org
Ever Confirmed|0 |1
Known to fail| |4.9.0
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> 2013-04-03 12:58:19 UTC ---
Confirmed.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug sanitizer/55702] ICE: in instrument_func_exit, at tsan.c:684 with -fsanitize=thread and __builtin_return()
2012-12-15 7:29 [Bug sanitizer/55702] New: ICE: in instrument_func_exit, at tsan.c:684 with -fsanitize=thread and __builtin_return() zsojka at seznam dot cz
2013-04-03 12:58 ` [Bug sanitizer/55702] " mpolacek at gcc dot gnu.org
@ 2013-04-03 13:18 ` mpolacek at gcc dot gnu.org
2013-04-03 14:12 ` mpolacek at gcc dot gnu.org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2013-04-03 13:18 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55702
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |mpolacek at gcc dot gnu.org
|gnu.org |
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> 2013-04-03 13:18:16 UTC ---
I think I have a patch.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug sanitizer/55702] ICE: in instrument_func_exit, at tsan.c:684 with -fsanitize=thread and __builtin_return()
2012-12-15 7:29 [Bug sanitizer/55702] New: ICE: in instrument_func_exit, at tsan.c:684 with -fsanitize=thread and __builtin_return() zsojka at seznam dot cz
2013-04-03 12:58 ` [Bug sanitizer/55702] " mpolacek at gcc dot gnu.org
2013-04-03 13:18 ` mpolacek at gcc dot gnu.org
@ 2013-04-03 14:12 ` mpolacek at gcc dot gnu.org
2013-04-03 16:02 ` mpolacek at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2013-04-03 14:12 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55702
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.9.0
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug sanitizer/55702] ICE: in instrument_func_exit, at tsan.c:684 with -fsanitize=thread and __builtin_return()
2012-12-15 7:29 [Bug sanitizer/55702] New: ICE: in instrument_func_exit, at tsan.c:684 with -fsanitize=thread and __builtin_return() zsojka at seznam dot cz
` (2 preceding siblings ...)
2013-04-03 14:12 ` mpolacek at gcc dot gnu.org
@ 2013-04-03 16:02 ` mpolacek at gcc dot gnu.org
2013-04-03 16:06 ` mpolacek at gcc dot gnu.org
2013-04-03 16:06 ` mpolacek at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2013-04-03 16:02 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55702
--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> 2013-04-03 16:02:48 UTC ---
Author: mpolacek
Date: Wed Apr 3 16:01:38 2013
New Revision: 197430
URL: http://gcc.gnu.org/viewcvs?rev=197430&root=gcc&view=rev
Log:
PR sanitizer/55702
* tsan.c (instrument_func_exit): Allow BUILT_IN_RETURN
functions.
* gcc.dg/pr55702.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr55702.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tsan.c
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug sanitizer/55702] ICE: in instrument_func_exit, at tsan.c:684 with -fsanitize=thread and __builtin_return()
2012-12-15 7:29 [Bug sanitizer/55702] New: ICE: in instrument_func_exit, at tsan.c:684 with -fsanitize=thread and __builtin_return() zsojka at seznam dot cz
` (3 preceding siblings ...)
2013-04-03 16:02 ` mpolacek at gcc dot gnu.org
@ 2013-04-03 16:06 ` mpolacek at gcc dot gnu.org
2013-04-03 16:06 ` mpolacek at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2013-04-03 16:06 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55702
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> 2013-04-03 16:06:55 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug sanitizer/55702] ICE: in instrument_func_exit, at tsan.c:684 with -fsanitize=thread and __builtin_return()
2012-12-15 7:29 [Bug sanitizer/55702] New: ICE: in instrument_func_exit, at tsan.c:684 with -fsanitize=thread and __builtin_return() zsojka at seznam dot cz
` (4 preceding siblings ...)
2013-04-03 16:06 ` mpolacek at gcc dot gnu.org
@ 2013-04-03 16:06 ` mpolacek at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2013-04-03 16:06 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55702
--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> 2013-04-03 16:06:46 UTC ---
Author: mpolacek
Date: Wed Apr 3 16:06:26 2013
New Revision: 197432
URL: http://gcc.gnu.org/viewcvs?rev=197432&root=gcc&view=rev
Log:
PR sanitizer/55702
* tsan.c (instrument_func_exit): Allow BUILT_IN_RETURN
functions.
* gcc.dg/pr55702.c: New test.
Added:
branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/pr55702.c
Modified:
branches/gcc-4_8-branch/gcc/ChangeLog
branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
branches/gcc-4_8-branch/gcc/tsan.c
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-04-03 16:06 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-15 7:29 [Bug sanitizer/55702] New: ICE: in instrument_func_exit, at tsan.c:684 with -fsanitize=thread and __builtin_return() zsojka at seznam dot cz
2013-04-03 12:58 ` [Bug sanitizer/55702] " mpolacek at gcc dot gnu.org
2013-04-03 13:18 ` mpolacek at gcc dot gnu.org
2013-04-03 14:12 ` mpolacek at gcc dot gnu.org
2013-04-03 16:02 ` mpolacek at gcc dot gnu.org
2013-04-03 16:06 ` mpolacek at gcc dot gnu.org
2013-04-03 16:06 ` mpolacek 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).