public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/18042] New: [4.0 regression] does not handle struct initializer
@ 2004-10-17 21:50 rguenth at tat dot physik dot uni-tuebingen dot de
  2004-10-17 21:51 ` [Bug c/18042] " rguenth at tat dot physik dot uni-tuebingen dot de
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: rguenth at tat dot physik dot uni-tuebingen dot de @ 2004-10-17 21:50 UTC (permalink / raw)
  To: gcc-bugs

The testcase is rejected with

> gcc -c const.c
const.c:25: error: initializer element is not constant

the testcase is fine with any previous version of gcc.

This is mainline from 20041017, a version from about two month ago was ok.

-- 
           Summary: [4.0 regression] does not handle struct initializer
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at tat dot physik dot uni-tuebingen dot de
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug c/18042] [4.0 regression] does not handle struct initializer
  2004-10-17 21:50 [Bug c/18042] New: [4.0 regression] does not handle struct initializer rguenth at tat dot physik dot uni-tuebingen dot de
@ 2004-10-17 21:51 ` rguenth at tat dot physik dot uni-tuebingen dot de
  2004-10-17 21:53 ` pinskia at gcc dot gnu dot org
  2004-10-17 22:00 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at tat dot physik dot uni-tuebingen dot de @ 2004-10-17 21:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rguenth at tat dot physik dot uni-tuebingen dot de  2004-10-17 21:51 -------
Created an attachment (id=7369)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7369&action=view)
testcase


-- 


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


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

* [Bug c/18042] [4.0 regression] does not handle struct initializer
  2004-10-17 21:50 [Bug c/18042] New: [4.0 regression] does not handle struct initializer rguenth at tat dot physik dot uni-tuebingen dot de
  2004-10-17 21:51 ` [Bug c/18042] " rguenth at tat dot physik dot uni-tuebingen dot de
@ 2004-10-17 21:53 ` pinskia at gcc dot gnu dot org
  2004-10-17 22:00 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-17 21:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-17 21:53 -------
I caused it, fixing it right now.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
           Keywords|                            |rejects-valid
   Target Milestone|---                         |4.0.0


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


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

* [Bug c/18042] [4.0 regression] does not handle struct initializer
  2004-10-17 21:50 [Bug c/18042] New: [4.0 regression] does not handle struct initializer rguenth at tat dot physik dot uni-tuebingen dot de
  2004-10-17 21:51 ` [Bug c/18042] " rguenth at tat dot physik dot uni-tuebingen dot de
  2004-10-17 21:53 ` pinskia at gcc dot gnu dot org
@ 2004-10-17 22:00 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-17 22:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-17 22:00 -------
I reverted the patch which caused this.

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


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


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

end of thread, other threads:[~2004-10-17 22:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-17 21:50 [Bug c/18042] New: [4.0 regression] does not handle struct initializer rguenth at tat dot physik dot uni-tuebingen dot de
2004-10-17 21:51 ` [Bug c/18042] " rguenth at tat dot physik dot uni-tuebingen dot de
2004-10-17 21:53 ` pinskia at gcc dot gnu dot org
2004-10-17 22:00 ` pinskia at gcc dot gnu dot 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).