public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: JC Loredo-Osti <josti@mscs.dal.ca>
To: egcs-bugs@cygnus.com, egcs@cygnus.com
Subject: is it a bug?
Date: Thu, 30 Apr 1998 10:25:00 -0000	[thread overview]
Message-ID: <Pine.GSO.3.96.980430141027.22638A-100000@mscs> (raw)

Both, egcs-19980418 and egcs-19980425, complain about the follwing code



main(){
	double *p = new double[3](0);
}



However it does compile with egcs-1.0.2 and gcc-2.8.x
(With gcc-2.7.2 it gets a internal compiler error which is supresed by
replacing '(0)' with '(0.0)')

Is it a bug or new feature?

-j

josti@mscs.dal.ca


             reply	other threads:[~1998-04-30 10:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-30 10:25 JC Loredo-Osti [this message]
1998-04-30 15:45 ` Joe Buck
1998-04-30 13:20   ` JC Loredo-Osti
     [not found] <199712081205.NAA25992@vbormc.vbo.dec.com>
     [not found] ` <orvhwzzkd1.fsf.cygnus.egcs.bugs@grupiara.dcc.unicamp.br>
1997-12-08 22:22   ` Is it a bug ? Jason Merrill

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.GSO.3.96.980430141027.22638A-100000@mscs \
    --to=josti@mscs.dal.ca \
    --cc=egcs-bugs@cygnus.com \
    --cc=egcs@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).