aboutsummaryrefslogtreecommitdiffstats
path: root/ortho
diff options
context:
space:
mode:
authorgingold <gingold@b72b5c32-5f01-0410-b925-b5c7b92870f7>2006-10-02 04:33:36 +0000
committergingold <gingold@b72b5c32-5f01-0410-b925-b5c7b92870f7>2006-10-02 04:33:36 +0000
commita81f695b15865268fea6ee062a381ba8e43a02b4 (patch)
tree8bc86734eda054c31b705ceab4f4762e96422750 /ortho
parentf51d97cdfbb61a3c1b0456b32b5076d03ba5f8ac (diff)
downloadghdl-a81f695b15865268fea6ee062a381ba8e43a02b4.tar.gz
ghdl-a81f695b15865268fea6ee062a381ba8e43a02b4.tar.bz2
ghdl-a81f695b15865268fea6ee062a381ba8e43a02b4.zip
direct drivers and bugs fix
Diffstat (limited to 'ortho')
-rw-r--r--ortho/gcc/lang.opt4
-rw-r--r--ortho/oread/ortho_front.adb2
2 files changed, 5 insertions, 1 deletions
diff --git a/ortho/gcc/lang.opt b/ortho/gcc/lang.opt
index 2d4ed9c3d..43dcbf4ad 100644
--- a/ortho/gcc/lang.opt
+++ b/ortho/gcc/lang.opt
@@ -65,6 +65,10 @@ fexplicit
vhdl
Explicit function declarations override implicit one in use
+-no-direct-drivers
+vhdl
+Disable direct drivers optimization
+
-syn-binding
vhdl
Use synthetizer rules for default bindings
diff --git a/ortho/oread/ortho_front.adb b/ortho/oread/ortho_front.adb
index 7a3fe9a8c..e70a99c67 100644
--- a/ortho/oread/ortho_front.adb
+++ b/ortho/oread/ortho_front.adb
@@ -41,7 +41,7 @@ package body Ortho_Front is
is
pragma Unreferenced (Arg);
begin
- if Opt.all = "-r" then
+ if Opt.all = "-r" or Opt.all = "--ghdl-r" then
Flag_Renumber := True;
return 1;
else