This is the mail archive of the gcc-patches@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]

Minor problem in cp/lang-specs.h


If -fsyntax-only is specified, no assembler file is produced, so the
assembler should not be called (it produces errors in such cases on
some machines, such as Alpha).  So I committed the following:

Mon Mar  6 08:46:47 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

	* lang-specs.h (as): Don't call if -syntax-only.

*** lang-specs.h	2000/02/26 20:15:46	1.22
--- lang-specs.h	2000/03/06 13:33:13
*************** Boston, MA 02111-1307, USA.  */
*** 63,69 ****
  			    %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
  			    %{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%g.s}}|\n\
!               %{!S:as %a %Y\
  		      %{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O}\
!                       %{!pipe:%g.s} %A\n }}}}"}},
  #else /* ! USE_CPPLIB */
     {"cpp -lang-c++ %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %{$} %I\
--- 63,69 ----
  			    %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
  			    %{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%g.s}}|\n\
!               %{!S:%{!fsyntax-only:as %a %Y\
  		      %{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O}\
!                       %{!pipe:%g.s} %A\n }}}}}"}},
  #else /* ! USE_CPPLIB */
     {"cpp -lang-c++ %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %{$} %I\
*************** Boston, MA 02111-1307, USA.  */
*** 87,93 ****
  			    %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
  			    %{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%g.s}}|\n\
!               %{!S:as %a %Y\
  		      %{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O}\
!                       %{!pipe:%g.s} %A\n }}}}"}},
  #endif /* ! USE_CPPLIB */
    {".ii", {"@c++-cpp-output"}},
--- 87,93 ----
  			    %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
  			    %{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%g.s}}|\n\
!               %{!S:%{!fsyntax-only:as %a %Y\
  		      %{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O}\
!                       %{!pipe:%g.s} %A\n }}}}}"}},
  #endif /* ! USE_CPPLIB */
    {".ii", {"@c++-cpp-output"}},

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