* [Bug c/24329] [4.0/4.1 regression] segfault with -Wall and long integer literal
2005-10-12 9:49 [Bug c/24329] New: cc1 segfaulting when compiling code with long #define jojosantzf at yahoo dot fr
@ 2005-10-12 10:06 ` falk at debian dot org
2005-10-12 11:34 ` pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: falk at debian dot org @ 2005-10-12 10:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from falk at debian dot org 2005-10-12 10:06 -------
Confirmed. Test case:
int printf(const char *format, ...);
int f() {
printf("%d", 141592653589793238462643383279502884197169399375105820974944);
}
--
falk at debian dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |ice-on-invalid-code
Known to fail| |4.0.2 4.1.0
Known to work| |3.4.5
Summary|cc1 segfaulting when |[4.0/4.1 regression]
|compiling code with long |segfault with -Wall and long
|#define |integer literal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24329
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c/24329] [4.0/4.1 regression] segfault with -Wall and long integer literal
2005-10-12 9:49 [Bug c/24329] New: cc1 segfaulting when compiling code with long #define jojosantzf at yahoo dot fr
2005-10-12 10:06 ` [Bug c/24329] [4.0/4.1 regression] segfault with -Wall and long integer literal falk at debian dot org
@ 2005-10-12 11:34 ` pinskia at gcc dot gnu dot org
2005-10-12 13:05 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-12 11:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2005-10-12 11:34 -------
We have an infinite loop in pp_c_type_specifier.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gdr at gcc dot gnu dot org
Target Milestone|--- |4.0.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24329
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c/24329] [4.0/4.1 regression] segfault with -Wall and long integer literal
2005-10-12 9:49 [Bug c/24329] New: cc1 segfaulting when compiling code with long #define jojosantzf at yahoo dot fr
2005-10-12 10:06 ` [Bug c/24329] [4.0/4.1 regression] segfault with -Wall and long integer literal falk at debian dot org
2005-10-12 11:34 ` pinskia at gcc dot gnu dot org
@ 2005-10-12 13:05 ` pinskia at gcc dot gnu dot org
2005-10-31 6:13 ` mmitchel at gcc dot gnu dot org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-12 13:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2005-10-12 13:05 -------
hmm, for some reason this works on i686-pc-linux-gnu but not on powerpc-darwin.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24329
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c/24329] [4.0/4.1 regression] segfault with -Wall and long integer literal
2005-10-12 9:49 [Bug c/24329] New: cc1 segfaulting when compiling code with long #define jojosantzf at yahoo dot fr
` (2 preceding siblings ...)
2005-10-12 13:05 ` pinskia at gcc dot gnu dot org
@ 2005-10-31 6:13 ` mmitchel at gcc dot gnu dot org
2005-11-01 23:34 ` janis at gcc dot gnu dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-10-31 6:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from mmitchel at gcc dot gnu dot org 2005-10-31 06:13 -------
We need to analyze this. Unless this is a Darwin libc bug, this is a
showstopper.
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P2 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24329
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c/24329] [4.0/4.1 regression] segfault with -Wall and long integer literal
2005-10-12 9:49 [Bug c/24329] New: cc1 segfaulting when compiling code with long #define jojosantzf at yahoo dot fr
` (3 preceding siblings ...)
2005-10-31 6:13 ` mmitchel at gcc dot gnu dot org
@ 2005-11-01 23:34 ` janis at gcc dot gnu dot org
2005-11-03 0:50 ` jsm28 at gcc dot gnu dot org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: janis at gcc dot gnu dot org @ 2005-11-01 23:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from janis at gcc dot gnu dot org 2005-11-01 23:34 -------
GCC 3.3.5 for powerpc-linux compiles with appropriate warnings.
GCC 3.4.* for powerpc64-linux compiles as expected for -m64 but ICEs in
extract_insn, at recog.c:2083 for -m32
GCC 4.0.* for powerpc64-linux segfaults for both -m32 and -m64, as does
mainline.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24329
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c/24329] [4.0/4.1 regression] segfault with -Wall and long integer literal
2005-10-12 9:49 [Bug c/24329] New: cc1 segfaulting when compiling code with long #define jojosantzf at yahoo dot fr
` (4 preceding siblings ...)
2005-11-01 23:34 ` janis at gcc dot gnu dot org
@ 2005-11-03 0:50 ` jsm28 at gcc dot gnu dot org
2005-11-03 3:30 ` jsm28 at gcc dot gnu dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2005-11-03 0:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from jsm28 at gcc dot gnu dot org 2005-11-03 00:50 -------
Testing a patch.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jsm28 at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|0000-00-00 00:00:00 |2005-11-03 00:50:36
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24329
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c/24329] [4.0/4.1 regression] segfault with -Wall and long integer literal
2005-10-12 9:49 [Bug c/24329] New: cc1 segfaulting when compiling code with long #define jojosantzf at yahoo dot fr
` (5 preceding siblings ...)
2005-11-03 0:50 ` jsm28 at gcc dot gnu dot org
@ 2005-11-03 3:30 ` jsm28 at gcc dot gnu dot org
2005-11-03 14:45 ` [Bug c/24329] [4.0 " pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2005-11-03 3:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from jsm28 at gcc dot gnu dot org 2005-11-03 03:30 -------
Subject: Bug 24329
Author: jsm28
Date: Thu Nov 3 03:30:36 2005
New Revision: 106421
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106421
Log:
PR c/24329
* c-pretty-print.c (pp_c_type_specifier): Do not recurse if
c_common_type_for_mode returns an unnamed type.
testsuite:
* gcc.dg/format/unnamed-1.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/format/unnamed-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-pretty-print.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24329
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c/24329] [4.0 regression] segfault with -Wall and long integer literal
2005-10-12 9:49 [Bug c/24329] New: cc1 segfaulting when compiling code with long #define jojosantzf at yahoo dot fr
` (6 preceding siblings ...)
2005-11-03 3:30 ` jsm28 at gcc dot gnu dot org
@ 2005-11-03 14:45 ` pinskia at gcc dot gnu dot org
2005-11-03 14:49 ` jsm28 at gcc dot gnu dot org
2005-11-03 15:21 ` pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-03 14:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from pinskia at gcc dot gnu dot org 2005-11-03 14:44 -------
Fixed at least on the mainline.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail|4.0.2 4.1.0 |4.0.2
Known to work|3.4.5 |3.4.5 4.1.0
Summary|[4.0/4.1 regression] |[4.0 regression] segfault
|segfault with -Wall and long|with -Wall and long integer
|integer literal |literal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24329
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c/24329] [4.0 regression] segfault with -Wall and long integer literal
2005-10-12 9:49 [Bug c/24329] New: cc1 segfaulting when compiling code with long #define jojosantzf at yahoo dot fr
` (7 preceding siblings ...)
2005-11-03 14:45 ` [Bug c/24329] [4.0 " pinskia at gcc dot gnu dot org
@ 2005-11-03 14:49 ` jsm28 at gcc dot gnu dot org
2005-11-03 15:21 ` pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2005-11-03 14:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from jsm28 at gcc dot gnu dot org 2005-11-03 14:49 -------
Subject: Bug 24329
Author: jsm28
Date: Thu Nov 3 14:49:23 2005
New Revision: 106433
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106433
Log:
PR c/24329
* c-pretty-print.c (pp_c_type_specifier): Do not recurse if
c_common_type_for_mode returns an unnamed type.
testsuite:
* gcc.dg/format/unnamed-1.c: New test.
Added:
branches/gcc-4_0-branch/gcc/testsuite/gcc.dg/format/unnamed-1.c
- copied unchanged from r106421,
trunk/gcc/testsuite/gcc.dg/format/unnamed-1.c
Modified:
branches/gcc-4_0-branch/gcc/ChangeLog
branches/gcc-4_0-branch/gcc/c-pretty-print.c
branches/gcc-4_0-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24329
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c/24329] [4.0 regression] segfault with -Wall and long integer literal
2005-10-12 9:49 [Bug c/24329] New: cc1 segfaulting when compiling code with long #define jojosantzf at yahoo dot fr
` (8 preceding siblings ...)
2005-11-03 14:49 ` jsm28 at gcc dot gnu dot org
@ 2005-11-03 15:21 ` pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-03 15:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from pinskia at gcc dot gnu dot org 2005-11-03 15:21 -------
Fixed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24329
^ permalink raw reply [flat|nested] 11+ messages in thread