Commit 3348ded5 by Mark Mitchell Committed by Mark Mitchell

target-supports.exp (check_alias_available): Make the test program acceptable to…

target-supports.exp (check_alias_available): Make the test program acceptable to the Solaris assembler.

	* lib/target-supports.exp (check_alias_available): Make the test
	program acceptable to the Solaris assembler.

From-SVN: r68277
parent 66d418e6
2003-06-20 Mark Mitchell <mark@codesourcery.com>
* lib/target-supports.exp (check_alias_available): Make the test
program acceptable to the Solaris assembler.
PR c++/10749
* g++.dg/template/memclass2.C: New test.
......
......@@ -81,7 +81,10 @@ proc check_alias_available { } {
} else {
verbose "check_alias_available compiling testfile" 2
set f [open "tmp.c" "w"]
puts $f "void f() __attribute__((alias(\"g\")));"
# Compile a small test program. The definition of "g" is
# necessary to keep the Solaris assembler from complaining
# about the program.
puts $f "void g() {} void f() __attribute__((alias(\"g\")));"
close $f
set lines [gcc_target_compile "tmp.c" "tmp.o" object ""]
file delete "tmp.c"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment