public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/102351] New: error: ‘TARGET_PENTIUM4’ was not declared in this scope; did you mean ‘TARGET_ENQCMD’?
@ 2021-09-15 15:25 marxin at gcc dot gnu.org
  2021-09-15 15:37 ` [Bug target/102351] " marxin at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-09-15 15:25 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102351

            Bug ID: 102351
           Summary: error: ‘TARGET_PENTIUM4’ was not declared in this
                    scope; did you mean ‘TARGET_ENQCMD’?
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-linux-gnu
            Target: i686-wrs-vxworksae

The cross compiler build fails due to:

g++  -fno-PIE -c  -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g   -DIN_GCC 
-DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -I. -Ic-family
-I/home/marxin/Programming/gcc/gcc -I/home/marxin/Programming/gcc/gcc/c-family
-I/home/marxin/Programming/gcc/gcc/../include
-I/home/marxin/Programming/gcc/gcc/../libcpp/include
-I/home/marxin/Programming/gcc/gcc/../libcody 
-I/home/marxin/Programming/gcc/gcc/../libdecnumber
-I/home/marxin/Programming/gcc/gcc/../libdecnumber/dpd -I../libdecnumber
-I/home/marxin/Programming/gcc/gcc/../libbacktrace   -o c-family/c-cppbuiltin.o
-MT c-family/c-cppbuiltin.o -MMD -MP -MF c-family/.deps/c-cppbuiltin.TPo
/home/marxin/Programming/gcc/gcc/c-family/c-cppbuiltin.c
In file included from ./tm.h:29,
                 from /home/marxin/Programming/gcc/gcc/target.h:52,
                 from
/home/marxin/Programming/gcc/gcc/c-family/c-cppbuiltin.c:23:
/home/marxin/Programming/gcc/gcc/c-family/c-cppbuiltin.c: In function ‘void
c_cpp_builtins(cpp_reader*)’:
/home/marxin/Programming/gcc/gcc/config/i386/vxworks.h:76:16: error:
‘TARGET_PENTIUM4’ was not declared in this scope; did you mean ‘TARGET_ENQCMD’?
   76 |       else if (TARGET_PENTIUM4)                         \
      |                ^~~~~~~~~~~~~~~
/home/marxin/Programming/gcc/gcc/c-family/c-cppbuiltin.c:1552:3: note: in
expansion of macro ‘TARGET_OS_CPP_BUILTINS’
 1552 |   TARGET_OS_CPP_BUILTINS ();
      |   ^~~~~~~~~~~~~~~~~~~~~~
/home/marxin/Programming/gcc/gcc/config/i386/vxworks.h:81:16: error:
‘TARGET_CORE2’ was not declared in this scope; did you mean ‘TARGET_SSE2’?
   81 |       else if (TARGET_CORE2)                            \
      |                ^~~~~~~~~~~~

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

* [Bug target/102351] error: ‘TARGET_PENTIUM4’ was not declared in this scope; did you mean ‘TARGET_ENQCMD’?
  2021-09-15 15:25 [Bug target/102351] New: error: ‘TARGET_PENTIUM4’ was not declared in this scope; did you mean ‘TARGET_ENQCMD’? marxin at gcc dot gnu.org
@ 2021-09-15 15:37 ` marxin at gcc dot gnu.org
  2021-09-15 15:47 ` cvs-commit at gcc dot gnu.org
  2021-09-15 15:48 ` marxin at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-09-15 15:37 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102351

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-09-15
     Ever confirmed|0                           |1
           Assignee|unassigned at gcc dot gnu.org      |marxin at gcc dot gnu.org
             Status|UNCONFIRMED                 |ASSIGNED

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Oh, it's mine as it started with g:f23881fcf081a6edd538d6d54fa0068d716973d7.

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

* [Bug target/102351] error: ‘TARGET_PENTIUM4’ was not declared in this scope; did you mean ‘TARGET_ENQCMD’?
  2021-09-15 15:25 [Bug target/102351] New: error: ‘TARGET_PENTIUM4’ was not declared in this scope; did you mean ‘TARGET_ENQCMD’? marxin at gcc dot gnu.org
  2021-09-15 15:37 ` [Bug target/102351] " marxin at gcc dot gnu.org
@ 2021-09-15 15:47 ` cvs-commit at gcc dot gnu.org
  2021-09-15 15:48 ` marxin at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-09-15 15:47 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102351

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Liska <marxin@gcc.gnu.org>:

https://gcc.gnu.org/g:7bdf51557d18aafdb300e1ad2b4f6fb7ef456f2b

commit r12-3553-g7bdf51557d18aafdb300e1ad2b4f6fb7ef456f2b
Author: Martin Liska <mliska@suse.cz>
Date:   Wed Sep 15 17:45:21 2021 +0200

    i386: port vxworks to TARGET_CPU_P macro

            PR target/102351

    gcc/ChangeLog:

            * config/i386/vxworks.h: Use new macro TARGET_CPU_P.

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

* [Bug target/102351] error: ‘TARGET_PENTIUM4’ was not declared in this scope; did you mean ‘TARGET_ENQCMD’?
  2021-09-15 15:25 [Bug target/102351] New: error: ‘TARGET_PENTIUM4’ was not declared in this scope; did you mean ‘TARGET_ENQCMD’? marxin at gcc dot gnu.org
  2021-09-15 15:37 ` [Bug target/102351] " marxin at gcc dot gnu.org
  2021-09-15 15:47 ` cvs-commit at gcc dot gnu.org
@ 2021-09-15 15:48 ` marxin at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-09-15 15:48 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102351

Martin Liška <marxin at gcc dot gnu.org> changed:

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

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed now.

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

end of thread, other threads:[~2021-09-15 15:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-15 15:25 [Bug target/102351] New: error: ‘TARGET_PENTIUM4’ was not declared in this scope; did you mean ‘TARGET_ENQCMD’? marxin at gcc dot gnu.org
2021-09-15 15:37 ` [Bug target/102351] " marxin at gcc dot gnu.org
2021-09-15 15:47 ` cvs-commit at gcc dot gnu.org
2021-09-15 15:48 ` marxin at gcc dot gnu.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).