* [Bug preprocessor/59935] [4.9 Regression] Firefox build fails with: <built-in>: internal compiler error: Segmentation fault
2014-01-24 14:43 [Bug preprocessor/59935] New: [4.9 Regression] Firefox build fails with: <built-in>: internal compiler error: Segmentation fault trippels at gcc dot gnu.org
@ 2014-01-24 14:43 ` trippels at gcc dot gnu.org
2014-01-24 15:30 ` trippels at gcc dot gnu.org
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: trippels at gcc dot gnu.org @ 2014-01-24 14:43 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59935
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2014-1-24
CC| |dodji at gcc dot gnu.org
Target Milestone|--- |4.9.0
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug preprocessor/59935] [4.9 Regression] Firefox build fails with: <built-in>: internal compiler error: Segmentation fault
2014-01-24 14:43 [Bug preprocessor/59935] New: [4.9 Regression] Firefox build fails with: <built-in>: internal compiler error: Segmentation fault trippels at gcc dot gnu.org
2014-01-24 14:43 ` [Bug preprocessor/59935] " trippels at gcc dot gnu.org
@ 2014-01-24 15:30 ` trippels at gcc dot gnu.org
2014-01-24 15:40 ` dodji at gcc dot gnu.org
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: trippels at gcc dot gnu.org @ 2014-01-24 15:30 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59935
--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
markus@x4 /tmp % cat foo.c
#define _GNU_SOURCE
markus@x4 /tmp % gcc -D_GNU_SOURCE -c foo.c
foo.c:1:0: warning: "_GNU_SOURCE" redefined [enabled by default]
#define _GNU_SOURCE
^
<command-line>:0:0: note: this is the location of the previous definition
foo.c:1:0: internal compiler error: Segmentation fault
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug preprocessor/59935] [4.9 Regression] Firefox build fails with: <built-in>: internal compiler error: Segmentation fault
2014-01-24 14:43 [Bug preprocessor/59935] New: [4.9 Regression] Firefox build fails with: <built-in>: internal compiler error: Segmentation fault trippels at gcc dot gnu.org
2014-01-24 14:43 ` [Bug preprocessor/59935] " trippels at gcc dot gnu.org
2014-01-24 15:30 ` trippels at gcc dot gnu.org
@ 2014-01-24 15:40 ` dodji at gcc dot gnu.org
2014-01-25 8:05 ` nheghathivhistha at gmail dot com
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: dodji at gcc dot gnu.org @ 2014-01-24 15:40 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59935
Dodji Seketeli <dodji at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |dodji at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #2 from Dodji Seketeli <dodji at gcc dot gnu.org> ---
I am looking into that.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug preprocessor/59935] [4.9 Regression] Firefox build fails with: <built-in>: internal compiler error: Segmentation fault
2014-01-24 14:43 [Bug preprocessor/59935] New: [4.9 Regression] Firefox build fails with: <built-in>: internal compiler error: Segmentation fault trippels at gcc dot gnu.org
` (2 preceding siblings ...)
2014-01-24 15:40 ` dodji at gcc dot gnu.org
@ 2014-01-25 8:05 ` nheghathivhistha at gmail dot com
2014-01-25 8:47 ` trippels at gcc dot gnu.org
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: nheghathivhistha at gmail dot com @ 2014-01-25 8:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59935
--- Comment #3 from David Kredba <nheghathivhistha at gmail dot com> ---
Is this having the same cause please?
It is a seamonkey-2.23 configure stage.
configure:24169: checking size of int *
configure:24188: x86_64-pc-linux-gnu-gcc -o conftest -fPIC -ggdb -pipe
-march=native -mtune=native -mno-avx -mno-sse4.2 -mno-3dnow -mno-avx
-std=gnu99 -fgnu89-inline -fno-strict-aliasing -fno-math-errno -pthread
-lpthread -Wl,--as-needed -Wl,-O2 -ggdb -pipe -march=native -mtune=native
-mno-avx -mno-sse4.2 -mno-3dnow -fPIC -Wl,-z,noexecstack -Wl,-z,text -B
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/seamonk/mozilla/build/unix/gold
conftest.c -ldl 1>&5
configure:24179:1: warning: return type defaults to 'int' [enabled by default]
x86_64-pc-linux-gnu-gcc: internal compiler error: Segmentation fault (program
cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
configure: failed program was:
#line 24177 "configure"
#include "confdefs.h"
#include <stdio.h>
main()
{
FILE *f=fopen("conftestval", "w");
if (!f) exit(1);
fprintf(f, "%d\n", sizeof(int *));
exit(0);
}
configure: error: Unexpected pointer size
trunk revision 207070
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug preprocessor/59935] [4.9 Regression] Firefox build fails with: <built-in>: internal compiler error: Segmentation fault
2014-01-24 14:43 [Bug preprocessor/59935] New: [4.9 Regression] Firefox build fails with: <built-in>: internal compiler error: Segmentation fault trippels at gcc dot gnu.org
` (3 preceding siblings ...)
2014-01-25 8:05 ` nheghathivhistha at gmail dot com
@ 2014-01-25 8:47 ` trippels at gcc dot gnu.org
2014-01-25 18:34 ` trippels at gcc dot gnu.org
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: trippels at gcc dot gnu.org @ 2014-01-25 8:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59935
--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to David Kredba from comment #3)
> Is this having the same cause please?
Yes. It's caused by the same revision.
Jabub's patch fixes both issues:
http://gcc.gnu.org/ml/gcc-patches/2014-01/msg01589.html
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug preprocessor/59935] [4.9 Regression] Firefox build fails with: <built-in>: internal compiler error: Segmentation fault
2014-01-24 14:43 [Bug preprocessor/59935] New: [4.9 Regression] Firefox build fails with: <built-in>: internal compiler error: Segmentation fault trippels at gcc dot gnu.org
` (4 preceding siblings ...)
2014-01-25 8:47 ` trippels at gcc dot gnu.org
@ 2014-01-25 18:34 ` trippels at gcc dot gnu.org
2014-01-25 19:08 ` nheghathivhistha at gmail dot com
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: trippels at gcc dot gnu.org @ 2014-01-25 18:34 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59935
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Bernhard.Rosenkranzer@linar
| |o.org
--- Comment #5 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
*** Bug 59943 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug preprocessor/59935] [4.9 Regression] Firefox build fails with: <built-in>: internal compiler error: Segmentation fault
2014-01-24 14:43 [Bug preprocessor/59935] New: [4.9 Regression] Firefox build fails with: <built-in>: internal compiler error: Segmentation fault trippels at gcc dot gnu.org
` (5 preceding siblings ...)
2014-01-25 18:34 ` trippels at gcc dot gnu.org
@ 2014-01-25 19:08 ` nheghathivhistha at gmail dot com
2014-01-27 10:14 ` jakub at gcc dot gnu.org
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: nheghathivhistha at gmail dot com @ 2014-01-25 19:08 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59935
--- Comment #6 from David Kredba <nheghathivhistha at gmail dot com> ---
The patch works as you said.
Thank you.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug preprocessor/59935] [4.9 Regression] Firefox build fails with: <built-in>: internal compiler error: Segmentation fault
2014-01-24 14:43 [Bug preprocessor/59935] New: [4.9 Regression] Firefox build fails with: <built-in>: internal compiler error: Segmentation fault trippels at gcc dot gnu.org
` (6 preceding siblings ...)
2014-01-25 19:08 ` nheghathivhistha at gmail dot com
@ 2014-01-27 10:14 ` jakub at gcc dot gnu.org
2014-01-27 13:49 ` mpolacek at gcc dot gnu.org
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-01-27 10:14 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59935
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dcb314 at hotmail dot com
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
*** Bug 59954 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug preprocessor/59935] [4.9 Regression] Firefox build fails with: <built-in>: internal compiler error: Segmentation fault
2014-01-24 14:43 [Bug preprocessor/59935] New: [4.9 Regression] Firefox build fails with: <built-in>: internal compiler error: Segmentation fault trippels at gcc dot gnu.org
` (7 preceding siblings ...)
2014-01-27 10:14 ` jakub at gcc dot gnu.org
@ 2014-01-27 13:49 ` mpolacek at gcc dot gnu.org
2014-01-28 15:03 ` dodji at gcc dot gnu.org
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2014-01-27 13:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59935
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu.org
--- Comment #8 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
*** Bug 59957 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug preprocessor/59935] [4.9 Regression] Firefox build fails with: <built-in>: internal compiler error: Segmentation fault
2014-01-24 14:43 [Bug preprocessor/59935] New: [4.9 Regression] Firefox build fails with: <built-in>: internal compiler error: Segmentation fault trippels at gcc dot gnu.org
` (8 preceding siblings ...)
2014-01-27 13:49 ` mpolacek at gcc dot gnu.org
@ 2014-01-28 15:03 ` dodji at gcc dot gnu.org
2014-01-28 15:22 ` trippels at gcc dot gnu.org
2014-01-31 13:15 ` trippels at gcc dot gnu.org
11 siblings, 0 replies; 13+ messages in thread
From: dodji at gcc dot gnu.org @ 2014-01-28 15:03 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59935
--- Comment #9 from Dodji Seketeli <dodji at gcc dot gnu.org> ---
Author: dodji
Date: Tue Jan 28 15:03:19 2014
New Revision: 207195
URL: http://gcc.gnu.org/viewcvs?rev=207195&root=gcc&view=rev
Log:
PR preprocessor/59935 - caret diagnostics crashes on non-file locations
gcc/ChangeLog
* input.c (location_get_source_line): Bail out on when line number
is zero, and test the return value of
lookup_or_add_file_to_cache_tab.
gcc/testsuite/ChangeLog
* c-c++-common/cpp/warning-zero-location.c: New test.
* c-c++-common/cpp/warning-zero-location-2.c: Likewise.
Signed-off-by: Dodji Seketeli <dodji@seketeli.org>
Added:
trunk/gcc/testsuite/c-c++-common/cpp/warning-zero-location-2.c
trunk/gcc/testsuite/c-c++-common/cpp/warning-zero-location.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/input.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug preprocessor/59935] [4.9 Regression] Firefox build fails with: <built-in>: internal compiler error: Segmentation fault
2014-01-24 14:43 [Bug preprocessor/59935] New: [4.9 Regression] Firefox build fails with: <built-in>: internal compiler error: Segmentation fault trippels at gcc dot gnu.org
` (9 preceding siblings ...)
2014-01-28 15:03 ` dodji at gcc dot gnu.org
@ 2014-01-28 15:22 ` trippels at gcc dot gnu.org
2014-01-31 13:15 ` trippels at gcc dot gnu.org
11 siblings, 0 replies; 13+ messages in thread
From: trippels at gcc dot gnu.org @ 2014-01-28 15:22 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59935
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #10 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Fixed. Thank you.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug preprocessor/59935] [4.9 Regression] Firefox build fails with: <built-in>: internal compiler error: Segmentation fault
2014-01-24 14:43 [Bug preprocessor/59935] New: [4.9 Regression] Firefox build fails with: <built-in>: internal compiler error: Segmentation fault trippels at gcc dot gnu.org
` (10 preceding siblings ...)
2014-01-28 15:22 ` trippels at gcc dot gnu.org
@ 2014-01-31 13:15 ` trippels at gcc dot gnu.org
11 siblings, 0 replies; 13+ messages in thread
From: trippels at gcc dot gnu.org @ 2014-01-31 13:15 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59935
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lutzwei at gmx dot de
--- Comment #11 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
*** Bug 60007 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 13+ messages in thread