* [Bug c/27747] [4.2 Regression] ice _Pragma and macros
2006-05-24 3:27 [Bug c/27747] New: [4.2 Regression] ice _Pragma and macros pinskia at gcc dot gnu dot org
@ 2006-05-24 3:27 ` pinskia at gcc dot gnu dot org
2006-05-24 3:31 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-24 3:27 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |4.2.0
Known to work| |4.1.0
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27747
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/27747] [4.2 Regression] ice _Pragma and macros
2006-05-24 3:27 [Bug c/27747] New: [4.2 Regression] ice _Pragma and macros pinskia at gcc dot gnu dot org
2006-05-24 3:27 ` [Bug c/27747] " pinskia at gcc dot gnu dot org
@ 2006-05-24 3:31 ` pinskia at gcc dot gnu dot org
2006-05-24 3:33 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-24 3:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-05-24 03:31 -------
Janis, could you do a regression hunt on this bug? (This is the C version of
PR 27748).
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |janis at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27747
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/27747] [4.2 Regression] ice _Pragma and macros
2006-05-24 3:27 [Bug c/27747] New: [4.2 Regression] ice _Pragma and macros pinskia at gcc dot gnu dot org
2006-05-24 3:27 ` [Bug c/27747] " pinskia at gcc dot gnu dot org
2006-05-24 3:31 ` pinskia at gcc dot gnu dot org
@ 2006-05-24 3:33 ` pinskia at gcc dot gnu dot org
2006-05-24 18:24 ` janis at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-24 3:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-05-24 03:33 -------
I should note this is accepted with -save-temps so the preprocessor is doing
the correct thing at least to a point.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27747
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/27747] [4.2 Regression] ice _Pragma and macros
2006-05-24 3:27 [Bug c/27747] New: [4.2 Regression] ice _Pragma and macros pinskia at gcc dot gnu dot org
` (2 preceding siblings ...)
2006-05-24 3:33 ` pinskia at gcc dot gnu dot org
@ 2006-05-24 18:24 ` janis at gcc dot gnu dot org
2006-05-25 14:05 ` jakub at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: janis at gcc dot gnu dot org @ 2006-05-24 18:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from janis at gcc dot gnu dot org 2006-05-24 18:23 -------
A regression hunt on powerpc-linux identified this patch:
http://gcc.gnu.org/viewcvs?view=rev&rev=109336
r109336 | rth | 2006-01-04 16:33:38 +0000 (Wed, 04 Jan 2006)
--
janis at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rth at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27747
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/27747] [4.2 Regression] ice _Pragma and macros
2006-05-24 3:27 [Bug c/27747] New: [4.2 Regression] ice _Pragma and macros pinskia at gcc dot gnu dot org
` (3 preceding siblings ...)
2006-05-24 18:24 ` janis at gcc dot gnu dot org
@ 2006-05-25 14:05 ` jakub at gcc dot gnu dot org
2006-06-04 19:29 ` mmitchel at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2006-05-25 14:05 UTC (permalink / raw)
To: gcc-bugs
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-05-25 14:05:16
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27747
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/27747] [4.2 Regression] ice _Pragma and macros
2006-05-24 3:27 [Bug c/27747] New: [4.2 Regression] ice _Pragma and macros pinskia at gcc dot gnu dot org
` (4 preceding siblings ...)
2006-05-25 14:05 ` jakub at gcc dot gnu dot org
@ 2006-06-04 19:29 ` mmitchel at gcc dot gnu dot org
2006-06-09 21:14 ` jakub at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-06-04 19:29 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27747
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/27747] [4.2 Regression] ice _Pragma and macros
2006-05-24 3:27 [Bug c/27747] New: [4.2 Regression] ice _Pragma and macros pinskia at gcc dot gnu dot org
` (5 preceding siblings ...)
2006-06-04 19:29 ` mmitchel at gcc dot gnu dot org
@ 2006-06-09 21:14 ` jakub at gcc dot gnu dot org
2006-06-09 21:28 ` jakub at gcc dot gnu dot org
2006-06-11 19:47 ` pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2006-06-09 21:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jakub at gcc dot gnu dot org 2006-06-09 21:13 -------
Subject: Bug 27747
Author: jakub
Date: Fri Jun 9 21:13:25 2006
New Revision: 114519
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114519
Log:
PR preprocessor/27746
* directives.c (do_pragma): Handle pragma with valid namespace
and invalid name coming from macro expansion.
* directives.c (destringize_and_run): Initialize next field in
context.
PR c/27747
PR c++/27748
* directives.c (destringize_and_run): Set NO_EXPAND on the
tokens.
* macro.c (_cpp_backup_tokens): Fix comment typo.
testsuite/
PR c/27747
* gcc.dg/cpp/_Pragma6.c: New test.
PR c++/27748
* g++.dg/cpp/_Pragma1.C: New test.
PR preprocessor/27746
* gcc.dg/gomp/macro-3.c: New test.
* gcc.dg/gomp/macro-4.c: New test.
* g++.dg/gomp/macro-3.C: New test.
* g++.dg/gomp/macro-4.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/cpp/_Pragma1.C
trunk/gcc/testsuite/g++.dg/gomp/macro-3.C
trunk/gcc/testsuite/g++.dg/gomp/macro-4.C
trunk/gcc/testsuite/gcc.dg/cpp/_Pragma6.c
trunk/gcc/testsuite/gcc.dg/gomp/macro-3.c
trunk/gcc/testsuite/gcc.dg/gomp/macro-4.c
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/libcpp/ChangeLog
trunk/libcpp/directives.c
trunk/libcpp/macro.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27747
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/27747] [4.2 Regression] ice _Pragma and macros
2006-05-24 3:27 [Bug c/27747] New: [4.2 Regression] ice _Pragma and macros pinskia at gcc dot gnu dot org
` (6 preceding siblings ...)
2006-06-09 21:14 ` jakub at gcc dot gnu dot org
@ 2006-06-09 21:28 ` jakub at gcc dot gnu dot org
2006-06-11 19:47 ` pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2006-06-09 21:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jakub at gcc dot gnu dot org 2006-06-09 21:26 -------
Should be fixed in SVN.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27747
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/27747] [4.2 Regression] ice _Pragma and macros
2006-05-24 3:27 [Bug c/27747] New: [4.2 Regression] ice _Pragma and macros pinskia at gcc dot gnu dot org
` (7 preceding siblings ...)
2006-06-09 21:28 ` jakub at gcc dot gnu dot org
@ 2006-06-11 19:47 ` pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-06-11 19:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from pinskia at gcc dot gnu dot org 2006-06-11 18:32 -------
This test fails on powerpc-darwin and powerpc-aix:
/Users/regress/tbox/svn-gcc/gcc/testsuite/gcc.dg/cpp/_Pragma6.c:8: warning:
#pragma pack(push[, id], <n>) is not supported on this target^M
/Users/regress/tbox/svn-gcc/gcc/testsuite/gcc.dg/cpp/_Pragma6.c:10: warning:
#pragma pack(pop[, id], <n>) is not supported on this target^M
output is:
/Users/regress/tbox/svn-gcc/gcc/testsuite/gcc.dg/cpp/_Pragma6.c:8: warning:
#pragma pack(push[, id], <n>) is not supported on this target^M
/Users/regress/tbox/svn-gcc/gcc/testsuite/gcc.dg/cpp/_Pragma6.c:10: warning:
#pragma pack(pop[, id], <n>) is not supported on this target^M
FAIL: gcc.dg/cpp/_Pragma6.c (test for excess errors)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27747
^ permalink raw reply [flat|nested] 10+ messages in thread