public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/61482] New: ICE when compiling Firefox ESR 24 with r211488
@ 2014-06-12  7:13 gk at torproject dot org
  2014-06-12  8:51 ` [Bug c++/61482] " rguenth at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: gk at torproject dot org @ 2014-06-12  7:13 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61482

            Bug ID: 61482
           Summary: ICE when compiling Firefox ESR 24 with r211488
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gk at torproject dot org

When compiling Firefox ESR 24 on an 64bit Ubuntu Precise machine with r211488 I
get

home/gk/asan/mozilla-esr24/layout/base/FrameLayerBuilder.cpp: In member
function 'already_AddRefed<mozilla::layers::ContainerLayer>
mozilla::FrameLayerBuilder::BuildContainerLayerFor(nsDisplayListBuilder*,
mozilla::FrameLayerBuilder::LayerManager*, nsIFrame*, nsDisplayItem*, const
nsDisplayList&, const mozilla::FrameLayerBuilder::ContainerParameters&, const
gfx3DMatrix*, uint32_t)':
/home/gk/asan/mozilla-esr24/layout/base/FrameLayerBuilder.cpp:2804:1: internal
compiler error: in set_value_range, at tree-vrp.c:453
 FrameLayerBuilder::BuildContainerLayerFor(nsDisplayListBuilder* aBuilder,
 ^
0xd5acae set_value_range
    ../.././gcc/tree-vrp.c:452
0xd69f7d adjust_range_with_scev
    ../.././gcc/tree-vrp.c:3944
0xd69f7d vrp_visit_phi_node
    ../.././gcc/tree-vrp.c:8388
0xca4625 simulate_stmt
    ../.././gcc/tree-ssa-propagate.c:325
0xca47a7 process_ssa_edge_worklist
    ../.././gcc/tree-ssa-propagate.c:403
0xca5e35 ssa_propagate(ssa_prop_result (*)(gimple_statement_base*, edge_def**,
tree_node**), ssa_prop_result (*)(gimple_statement_base*))
    ../.././gcc/tree-ssa-propagate.c:877
0xd6f5a6 execute_vrp
    ../.././gcc/tree-vrp.c:9743
0xd6f5a6 execute
    ../.././gcc/tree-vrp.c:9824
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.
make[6]: *** [FrameLayerBuilder.o] Error 1
make[6]: *** Waiting for unfinished jobs....

r211210 is still working. I compiled GCC with --prefix=/path/to/my/dir
--disable-multilib --enable-languages=c,c++


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

* [Bug c++/61482] ICE when compiling Firefox ESR 24 with r211488
  2014-06-12  7:13 [Bug c++/61482] New: ICE when compiling Firefox ESR 24 with r211488 gk at torproject dot org
@ 2014-06-12  8:51 ` rguenth at gcc dot gnu.org
  2014-06-12 19:50 ` tsaunders at mozilla dot com
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-06-12  8:51 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61482

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2014-06-12
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Please provide preprocessed source.


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

* [Bug c++/61482] ICE when compiling Firefox ESR 24 with r211488
  2014-06-12  7:13 [Bug c++/61482] New: ICE when compiling Firefox ESR 24 with r211488 gk at torproject dot org
  2014-06-12  8:51 ` [Bug c++/61482] " rguenth at gcc dot gnu.org
@ 2014-06-12 19:50 ` tsaunders at mozilla dot com
  2014-06-14 15:37 ` tsaunders at mozilla dot com
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: tsaunders at mozilla dot com @ 2014-06-12 19:50 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61482

Trevor Saunders <tsaunders at mozilla dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tsaunders at mozilla dot com

--- Comment #2 from Trevor Saunders <tsaunders at mozilla dot com> ---
(In reply to Richard Biener from comment #1)
> Please provide preprocessed source.

I've been seeing this, and trying to reduce it.  Hopefully that'll finish soon,
but the reducers don't like this source much :/


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

* [Bug c++/61482] ICE when compiling Firefox ESR 24 with r211488
  2014-06-12  7:13 [Bug c++/61482] New: ICE when compiling Firefox ESR 24 with r211488 gk at torproject dot org
  2014-06-12  8:51 ` [Bug c++/61482] " rguenth at gcc dot gnu.org
  2014-06-12 19:50 ` tsaunders at mozilla dot com
@ 2014-06-14 15:37 ` tsaunders at mozilla dot com
  2014-06-14 15:58 ` trippels at gcc dot gnu.org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: tsaunders at mozilla dot com @ 2014-06-14 15:37 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61482

--- Comment #3 from Trevor Saunders <tsaunders at mozilla dot com> ---
Created attachment 32938
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32938&action=edit
test case

Its pretty close to undreadable, but its fairly reduced, it started at ~400k
lines.


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

* [Bug c++/61482] ICE when compiling Firefox ESR 24 with r211488
  2014-06-12  7:13 [Bug c++/61482] New: ICE when compiling Firefox ESR 24 with r211488 gk at torproject dot org
                   ` (2 preceding siblings ...)
  2014-06-14 15:37 ` tsaunders at mozilla dot com
@ 2014-06-14 15:58 ` trippels at gcc dot gnu.org
  2014-06-14 17:33 ` tsaunders at mozilla dot com
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: trippels at gcc dot gnu.org @ 2014-06-14 15:58 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61482

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |trippels at gcc dot gnu.org

--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to Trevor Saunders from comment #3)
> Created attachment 32938 [details]
> test case
> 
> Its pretty close to undreadable, but its fairly reduced, it started at ~400k
> lines.

Could you please post the full gcc invocation?


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

* [Bug c++/61482] ICE when compiling Firefox ESR 24 with r211488
  2014-06-12  7:13 [Bug c++/61482] New: ICE when compiling Firefox ESR 24 with r211488 gk at torproject dot org
                   ` (3 preceding siblings ...)
  2014-06-14 15:58 ` trippels at gcc dot gnu.org
@ 2014-06-14 17:33 ` tsaunders at mozilla dot com
  2014-06-14 17:57 ` trippels at gcc dot gnu.org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: tsaunders at mozilla dot com @ 2014-06-14 17:33 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61482

--- Comment #5 from Trevor Saunders <tsaunders at mozilla dot com> ---
> Could you please post the full gcc invocation?

Err yeah that would be useful ;)

gcc -flto -r -Os -nostdlib -std=gnu++11 start.ii


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

* [Bug c++/61482] ICE when compiling Firefox ESR 24 with r211488
  2014-06-12  7:13 [Bug c++/61482] New: ICE when compiling Firefox ESR 24 with r211488 gk at torproject dot org
                   ` (4 preceding siblings ...)
  2014-06-14 17:33 ` tsaunders at mozilla dot com
@ 2014-06-14 17:57 ` trippels at gcc dot gnu.org
  2014-06-15 10:59 ` [Bug tree-optimization/61482] [4.10 regression] ICE in set_value_range, at tree-vrp.c:453 when compiling Firefox ESR 24 trippels at gcc dot gnu.org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: trippels at gcc dot gnu.org @ 2014-06-14 17:57 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61482

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
   Target Milestone|---                         |4.10.0

--- Comment #6 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
A bit further reduced:

markus@x4 tmp % cat start.ii
class A
{
public:
  int m_fn1 ();
};
class B
{
  void m_fn2 (const int &p1);
  A mThebesLayerDataStack;
};
int b, c;
void B::m_fn2 (const int &p1)
{
  if (c && b)
    {
      int i;
      i = mThebesLayerDataStack.m_fn1 ();
      for (; i >= 0;)
        {
          ++i;
          break;
        }
      --i;
      for (; i >= 0; --i)
        mThebesLayerDataStack.m_fn1 ();
    }
}


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

* [Bug tree-optimization/61482] [4.10 regression] ICE in set_value_range, at tree-vrp.c:453 when compiling Firefox ESR 24
  2014-06-12  7:13 [Bug c++/61482] New: ICE when compiling Firefox ESR 24 with r211488 gk at torproject dot org
                   ` (5 preceding siblings ...)
  2014-06-14 17:57 ` trippels at gcc dot gnu.org
@ 2014-06-15 10:59 ` trippels at gcc dot gnu.org
  2014-06-16  8:33 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: trippels at gcc dot gnu.org @ 2014-06-15 10:59 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61482

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenther at suse dot de
          Component|c++                         |tree-optimization
            Summary|ICE when compiling Firefox  |[4.10 regression] ICE in
                   |ESR 24 with r211488         |set_value_range, at
                   |                            |tree-vrp.c:453 when
                   |                            |compiling Firefox ESR 24

--- Comment #7 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Started with r209862.


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

* [Bug tree-optimization/61482] [4.10 regression] ICE in set_value_range, at tree-vrp.c:453 when compiling Firefox ESR 24
  2014-06-12  7:13 [Bug c++/61482] New: ICE when compiling Firefox ESR 24 with r211488 gk at torproject dot org
                   ` (6 preceding siblings ...)
  2014-06-15 10:59 ` [Bug tree-optimization/61482] [4.10 regression] ICE in set_value_range, at tree-vrp.c:453 when compiling Firefox ESR 24 trippels at gcc dot gnu.org
@ 2014-06-16  8:33 ` rguenth at gcc dot gnu.org
  2014-06-16 14:22 ` rguenth at gcc dot gnu.org
  2014-06-16 14:22 ` rguenth at gcc dot gnu.org
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-06-16  8:33 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61482

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org

--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
I'll have a look.


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

* [Bug tree-optimization/61482] [4.10 regression] ICE in set_value_range, at tree-vrp.c:453 when compiling Firefox ESR 24
  2014-06-12  7:13 [Bug c++/61482] New: ICE when compiling Firefox ESR 24 with r211488 gk at torproject dot org
                   ` (7 preceding siblings ...)
  2014-06-16  8:33 ` rguenth at gcc dot gnu.org
@ 2014-06-16 14:22 ` rguenth at gcc dot gnu.org
  2014-06-16 14:22 ` rguenth at gcc dot gnu.org
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-06-16 14:22 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61482

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

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

--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.


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

* [Bug tree-optimization/61482] [4.10 regression] ICE in set_value_range, at tree-vrp.c:453 when compiling Firefox ESR 24
  2014-06-12  7:13 [Bug c++/61482] New: ICE when compiling Firefox ESR 24 with r211488 gk at torproject dot org
                   ` (8 preceding siblings ...)
  2014-06-16 14:22 ` rguenth at gcc dot gnu.org
@ 2014-06-16 14:22 ` rguenth at gcc dot gnu.org
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-06-16 14:22 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61482

--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Jun 16 14:21:53 2014
New Revision: 211709

URL: https://gcc.gnu.org/viewcvs?rev=211709&root=gcc&view=rev
Log:
2014-06-16  Richard Biener  <rguenther@suse.de>

    PR tree-optimization/61482
    * tree-vrp.c (adjust_range_with_scev): Avoid setting of
    [-INF(OVF), +INF(OVF)] range.

    * g++.dg/torture/pr61482.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/torture/pr61482.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vrp.c


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

end of thread, other threads:[~2014-06-16 14:22 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-12  7:13 [Bug c++/61482] New: ICE when compiling Firefox ESR 24 with r211488 gk at torproject dot org
2014-06-12  8:51 ` [Bug c++/61482] " rguenth at gcc dot gnu.org
2014-06-12 19:50 ` tsaunders at mozilla dot com
2014-06-14 15:37 ` tsaunders at mozilla dot com
2014-06-14 15:58 ` trippels at gcc dot gnu.org
2014-06-14 17:33 ` tsaunders at mozilla dot com
2014-06-14 17:57 ` trippels at gcc dot gnu.org
2014-06-15 10:59 ` [Bug tree-optimization/61482] [4.10 regression] ICE in set_value_range, at tree-vrp.c:453 when compiling Firefox ESR 24 trippels at gcc dot gnu.org
2014-06-16  8:33 ` rguenth at gcc dot gnu.org
2014-06-16 14:22 ` rguenth at gcc dot gnu.org
2014-06-16 14:22 ` rguenth 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).