public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/52248] New: [4.7 Regression] timevar ICE
@ 2012-02-14 16:08 jakub at gcc dot gnu.org
  2012-02-15 11:16 ` [Bug c++/52248] " rguenth at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-02-14 16:08 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 52248
           Summary: [4.7 Regression] timevar ICE
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Keywords: ice-checking, ice-on-invalid-code
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jakub@gcc.gnu.org
                CC: crowl@gcc.gnu.org


// { dg-do compile }
// { dg-options "-ftime-report" }

void
foo ()
{
  __asm goto ("" : : : : lab);
}

ICEs with:
rh790221-4.C: In function ‘void foo()’:
rh790221-4.C:7:26: error: label ‘lab’ used but not defined
rh790221-4.C:8:1: internal compiler error: in timevar_start, at timevar.c:344
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Caused by the http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173277 commit.


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

* [Bug c++/52248] [4.7 Regression] timevar ICE
  2012-02-14 16:08 [Bug c++/52248] New: [4.7 Regression] timevar ICE jakub at gcc dot gnu.org
@ 2012-02-15 11:16 ` rguenth at gcc dot gnu.org
  2012-02-16 20:52 ` pinskia at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-02-15 11:16 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.7.0


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

* [Bug c++/52248] [4.7 Regression] timevar ICE
  2012-02-14 16:08 [Bug c++/52248] New: [4.7 Regression] timevar ICE jakub at gcc dot gnu.org
  2012-02-15 11:16 ` [Bug c++/52248] " rguenth at gcc dot gnu.org
@ 2012-02-16 20:52 ` pinskia at gcc dot gnu.org
  2012-02-16 21:01 ` pinskia at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-02-16 20:52 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zgss278 at 163 dot com

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-16 20:19:56 UTC ---
*** Bug 49126 has been marked as a duplicate of this bug. ***


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

* [Bug c++/52248] [4.7 Regression] timevar ICE
  2012-02-14 16:08 [Bug c++/52248] New: [4.7 Regression] timevar ICE jakub at gcc dot gnu.org
  2012-02-15 11:16 ` [Bug c++/52248] " rguenth at gcc dot gnu.org
  2012-02-16 20:52 ` pinskia at gcc dot gnu.org
@ 2012-02-16 21:01 ` pinskia at gcc dot gnu.org
  2012-02-16 21:05 ` jason at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-02-16 21:01 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-16 20:21:07 UTC ---
Another simple testcase:
// { dg-do compile }
// { dg-options "-ftime-report" }

int f()
{
goto cleanup  // { dg-error "cleanup" }
}


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

* [Bug c++/52248] [4.7 Regression] timevar ICE
  2012-02-14 16:08 [Bug c++/52248] New: [4.7 Regression] timevar ICE jakub at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2012-02-16 21:01 ` pinskia at gcc dot gnu.org
@ 2012-02-16 21:05 ` jason at gcc dot gnu.org
  2012-02-17  8:38 ` jason at gcc dot gnu.org
  2012-02-17  8:54 ` jason at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu.org @ 2012-02-16 21:05 UTC (permalink / raw)
  To: gcc-bugs

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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2012-02-16
                 CC|                            |jason at gcc dot gnu.org
         AssignedTo|unassigned at gcc dot       |jason at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1


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

* [Bug c++/52248] [4.7 Regression] timevar ICE
  2012-02-14 16:08 [Bug c++/52248] New: [4.7 Regression] timevar ICE jakub at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2012-02-16 21:05 ` jason at gcc dot gnu.org
@ 2012-02-17  8:38 ` jason at gcc dot gnu.org
  2012-02-17  8:54 ` jason at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu.org @ 2012-02-17  8:38 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2012-02-17 08:37:04 UTC ---
Author: jason
Date: Fri Feb 17 08:36:53 2012
New Revision: 184329

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184329
Log:
    PR c++/52248
    * decl.c (define_label): Use timevar_cond_start/stop.

Added:
    trunk/gcc/testsuite/g++.dg/ext/timevar1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug c++/52248] [4.7 Regression] timevar ICE
  2012-02-14 16:08 [Bug c++/52248] New: [4.7 Regression] timevar ICE jakub at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2012-02-17  8:38 ` jason at gcc dot gnu.org
@ 2012-02-17  8:54 ` jason at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu.org @ 2012-02-17  8:54 UTC (permalink / raw)
  To: gcc-bugs

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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2012-02-17 08:38:37 UTC ---
Fixed.


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

end of thread, other threads:[~2012-02-17  8:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-14 16:08 [Bug c++/52248] New: [4.7 Regression] timevar ICE jakub at gcc dot gnu.org
2012-02-15 11:16 ` [Bug c++/52248] " rguenth at gcc dot gnu.org
2012-02-16 20:52 ` pinskia at gcc dot gnu.org
2012-02-16 21:01 ` pinskia at gcc dot gnu.org
2012-02-16 21:05 ` jason at gcc dot gnu.org
2012-02-17  8:38 ` jason at gcc dot gnu.org
2012-02-17  8:54 ` jason 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).