public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/55459] New: Firefox 17: internal compiler error: in scan_tree_for_params_right_scev, at graphite-sese-to-poly.c:633
@ 2012-11-24 22:18 fragabr at gmail dot com
  2012-11-24 22:27 ` [Bug tree-optimization/55459] " fragabr at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: fragabr at gmail dot com @ 2012-11-24 22:18 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 55459
           Summary: Firefox 17: internal compiler error: in
                    scan_tree_for_params_right_scev, at
                    graphite-sese-to-poly.c:633
    Classification: Unclassified
           Product: gcc
           Version: 4.7.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: fragabr@gmail.com


I'm using gcc 4.7.2 and when trying to compile Firefox 17 with the following
options:

-march=native -O3 -mno-avx -pipe -floop-interchange -floop-strip-mine
-floop-block

It results in the following:

make[5]: Entering directory
`/home/fraga/src/firefox/media/webrtc/trunk/src/modules/modules_iSACFix'
gcc -o audio_coding/codecs/iSAC/fix/source/fft.o -c
-I../../../../../../dist/system_wrappers -include
/home/fraga/src/mozilla/config/gcc_hidden.h -DMOZ_GLUE_IN_PROGRAM
-D_FILE_OFFSET_BITS=64 -DCHROMIUM_BUILD -DUSE_NSS=1 -DTOOLKIT_USES_GTK=1
-DGTK_DISABLE_SINGLE_INCLUDES=1 -D_ISOC99_SOURCE=1 -DENABLE_REMOTING=1
-DENABLE_P2P_APIS=1 -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH
-DENABLE_NOTIFICATIONS -DENABLE_GPU=1 -DENABLE_EGLIMAGE=1 -DUSE_SKIA=1
-DENABLE_REGISTER_PROTOCOL_HANDLER=1 -DENABLE_WEB_INTENTS=1
-DENABLE_PLUGIN_INSTALLATION=1 -DWEBRTC_LINUX -DWEBRTC_THREAD_RR
-D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I.
-I/home/fraga/src/mozilla/media/webrtc/trunk/src/modules/..
-I/home/fraga/src/mozilla/media/webrtc/trunk/src/modules/../..
-I/home/fraga/src/mozilla/media/webrtc/trunk/src/modules/audio_coding/codecs/iSAC/fix/interface
-I/home/fraga/src/mozilla/media/webrtc/trunk/src/modules/../common_audio/signal_processing/include
 -fPIC  -Wall -Wpointer-arith -Wdeclaration-after-statement -Werror=return-type
-Wtype-limits -Wempty-body -Wno-unused -Wno-overlength-strings -Wcast-align
-Wno-long-long -march=native -O3 -pipe -floop-interchange -floop-strip-mine
-floop-block -fno-strict-aliasing -ffunction-sections -fdata-sections -pthread
-pipe -DNDEBUG -DTRIMMED -g -march=native -O3 -mno-avx -pipe -floop-interchange
-floop-strip-mine -floop-block -fomit-frame-pointer     -include
../../../../../../mozilla-config.h -DMOZILLA_CLIENT -MD -MF .deps/fft.o.pp
/home/fraga/src/mozilla/media/webrtc/trunk/src/modules/audio_coding/codecs/iSAC/fix/source/fft.c
/home/fraga/src/mozilla/media/webrtc/trunk/src/modules/audio_coding/codecs/iSAC/fix/source/fft.c:
In function ‘WebRtcIsacfix_FftRadix16Fastest’:
/home/fraga/src/mozilla/media/webrtc/trunk/src/modules/audio_coding/codecs/iSAC/fix/source/fft.c:71:15:
internal compiler error: in scan_tree_for_params_right_scev, at
graphite-sese-to-poly.c:633
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[5]: *** [audio_coding/codecs/iSAC/fix/source/fft.o] Error 1
make[5]: Leaving directory
`/home/fraga/src/firefox/media/webrtc/trunk/src/modules/modules_iSACFix'
make[4]: *** [src/modules/modules_iSACFix_libs] Error 2
make[4]: Leaving directory `/home/fraga/src/firefox/media/webrtc/trunk'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/home/fraga/src/firefox/media/webrtc'
make[2]: *** [libs_tier_platform] Error 2
make[2]: Leaving directory `/home/fraga/src/firefox'
make[1]: *** [tier_platform] Error 2
make[1]: Leaving directory `/home/fraga/src/firefox'
make: *** [default] Error 2

Here it's the ~/.mozconfig I use:

. /home/fraga/src/mozilla/browser/config/mozconfig
mk_add_options LDFLAGS="-L/usr/X11/lib64" 
mk_add_options CPPFLAGS="-I/usr/X11/include"
mk_add_options MOZ_CO_PROJECT=browser
mk_add_options MOZ_OBJDIR=/home/fraga/src/firefox
ac_add_options --enable-optimize="-march=native -O3 -mno-avx -pipe
-floop-interchange -floop-strip-mine -floop-block"
ac_add_options --disable-debug 
ac_add_options --disable-tests
ac_add_options --enable-svg
ac_add_options --enable-safe-browsing
ac_add_options --enable-update-packaging
ac_add_options --x-libraries=/usr/X11/lib64
ac_add_options --disable-necko-wifi
ac_add_options --disable-crashreporter


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

* [Bug tree-optimization/55459] Firefox 17: internal compiler error: in scan_tree_for_params_right_scev, at graphite-sese-to-poly.c:633
  2012-11-24 22:18 [Bug c/55459] New: Firefox 17: internal compiler error: in scan_tree_for_params_right_scev, at graphite-sese-to-poly.c:633 fragabr at gmail dot com
@ 2012-11-24 22:27 ` fragabr at gmail dot com
  2012-12-24 14:36 ` spammeup2011 at googlemail dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: fragabr at gmail dot com @ 2012-11-24 22:27 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #1 from Dâniel Fraga <fragabr at gmail dot com> 2012-11-24 22:26:45 UTC ---
My Parma Polyhedra Library version is:

ppl-config --version
0.11.2

Should I updated to 1.0 version?


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

* [Bug tree-optimization/55459] Firefox 17: internal compiler error: in scan_tree_for_params_right_scev, at graphite-sese-to-poly.c:633
  2012-11-24 22:18 [Bug c/55459] New: Firefox 17: internal compiler error: in scan_tree_for_params_right_scev, at graphite-sese-to-poly.c:633 fragabr at gmail dot com
  2012-11-24 22:27 ` [Bug tree-optimization/55459] " fragabr at gmail dot com
@ 2012-12-24 14:36 ` spammeup2011 at googlemail dot com
  2012-12-24 14:37 ` spammeup2011 at googlemail dot com
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: spammeup2011 at googlemail dot com @ 2012-12-24 14:36 UTC (permalink / raw)
  To: gcc-bugs


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

Florian Meyer <spammeup2011 at googlemail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |spammeup2011 at googlemail
                   |                            |dot com

--- Comment #2 from Florian Meyer <spammeup2011 at googlemail dot com> 2012-12-24 14:35:08 UTC ---
Same error for me. For 4.6.3 -O1 -fgraphite-identity (or any other graphite
flag) is enough to trigger an ICE, for 4.7.2 -O2 and a graphite flag is
required to trigger it. I'm attaching the preprocessed source and a reduced
testcase.


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

* [Bug tree-optimization/55459] Firefox 17: internal compiler error: in scan_tree_for_params_right_scev, at graphite-sese-to-poly.c:633
  2012-11-24 22:18 [Bug c/55459] New: Firefox 17: internal compiler error: in scan_tree_for_params_right_scev, at graphite-sese-to-poly.c:633 fragabr at gmail dot com
  2012-11-24 22:27 ` [Bug tree-optimization/55459] " fragabr at gmail dot com
  2012-12-24 14:36 ` spammeup2011 at googlemail dot com
@ 2012-12-24 14:37 ` spammeup2011 at googlemail dot com
  2012-12-24 14:40 ` spammeup2011 at googlemail dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: spammeup2011 at googlemail dot com @ 2012-12-24 14:37 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #3 from Florian Meyer <spammeup2011 at googlemail dot com> 2012-12-24 14:36:48 UTC ---
Created attachment 29042
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29042
Reduced testcase for graphite related ICE

Reduced testcase. Crashes with gcc -O2 -fgraphite-identity -c fft.i


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

* [Bug tree-optimization/55459] Firefox 17: internal compiler error: in scan_tree_for_params_right_scev, at graphite-sese-to-poly.c:633
  2012-11-24 22:18 [Bug c/55459] New: Firefox 17: internal compiler error: in scan_tree_for_params_right_scev, at graphite-sese-to-poly.c:633 fragabr at gmail dot com
                   ` (2 preceding siblings ...)
  2012-12-24 14:37 ` spammeup2011 at googlemail dot com
@ 2012-12-24 14:40 ` spammeup2011 at googlemail dot com
  2013-05-04 15:16 ` de.techno at gmail dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: spammeup2011 at googlemail dot com @ 2012-12-24 14:40 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #4 from Florian Meyer <spammeup2011 at googlemail dot com> 2012-12-24 14:40:10 UTC ---
Created attachment 29043
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29043
Preprocessed source

Preprocessed source file from Firefox.


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

* [Bug tree-optimization/55459] Firefox 17: internal compiler error: in scan_tree_for_params_right_scev, at graphite-sese-to-poly.c:633
  2012-11-24 22:18 [Bug c/55459] New: Firefox 17: internal compiler error: in scan_tree_for_params_right_scev, at graphite-sese-to-poly.c:633 fragabr at gmail dot com
                   ` (3 preceding siblings ...)
  2012-12-24 14:40 ` spammeup2011 at googlemail dot com
@ 2013-05-04 15:16 ` de.techno at gmail dot com
  2014-04-08  3:57 ` asolokha at gmx dot com
  2014-12-11 13:06 ` mpolacek at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: de.techno at gmail dot com @ 2013-05-04 15:16 UTC (permalink / raw)
  To: gcc-bugs


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

dE <de.techno at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |de.techno at gmail dot com

--- Comment #5 from dE <de.techno at gmail dot com> 2013-05-04 15:16:00 UTC ---
Confirm identical bug with Thuderbird

https://bugs.gentoo.org/show_bug.cgi?id=466568


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

* [Bug tree-optimization/55459] Firefox 17: internal compiler error: in scan_tree_for_params_right_scev, at graphite-sese-to-poly.c:633
  2012-11-24 22:18 [Bug c/55459] New: Firefox 17: internal compiler error: in scan_tree_for_params_right_scev, at graphite-sese-to-poly.c:633 fragabr at gmail dot com
                   ` (4 preceding siblings ...)
  2013-05-04 15:16 ` de.techno at gmail dot com
@ 2014-04-08  3:57 ` asolokha at gmx dot com
  2014-12-11 13:06 ` mpolacek at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: asolokha at gmx dot com @ 2014-04-08  3:57 UTC (permalink / raw)
  To: gcc-bugs

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

Arseny Solokha <asolokha at gmx dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |asolokha at gmx dot com

--- Comment #6 from Arseny Solokha <asolokha at gmx dot com> ---
The bug is reproducible w/ the following reduced testcase:

void
de(void)
{
  static int ey;
  static int ux;
  short int mb;
  int al;
  int vx;
  int *gs = &al;
  int *dp = &ux;
  for (ey = 0; ey < 2; ++ey)
    *dp = (mb += *gs) || vx;
}

% gcc-4.7.3 -c -O2 -ftree-loop-linear 6b94b1d3.c
6b94b1d3.c: In function 'de':
6b94b1d3.c:2:1: internal compiler error: in scan_tree_for_params_right_scev, at
graphite-sese-to-poly.c:633

gcc 4.8 and 4.9 are not affected. However, they segfault on quite a similar
code from 59817#c2.


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

* [Bug tree-optimization/55459] Firefox 17: internal compiler error: in scan_tree_for_params_right_scev, at graphite-sese-to-poly.c:633
  2012-11-24 22:18 [Bug c/55459] New: Firefox 17: internal compiler error: in scan_tree_for_params_right_scev, at graphite-sese-to-poly.c:633 fragabr at gmail dot com
                   ` (5 preceding siblings ...)
  2014-04-08  3:57 ` asolokha at gmx dot com
@ 2014-12-11 13:06 ` mpolacek at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2014-12-11 13:06 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |mpolacek at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #7 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Should be fixed now.


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

end of thread, other threads:[~2014-12-11 13:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-24 22:18 [Bug c/55459] New: Firefox 17: internal compiler error: in scan_tree_for_params_right_scev, at graphite-sese-to-poly.c:633 fragabr at gmail dot com
2012-11-24 22:27 ` [Bug tree-optimization/55459] " fragabr at gmail dot com
2012-12-24 14:36 ` spammeup2011 at googlemail dot com
2012-12-24 14:37 ` spammeup2011 at googlemail dot com
2012-12-24 14:40 ` spammeup2011 at googlemail dot com
2013-05-04 15:16 ` de.techno at gmail dot com
2014-04-08  3:57 ` asolokha at gmx dot com
2014-12-11 13: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).