This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/17514] Can't bootstrap using ICC


------- Additional Comments From v dot haisman at sh dot cvut dot cz  2004-09-16 09:52 -------
Subject: Re:  Can't bootstrap using ICC

Hmm, I don't know but maybe GCC should check for working restrict only using
configure test rather then relying on some defines and version numbers...

Vaclav Haisman


On Thu, 16 Sep 2004, pinskia at gcc dot gnu dot org wrote:

>
> ------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-16 08:39 -------
> This almost has to be a bug in ICC report it to them (either they are saying they are GNUC which is not
> true or they really don't support restrict) :
> /* GCC 2.95 and later have "__restrict"; C99 compilers have
>    "restrict", and "configure" may have defined "restrict".  */
> #ifndef __restrict
> # if ! (2 < __GNUC__ || (2 == __GNUC__ && 95 <= __GNUC_MINOR__))
> #  if defined restrict || 199901L <= __STDC_VERSION__
> #   define __restrict restrict
> #  else
> #   define __restrict
> #  endif
> # endif
> #endif
>
>
> --
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |RESOLVED
>          Resolution|                            |INVALID
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17514
>
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
> You are on the CC list for the bug, or are watching someone who is.
>


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]